New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bosonprotocol/metadata

Package Overview
Dependencies
Maintainers
3
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bosonprotocol/metadata - npm Package Compare versions

Comparing version 1.16.3-alpha.5 to 1.16.3-alpha.6

./dist/cjs/index.js

3

dist/cjs/common/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildUuid = void 0;
exports.buildUuid = buildUuid;
function buildUuid() {

@@ -14,3 +14,2 @@ if (typeof window !== "undefined" && (window === null || window === void 0 ? void 0 : window.crypto)) {

}
exports.buildUuid = buildUuid;
//# sourceMappingURL=index.js.map
import { IMetadata } from "@bosonprotocol/metadata-storage";
export declare enum MetadataType {
BASE = "BASE",
PRODUCT_V1 = "PRODUCT_V1",
SELLER = "SELLER",
COLLECTION = "COLLECTION",
rNFT = "rNFT",
BUNDLE = "BUNDLE",
ITEM_PRODUCT_V1 = "ITEM_PRODUCT_V1",
BASE = "BASE",// Base Schema Metadata for an Offer
PRODUCT_V1 = "PRODUCT_V1",// Metadata for a Physical Product Offer (version 1)
SELLER = "SELLER",// Metadata for a Seller
COLLECTION = "COLLECTION",// Metadata for a Collection of Offers
rNFT = "rNFT",// Metadata for a Redeemable NFT (similar to BASE)
BUNDLE = "BUNDLE",// Metadata for a Bundle Offer
ITEM_PRODUCT_V1 = "ITEM_PRODUCT_V1",// Metadata for an Physical Product Item (referenced in a Bundle Offer)
ITEM_NFT = "ITEM_NFT"

@@ -11,0 +11,0 @@ }

@@ -18,11 +18,22 @@ "use strict";

});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildUuid = exports.METADATA_LENGTH_LIMIT = exports.productV1Item = exports.nftItem = exports.bundle = exports.rNFT = exports.collection = exports.seller = exports.productV1 = exports.base = exports.validateMetadata = exports.MetadataType = void 0;
exports.buildUuid = exports.METADATA_LENGTH_LIMIT = exports.productV1Item = exports.nftItem = exports.bundle = exports.rNFT = exports.collection = exports.seller = exports.productV1 = exports.base = exports.MetadataType = void 0;
exports.validateMetadata = validateMetadata;
const base = __importStar(require("./base"));

@@ -130,3 +141,2 @@ exports.base = base;

}
exports.validateMetadata = validateMetadata;
//# sourceMappingURL=index.js.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.createVariantProductMetadata = exports.productV1MetadataSchema = void 0;
exports.productV1MetadataSchema = void 0;
exports.createVariantProductMetadata = createVariantProductMetadata;
const schema_to_yup_1 = require("schema-to-yup");

@@ -34,3 +35,2 @@ const schema_json_1 = __importDefault(require("./schema.json"));

}
exports.createVariantProductMetadata = createVariantProductMetadata;
function replaceUUID(oldUUID, newUUID, metadata, fields) {

@@ -37,0 +37,0 @@ const ret = [];

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.createVariantProductItem = exports.productV1ItemSchema = void 0;
exports.productV1ItemSchema = void 0;
exports.createVariantProductItem = createVariantProductItem;
const schema_to_yup_1 = require("schema-to-yup");

@@ -23,3 +24,2 @@ const schema_json_1 = __importDefault(require("./schema.json"));

}
exports.createVariantProductItem = createVariantProductItem;
function buildVariantProductItem(productItem, variants) {

@@ -26,0 +26,0 @@ // Check the productItem does not have any variations

import { IMetadata } from "@bosonprotocol/metadata-storage";
export declare enum MetadataType {
BASE = "BASE",
PRODUCT_V1 = "PRODUCT_V1",
SELLER = "SELLER",
COLLECTION = "COLLECTION",
rNFT = "rNFT",
BUNDLE = "BUNDLE",
ITEM_PRODUCT_V1 = "ITEM_PRODUCT_V1",
BASE = "BASE",// Base Schema Metadata for an Offer
PRODUCT_V1 = "PRODUCT_V1",// Metadata for a Physical Product Offer (version 1)
SELLER = "SELLER",// Metadata for a Seller
COLLECTION = "COLLECTION",// Metadata for a Collection of Offers
rNFT = "rNFT",// Metadata for a Redeemable NFT (similar to BASE)
BUNDLE = "BUNDLE",// Metadata for a Bundle Offer
ITEM_PRODUCT_V1 = "ITEM_PRODUCT_V1",// Metadata for an Physical Product Item (referenced in a Bundle Offer)
ITEM_NFT = "ITEM_NFT"

@@ -11,0 +11,0 @@ }

{
"name": "@bosonprotocol/metadata",
"version": "1.16.3-alpha.5",
"version": "1.16.3-alpha.6",
"description": "Offer metadata schemas, types and tools of the Boson Protocol.",

@@ -49,3 +49,3 @@ "main": "./dist/cjs/index.js",

},
"gitHead": "417843a7efc2d36762ff942f10217c0224be6884"
"gitHead": "25e570435b167078a6d575bc84081e34c74232e4"
}

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

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