@hawksightco/hawk-sdk 1.3.72 → 1.3.73

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.
@@ -2555,10 +2555,12 @@ class MeteoraDlmmWithdraw2Automation extends HawksightMeteoraAutomationCpi {
2555
2555
  this.ix.keys[7].pubkey = util.generateAta(this.userPda, tokenXMint, tokenXMintInfo.info.owner);
2556
2556
  this.ix.keys[8].pubkey = util.generateAta(this.userPda, tokenYMint, tokenYMintInfo.info.owner);
2557
2557
  }
2558
+ // 8 + 4 + 4 + 2
2559
+ const ixDataArgs = this.ix.data.subarray(18);
2558
2560
  // Generate IX via extension contract
2559
2561
  // @ts-ignore
2560
2562
  const withdrawIx = yield anchor_1.Anchor.instance().iyfExtension.methods
2561
- .meteoraDlmmWithdraw2Automation(this.ix.data)
2563
+ .meteoraDlmmWithdraw2Automation(ixDataArgs)
2562
2564
  .accounts({
2563
2565
  farm,
2564
2566
  userPda,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.3.72",
3
+ "version": "1.3.73",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",