Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hawksightco/hawk-sdk

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hawksightco/hawk-sdk - npm Package Compare versions

Comparing version 0.0.66 to 0.0.67

11

dist/src/classes/TxGeneratorAutomations.d.ts

@@ -52,3 +52,14 @@ import * as web3 from "@solana/web3.js";

meteoraRebalanceIxs(connection: web3.Connection, payer: string, params: _client.AutomationRebalanceAutomationIxBody): Promise<ResponseWithStatus<TransactionMetadata>>;
/**
* Creates meteora full withdraw and close position instructions
*
* NOTE: For hawksight devs only.
*
* @param connection The Solana web3 connection object for blockchain interactions.
* @param payer The public key of the payer for transaction fees.
* @param params Parameters required
* @returns A ResponseWithStatus containing either TransactionMetadataResponse or TransactionMetadata.
*/
meteoraFullWithdrawAndClosePositionIxs(connection: web3.Connection, payer: string, params: _client.AutomationWithdrawAndCloseAutomationIxBody): Promise<ResponseWithStatus<TransactionMetadata>>;
}
//# sourceMappingURL=TxGeneratorAutomations.d.ts.map

@@ -95,3 +95,22 @@ "use strict";

}
/**
* Creates meteora full withdraw and close position instructions
*
* NOTE: For hawksight devs only.
*
* @param connection The Solana web3 connection object for blockchain interactions.
* @param payer The public key of the payer for transaction fees.
* @param params Parameters required
* @returns A ResponseWithStatus containing either TransactionMetadataResponse or TransactionMetadata.
*/
meteoraFullWithdrawAndClosePositionIxs(connection, payer, params) {
return __awaiter(this, void 0, void 0, function* () {
const result = yield this.client.meteoraDLMMAutomationInstructionsApi.meteoraDlmmAutomationWithdrawAndCloseAutomationIxPost(params).catch(e => e.response);
return (0, functions_1.resultOrError)({
status: result.status,
data: result.data,
}, (data) => __awaiter(this, void 0, void 0, function* () { return yield (0, functions_1.createTxMetadata)(this.generalUtility, connection, payer, data); }));
});
}
}
exports.TxGeneratorAutomations = TxGeneratorAutomations;

4

package.json
{
"name": "@hawksightco/hawk-sdk",
"version": "0.0.66",
"version": "0.0.67",
"description": "Hawksight v2 SDK",

@@ -23,3 +23,3 @@ "main": "dist/src/index.js",

"dependencies": {
"@hawksightco/swagger-client": "^0.0.25",
"@hawksightco/swagger-client": "^0.0.26",
"@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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc