Skip to content

Commit

Permalink
Merge pull request #148 from lidofinance/develop
Browse files Browse the repository at this point in the history
Release 3.4.0
  • Loading branch information
Jeday authored Aug 21, 2024
2 parents 255e3a2 + 46cb52e commit c4fee3b
Show file tree
Hide file tree
Showing 35 changed files with 1,721 additions and 1,251 deletions.
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.4.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"husky": "^8.0.3",
"prettier": "^3.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
"typescript": "^5.4.5"
},
"resolutions": {
"postcss": "8.4.31",
Expand Down
22 changes: 20 additions & 2 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# 3.4.0

## SDK

### Fixed

- `apr` in `getRewardsFromChain` and `getRewardsFromSubgraph` is now in percents e.g 3.14 and not 0.314
- package is build with [email protected] with changes in bundle
- `LidoSDKApr.calculateAprFromRebaseEvent` has increased precision

## Playground

### Fixed

- updated version of `reef-knot` package with `wagmi@2`

# 3.3.0

No changes

# 3.2.2

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

# 3.2.0

# 3.2.1

## SDK
Expand Down
8 changes: 4 additions & 4 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@
"scripts": {
"build": "yarn clean && yarn build:cjs && yarn build:esm && yarn build:types",
"types": "tsc --noEmit",
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir ./dist/esm && echo > ./dist/esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'",
"build:types": "tsc --project tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --moduleResolution node10 --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project tsconfig.build.json --module nodenext --outDir ./dist/esm && echo > ./dist/esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'",
"build:types": "tsc --project tsconfig.build.json --module nodenext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"test": "jest",
"prepublishOnly": "node scripts/updateVersion.cjs",
"lint": "eslint . --ext .ts --max-warnings 0",
Expand All @@ -157,6 +157,6 @@
"jest": "^29.7.0",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.2",
"typescript": "5.1.6"
"typescript": "^5.4.5"
}
}
Loading

0 comments on commit c4fee3b

Please sign in to comment.