You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

nft-schemas

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nft-schemas - npm Package Compare versions

Comparing version

to
1.3.7

dist/dapps/panda-meta.d.ts

1

dist/dapps/nft-category.d.ts

@@ -8,3 +8,2 @@ import { JSONSchema, ValidateFunction } from '../validation';

DIGITAL = "digital",
ARTS = "arts",
ESTATES = "estates",

@@ -11,0 +10,0 @@ META = "meta",

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

NFTCategory["DIGITAL"] = "digital";
NFTCategory["ARTS"] = "arts";
NFTCategory["ESTATES"] = "estates";

@@ -15,0 +14,0 @@ NFTCategory["META"] = "meta";

@@ -10,3 +10,3 @@ import { JSONSchema, ValidateFunction } from '../validation';

import { DigitalCategory } from "./panda-digital";
import { ArtsCategory } from "./panda-arts";
import { MetaCategory } from "./panda-meta";
import { EstatesCategory } from "./panda-estates";

@@ -59,7 +59,2 @@ export declare type NFT = {

};
arts?: {
description: string;
category: ArtsCategory;
rarity: Rarity;
};
estates?: {

@@ -71,3 +66,5 @@ description: string;

meta?: {
subdomain: string;
description: string;
category: MetaCategory;
rarity: Rarity;
};

@@ -74,0 +71,0 @@ ens?: {

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

const panda_digital_1 = require("./panda-digital");
const panda_arts_1 = require("./panda-arts");
const panda_meta_1 = require("./panda-meta");
const panda_estates_1 = require("./panda-estates");

@@ -149,6 +149,6 @@ var NFT;

},
arts: {
estates: {
type: 'object',
properties: {
category: panda_arts_1.ArtsCategory.schema,
category: panda_estates_1.EstatesCategory.schema,
description: {

@@ -162,6 +162,6 @@ type: 'string',

},
estates: {
meta: {
type: 'object',
properties: {
category: panda_estates_1.EstatesCategory.schema,
category: panda_meta_1.MetaCategory.schema,
description: {

@@ -175,12 +175,2 @@ type: 'string',

},
meta: {
type: 'object',
properties: {
subdomain: {
type: 'string',
},
},
required: ['subdomain'],
nullable: true,
},
ens: {

@@ -187,0 +177,0 @@ type: 'object',

import { JSONSchema, ValidateFunction } from '../validation';
export declare enum DigitalCategory {
MUSIC = "music",
MOVIE = "movie",
MUSIC = "music"
PERSONAL = "personal",
ARTIST = "artist"
}

@@ -6,0 +8,0 @@ export declare namespace DigitalCategory {

@@ -7,4 +7,6 @@ "use strict";

(function (DigitalCategory) {
DigitalCategory["MUSIC"] = "music";
DigitalCategory["MOVIE"] = "movie";
DigitalCategory["MUSIC"] = "music";
DigitalCategory["PERSONAL"] = "personal";
DigitalCategory["ARTIST"] = "artist";
})(DigitalCategory = exports.DigitalCategory || (exports.DigitalCategory = {}));

@@ -11,0 +13,0 @@ (function (DigitalCategory) {

import { JSONSchema, ValidateFunction } from '../validation';
export declare enum EstatesCategory {
LAND = "land",
BUILDING = "building",
ESTATES = "estates",
CAR = "car"

@@ -6,0 +6,0 @@ }

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

EstatesCategory["LAND"] = "land";
EstatesCategory["BUILDING"] = "building";
EstatesCategory["ESTATES"] = "estates";
EstatesCategory["CAR"] = "car";

@@ -11,0 +11,0 @@ })(EstatesCategory = exports.EstatesCategory || (exports.EstatesCategory = {}));

@@ -18,5 +18,5 @@ export * from './validation';

export { DigitalCategory } from './dapps/panda-digital';
export { ArtsCategory } from './dapps/panda-arts';
export { MetaCategory } from './dapps/panda-meta';
export { EstatesCategory } from './dapps/panda-estates';
export { World, ValidWorldRange, getWorld, isInsideWorldLimits, } from './dapps/world';
//# sourceMappingURL=index.d.ts.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.isInsideWorldLimits = exports.getWorld = exports.World = exports.EstatesCategory = exports.ArtsCategory = exports.DigitalCategory = exports.GraffitiCategory = exports.WearableCategory = exports.Rarity = exports.Order = exports.NFT = exports.NFTCategory = exports.Network = exports.MetaTransaction = exports.ListingStatus = exports.Item = exports.Contract = exports.getChainId = exports.ChainName = exports.getChainName = exports.ChainId = exports.BodyShape = exports.Bid = void 0;
exports.isInsideWorldLimits = exports.getWorld = exports.World = exports.EstatesCategory = exports.MetaCategory = exports.DigitalCategory = exports.GraffitiCategory = exports.WearableCategory = exports.Rarity = exports.Order = exports.NFT = exports.NFTCategory = exports.Network = exports.MetaTransaction = exports.ListingStatus = exports.Item = exports.Contract = exports.getChainId = exports.ChainName = exports.getChainName = exports.ChainId = exports.BodyShape = exports.Bid = void 0;
// export the utils

@@ -52,4 +52,4 @@ __exportStar(require("./validation"), exports);

Object.defineProperty(exports, "DigitalCategory", { enumerable: true, get: function () { return panda_digital_1.DigitalCategory; } });
var panda_arts_1 = require("./dapps/panda-arts");
Object.defineProperty(exports, "ArtsCategory", { enumerable: true, get: function () { return panda_arts_1.ArtsCategory; } });
var panda_meta_1 = require("./dapps/panda-meta");
Object.defineProperty(exports, "MetaCategory", { enumerable: true, get: function () { return panda_meta_1.MetaCategory; } });
var panda_estates_1 = require("./dapps/panda-estates");

@@ -56,0 +56,0 @@ Object.defineProperty(exports, "EstatesCategory", { enumerable: true, get: function () { return panda_estates_1.EstatesCategory; } });

{
"version": "1.3.6",
"version": "1.3.7",
"name": "nft-schemas",

@@ -4,0 +4,0 @@ "main": "./dist/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

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