Socket
Socket
Sign inDemoInstall

@marinade.finance/cli-common

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marinade.finance/cli-common - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

src/borsh.d.ts

8

package.json
{
"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

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