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

@openbook-dex/openbook-v2

Package Overview
Dependencies
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openbook-dex/openbook-v2 - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

2

dist/cjs/client.d.ts

@@ -44,3 +44,3 @@ /// <reference types="bn.js" />

sendAndConfirmTransaction(ixs: TransactionInstruction[], opts?: any): Promise<string>;
createProgramAccount(authority: PublicKey, size: number): Promise<PublicKey>;
createProgramAccount(authority: Keypair, size: number): Promise<PublicKey>;
createProgramAccountIx(authority: PublicKey, size: number): Promise<[TransactionInstruction, Signer]>;

@@ -47,0 +47,0 @@ getMarketAccount(publicKey: PublicKey): Promise<MarketAccount | null>;

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

const tx = new web3_js_1.Transaction().add(web3_js_1.SystemProgram.createAccount({
fromPubkey: authority,
fromPubkey: authority.publicKey,
newAccountPubkey: address.publicKey,

@@ -72,3 +72,3 @@ lamports,

await this.sendAndConfirmTransaction(tx, {
additionalSigners: [address],
additionalSigners: [authority, address],
});

@@ -75,0 +75,0 @@ return address.publicKey;

@@ -60,3 +60,3 @@ import { BN, Program, } from '@coral-xyz/anchor';

const tx = new Transaction().add(SystemProgram.createAccount({
fromPubkey: authority,
fromPubkey: authority.publicKey,
newAccountPubkey: address.publicKey,

@@ -68,3 +68,3 @@ lamports,

await this.sendAndConfirmTransaction(tx, {
additionalSigners: [address],
additionalSigners: [authority, address],
});

@@ -71,0 +71,0 @@ return address.publicKey;

@@ -44,3 +44,3 @@ /// <reference types="bn.js" />

sendAndConfirmTransaction(ixs: TransactionInstruction[], opts?: any): Promise<string>;
createProgramAccount(authority: PublicKey, size: number): Promise<PublicKey>;
createProgramAccount(authority: Keypair, size: number): Promise<PublicKey>;
createProgramAccountIx(authority: PublicKey, size: number): Promise<[TransactionInstruction, Signer]>;

@@ -47,0 +47,0 @@ getMarketAccount(publicKey: PublicKey): Promise<MarketAccount | null>;

{
"name": "@openbook-dex/openbook-v2",
"version": "0.0.18",
"version": "0.0.19",
"description": "Typescript Client for openbook-v2 program.",

@@ -5,0 +5,0 @@ "repository": "https://github.com/openbook-dex/openbook-v2/",

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