@hawksightco/hawk-sdk 1.3.90 → 1.3.92

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.
@@ -2361,6 +2361,8 @@ class ClosePositionIfEmptyAutomation extends HawksightMeteoraAutomationCpi {
2361
2361
  meteoraDlmmProgram: addresses_1.METEORA_DLMM_PROGRAM,
2362
2362
  fuelAccount: fuelAccount,
2363
2363
  }).instruction();
2364
+ // Make sure sure authority is not signer
2365
+ closePositionIx.keys[1].isSigner = false;
2364
2366
  // Instruction via main hawksight contract
2365
2367
  // @ts-ignore
2366
2368
  const ix = yield anchor_1.Anchor.instance().iyfMain.methods
@@ -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.90",
3
+ "version": "1.3.92",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",