@hawksightco/hawk-sdk 1.2.81 → 1.2.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -323,7 +323,7 @@ class RaydiumIxGenerator {
323
323
  const vault1Mint = fetch.poolStateInfo.tokenMint1;
324
324
  const tokenVault0 = fetch.poolStateInfo.tokenVault0;
325
325
  const tokenVault1 = fetch.poolStateInfo.tokenVault1;
326
- const { amount0Min, amount1Min } = yield getAmountsFromLiquidity(connection, fetch.positionInfo.poolId, fetch.positionInfo.liquidity, fetch.positionInfo.tickLowerIndex, fetch.positionInfo.tickUpperIndex, params.slippage, false);
326
+ const { amount0Min, amount1Min } = yield getAmountsFromLiquidity(connection, fetch.positionInfo.poolId, params.liquidity, fetch.positionInfo.tickLowerIndex, fetch.positionInfo.tickUpperIndex, params.slippage, false);
327
327
  return yield this.iyfExtension.raydiumDecreaseLiquidity({
328
328
  connection,
329
329
  liquidity: params.liquidity,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.2.81",
3
+ "version": "1.2.82",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",