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
0
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.2 to 1.16.3-alpha.0

4

dist/cjs/base/index.d.ts

@@ -1,4 +0,4 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { RNftMetadata } from "../rNFT";
export declare const baseMetadataSchema: SchemaOf<BaseMetadata>;
export declare const baseMetadataSchema: Schema<BaseMetadata>;
export type BaseMetadata = Omit<RNftMetadata, "type"> & {

@@ -5,0 +5,0 @@ type: "BASE";

@@ -1,5 +0,5 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { RNftMetadata } from "../rNFT";
import { Media } from "../common";
export declare const bundleMetadataSchema: SchemaOf<BundleMetadata>;
export declare const bundleMetadataSchema: Schema<BundleMetadata>;
export type ItemMetadataLink = {

@@ -6,0 +6,0 @@ url: string;

@@ -1,4 +0,4 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { IMetadata } from "@bosonprotocol/metadata-storage";
export declare const collectionMetadataSchema: SchemaOf<CollectionMetadata>;
export declare const collectionMetadataSchema: Schema<CollectionMetadata>;
export type CollectionMetadata = Omit<IMetadata, "type"> & {

@@ -5,0 +5,0 @@ type: "COLLECTION";

@@ -1,4 +0,4 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { IItemMetadata } from "../iMetadata";
export declare const nftItemSchema: SchemaOf<NftItem>;
export declare const nftItemSchema: Schema<NftItem>;
export type NftItem = Omit<IItemMetadata, "type"> & {

@@ -5,0 +5,0 @@ type: "ITEM_NFT";

@@ -1,2 +0,2 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { RNftMetadata } from "../rNFT";

@@ -6,3 +6,3 @@ import { ProductBase, ProductV1Item, ProductV1Variant } from "../productV1Item";

export { ProductV1Variant };
export declare const productV1MetadataSchema: SchemaOf<ProductV1Metadata>;
export declare const productV1MetadataSchema: Schema<ProductV1Metadata>;
type SellerMetadata = {

@@ -9,0 +9,0 @@ defaultVersion: number;

@@ -1,5 +0,5 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { IItemMetadata } from "../iMetadata";
import { Media } from "../common";
export declare const productV1ItemSchema: SchemaOf<ProductV1Item>;
export declare const productV1ItemSchema: Schema<ProductV1Item>;
export type ProductBase = {

@@ -6,0 +6,0 @@ title: string;

@@ -1,4 +0,4 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { IMetadata } from "@bosonprotocol/metadata-storage";
export declare const rNFTMetadataSchema: SchemaOf<RNftMetadata>;
export declare const rNFTMetadataSchema: Schema<RNftMetadata>;
export type RNftMetadata = Omit<IMetadata, "type"> & {

@@ -5,0 +5,0 @@ type: "rNFT";

@@ -1,4 +0,4 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { Media } from "../common";
export declare const sellerMetadataSchema: SchemaOf<SellerMetadata>;
export declare const sellerMetadataSchema: Schema<SellerMetadata>;
export type SellerMetadata = {

@@ -5,0 +5,0 @@ type: "SELLER";

@@ -1,4 +0,4 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { RNftMetadata } from "../rNFT";
export declare const baseMetadataSchema: SchemaOf<BaseMetadata>;
export declare const baseMetadataSchema: Schema<BaseMetadata>;
export type BaseMetadata = Omit<RNftMetadata, "type"> & {

@@ -5,0 +5,0 @@ type: "BASE";

@@ -1,5 +0,5 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { RNftMetadata } from "../rNFT";
import { Media } from "../common";
export declare const bundleMetadataSchema: SchemaOf<BundleMetadata>;
export declare const bundleMetadataSchema: Schema<BundleMetadata>;
export type ItemMetadataLink = {

@@ -6,0 +6,0 @@ url: string;

@@ -1,4 +0,4 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { IMetadata } from "@bosonprotocol/metadata-storage";
export declare const collectionMetadataSchema: SchemaOf<CollectionMetadata>;
export declare const collectionMetadataSchema: Schema<CollectionMetadata>;
export type CollectionMetadata = Omit<IMetadata, "type"> & {

@@ -5,0 +5,0 @@ type: "COLLECTION";

@@ -1,4 +0,4 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { IItemMetadata } from "../iMetadata";
export declare const nftItemSchema: SchemaOf<NftItem>;
export declare const nftItemSchema: Schema<NftItem>;
export type NftItem = Omit<IItemMetadata, "type"> & {

@@ -5,0 +5,0 @@ type: "ITEM_NFT";

@@ -1,2 +0,2 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { RNftMetadata } from "../rNFT";

@@ -6,3 +6,3 @@ import { ProductBase, ProductV1Item, ProductV1Variant } from "../productV1Item";

export { ProductV1Variant };
export declare const productV1MetadataSchema: SchemaOf<ProductV1Metadata>;
export declare const productV1MetadataSchema: Schema<ProductV1Metadata>;
type SellerMetadata = {

@@ -9,0 +9,0 @@ defaultVersion: number;

@@ -1,5 +0,5 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { IItemMetadata } from "../iMetadata";
import { Media } from "../common";
export declare const productV1ItemSchema: SchemaOf<ProductV1Item>;
export declare const productV1ItemSchema: Schema<ProductV1Item>;
export type ProductBase = {

@@ -6,0 +6,0 @@ title: string;

@@ -1,4 +0,4 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { IMetadata } from "@bosonprotocol/metadata-storage";
export declare const rNFTMetadataSchema: SchemaOf<RNftMetadata>;
export declare const rNFTMetadataSchema: Schema<RNftMetadata>;
export type RNftMetadata = Omit<IMetadata, "type"> & {

@@ -5,0 +5,0 @@ type: "rNFT";

@@ -1,4 +0,4 @@

import { SchemaOf } from "yup";
import { Schema } from "yup";
import { Media } from "../common";
export declare const sellerMetadataSchema: SchemaOf<SellerMetadata>;
export declare const sellerMetadataSchema: Schema<SellerMetadata>;
export type SellerMetadata = {

@@ -5,0 +5,0 @@ type: "SELLER";

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

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

"@bosonprotocol/metadata-storage": "^1.0.1",
"schema-to-yup": "^1.11.11"
"schema-to-yup": "^1.11.11",
"yup": "^1.5.0"
},

@@ -49,3 +50,3 @@ "overrides": {

},
"gitHead": "ee03409b93c98d332ef20b275cd19ecba5518364"
"gitHead": "3ec3907e4e5d05032fa71b0534935f36446cf575"
}
import { buildYup } from "schema-to-yup";
import { SchemaOf } from "yup";
import { Schema } from "yup";
import schema from "./schema.json";
import { RNftMetadata } from "../rNFT";
export const baseMetadataSchema: SchemaOf<BaseMetadata> = buildYup(schema, {});
export const baseMetadataSchema: Schema<BaseMetadata> = buildYup(schema, {});

@@ -8,0 +8,0 @@ export type BaseMetadata = Omit<RNftMetadata, "type"> & {

import { buildYup } from "schema-to-yup";
import { SchemaOf } from "yup";
import { Schema } from "yup";
import schema from "./schema.json";

@@ -7,3 +7,3 @@ import { RNftMetadata } from "../rNFT";

export const bundleMetadataSchema: SchemaOf<BundleMetadata> = buildYup(
export const bundleMetadataSchema: Schema<BundleMetadata> = buildYup(
schema,

@@ -10,0 +10,0 @@ {}

import { buildYup } from "schema-to-yup";
import { SchemaOf } from "yup";
import { Schema } from "yup";
import schema from "./schema.json";
import { IMetadata } from "@bosonprotocol/metadata-storage";
export const collectionMetadataSchema: SchemaOf<CollectionMetadata> = buildYup(
export const collectionMetadataSchema: Schema<CollectionMetadata> = buildYup(
schema,

@@ -8,0 +8,0 @@ {}

import { buildYup } from "schema-to-yup";
import { SchemaOf } from "yup";
import { Schema } from "yup";
import schema from "./schema.json";
import { IItemMetadata } from "../iMetadata";
export const nftItemSchema: SchemaOf<NftItem> = buildYup(schema, {});
export const nftItemSchema: Schema<NftItem> = buildYup(schema, {});

@@ -8,0 +8,0 @@ export type NftItem = Omit<IItemMetadata, "type"> & {

import { buildYup } from "schema-to-yup";
import { SchemaOf } from "yup";
import { Schema } from "yup";
import schema from "./schema.json";

@@ -15,3 +15,3 @@ import { RNftMetadata } from "../rNFT";

export const productV1MetadataSchema: SchemaOf<ProductV1Metadata> = buildYup(
export const productV1MetadataSchema: Schema<ProductV1Metadata> = buildYup(
schema,

@@ -18,0 +18,0 @@ {}

import { buildYup } from "schema-to-yup";
import { SchemaOf } from "yup";
import { Schema } from "yup";
import schema from "./schema.json";

@@ -7,6 +7,3 @@ import { IItemMetadata } from "../iMetadata";

export const productV1ItemSchema: SchemaOf<ProductV1Item> = buildYup(
schema,
{}
);
export const productV1ItemSchema: Schema<ProductV1Item> = buildYup(schema, {});

@@ -13,0 +10,0 @@ export type ProductBase = {

import { buildYup } from "schema-to-yup";
import { SchemaOf } from "yup";
import { Schema } from "yup";
import schema from "./schema.json";
import { IMetadata } from "@bosonprotocol/metadata-storage";
export const rNFTMetadataSchema: SchemaOf<RNftMetadata> = buildYup(schema, {});
export const rNFTMetadataSchema: Schema<RNftMetadata> = buildYup(schema, {});

@@ -8,0 +8,0 @@ // https://docs.opensea.io/docs/metadata-standards

import { buildYup } from "schema-to-yup";
import { SchemaOf } from "yup";
import { Schema } from "yup";
import schema from "./schema.json";
import { Media } from "../common";
export const sellerMetadataSchema: SchemaOf<SellerMetadata> = buildYup(
export const sellerMetadataSchema: Schema<SellerMetadata> = buildYup(
schema,

@@ -8,0 +8,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

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

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

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