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
5
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 4.3.1-beta.0 to 4.3.1

11

dist/src/createTree.js

@@ -13,11 +13,2 @@ "use strict";

const lamports = await context.rpc.getRent(space);
let programId;
if (input.compressionProgram) {
programId = Array.isArray(input.compressionProgram)
? input.compressionProgram[0]
: input.compressionProgram;
}
else {
programId = context.programs.getPublicKey('splAccountCompression', generated_1.SPL_ACCOUNT_COMPRESSION_PROGRAM_ID);
}
return ((0, umi_1.transactionBuilder)()

@@ -30,3 +21,3 @@ // Create the empty Merkle tree account.

space,
programId,
programId: context.programs.getPublicKey('splAccountCompression', generated_1.SPL_ACCOUNT_COMPRESSION_PROGRAM_ID),
}))

@@ -33,0 +24,0 @@ // Create the tree config.

@@ -261,14 +261,2 @@ /**

}
/** InvalidLogWrapper: Invalid log wrapper program */
export declare class InvalidLogWrapperError extends ProgramError {
readonly name: string;
readonly code: number;
constructor(program: Program, cause?: Error);
}
/** InvalidCompressionProgram: Invalid compression program */
export declare class InvalidCompressionProgramError extends ProgramError {
readonly name: string;
readonly code: number;
constructor(program: Program, cause?: Error);
}
/**

@@ -275,0 +263,0 @@ * Attempts to resolve a custom program error from the provided error code.

@@ -10,3 +10,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getMplBubblegumErrorFromName = exports.getMplBubblegumErrorFromCode = exports.InvalidCompressionProgramError = exports.InvalidLogWrapperError = exports.InvalidCanopySizeError = exports.InvalidTokenStandardError = exports.CreatorDidNotUnverifyError = exports.PrimarySaleCanOnlyBeFlippedToTrueError = exports.MetadataImmutableError = exports.CollectionMismatchError = exports.MissingCollectionMetadataAccountError = exports.MissingCollectionMintAccountError = exports.DecompressionDisabledError = exports.UnknownExternalErrorError = exports.CollectionMustBeAUniqueMasterEditionError = exports.CollectionMasterEditionAccountInvalidError = exports.InvalidDelegateRecordError = exports.InvalidCollectionAuthorityError = exports.MetadataMintMismatchError = exports.CollectionMustBeSizedError = exports.LeafAuthorityMustSignError = exports.UpdateAuthorityIncorrectError = exports.AlreadyUnverifiedError = exports.AlreadyVerifiedError = exports.CollectionNotFoundError = exports.CollectionCannotBeVerifiedInThisInstructionError = exports.IncorrectOwnerError = exports.NumericalOverflowErrorError = exports.InsufficientMintCapacityError = exports.TreeAuthorityIncorrectError = exports.MetadataBasisPointsTooHighError = exports.MetadataUriTooLongError = exports.MetadataSymbolTooLongError = exports.MetadataNameTooLongError = exports.CreatorsTooLongError = exports.DataHashMismatchError = exports.CreatorHashMismatchError = exports.NoCreatorsPresentError = exports.CreatorNotFoundError = exports.CreatorDidNotVerifyError = exports.DuplicateCreatorAddressError = exports.CreatorShareTotalMustBe100Error = exports.UnsupportedSchemaVersionError = exports.HashingMismatchError = exports.PublicKeyMismatchError = exports.AssetOwnerMismatchError = void 0;
exports.getMplBubblegumErrorFromName = exports.getMplBubblegumErrorFromCode = exports.InvalidCanopySizeError = exports.InvalidTokenStandardError = exports.CreatorDidNotUnverifyError = exports.PrimarySaleCanOnlyBeFlippedToTrueError = exports.MetadataImmutableError = exports.CollectionMismatchError = exports.MissingCollectionMetadataAccountError = exports.MissingCollectionMintAccountError = exports.DecompressionDisabledError = exports.UnknownExternalErrorError = exports.CollectionMustBeAUniqueMasterEditionError = exports.CollectionMasterEditionAccountInvalidError = exports.InvalidDelegateRecordError = exports.InvalidCollectionAuthorityError = exports.MetadataMintMismatchError = exports.CollectionMustBeSizedError = exports.LeafAuthorityMustSignError = exports.UpdateAuthorityIncorrectError = exports.AlreadyUnverifiedError = exports.AlreadyVerifiedError = exports.CollectionNotFoundError = exports.CollectionCannotBeVerifiedInThisInstructionError = exports.IncorrectOwnerError = exports.NumericalOverflowErrorError = exports.InsufficientMintCapacityError = exports.TreeAuthorityIncorrectError = exports.MetadataBasisPointsTooHighError = exports.MetadataUriTooLongError = exports.MetadataSymbolTooLongError = exports.MetadataNameTooLongError = exports.CreatorsTooLongError = exports.DataHashMismatchError = exports.CreatorHashMismatchError = exports.NoCreatorsPresentError = exports.CreatorNotFoundError = exports.CreatorDidNotVerifyError = exports.DuplicateCreatorAddressError = exports.CreatorShareTotalMustBe100Error = exports.UnsupportedSchemaVersionError = exports.HashingMismatchError = exports.PublicKeyMismatchError = exports.AssetOwnerMismatchError = void 0;
const umi_1 = require("@metaplex-foundation/umi");

@@ -477,24 +477,2 @@ const codeToErrorMap = new Map();

nameToErrorMap.set('InvalidCanopySize', InvalidCanopySizeError);
/** InvalidLogWrapper: Invalid log wrapper program */
class InvalidLogWrapperError extends umi_1.ProgramError {
constructor(program, cause) {
super('Invalid log wrapper program', program, cause);
this.name = 'InvalidLogWrapper';
this.code = 0x179a; // 6042
}
}
exports.InvalidLogWrapperError = InvalidLogWrapperError;
codeToErrorMap.set(0x179a, InvalidLogWrapperError);
nameToErrorMap.set('InvalidLogWrapper', InvalidLogWrapperError);
/** InvalidCompressionProgram: Invalid compression program */
class InvalidCompressionProgramError extends umi_1.ProgramError {
constructor(program, cause) {
super('Invalid compression program', program, cause);
this.name = 'InvalidCompressionProgram';
this.code = 0x179b; // 6043
}
}
exports.InvalidCompressionProgramError = InvalidCompressionProgramError;
codeToErrorMap.set(0x179b, InvalidCompressionProgramError);
nameToErrorMap.set('InvalidCompressionProgram', InvalidCompressionProgramError);
/**

@@ -501,0 +479,0 @@ * Attempts to resolve a custom program error from the provided error code.

@@ -10,2 +10,1 @@ export * from './createTree';

export * from './plugin';
export * from './getCompressionPrograms';

@@ -26,3 +26,2 @@ "use strict";

__exportStar(require("./plugin"), exports);
__exportStar(require("./getCompressionPrograms"), exports);
//# sourceMappingURL=index.js.map

16

package.json
{
"name": "@metaplex-foundation/mpl-bubblegum",
"version": "4.3.1-beta.0",
"version": "4.3.1",
"description": "Create and interact with compressed Metaplex NFTs",

@@ -20,14 +20,14 @@ "main": "dist/src/index.js",

"@metaplex-foundation/mpl-token-metadata": "3.2.1",
"@metaplex-foundation/digital-asset-standard-api": "^1.0.4",
"@metaplex-foundation/mpl-toolbox": "^0.9.0",
"@metaplex-foundation/digital-asset-standard-api": "^1.0.5",
"@metaplex-foundation/mpl-toolbox": "^0.10.0",
"@noble/hashes": "^1.3.1",
"merkletreejs": "^0.3.9"
"merkletreejs": "^0.3.11"
},
"peerDependencies": {
"@metaplex-foundation/umi": ">= 0.8.9 < 1"
"@metaplex-foundation/umi": ">= 0.8.9 <= 1"
},
"devDependencies": {
"@ava/typescript": "^3.0.1",
"@metaplex-foundation/umi": "^0.8.9",
"@metaplex-foundation/umi-bundle-tests": "^0.8.3",
"@metaplex-foundation/umi": "^1.0.0",
"@metaplex-foundation/umi-bundle-tests": "^1.0.0",
"@solana/web3.js": "^1.73.0",

@@ -49,3 +49,3 @@ "@typescript-eslint/eslint-plugin": "^5.13.0",

"typescript": "^4.6.2",
"vercel": "^28.16.0"
"vercel": "^39.3.0"
},

@@ -52,0 +52,0 @@ "ava": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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