@hawksightco/hawk-sdk 1.3.37 → 1.3.39

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.
@@ -2242,8 +2242,8 @@ class MeteoraDlmmDeposit2Automation extends HawksightMeteoraAutomationCpi {
2242
2242
  * Modifies transaction keys for the purpose of depositing liquidity.
2243
2243
  */
2244
2244
  replace() {
2245
- this._ix.keys[1].pubkey = this.userPda;
2246
- this._ix.keys[1].isSigner = false;
2245
+ this.ix.keys[9].pubkey = this.userPda;
2246
+ this.ix.keys[9].isSigner = false;
2247
2247
  }
2248
2248
  /**
2249
2249
  * Replaces Meteora CPI with Hawksight CPI that calls the target Meteora CPI.
@@ -2323,7 +2323,7 @@ class MeteoraDlmmDeposit2Automation extends HawksightMeteoraAutomationCpi {
2323
2323
  tokenYProgram: this.ix.keys[11].pubkey,
2324
2324
  eventAuthority: this.ix.keys[12].pubkey,
2325
2325
  meteoraDlmmProgram: this.ix.keys[13].pubkey,
2326
- }).instruction();
2326
+ }).remainingAccounts(this.ix.keys.slice(14)).instruction();
2327
2327
  const sighash = util.sighash("meteora_dlmm_deposit_2_automation");
2328
2328
  depositIx.data.set(sighash, 0);
2329
2329
  // Instruction via main hawksight contract
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.3.37",
3
+ "version": "1.3.39",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",