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

@freshmint/core

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@freshmint/core - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

.turbo/turbo-build.log

6

CHANGELOG.md
# @freshmint/core
## 0.7.0
### Minor Changes
- Add burn transaction and command
## 0.6.0

@@ -4,0 +10,0 @@

@@ -143,2 +143,19 @@ // @ts-ignore

destroyNFTs(ids: string[], fromBucket?: string): Transaction<void> {
return new Transaction(({ imports }: FreshmintConfig) => {
const script = CommonNFTGenerator.destroyNFTs({
imports,
contractName: this.name,
contractAddress: this.getAddress(),
});
return {
script,
args: [fcl.arg(ids, t.Array(t.UInt64)), fcl.arg(fromBucket, t.Optional(t.String))],
computeLimit: 9999,
signers: this.getSigners(),
};
}, Transaction.VoidResult);
}
setupCollection(authorizer: TransactionAuthorizer): Transaction<void> {

@@ -145,0 +162,0 @@ return new Transaction(({ imports }: FreshmintConfig) => {

@@ -162,2 +162,3 @@ import { S as Signer, P as PublicKey, H as HashAlgorithm } from './publicKey-cb97bfd4.js';

destroyNFT(id: string): Transaction<void>;
destroyNFTs(ids: string[], fromBucket?: string): Transaction<void>;
setupCollection(authorizer: TransactionAuthorizer): Transaction<void>;

@@ -672,2 +673,7 @@ transferNFT({ id, toAddress }: {

}): string;
static destroyNFTs({ imports, contractName, contractAddress, }: {
imports: ContractImports;
contractName: string;
contractAddress: string;
}): string;
static setupCollection({ imports, contractName, contractAddress, }: {

@@ -674,0 +680,0 @@ imports: ContractImports;

@@ -81,2 +81,18 @@ /* eslint-disable @typescript-eslint/no-var-requires */

static destroyNFTs({
imports,
contractName,
contractAddress,
}: {
imports: ContractImports;
contractName: string;
contractAddress: string;
}): string {
return this.generate(require('../../../cadence/nfts/common/transactions/destroy_nfts.template.cdc'), {
imports,
contractName,
contractAddress,
});
}
static setupCollection({

@@ -83,0 +99,0 @@ imports,

4

package.json
{
"name": "@freshmint/core",
"version": "0.6.0",
"version": "0.7.0",
"description": "The core templates and logic that power Freshmint.",

@@ -10,3 +10,3 @@ "contributors": [

"license": "Apache-2.0",
"repository": "github:packagelabs/freshmint",
"repository": "github:dapperlabs/freshmint",
"keywords": [

@@ -13,0 +13,0 @@ "nft",

Sorry, the diff of this file is too big to display

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