@hawksightco/hawk-sdk 1.3.126 → 1.3.127

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.
@@ -2538,16 +2538,16 @@ class MeteoraDlmmWithdraw2Automation extends HawksightMeteoraAutomationCpi {
2538
2538
  // Adjust by token type
2539
2539
  const pdaTokenType = (_a = this.opt) === null || _a === void 0 ? void 0 : _a.pdaTokenType;
2540
2540
  if (pdaTokenType === types_1.TokenType.LTA) {
2541
- this.ix.keys[7].pubkey = util.generateLimitToken(this.userPda, tokenXMint);
2542
- this.ix.keys[8].pubkey = util.generateLimitToken(this.userPda, tokenYMint);
2541
+ this.ix.keys[3].pubkey = util.generateLimitToken(this.userPda, tokenXMint);
2542
+ this.ix.keys[4].pubkey = util.generateLimitToken(this.userPda, tokenYMint);
2543
2543
  }
2544
2544
  else if (pdaTokenType === types_1.TokenType.STA) {
2545
- this.ix.keys[7].pubkey = util.generateUserPdaStorageAccount(this.userPda, tokenXMint);
2546
- this.ix.keys[8].pubkey = util.generateUserPdaStorageAccount(this.userPda, tokenYMint);
2545
+ this.ix.keys[3].pubkey = util.generateUserPdaStorageAccount(this.userPda, tokenXMint);
2546
+ this.ix.keys[4].pubkey = util.generateUserPdaStorageAccount(this.userPda, tokenYMint);
2547
2547
  }
2548
2548
  else {
2549
- this.ix.keys[7].pubkey = util.generateAta(this.userPda, tokenXMint, tokenXMintInfo.info.owner);
2550
- this.ix.keys[8].pubkey = util.generateAta(this.userPda, tokenYMint, tokenYMintInfo.info.owner);
2549
+ this.ix.keys[3].pubkey = util.generateAta(this.userPda, tokenXMint, tokenXMintInfo.info.owner);
2550
+ this.ix.keys[4].pubkey = util.generateAta(this.userPda, tokenYMint, tokenYMintInfo.info.owner);
2551
2551
  }
2552
2552
  // Generate IX via extension contract
2553
2553
  // @ts-ignore
@@ -2558,7 +2558,7 @@ class MeteoraDlmmWithdraw2Automation extends HawksightMeteoraAutomationCpi {
2558
2558
  hawksightAuthority,
2559
2559
  position: this.ix.keys[0].pubkey,
2560
2560
  lbPair: this.ix.keys[1].pubkey,
2561
- binArrayBitmapExtension: addresses_1.METEORA_DLMM_PROGRAM, //this.ix.keys[2].pubkey,
2561
+ binArrayBitmapExtension: this.ix.keys[2].pubkey,
2562
2562
  userTokenX: this.ix.keys[3].pubkey,
2563
2563
  userTokenY: this.ix.keys[4].pubkey,
2564
2564
  reserveX: this.ix.keys[5].pubkey,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.3.126",
3
+ "version": "1.3.127",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",