Socket
Socket
Sign inDemoInstall

@project-serum/serum

Package Overview
Dependencies
Maintainers
2
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@project-serum/serum - npm Package Compare versions

Comparing version 0.6.6 to 0.6.7

1

lib/market.d.ts

@@ -46,2 +46,3 @@ /// <reference types="node" />

makeSettleFundsTransaction(connection: Connection, openOrders: OpenOrders, baseWallet: PublicKey, quoteWallet: PublicKey): Promise<Transaction>;
makeSettleInstruction(openOrders: OpenOrders, baseWallet: PublicKey, quoteWallet: PublicKey, vaultSigner: any): TransactionInstruction;
loadRequestQueue(connection: Connection): Promise<any[]>;

@@ -48,0 +49,0 @@ loadEventQueue(connection: Connection): Promise<import("./queue").Event[]>;

10

lib/market.js

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

], instructions_1.DEX_PROGRAM_ID);
tx.add(instructions_1.DexInstructions.settleFunds({
const settleInstruction = this.makeSettleInstruction(openOrders, baseWallet, quoteWallet, vaultSigner);
tx.add(settleInstruction);
return tx;
}
makeSettleInstruction(openOrders, baseWallet, quoteWallet, vaultSigner) {
return instructions_1.DexInstructions.settleFunds({
market: this.address,

@@ -258,4 +263,3 @@ openOrders: openOrders.address,

vaultSigner,
}));
return tx;
});
}

@@ -262,0 +266,0 @@ async loadRequestQueue(connection) {

{
"name": "@project-serum/serum",
"version": "0.6.6",
"version": "0.6.7",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc