@hawksightco/hawk-sdk 1.3.50 → 1.3.51

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.
@@ -2157,6 +2157,9 @@ class MeteoraDlmmClaimFee2Automation extends HawksightMeteoraAutomationCpi {
2157
2157
  const userPda = this.userPda;
2158
2158
  const authority = this.authority;
2159
2159
  const hawksightAuthority = addresses_1.HS_AUTHORITY;
2160
+ const minBinId = this.ix.data.readInt32LE(8);
2161
+ const maxBinId = this.ix.data.readInt32LE(12);
2162
+ const remainingAccountsInfo = this.ix.data.subarray(16);
2160
2163
  // Get token mints X and Y
2161
2164
  const tokenXMint = this.ix.keys[7].pubkey;
2162
2165
  const tokenYMint = this.ix.keys[8].pubkey;
@@ -2185,7 +2188,7 @@ class MeteoraDlmmClaimFee2Automation extends HawksightMeteoraAutomationCpi {
2185
2188
  // Generate IX via extension contract
2186
2189
  // @ts-ignore
2187
2190
  const claimFeeIx = yield anchor_1.Anchor.instance().iyfExtension.methods
2188
- .meteoraDlmmClaimFee2Automation()
2191
+ .meteoraDlmmClaimFee2Automation(minBinId, maxBinId, remainingAccountsInfo)
2189
2192
  .accounts({
2190
2193
  userPda,
2191
2194
  authority,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.3.50",
3
+ "version": "1.3.51",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",