Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metaplex-foundation/mpl-token-metadata

Package Overview
Dependencies
Maintainers
10
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metaplex-foundation/mpl-token-metadata - npm Package Compare versions

Comparing version 3.0.0-alpha.9 to 3.0.0-alpha.10

4

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

@@ -6,3 +6,3 @@ import { Context, PublicKey, Serializer, Signer, WrappedInstruction } from '@metaplex-foundation/umi';

metadata: PublicKey;
collectionMint?: PublicKey;
collectionMint: PublicKey;
collectionMetadata?: PublicKey;

@@ -18,2 +18,2 @@ systemProgram?: PublicKey;

export declare function getUnverifyCollectionV1InstructionDataSerializer(context: Pick<Context, 'serializer'>): Serializer<UnverifyCollectionV1InstructionDataArgs, UnverifyCollectionV1InstructionData>;
export declare function unverifyCollectionV1(context: Pick<Context, 'serializer' | 'programs' | 'identity'>, input: UnverifyCollectionV1InstructionAccounts): WrappedInstruction;
export declare function unverifyCollectionV1(context: Pick<Context, 'serializer' | 'programs' | 'eddsa' | 'identity'>, input: UnverifyCollectionV1InstructionAccounts): WrappedInstruction;

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

const umi_1 = require("@metaplex-foundation/umi");
const accounts_1 = require("../accounts");
function getUnverifyCollectionV1InstructionDataSerializer(context) {

@@ -28,10 +29,5 @@ const s = context.serializer;

const metadataAccount = input.metadata;
const collectionMintAccount = input.collectionMint ?? {
...programId,
isWritable: false,
};
const collectionMetadataAccount = input.collectionMetadata ?? {
...programId,
isWritable: false,
};
const collectionMintAccount = input.collectionMint;
const collectionMetadataAccount = input.collectionMetadata ??
(0, accounts_1.findMetadataPda)(context, { mint: (0, umi_1.publicKey)(collectionMintAccount) });
const systemProgramAccount = input.systemProgram ?? {

@@ -38,0 +34,0 @@ ...context.programs.getPublicKey('splSystem', '11111111111111111111111111111111'),

@@ -6,3 +6,3 @@ import { Context, PublicKey, Serializer, Signer, WrappedInstruction } from '@metaplex-foundation/umi';

metadata: PublicKey;
collectionMint?: PublicKey;
collectionMint: PublicKey;
collectionMetadata?: PublicKey;

@@ -19,2 +19,2 @@ collectionMasterEdition?: PublicKey;

export declare function getVerifyCollectionV1InstructionDataSerializer(context: Pick<Context, 'serializer'>): Serializer<VerifyCollectionV1InstructionDataArgs, VerifyCollectionV1InstructionData>;
export declare function verifyCollectionV1(context: Pick<Context, 'serializer' | 'programs' | 'identity'>, input: VerifyCollectionV1InstructionAccounts): WrappedInstruction;
export declare function verifyCollectionV1(context: Pick<Context, 'serializer' | 'programs' | 'eddsa' | 'identity'>, input: VerifyCollectionV1InstructionAccounts): WrappedInstruction;

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

const umi_1 = require("@metaplex-foundation/umi");
const accounts_1 = require("../accounts");
function getVerifyCollectionV1InstructionDataSerializer(context) {

@@ -28,14 +29,7 @@ const s = context.serializer;

const metadataAccount = input.metadata;
const collectionMintAccount = input.collectionMint ?? {
...programId,
isWritable: false,
};
const collectionMetadataAccount = input.collectionMetadata ?? {
...programId,
isWritable: false,
};
const collectionMasterEditionAccount = input.collectionMasterEdition ?? {
...programId,
isWritable: false,
};
const collectionMintAccount = input.collectionMint;
const collectionMetadataAccount = input.collectionMetadata ??
(0, accounts_1.findMetadataPda)(context, { mint: (0, umi_1.publicKey)(collectionMintAccount) });
const collectionMasterEditionAccount = input.collectionMasterEdition ??
(0, accounts_1.findMasterEditionPda)(context, { mint: (0, umi_1.publicKey)(collectionMintAccount) });
const systemProgramAccount = input.systemProgram ?? {

@@ -42,0 +36,0 @@ ...context.programs.getPublicKey('splSystem', '11111111111111111111111111111111'),

{
"name": "@metaplex-foundation/mpl-token-metadata",
"version": "3.0.0-alpha.9",
"version": "3.0.0-alpha.10",
"description": "JavaScript client for Token Metadata",

@@ -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

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