@project-serum/serum
Advanced tools
Comparing version 0.13.49 to 0.13.50
@@ -10,5 +10,8 @@ import BN from 'bn.js'; | ||
private _instruction; | ||
get dexProgramId(): PublicKey; | ||
get proxyProgramId(): PublicKey; | ||
constructor(market: Market, instruction: MarketProxyInstruction); | ||
} | ||
export declare class MarketProxyInstruction { | ||
get proxyProgramId(): PublicKey; | ||
private _proxyProgramId; | ||
@@ -15,0 +18,0 @@ private _dexProgramId; |
@@ -44,2 +44,10 @@ "use strict"; | ||
} | ||
// Serum DEX program ID. | ||
get dexProgramId() { | ||
return this._market.programId; | ||
} | ||
// Proxy program ID. | ||
get proxyProgramId() { | ||
return this._instruction.proxyProgramId; | ||
} | ||
} | ||
@@ -55,2 +63,6 @@ exports.MarketProxy = MarketProxy; | ||
} | ||
// Program ID of the permissioning proxy program. | ||
get proxyProgramId() { | ||
return this._proxyProgramId; | ||
} | ||
newOrderV3(params) { | ||
@@ -57,0 +69,0 @@ const tradeIx = this._market.makeNewOrderV3Instruction({ |
{ | ||
"name": "@project-serum/serum", | ||
"version": "0.13.49", | ||
"version": "0.13.50", | ||
"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
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
284346
4589