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
5
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.3.4 to 0.3.5

6

dist/web3/wallet.d.ts

@@ -7,1 +7,7 @@ import { PublicKey, Transaction, VersionedTransaction } from "@solana/web3.js";

}
export declare class ReadOnlyWallet implements Wallet {
publicKey: PublicKey;
constructor(publicKey?: PublicKey);
signTransaction<T extends Transaction | VersionedTransaction>(_transaction: T): Promise<T>;
signAllTransactions<T extends Transaction | VersionedTransaction>(_transactions: T[]): Promise<T[]>;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReadOnlyWallet = void 0;
const web3_js_1 = require("@solana/web3.js");
class ReadOnlyWallet {
constructor(publicKey = web3_js_1.PublicKey.default) {
this.publicKey = publicKey;
}
signTransaction(_transaction) {
throw new Error("Read only wallet cannot sign transaction.");
}
signAllTransactions(_transactions) {
throw new Error("Read only wallet cannot sign transactions.");
}
}
exports.ReadOnlyWallet = ReadOnlyWallet;

2

package.json
{
"name": "@orca-so/common-sdk",
"version": "0.3.4",
"version": "0.3.5",
"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