Skip to content

Commit c4fee3b

Browse files
authored
Merge pull request #148 from lidofinance/develop
Release 3.4.0
2 parents 255e3a2 + 46cb52e commit c4fee3b

File tree

35 files changed

+1721
-1251
lines changed

35 files changed

+1721
-1251
lines changed

docs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"@mdx-js/react": "^3.0.0",
2222
"clsx": "^2.0.0",
2323
"prism-react-renderer": "^2.3.0",
24-
"react": "^18.0.0",
25-
"react-dom": "^18.0.0"
24+
"react": "^18.3.1",
25+
"react-dom": "^18.3.1"
2626
},
2727
"devDependencies": {
2828
"@docusaurus/module-type-aliases": "3.4.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"husky": "^8.0.3",
4747
"prettier": "^3.0.1",
4848
"ts-node": "^10.9.1",
49-
"typescript": "^5.1.6"
49+
"typescript": "^5.4.5"
5050
},
5151
"resolutions": {
5252
"postcss": "8.4.31",

packages/sdk/CHANGELOG.md

+20-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# 3.4.0
2+
3+
## SDK
4+
5+
### Fixed
6+
7+
- `apr` in `getRewardsFromChain` and `getRewardsFromSubgraph` is now in percents e.g 3.14 and not 0.314
8+
- package is build with [email protected] with changes in bundle
9+
- `LidoSDKApr.calculateAprFromRebaseEvent` has increased precision
10+
11+
## Playground
12+
13+
### Fixed
14+
15+
- updated version of `reef-knot` package with `wagmi@2`
16+
17+
# 3.3.0
18+
19+
No changes
20+
121
# 3.2.2
222

323
## SDK
@@ -7,8 +27,6 @@
727
- fixed edge-case in `withdraw.views.findCheckpointHints` where last finalized request would fail assertion with `Cannot find hints for unfinalized request...`
828
- subsequently fixed same error in `withdraw.request-info`, `withdraw.claim` modules
929

10-
# 3.2.0
11-
1230
# 3.2.1
1331

1432
## SDK

packages/sdk/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@
134134
"scripts": {
135135
"build": "yarn clean && yarn build:cjs && yarn build:esm && yarn build:types",
136136
"types": "tsc --noEmit",
137-
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
138-
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir ./dist/esm && echo > ./dist/esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'",
139-
"build:types": "tsc --project tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
137+
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --moduleResolution node10 --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
138+
"build:esm": "tsc --project tsconfig.build.json --module nodenext --outDir ./dist/esm && echo > ./dist/esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'",
139+
"build:types": "tsc --project tsconfig.build.json --module nodenext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
140140
"test": "jest",
141141
"prepublishOnly": "node scripts/updateVersion.cjs",
142142
"lint": "eslint . --ext .ts --max-warnings 0",
@@ -157,6 +157,6 @@
157157
"jest": "^29.7.0",
158158
"rimraf": "^5.0.1",
159159
"ts-jest": "^29.1.2",
160-
"typescript": "5.1.6"
160+
"typescript": "^5.4.5"
161161
}
162162
}

0 commit comments

Comments
 (0)