@hawksightco/hawk-sdk 1.3.162 → 1.3.163

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.
@@ -2343,7 +2343,7 @@ class ClosePositionIfEmptyAutomation extends HawksightMeteoraAutomationCpi {
2343
2343
  const hawksightAuthority = addresses_1.HS_AUTHORITY;
2344
2344
  // let remainingAccounts: web3.AccountMeta[] = [];
2345
2345
  // Dummy value of fuel account is system program
2346
- let fuelAccount = addresses_1.METEORA_DLMM_PROGRAM;
2346
+ let fuelAccount = this.userPda; // using user pda instead of program account
2347
2347
  if ((_b = (_a = this.opt) === null || _a === void 0 ? void 0 : _a.params) === null || _b === void 0 ? void 0 : _b.fuelAccount) {
2348
2348
  fuelAccount = util.generateFuelAccount(this.authority);
2349
2349
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.3.162",
3
+ "version": "1.3.163",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",