@hawksightco/hawk-sdk 1.3.55 → 1.3.57
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hsToMeteora.d.ts","sourceRoot":"","sources":["../../src/hsToMeteora.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAA6B,wBAAwB,EAAa,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"hsToMeteora.d.ts","sourceRoot":"","sources":["../../src/hsToMeteora.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAA6B,wBAAwB,EAAa,MAAM,SAAS,CAAC;AAiBzF;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,EAAC,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAC,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAUzI;AAED;;;;;GAKG;AACH,wBAAsB,+BAA+B,CAAC,EAAC,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAC,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAUtJ;AAED;;;;;GAKG;AACH,wBAAsB,wBAAwB,CAAC,EAAC,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAC,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAU/I"}
|
package/dist/src/hsToMeteora.js
CHANGED
|
@@ -57,7 +57,6 @@ const util = __importStar(require("./functions"));
|
|
|
57
57
|
// import { Log } from "./classes/Logging";
|
|
58
58
|
const SimpleIxGenerator_1 = require("./classes/SimpleIxGenerator");
|
|
59
59
|
const AccountCache_1 = require("./classes/account-cache/AccountCache");
|
|
60
|
-
const raydium_sdk_v2_1 = require("@raydium-io/raydium-sdk-v2");
|
|
61
60
|
/**
|
|
62
61
|
* Convert listed meteora instruction to generalized hawksight meteora cpi
|
|
63
62
|
*
|
|
@@ -2342,7 +2341,7 @@ class ClosePositionIfEmptyAutomation extends HawksightMeteoraAutomationCpi {
|
|
|
2342
2341
|
const hawksightAuthority = addresses_1.HS_AUTHORITY;
|
|
2343
2342
|
// let remainingAccounts: web3.AccountMeta[] = [];
|
|
2344
2343
|
// Dummy value of fuel account is system program
|
|
2345
|
-
let fuelAccount =
|
|
2344
|
+
let fuelAccount = addresses_1.METEORA_DLMM_PROGRAM;
|
|
2346
2345
|
if ((_b = (_a = this.opt) === null || _a === void 0 ? void 0 : _a.params) === null || _b === void 0 ? void 0 : _b.fuelAccount) {
|
|
2347
2346
|
fuelAccount = util.generateFuelAccount(this.authority);
|
|
2348
2347
|
}
|