@hawksightco/hawk-sdk 1.3.89 → 1.3.91

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.
@@ -326,7 +326,7 @@ class MeteoraDlmmIxGenerator {
326
326
  const strategyParametersStrategyType = addLiquidityByStrategyIx.data[32];
327
327
  const strategyParametersParameters = new Array(64).fill(0);
328
328
  // index 97 onwards are remaining accounts info
329
- const remainingAccountsInfo = Array.from(addLiquidityByStrategyIx.data.subarray(97));
329
+ const remainingAccountsInfo = addLiquidityByStrategyIx.data.subarray(97);
330
330
  console.log('Remaining accounts start index:', remainingAccountStartIndex);
331
331
  console.log('Remaining accounts count:', remainingAccountMeta.length);
332
332
  console.log('Remaining accounts info length:', remainingAccountsInfo.length);
@@ -351,7 +351,8 @@ class MeteoraDlmmIxGenerator {
351
351
  })));
352
352
  console.log('Creating extension instruction...');
353
353
  const extensionIx = yield anchor_1.Anchor.instance().iyfExtension.methods
354
- .meteoraDlmmRedepositAutomation2(relativeLowerBinId, relativeUpperBinId, strategyParametersStrategyType, _checkRange, strategyParametersParameters, remainingAccountsInfo)
354
+ .meteoraDlmmRedepositAutomation2(relativeLowerBinId, relativeUpperBinId, strategyType, //strategyParametersStrategyType,
355
+ _checkRange, strategyParametersParameters, remainingAccountsInfo)
355
356
  .accounts({
356
357
  farm: addresses_1.USDC_FARM,
357
358
  userPda,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.3.89",
3
+ "version": "1.3.91",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",