@crypticdot/defituna-client 3.4.2 → 3.4.3

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.
package/dist/index.js CHANGED
@@ -10058,7 +10058,8 @@ async function increaseTunaLpPositionOrcaInstructions(rpc, authority, positionMi
10058
10058
  tickUpperIndex: tunaPosition.data.tickUpperIndex,
10059
10059
  protocolFeeRate: market.data.protocolFee,
10060
10060
  protocolFeeRateOnCollateral: market.data.protocolFeeOnCollateral,
10061
- swapFeeRate: whirlpool.data.feeRate
10061
+ swapFeeRate: whirlpool.data.feeRate,
10062
+ liquidationThreshold: market.data.liquidationThreshold
10062
10063
  });
10063
10064
  const createUserAtaAInstructions = await getCreateAtaInstructions(
10064
10065
  rpc,
@@ -10290,7 +10291,8 @@ async function increaseTunaLpPositionFusionInstructions(rpc, authority, position
10290
10291
  tickUpperIndex: tunaPosition.data.tickUpperIndex,
10291
10292
  protocolFeeRate: market.data.protocolFee,
10292
10293
  protocolFeeRateOnCollateral: market.data.protocolFeeOnCollateral,
10293
- swapFeeRate: fusionPool.data.feeRate
10294
+ swapFeeRate: fusionPool.data.feeRate,
10295
+ liquidationThreshold: market.data.liquidationThreshold
10294
10296
  });
10295
10297
  const createUserAtaAInstructions = await getCreateAtaInstructions(
10296
10298
  rpc,
@@ -13166,7 +13168,8 @@ async function openAndIncreaseTunaLpPositionOrcaInstructions(rpc, authority, whi
13166
13168
  tickUpperIndex: args.tickUpperIndex,
13167
13169
  protocolFeeRate: market.data.protocolFee,
13168
13170
  protocolFeeRateOnCollateral: market.data.protocolFeeOnCollateral,
13169
- swapFeeRate: whirlpool.data.feeRate
13171
+ swapFeeRate: whirlpool.data.feeRate,
13172
+ liquidationThreshold: market.data.liquidationThreshold
13170
13173
  });
13171
13174
  const createUserAtaAInstructions = await getCreateAtaInstructions(
13172
13175
  rpc,
@@ -13405,7 +13408,8 @@ async function openAndIncreaseTunaLpPositionFusionInstructions(rpc, authority, f
13405
13408
  tickUpperIndex: args.tickUpperIndex,
13406
13409
  protocolFeeRate: market.data.protocolFee,
13407
13410
  protocolFeeRateOnCollateral: market.data.protocolFeeOnCollateral,
13408
- swapFeeRate: fusionPool.data.feeRate
13411
+ swapFeeRate: fusionPool.data.feeRate,
13412
+ liquidationThreshold: market.data.liquidationThreshold
13409
13413
  });
13410
13414
  const createUserAtaAInstructions = await getCreateAtaInstructions(
13411
13415
  rpc,
package/dist/index.mjs CHANGED
@@ -10227,7 +10227,8 @@ async function increaseTunaLpPositionOrcaInstructions(rpc, authority, positionMi
10227
10227
  tickUpperIndex: tunaPosition.data.tickUpperIndex,
10228
10228
  protocolFeeRate: market.data.protocolFee,
10229
10229
  protocolFeeRateOnCollateral: market.data.protocolFeeOnCollateral,
10230
- swapFeeRate: whirlpool.data.feeRate
10230
+ swapFeeRate: whirlpool.data.feeRate,
10231
+ liquidationThreshold: market.data.liquidationThreshold
10231
10232
  });
10232
10233
  const createUserAtaAInstructions = await getCreateAtaInstructions(
10233
10234
  rpc,
@@ -10472,7 +10473,8 @@ async function increaseTunaLpPositionFusionInstructions(rpc, authority, position
10472
10473
  tickUpperIndex: tunaPosition.data.tickUpperIndex,
10473
10474
  protocolFeeRate: market.data.protocolFee,
10474
10475
  protocolFeeRateOnCollateral: market.data.protocolFeeOnCollateral,
10475
- swapFeeRate: fusionPool.data.feeRate
10476
+ swapFeeRate: fusionPool.data.feeRate,
10477
+ liquidationThreshold: market.data.liquidationThreshold
10476
10478
  });
10477
10479
  const createUserAtaAInstructions = await getCreateAtaInstructions(
10478
10480
  rpc,
@@ -13804,7 +13806,8 @@ async function openAndIncreaseTunaLpPositionOrcaInstructions(rpc, authority, whi
13804
13806
  tickUpperIndex: args.tickUpperIndex,
13805
13807
  protocolFeeRate: market.data.protocolFee,
13806
13808
  protocolFeeRateOnCollateral: market.data.protocolFeeOnCollateral,
13807
- swapFeeRate: whirlpool.data.feeRate
13809
+ swapFeeRate: whirlpool.data.feeRate,
13810
+ liquidationThreshold: market.data.liquidationThreshold
13808
13811
  });
13809
13812
  const createUserAtaAInstructions = await getCreateAtaInstructions(
13810
13813
  rpc,
@@ -14061,7 +14064,8 @@ async function openAndIncreaseTunaLpPositionFusionInstructions(rpc, authority, f
14061
14064
  tickUpperIndex: args.tickUpperIndex,
14062
14065
  protocolFeeRate: market.data.protocolFee,
14063
14066
  protocolFeeRateOnCollateral: market.data.protocolFeeOnCollateral,
14064
- swapFeeRate: fusionPool.data.feeRate
14067
+ swapFeeRate: fusionPool.data.feeRate,
14068
+ liquidationThreshold: market.data.liquidationThreshold
14065
14069
  });
14066
14070
  const createUserAtaAInstructions = await getCreateAtaInstructions(
14067
14071
  rpc,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-client",
3
3
  "description": "Typescript client to interact with DefiTuna's on-chain program.",
4
- "version": "3.4.2",
4
+ "version": "3.4.3",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "main": "./dist/index.js",
@@ -19,9 +19,9 @@
19
19
  "@orca-so/whirlpools-core": "^2.0.0",
20
20
  "@orca-so/whirlpools-client": "^4.0.1",
21
21
  "@orca-so/whirlpools": "^4.0.0",
22
- "@crypticdot/fusionamm-core": "^1.0.73",
23
- "@crypticdot/fusionamm-client": "^1.0.73",
24
- "@crypticdot/fusionamm-sdk": "^1.0.73",
22
+ "@crypticdot/fusionamm-core": "^1.0.74",
23
+ "@crypticdot/fusionamm-client": "^1.0.74",
24
+ "@crypticdot/fusionamm-sdk": "^1.0.74",
25
25
  "@solana/kit": "^2.1.0",
26
26
  "@solana/sysvars": "^2.1.0",
27
27
  "@solana-program/compute-budget": "^0.7.0",
@@ -30,7 +30,7 @@
30
30
  "@solana-program/token-2022": "^0.4.2",
31
31
  "@solana-program/memo": "^0.7.0",
32
32
  "@solana-program/address-lookup-table": "^0.7.0",
33
- "@crypticdot/defituna-core": "3.4.2"
33
+ "@crypticdot/defituna-core": "3.4.3"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@crypticdot/jupiter-solana-client": "^1.0.0",