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
119
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.69 to 0.0.70

9

dist/src/classes/TxGenerator.d.ts

@@ -66,2 +66,11 @@ import * as web3 from "@solana/web3.js";

/**
* Creates meteora instruction that initializes bin arrays
*
* @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.
*/
meteoraInitializeBinArrays(connection: web3.Connection, payer: string, params: _client.TxInitializeBinArraysBody): Promise<ResponseWithStatus<TransactionMetadata>>;
/**
* Creates orca instruction that opens new position

@@ -68,0 +77,0 @@ *

@@ -115,2 +115,19 @@ "use strict";

/**
* Creates meteora instruction that initializes bin arrays
*
* @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.
*/
meteoraInitializeBinArrays(connection, payer, params) {
return __awaiter(this, void 0, void 0, function* () {
const result = yield this.client.meteoraDLMMInstructionsApi.meteoraDlmmTxInitializeBinArraysPost(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); }));
});
}
/**
* Creates orca instruction that opens new position

@@ -117,0 +134,0 @@ *

2

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

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

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