From 5f0066a5c1d1d53e041a827d38ce9eda1e8d041a Mon Sep 17 00:00:00 2001 From: zielvna Date: Tue, 20 Aug 2024 18:32:16 +0200 Subject: [PATCH] bump sdk --- package-lock.json | 8 ++++---- package.json | 2 +- src/store/sagas/positions.ts | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index d5fe408..bbfb8e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@hookform/error-message": "^0.0.3", "@hookform/resolvers": "^0.1.0", - "@invariant-labs/sdk-eclipse": "^0.0.15", + "@invariant-labs/sdk-eclipse": "^0.0.17", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "^4.0.0-alpha.56", @@ -2839,9 +2839,9 @@ "peer": true }, "node_modules/@invariant-labs/sdk-eclipse": { - "version": "0.0.15", - "resolved": "https://registry.npmjs.org/@invariant-labs/sdk-eclipse/-/sdk-eclipse-0.0.15.tgz", - "integrity": "sha512-QsHsUAbJA+IXWP+9V8WIHyfAv8lyZTWU637+16qkZBa8WKZToxIR6z8uLLbD5GWFg27WpAPw1EcATsMrNPNJPg==", + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/@invariant-labs/sdk-eclipse/-/sdk-eclipse-0.0.17.tgz", + "integrity": "sha512-OdzZNmf5aQ39UEIT6HWY2tKa+O5/vWewud0PcS0PB1+bpFcqhuhoZ0rlC9ESw+zWXBVL90CsoWId2RMmpNNTYQ==", "dependencies": { "@project-serum/anchor": "0.21.0", "@solana/spl-token-registry": "^0.2.4484", diff --git a/package.json b/package.json index 4d952a9..1376ff2 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dependencies": { "@hookform/error-message": "^0.0.3", "@hookform/resolvers": "^0.1.0", - "@invariant-labs/sdk-eclipse": "^0.0.15", + "@invariant-labs/sdk-eclipse": "^0.0.17", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "^4.0.0-alpha.56", diff --git a/src/store/sagas/positions.ts b/src/store/sagas/positions.ts index c3ef23c..458e562 100644 --- a/src/store/sagas/positions.ts +++ b/src/store/sagas/positions.ts @@ -1099,7 +1099,6 @@ export function* handleClosePositionWithETH(data: ClosePositionData) { tickSpacing: positionForIndex.tickSpacing }), owner: wallet.publicKey, - payer: wallet.publicKey, index: data.positionIndex, userTokenX, userTokenY @@ -1251,7 +1250,6 @@ export function* handleClosePosition(action: PayloadAction) { tickSpacing: positionForIndex.tickSpacing }), owner: wallet.publicKey, - payer: wallet.publicKey, index: action.payload.positionIndex, userTokenX, userTokenY