@hawksightco/hawk-sdk 1.3.121 → 1.3.122

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.
@@ -2269,7 +2269,7 @@ class MeteoraDlmmClaimReward2Automation extends HawksightMeteoraAutomationCpi {
2269
2269
  const rewardMintInfo = AccountCache_1.AccountCache.get(rewardMint);
2270
2270
  const ownerFee = util.generateAta(addresses_1.SITE_FEE_OWNER, rewardMint, rewardMintInfo === null || rewardMintInfo === void 0 ? void 0 : rewardMintInfo.info.owner);
2271
2271
  // Get reward index from parameter
2272
- const rewardIndex = Number(this.ix.data.readBigInt64LE(8).toString());
2272
+ const rewardIndex = new bn_js_1.default(this.ix.data.readBigInt64LE(8).toString());
2273
2273
  // Generate IX via extension contract
2274
2274
  // @ts-ignore
2275
2275
  const claimReward = yield anchor_1.Anchor.instance().iyfExtension.methods
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.3.121",
3
+ "version": "1.3.122",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",