@unique-nft/schemas
Advanced tools
Comparing version 2.1.1 to 2.1.2
26
index.js
@@ -883,5 +883,11 @@ "use strict"; | ||
rotation: import_zod.z.number(), | ||
scale: import_zod.z.object({ x: import_zod.z.number(), y: import_zod.z.number() }).partial(), | ||
mount_point: import_zod.z.object({ x: import_zod.z.number(), y: import_zod.z.number() }), | ||
parent_mount_point: import_zod.z.object({ x: import_zod.z.number(), y: import_zod.z.number() }) | ||
scale: import_zod.z.object( | ||
{ | ||
x: import_zod.z.number().optional(), | ||
y: import_zod.z.number().optional(), | ||
unit: import_zod.z.enum(["px", "%"]).optional().default("%") | ||
} | ||
), | ||
anchor_point: import_zod.z.object({ x: import_zod.z.number(), y: import_zod.z.number() }), | ||
parent_anchor_point: import_zod.z.object({ x: import_zod.z.number(), y: import_zod.z.number() }) | ||
}).partial(); | ||
@@ -951,8 +957,2 @@ var zCustomizingMutatorReaction = zCustomizingImageOverlaySpecs.extend({ | ||
originalSchemaVersion: zSemverString.optional(), | ||
name: import_zod.z.string().optional(), | ||
description: import_zod.z.string().optional(), | ||
// next two entries are duplicating each other | ||
// tokenPrefix is Unique-style name, symbol is ERC721-style name | ||
tokenPrefix: import_zod.z.string().optional(), | ||
symbol: import_zod.z.string().optional(), | ||
cover_image: zImageWithDetailsAndThumbnail.optional(), | ||
@@ -1023,3 +1023,9 @@ default_token_image: zImageWithDetailsAndThumbnail.optional(), | ||
schemas: schema_zod_exports, | ||
decodeCollectionSchemaV1: decodeV0OrV1CollectionSchemaToIntermediate | ||
decodeOld: { | ||
collection: decodeV0OrV1CollectionSchemaToIntermediate, | ||
token: decodeV0OrV1TokenToIntermediate, | ||
utils: { | ||
parseImageLinkOptions | ||
} | ||
} | ||
} | ||
@@ -1026,0 +1032,0 @@ }; |
{ | ||
"name": "@unique-nft/schemas", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Unique Network schemas encoding, validating and decoding toolkit", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1934663
10188