@marinade.finance/cli-common
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "@marinade.finance/cli-common", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "CLI tooling", | ||
@@ -29,3 +29,4 @@ "repository": { | ||
"@types/expand-tilde": "^2.0.0", | ||
"expand-tilde": "^2.0.2" | ||
"expand-tilde": "^2.0.2", | ||
"bs58": "^5.0.0" | ||
}, | ||
@@ -36,3 +37,4 @@ "peerDependencies": { | ||
"borsh": "^0.7.0", | ||
"expand-tilde": "^2.0.2" | ||
"expand-tilde": "^2.0.2", | ||
"bs58": "^5.0.0" | ||
}, | ||
@@ -39,0 +41,0 @@ "scripts": { |
@@ -5,2 +5,3 @@ "use strict"; | ||
const borsh_1 = require("borsh"); | ||
const borsh_2 = require("./borsh"); | ||
// the serialization processing is adapted from SPL Governance SDK Oyster 0.3.28 | ||
@@ -27,2 +28,3 @@ // see https://github.com/solana-labs/oyster/blob/6a23631ad30fb7761107b8316479c14519217560/packages/governance-sdk/src/governance/serialisation.ts#L247 | ||
const serializeInstructionToBase64 = (instruction) => { | ||
(0, borsh_2.extendBorsh)(); | ||
const data = (0, exports.createInstructionData)(instruction); | ||
@@ -29,0 +31,0 @@ return Buffer.from((0, borsh_1.serialize)(createSchema(), data)).toString('base64'); |
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
39009
34
640
5
6