@openbook-dex/openbook-v2
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -43,2 +43,3 @@ /// <reference types="bn.js" /> | ||
get walletPk(): PublicKey; | ||
setProvider(provider: AnchorProvider): void; | ||
sendAndConfirmTransaction(ixs: TransactionInstruction[], opts?: any): Promise<string>; | ||
@@ -45,0 +46,0 @@ createProgramAccount(authority: Keypair, size: number): Promise<PublicKey>; |
@@ -51,2 +51,5 @@ "use strict"; | ||
} | ||
setProvider(provider) { | ||
this.program = new anchor_1.Program(openbook_v2_1.IDL, this.programId, provider); | ||
} | ||
/// Transactions | ||
@@ -53,0 +56,0 @@ async sendAndConfirmTransaction(ixs, opts = {}) { |
@@ -47,2 +47,5 @@ import { BN, Program, } from '@coral-xyz/anchor'; | ||
} | ||
setProvider(provider) { | ||
this.program = new Program(IDL, this.programId, provider); | ||
} | ||
/// Transactions | ||
@@ -49,0 +52,0 @@ async sendAndConfirmTransaction(ixs, opts = {}) { |
@@ -43,2 +43,3 @@ /// <reference types="bn.js" /> | ||
get walletPk(): PublicKey; | ||
setProvider(provider: AnchorProvider): void; | ||
sendAndConfirmTransaction(ixs: TransactionInstruction[], opts?: any): Promise<string>; | ||
@@ -45,0 +46,0 @@ createProgramAccount(authority: Keypair, size: number): Promise<PublicKey>; |
{ | ||
"name": "@openbook-dex/openbook-v2", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
635423
16868