@openbook-dex/openbook-v2
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -26,2 +26,3 @@ /// <reference types="bn.js" /> | ||
export type LeafNode = IdlTypes<OpenbookV2>['LeafNode']; | ||
export type OpenOrder = IdlTypes<OpenbookV2>['OpenOrder']; | ||
export interface OpenBookClientOptions { | ||
@@ -28,0 +29,0 @@ idsSource?: IdsSource; |
@@ -327,3 +327,3 @@ "use strict"; | ||
decodeMarket(data) { | ||
return this.program.coder.accounts.decode('Market', data); | ||
return this.program.coder.accounts.decode('market', data); | ||
} | ||
@@ -330,0 +330,0 @@ async placeOrderIx(openOrdersPublicKey, marketPublicKey, market, userTokenAccount, args, remainingAccounts, openOrdersDelegate) { |
@@ -323,3 +323,3 @@ import { BN, Program, } from '@coral-xyz/anchor'; | ||
decodeMarket(data) { | ||
return this.program.coder.accounts.decode('Market', data); | ||
return this.program.coder.accounts.decode('market', data); | ||
} | ||
@@ -326,0 +326,0 @@ async placeOrderIx(openOrdersPublicKey, marketPublicKey, market, userTokenAccount, args, remainingAccounts, openOrdersDelegate) { |
@@ -26,2 +26,3 @@ /// <reference types="bn.js" /> | ||
export type LeafNode = IdlTypes<OpenbookV2>['LeafNode']; | ||
export type OpenOrder = IdlTypes<OpenbookV2>['OpenOrder']; | ||
export interface OpenBookClientOptions { | ||
@@ -28,0 +29,0 @@ idsSource?: IdsSource; |
{ | ||
"name": "@openbook-dex/openbook-v2", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"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
752164
19584