cma-preview
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -21,3 +21,3 @@ "use strict"; | ||
const candyMachineAccount = await (0, generated_1.fetchCandyMachine)(context, candyMachine); | ||
const { mintAuthority, collection } = candyMachineAccount; | ||
const { mintAuthority, collectionMint } = candyMachineAccount; | ||
collectionUpdateAuthority ?? (collectionUpdateAuthority = context.identity.publicKey); | ||
@@ -27,3 +27,3 @@ return (0, umi_1.uniquePublicKeys)([ | ||
mintAuthority, | ||
collection, | ||
collectionMint, | ||
collectionUpdateAuthority, | ||
@@ -30,0 +30,0 @@ (0, hooked_1.findCandyMachineAuthorityPda)(context, { candyMachine })[0], |
@@ -24,5 +24,5 @@ /** | ||
mintAuthority: PublicKey; | ||
collection: PublicKey; | ||
collectionMint: PublicKey; | ||
itemsRedeemed: number | bigint; | ||
data: CandyMachineDataArgs; | ||
}>; |
@@ -54,3 +54,3 @@ "use strict"; | ||
mintAuthority: [47, (0, serializers_1.publicKey)()], | ||
collection: [79, (0, serializers_1.publicKey)()], | ||
collectionMint: [79, (0, serializers_1.publicKey)()], | ||
itemsRedeemed: [111, (0, serializers_1.u64)()], | ||
@@ -57,0 +57,0 @@ data: [119, (0, types_1.getCandyMachineDataSerializer)()], |
@@ -23,3 +23,3 @@ /** | ||
/** The collection mint for the candy machine. */ | ||
collection: PublicKey; | ||
collectionMint: PublicKey; | ||
/** Number of assets redeemed. */ | ||
@@ -40,3 +40,3 @@ itemsRedeemed: bigint; | ||
/** The collection mint for the candy machine. */ | ||
collection: PublicKey; | ||
collectionMint: PublicKey; | ||
/** Number of assets redeemed. */ | ||
@@ -43,0 +43,0 @@ itemsRedeemed: number | bigint; |
@@ -20,3 +20,3 @@ "use strict"; | ||
['mintAuthority', (0, serializers_1.publicKey)()], | ||
['collection', (0, serializers_1.publicKey)()], | ||
['collectionMint', (0, serializers_1.publicKey)()], | ||
['itemsRedeemed', (0, serializers_1.u64)()], | ||
@@ -23,0 +23,0 @@ ['data', (0, _1.getCandyMachineDataSerializer)()], |
{ | ||
"name": "cma-preview", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Client library for Candy Machine related programs", | ||
@@ -19,6 +19,6 @@ "main": "dist/src/index.js", | ||
"peerDependencies": { | ||
"@metaplex-foundation/umi": ">= 0.8.2 < 1" | ||
"@metaplex-foundation/umi": ">= 0.8.2 < 1", | ||
"core-preview": "^0.1.1" | ||
}, | ||
"dependencies": { | ||
"core-preview": "^0.1.0", | ||
"@metaplex-foundation/mpl-token-metadata": "3.0.0-alpha.27", | ||
@@ -25,0 +25,0 @@ "@metaplex-foundation/mpl-toolbox": "^0.9.0", |
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
586743
- Removedcore-preview@^0.1.0