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
7
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 1.0.0-alpha.8 to 1.0.0-alpha.9

dist/src/generated/instructions/setDecompressableState.d.ts

4

dist/src/generated/accounts/treeConfig.d.ts

@@ -10,2 +10,3 @@ /**

import { Serializer } from '@metaplex-foundation/umi/serializers';
import { DecompressableState, DecompressableStateArgs } from '../types';
export type TreeConfig = Account<TreeConfigAccountData>;

@@ -19,2 +20,3 @@ export type TreeConfigAccountData = {

isPublic: boolean;
isDecompressable: DecompressableState;
};

@@ -27,2 +29,3 @@ export type TreeConfigAccountDataArgs = {

isPublic: boolean;
isDecompressable: DecompressableStateArgs;
};

@@ -46,2 +49,3 @@ /** @deprecated Use `getTreeConfigAccountDataSerializer()` without any argument instead. */

isPublic: boolean;
isDecompressable: DecompressableStateArgs;
}>;

@@ -48,0 +52,0 @@ export declare function getTreeConfigSize(): number;

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

const serializers_1 = require("@metaplex-foundation/umi/serializers");
const types_1 = require("../types");
function getTreeConfigAccountDataSerializer(_context = {}) {

@@ -22,2 +23,3 @@ return (0, serializers_1.mapSerializer)((0, serializers_1.struct)([

['isPublic', (0, serializers_1.bool)()],
['isDecompressable', (0, types_1.getDecompressableStateSerializer)()],
], { description: 'TreeConfigAccountData' }), (value) => ({

@@ -69,2 +71,3 @@ ...value,

isPublic: [88, (0, serializers_1.bool)()],
isDecompressable: [89, (0, types_1.getDecompressableStateSerializer)()],
})

@@ -71,0 +74,0 @@ .deserializeUsing((account) => deserializeTreeConfig(account))

@@ -207,2 +207,8 @@ /**

}
/** DecompressionDisabled: Decompression is disabled for this tree. */
export declare class DecompressionDisabledError extends ProgramError {
readonly name: string;
readonly code: number;
constructor(program: Program, cause?: Error);
}
/**

@@ -209,0 +215,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.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.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");

@@ -378,2 +378,13 @@ const codeToErrorMap = new Map();

nameToErrorMap.set('UnknownExternalError', UnknownExternalErrorError);
/** DecompressionDisabled: Decompression is disabled for this tree. */
class DecompressionDisabledError extends umi_1.ProgramError {
constructor(program, cause) {
super('Decompression is disabled for this tree.', program, cause);
this.name = 'DecompressionDisabled';
this.code = 0x1791; // 6033
}
}
exports.DecompressionDisabledError = DecompressionDisabledError;
codeToErrorMap.set(0x1791, DecompressionDisabledError);
nameToErrorMap.set('DecompressionDisabled', DecompressionDisabledError);
/**

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

@@ -17,2 +17,3 @@ /**

export * from './setAndVerifyCollection';
export * from './setDecompressableState';
export * from './setTreeDelegate';

@@ -19,0 +20,0 @@ export * from './transfer';

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

__exportStar(require("./setAndVerifyCollection"), exports);
__exportStar(require("./setDecompressableState"), exports);
__exportStar(require("./setTreeDelegate"), exports);

@@ -35,0 +36,0 @@ __exportStar(require("./transfer"), exports);

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

export * from './creator';
export * from './decompressableState';
export * from './instructionName';

@@ -16,0 +17,0 @@ export * from './leafSchema';

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

__exportStar(require("./creator"), exports);
__exportStar(require("./decompressableState"), exports);
__exportStar(require("./instructionName"), exports);

@@ -32,0 +33,0 @@ __exportStar(require("./leafSchema"), exports);

3

dist/src/generated/types/instructionName.d.ts

@@ -25,3 +25,4 @@ /**

SetAndVerifyCollection = 14,
MintToCollectionV1 = 15
MintToCollectionV1 = 15,
SetDecompressableState = 16
}

@@ -28,0 +29,0 @@ export type InstructionNameArgs = InstructionName;

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

InstructionName[InstructionName["MintToCollectionV1"] = 15] = "MintToCollectionV1";
InstructionName[InstructionName["SetDecompressableState"] = 16] = "SetDecompressableState";
})(InstructionName = exports.InstructionName || (exports.InstructionName = {}));

@@ -32,0 +33,0 @@ function getInstructionNameSerializer(_context = {}) {

{
"name": "@metaplex-foundation/mpl-bubblegum",
"version": "1.0.0-alpha.8",
"version": "1.0.0-alpha.9",
"description": "Create and interact with compressed Metaplex NFTs",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

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

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