@hawksightco/hawk-sdk 1.3.116 → 1.3.117

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.
@@ -1981,13 +1981,13 @@ class ClaimRewardAutomation extends HawksightMeteoraAutomationCpi {
1981
1981
  // Adjust by token type
1982
1982
  const pdaTokenType = (_a = this.opt) === null || _a === void 0 ? void 0 : _a.pdaTokenType;
1983
1983
  if (pdaTokenType === types_1.TokenType.LTA) {
1984
- this.ix.keys[5].pubkey = util.generateLimitToken(this.userPda, this.ix.keys[6].pubkey);
1984
+ this.ix.keys[5].pubkey = util.generateLimitToken(this.userPda, rewardMint);
1985
1985
  }
1986
1986
  else if (pdaTokenType === types_1.TokenType.STA) {
1987
- this.ix.keys[5].pubkey = util.generateUserPdaStorageAccount(this.userPda, this.ix.keys[6].pubkey);
1987
+ this.ix.keys[5].pubkey = util.generateUserPdaStorageAccount(this.userPda, rewardMint);
1988
1988
  }
1989
1989
  else {
1990
- this.ix.keys[5].pubkey = util.generateAta(this.userPda, this.ix.keys[6].pubkey, mintInfo.info.owner);
1990
+ this.ix.keys[5].pubkey = util.generateAta(this.userPda, rewardMint, mintInfo.info.owner);
1991
1991
  }
1992
1992
  let binArrayLower = this.ix.keys[10].pubkey;
1993
1993
  let binArrayUpper = this.ix.keys.length > 11 ? this.ix.keys[11].pubkey : this.ix.keys[10].pubkey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.3.116",
3
+ "version": "1.3.117",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",