@hawksightco/hawk-sdk
Advanced tools
Comparing version 0.0.67 to 0.0.68
@@ -53,3 +53,3 @@ import * as web3 from "@solana/web3.js"; | ||
/** | ||
* Creates meteora full withdraw and close position instructions | ||
* Creates meteora close limit instruction (combination of claim fees/rewards + remove liquidity + close position) | ||
* | ||
@@ -63,4 +63,4 @@ * NOTE: For hawksight devs only. | ||
*/ | ||
meteoraFullWithdrawAndClosePositionIxs(connection: web3.Connection, payer: string, params: _client.AutomationWithdrawAndCloseAutomationIxBody): Promise<ResponseWithStatus<TransactionMetadata>>; | ||
meteoraLimitCloseIxs(connection: web3.Connection, payer: string, params: _client.AutomationLimitCloseAutomationIxBody): Promise<ResponseWithStatus<TransactionMetadata>>; | ||
} | ||
//# sourceMappingURL=TxGeneratorAutomations.d.ts.map |
@@ -96,3 +96,3 @@ "use strict"; | ||
/** | ||
* Creates meteora full withdraw and close position instructions | ||
* Creates meteora close limit instruction (combination of claim fees/rewards + remove liquidity + close position) | ||
* | ||
@@ -106,5 +106,5 @@ * NOTE: For hawksight devs only. | ||
*/ | ||
meteoraFullWithdrawAndClosePositionIxs(connection, payer, params) { | ||
meteoraLimitCloseIxs(connection, payer, params) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const result = yield this.client.meteoraDLMMAutomationInstructionsApi.meteoraDlmmAutomationWithdrawAndCloseAutomationIxPost(params).catch(e => e.response); | ||
const result = yield this.client.meteoraDLMMAutomationInstructionsApi.meteoraDlmmAutomationLimitCloseAutomationIxPost(params).catch(e => e.response); | ||
return (0, functions_1.resultOrError)({ | ||
@@ -111,0 +111,0 @@ status: result.status, |
{ | ||
"name": "@hawksightco/hawk-sdk", | ||
"version": "0.0.67", | ||
"version": "0.0.68", | ||
"description": "Hawksight v2 SDK", | ||
@@ -23,3 +23,3 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"@hawksightco/swagger-client": "^0.0.26", | ||
"@hawksightco/swagger-client": "^0.0.27", | ||
"@solana/web3.js": "^1.89.1", | ||
@@ -26,0 +26,0 @@ "bn.js": "^5.2.1" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
158890
+ Added@hawksightco/swagger-client@0.0.27(transitive)