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

@orca-so/common-sdk

Package Overview
Dependencies
Maintainers
4
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orca-so/common-sdk - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

1

dist/web3/token-util.d.ts

@@ -0,1 +1,2 @@

/// <reference types="node" />
import { AccountInfo, u64 } from "@solana/spl-token";

@@ -2,0 +3,0 @@ import { Connection, PublicKey } from "@solana/web3.js";

2

dist/web3/transactions/transactions-builder.d.ts

@@ -61,3 +61,3 @@ import { AnchorProvider } from "@project-serum/anchor";

*/
txnSize(): Promise<number>;
txnSize(options?: BuildOptions): Promise<number>;
/**

@@ -64,0 +64,0 @@ * Constructs a transaction payload with the gathered instructions

@@ -99,3 +99,3 @@ "use strict";

*/
txnSize() {
txnSize(options = { latestBlockhash: undefined }) {
return __awaiter(this, void 0, void 0, function* () {

@@ -105,3 +105,3 @@ if (this.isEmpty()) {

}
const request = yield this.build();
const request = yield this.build(options);
return request.transaction.serialize({ requireAllSignatures: false }).length;

@@ -108,0 +108,0 @@ });

{
"name": "@orca-so/common-sdk",
"version": "0.1.3",
"version": "0.1.4",
"description": "Common Typescript components across Orca",

@@ -5,0 +5,0 @@ "repository": "https://github.com/orca-so/orca-sdks",

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