Socket
Socket
Sign inDemoInstall

@project-serum/serum

Package Overview
Dependencies
3
Maintainers
3
Versions
135
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.11 to 0.7.0

4

lib/instructions.js

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

const token_instructions_1 = require("./token-instructions");
exports.DEX_PROGRAM_ID = new web3_js_1.PublicKey('3v9kjrBLN7Awr9BGC2qmFnWLM1EgMAdNm2rXLQFUcQ2d');
exports.DEX_PROGRAM_ID = new web3_js_1.PublicKey('9JipvuvjcirpYf8mzYQtozXeYtQLWY67LaZCiANSMNgs');
exports.INSTRUCTION_LAYOUT = new layout_1.VersionedLayout(0, buffer_layout_1.union(buffer_layout_1.u32('instruction')));

@@ -69,3 +69,3 @@ exports.INSTRUCTION_LAYOUT.inner.addVariant(0, buffer_layout_1.struct([

keys: [
{ pubkey: market, isSigner: false, isWritable: false },
{ pubkey: market, isSigner: false, isWritable: true },
{ pubkey: openOrders, isSigner: false, isWritable: true },

@@ -72,0 +72,0 @@ { pubkey: requestQueue, isSigner: false, isWritable: true },

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

}
const MINT_LAYOUT = buffer_layout_1.struct([buffer_layout_1.blob(36), buffer_layout_1.u8('decimals'), buffer_layout_1.blob(3)]);
const MINT_LAYOUT = buffer_layout_1.struct([buffer_layout_1.blob(44), buffer_layout_1.u8('decimals'), buffer_layout_1.blob(37)]);
async function getMintDecimals(connection, mint) {

@@ -528,0 +528,0 @@ const { data } = throwIfNull(await connection.getAccountInfo(mint), 'mint not found');

{
"name": "@project-serum/serum",
"version": "0.6.11",
"version": "0.7.0",
"description": "Library for interacting with the serum dex",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc