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

minanft

Package Overview
Dependencies
Maintainers
1
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minanft - npm Package Compare versions

Comparing version 1.10.5 to 1.11.0

lib/ts/src/contract-v2/nft.d.ts

1

lib/ts/src/contract/names.js

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

async escrowTransfer(address, data, signature1, signature2, signature3, escrow1, escrow2, escrow3) {
// TODO: Return back after bug resolution https://github.com/o1-labs/o1js/issues/1245
this.isNFT(address);

@@ -188,0 +187,0 @@ const tokenId = this.deriveTokenId();

@@ -74,9 +74,8 @@ "use strict";

static create(update) {
// TODO: remove comments from key validation after https://github.com/o1-labs/o1js/issues/1552
const [dataWitnessRootBefore, dataWitnessKey] = update.witness.data.computeRootAndKey(update.oldValue.data);
update.oldRoot.data.assertEquals(dataWitnessRootBefore);
//dataWitnessKey.assertEquals(update.key);
dataWitnessKey.assertEquals(update.key);
const [kindWitnessRootBefore, kindWitnessKey] = update.witness.kind.computeRootAndKey(update.oldValue.kind);
update.oldRoot.kind.assertEquals(kindWitnessRootBefore);
//kindWitnessKey.assertEquals(update.key);
kindWitnessKey.assertEquals(update.key);
const [dataWitnessRootAfter, _] = update.witness.data.computeRootAndKey(update.newValue.data);

@@ -83,0 +82,0 @@ update.newRoot.data.assertEquals(dataWitnessRootAfter);

@@ -40,4 +40,4 @@ export * from "./minanft";

declare const MINANFT_NAME_SERVICE = "B62qrryunX2LzaZ1sGtqfJqzSdNdN7pVSZw8YtnxQNxrrF9Vt56bNFT";
declare const VERIFICATION_KEY_HASH = "18205871586586083856035352295587958829477352642617256016301402297372039950101";
declare const VERIFICATION_KEY_HASH = "10063414310819081074150032663721926544337121483850004965294429026545856295819";
declare const VERIFIER = "B62qqzwDxiH172SXE4SUVYsNV2FteL2UeYFsjRqF4Qf42KnE1q1VNFT";
export { NAMES_ORACLE, MINANFT_NAME_SERVICE, VERIFICATION_KEY_HASH, VERIFIER };

@@ -59,5 +59,5 @@ "use strict";

exports.MINANFT_NAME_SERVICE = MINANFT_NAME_SERVICE;
const VERIFICATION_KEY_HASH = "18205871586586083856035352295587958829477352642617256016301402297372039950101";
const VERIFICATION_KEY_HASH = "10063414310819081074150032663721926544337121483850004965294429026545856295819";
exports.VERIFICATION_KEY_HASH = VERIFICATION_KEY_HASH;
const VERIFIER = "B62qqzwDxiH172SXE4SUVYsNV2FteL2UeYFsjRqF4Qf42KnE1q1VNFT";
exports.VERIFIER = VERIFIER;

@@ -90,3 +90,3 @@ export { MinaNFT };

*/
toJSON(params: {
toJSON(params?: {
increaseVersion?: boolean;

@@ -93,0 +93,0 @@ includePrivateData?: boolean;

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

*/
toJSON(params) {
toJSON(params = {}) {
const increaseVersion = params.increaseVersion ?? false;

@@ -342,0 +342,0 @@ const includePrivateData = params.includePrivateData ?? false;

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

chainId: "zeko",
name: "Zeko",
explorerAccountUrl: "https://zekoscan.io/devnet/account/",
explorerTransactionUrl: "https://zekoscan.io/devnet/tx/",
};

@@ -52,0 +55,0 @@ exports.Zeko = Zeko;

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

}),
name: "rollup-nft.json",
name: (this.name ? this.name + "-" : "") + "rollup-nft.json",
keyvalues: {

@@ -557,0 +557,0 @@ project: "MinaNFT",

@@ -173,3 +173,2 @@ import { __decorate, __metadata } from "tslib";

async escrowTransfer(address, data, signature1, signature2, signature3, escrow1, escrow2, escrow3) {
// TODO: Return back after bug resolution https://github.com/o1-labs/o1js/issues/1245
this.isNFT(address);

@@ -176,0 +175,0 @@ const tokenId = this.deriveTokenId();

@@ -70,9 +70,8 @@ export { MetadataUpdate, MetadataTransition, MetadataMap, MinaNFTMetadataUpdate, MinaNFTMetadataUpdateProof, };

static create(update) {
// TODO: remove comments from key validation after https://github.com/o1-labs/o1js/issues/1552
const [dataWitnessRootBefore, dataWitnessKey] = update.witness.data.computeRootAndKey(update.oldValue.data);
update.oldRoot.data.assertEquals(dataWitnessRootBefore);
//dataWitnessKey.assertEquals(update.key);
dataWitnessKey.assertEquals(update.key);
const [kindWitnessRootBefore, kindWitnessKey] = update.witness.kind.computeRootAndKey(update.oldValue.kind);
update.oldRoot.kind.assertEquals(kindWitnessRootBefore);
//kindWitnessKey.assertEquals(update.key);
kindWitnessKey.assertEquals(update.key);
const [dataWitnessRootAfter, _] = update.witness.data.computeRootAndKey(update.newValue.data);

@@ -79,0 +78,0 @@ update.newRoot.data.assertEquals(dataWitnessRootAfter);

@@ -40,4 +40,4 @@ export * from "./minanft";

declare const MINANFT_NAME_SERVICE = "B62qrryunX2LzaZ1sGtqfJqzSdNdN7pVSZw8YtnxQNxrrF9Vt56bNFT";
declare const VERIFICATION_KEY_HASH = "18205871586586083856035352295587958829477352642617256016301402297372039950101";
declare const VERIFICATION_KEY_HASH = "10063414310819081074150032663721926544337121483850004965294429026545856295819";
declare const VERIFIER = "B62qqzwDxiH172SXE4SUVYsNV2FteL2UeYFsjRqF4Qf42KnE1q1VNFT";
export { NAMES_ORACLE, MINANFT_NAME_SERVICE, VERIFICATION_KEY_HASH, VERIFIER };

@@ -40,5 +40,5 @@ export * from "./minanft";

const MINANFT_NAME_SERVICE = "B62qrryunX2LzaZ1sGtqfJqzSdNdN7pVSZw8YtnxQNxrrF9Vt56bNFT";
const VERIFICATION_KEY_HASH = "18205871586586083856035352295587958829477352642617256016301402297372039950101";
const VERIFICATION_KEY_HASH = "10063414310819081074150032663721926544337121483850004965294429026545856295819";
const VERIFIER = "B62qqzwDxiH172SXE4SUVYsNV2FteL2UeYFsjRqF4Qf42KnE1q1VNFT";
export { NAMES_ORACLE, MINANFT_NAME_SERVICE, VERIFICATION_KEY_HASH, VERIFIER };
//# sourceMappingURL=index.js.map

@@ -90,3 +90,3 @@ export { MinaNFT };

*/
toJSON(params: {
toJSON(params?: {
increaseVersion?: boolean;

@@ -93,0 +93,0 @@ includePrivateData?: boolean;

@@ -335,3 +335,3 @@ /* eslint-disable @typescript-eslint/no-inferrable-types */

*/
toJSON(params) {
toJSON(params = {}) {
const increaseVersion = params.increaseVersion ?? false;

@@ -338,0 +338,0 @@ const includePrivateData = params.includePrivateData ?? false;

@@ -44,2 +44,5 @@ export { networks, Mainnet, Berkeley, Devnet, Zeko, TestWorld2, Lightnet, Local, };

chainId: "zeko",
name: "Zeko",
explorerAccountUrl: "https://zekoscan.io/devnet/account/",
explorerTransactionUrl: "https://zekoscan.io/devnet/tx/",
};

@@ -46,0 +49,0 @@ const TestWorld2 = {

@@ -547,3 +547,3 @@ import { Field, verify, Struct, PublicKey } from "o1js";

}),
name: "rollup-nft.json",
name: (this.name ? this.name + "-" : "") + "rollup-nft.json",
keyvalues: {

@@ -550,0 +550,0 @@ project: "MinaNFT",

{
"name": "minanft",
"version": "1.10.5",
"version": "1.11.0",
"description": "MinaNFT Typescript/JavaScript integration library",

@@ -5,0 +5,0 @@ "author": "dfst.io",

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

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