@project-serum/serum
Advanced tools
Comparing version 0.13.50 to 0.13.51
@@ -41,3 +41,4 @@ import { PublicKey, TransactionInstruction } from '@solana/web3.js'; | ||
closeOpenOrders(ix: TransactionInstruction): void; | ||
ixToDisplay(ix: TransactionInstruction): Object; | ||
} | ||
//# sourceMappingURL=middleware.d.ts.map |
@@ -166,4 +166,12 @@ "use strict"; | ||
} | ||
ixToDisplay(ix) { | ||
const keys = ix.keys.map(i => { | ||
return { ...i, pubkey: i.pubkey.toString() }; | ||
}); | ||
const programId = ix.programId.toString(); | ||
const data = new Uint8Array(ix.data); | ||
return { keys, programId, data }; | ||
} | ||
} | ||
exports.Logger = Logger; | ||
//# sourceMappingURL=middleware.js.map |
{ | ||
"name": "@project-serum/serum", | ||
"version": "0.13.50", | ||
"version": "0.13.51", | ||
"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
285086
4598