New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@metaplex-foundation/mpl-bubblegum

Package Overview
Dependencies
Maintainers
10
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metaplex-foundation/mpl-bubblegum - npm Package Compare versions

Comparing version 0.6.2 to 0.7.0

13

dist/src/mpl-bubblegum.js

@@ -39,7 +39,10 @@ "use strict";

function computeCreatorHash(creators) {
let bufferOfCreatorShares = Buffer.from([]);
for (const creator of creators) {
bufferOfCreatorShares = Buffer.concat([creator.address.toBuffer(), Buffer.from([creator.verified ? 1 : 0]), Buffer.from([creator.share])]);
}
return Buffer.from(js_sha3_1.keccak_256.digest(bufferOfCreatorShares));
const bufferOfCreatorData = Buffer.concat(creators.map((creator) => {
return Buffer.concat([
creator.address.toBuffer(),
Buffer.from([creator.verified ? 1 : 0]),
Buffer.from([creator.share]),
]);
}));
return Buffer.from(js_sha3_1.keccak_256.digest(bufferOfCreatorData));
}

@@ -46,0 +49,0 @@ exports.computeCreatorHash = computeCreatorHash;

{
"name": "@metaplex-foundation/mpl-bubblegum",
"version": "0.6.2",
"programVersion": "0.6.0",
"version": "0.7.0",
"programVersion": "0.8.0",
"description": "SDK for MPL Bubblegum contract",

@@ -48,3 +48,2 @@ "main": "dist/src/index.js",

"@metaplex-foundation/mpl-token-metadata": "^2.5.2",
"bn.js": "^5.2.0",
"@solana/spl-account-compression": "^0.1.4",

@@ -64,2 +63,3 @@ "@solana/spl-token": "^0.1.8",

"@types/tape": "^4.13.2",
"@types/bn.js": "^5.1.1",
"@typescript-eslint/eslint-plugin": "^5.4.0",

@@ -66,0 +66,0 @@ "@typescript-eslint/parser": "^5.4.0",

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