Skip to content

Commit d540f3f

Browse files
authored
1.3.0 (#88)
* [1.3.0] fix type * [1.3.0] set deprecated * 1.3.0
1 parent bbaee6c commit d540f3f

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.2.0",
2+
"version": "1.3.0",
33
"sideEffects": false,
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",

src/methods/vault/index.ts

+6
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ export default {
3939
deposit,
4040
withdraw,
4141
claimExitQueue,
42+
/**
43+
* @deprecated soon to be changed to vault.operate
44+
*/
4245
updateWhitelist,
46+
/**
47+
* @deprecated soon to be changed to vault.operate
48+
*/
4349
updateBlocklist,
4450
},
4551
} as const

src/methods/vault/requests/getExitQueuePositions/index.ts

-3
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,11 @@ const getExitQueuePositions = async (input: GetExitQueuePositionsInput) => {
2727
return mock
2828
}
2929

30-
const totalShares = data.reduce((acc, { totalShares }) => acc + BigInt(totalShares), 0n)
31-
3230
return parseExitRequests({
3331
options,
3432
provider,
3533
contracts,
3634
userAddress,
37-
totalShares,
3835
vaultAddress,
3936
exitRequests: data,
4037
})

0 commit comments

Comments
 (0)