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

@openbook-dex/openbook-v2

Package Overview
Dependencies
Maintainers
4
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.2.6 to 0.2.7

1

dist/cjs/client.d.ts

@@ -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;

2

dist/cjs/client.js

@@ -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

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