New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@saberhq/solana

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saberhq/solana - npm Package Compare versions

Comparing version 0.1.1-beta.4 to 0.1.1-beta.5

5

dist/transaction.d.ts

@@ -23,2 +23,7 @@ import { ConfirmOptions, RpcResponseAndContext, Signer, SimulatedTransactionResponse, Transaction, TransactionInstruction, TransactionResponse, TransactionSignature } from "@solana/web3.js";

send(opts?: ConfirmOptions): Promise<PendingTransaction>;
/**
* Sends the transaction and waits for confirmation.
* @param opts
*/
confirm(opts?: ConfirmOptions): Promise<TransactionReceipt>;
}

@@ -25,0 +30,0 @@ /**

@@ -41,2 +41,11 @@ "use strict";

}
/**
* Sends the transaction and waits for confirmation.
* @param opts
*/
confirm(opts) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return (yield this.send(opts)).wait();
});
}
}

@@ -43,0 +52,0 @@ exports.TransactionEnvelope = TransactionEnvelope;

4

package.json
{
"name": "@saberhq/solana",
"version": "0.1.1-beta.4",
"version": "0.1.1-beta.5",
"description": "Common types and libraries for Solana",

@@ -33,3 +33,3 @@ "author": "Ian Macalinao <ian@saber.so>",

},
"gitHead": "fa18e912d04c073ff72e63e4c73fda2e75b1788d",
"gitHead": "c37c9bb24f03579d8f9de0ed20c5a5e652bf8a43",
"publishConfig": {

@@ -36,0 +36,0 @@ "access": "public"

@@ -53,2 +53,10 @@ import {

}
/**
* Sends the transaction and waits for confirmation.
* @param opts
*/
public async confirm(opts?: ConfirmOptions): Promise<TransactionReceipt> {
return (await this.send(opts)).wait();
}
}

@@ -55,0 +63,0 @@

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