@hawksightco/hawk-sdk 1.3.33 → 1.3.34

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.
@@ -2272,7 +2272,8 @@ class MeteoraDlmmDeposit2Automation extends HawksightMeteoraAutomationCpi {
2272
2272
  const strategyParametersMinBinId = data.subarray(24, 28).readInt32LE();
2273
2273
  const strategyParametersMaxBinId = data.subarray(28, 32).readInt32LE();
2274
2274
  const strategyParametersStrategyType = data[32];
2275
- const strategyParametersParameters = Array.from(data.subarray(33));
2275
+ const strategyParametersParameters = Array.from(data.subarray(33, 97));
2276
+ const remainingAccountsInfo = this.ix.data.subarray(97);
2276
2277
  const tokenXMintInfo = AccountCache_1.AccountCache.get(tokenXMint);
2277
2278
  const tokenYMintInfo = AccountCache_1.AccountCache.get(tokenYMint);
2278
2279
  console.log(`Cache lookup results:`, {
@@ -2302,7 +2303,7 @@ class MeteoraDlmmDeposit2Automation extends HawksightMeteoraAutomationCpi {
2302
2303
  const depositIx = yield anchor_1.Anchor.instance().iyfExtension.methods
2303
2304
  .meteoraDlmmDeposit2Automation(null, // userTokenXAmount (optional)
2304
2305
  null, // userTokenYAmount (optional)
2305
- activeId, maxActiveBinSlippage, strategyParametersMinBinId, strategyParametersMaxBinId, strategyParametersStrategyType, strategyParametersParameters)
2306
+ activeId, maxActiveBinSlippage, strategyParametersMinBinId, strategyParametersMaxBinId, strategyParametersStrategyType, strategyParametersParameters, remainingAccountsInfo)
2306
2307
  .accounts({
2307
2308
  farm: addresses_1.USDC_FARM,
2308
2309
  userPda,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.3.33",
3
+ "version": "1.3.34",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",