@carrot-foundation/schemas 0.1.35 → 0.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -113,7 +113,7 @@ The package includes full TypeScript definitions:
113
113
  import { MassIDIpfs, MassIDData } from '@carrot-foundation/schemas';
114
114
 
115
115
  // Types are automatically inferred from the schemas
116
- const massIdData: MassIDData = {
116
+ const massIDData: MassIDData = {
117
117
  // ...
118
118
  };
119
119
  ```
package/dist/index.cjs CHANGED
@@ -883,7 +883,7 @@ function buildSchemaUrl(schemaPath) {
883
883
  return `${getSchemaBaseUrl()}/${cleanPath}`;
884
884
  }
885
885
  function getSchemaVersionOrDefault() {
886
- return "0.1.35";
886
+ return "0.1.36";
887
887
  }
888
888
  var MethodologyAttributeSchema = NftAttributeSchema.extend({
889
889
  trait_type: zod.z.literal("Methodology"),
@@ -950,7 +950,7 @@ var RecyclerAttributeSchema = NftAttributeSchema.extend({
950
950
  title: "Recycler Attribute",
951
951
  description: "Recycler attribute"
952
952
  });
953
- var MassIdTokenIdAttributeSchema = NftAttributeSchema.extend({
953
+ var MassIDTokenIdAttributeSchema = NftAttributeSchema.extend({
954
954
  trait_type: zod.z.literal("MassID"),
955
955
  value: StringifiedTokenIdSchema.meta({
956
956
  title: "MassID Token ID",
@@ -960,7 +960,7 @@ var MassIdTokenIdAttributeSchema = NftAttributeSchema.extend({
960
960
  title: "MassID Token ID Attribute",
961
961
  description: "MassID token ID attribute"
962
962
  });
963
- var MassIdRecyclingDateAttributeSchema = NftAttributeSchema.omit({
963
+ var MassIDRecyclingDateAttributeSchema = NftAttributeSchema.omit({
964
964
  max_value: true
965
965
  }).extend({
966
966
  trait_type: zod.z.literal("MassID Recycling Date"),
@@ -1498,8 +1498,8 @@ var GasIDAttributeSourceWeightSchema = SourceWeightAttributeSchema;
1498
1498
  var GasIDAttributeOriginCountrySchema = OriginCountryAttributeSchema;
1499
1499
  var GasIDAttributeOriginMunicipalitySchema = OriginMunicipalityAttributeSchema;
1500
1500
  var GasIDAttributeRecyclerSchema = RecyclerAttributeSchema;
1501
- var GasIDAttributeMassIDTokenIdSchema = MassIdTokenIdAttributeSchema;
1502
- var GasIDAttributeMassIDRecyclingDateSchema = MassIdRecyclingDateAttributeSchema;
1501
+ var GasIDAttributeMassIDTokenIdSchema = MassIDTokenIdAttributeSchema;
1502
+ var GasIDAttributeMassIDRecyclingDateSchema = MassIDRecyclingDateAttributeSchema;
1503
1503
  var GasIDAttributesSchema = zod.z.tuple([
1504
1504
  GasIDAttributeMethodologySchema,
1505
1505
  GasIDAttributeGasTypeSchema,
@@ -1632,8 +1632,8 @@ var RecycledIDAttributeSourceWeightSchema = SourceWeightAttributeSchema;
1632
1632
  var RecycledIDAttributeOriginCountrySchema = OriginCountryAttributeSchema;
1633
1633
  var RecycledIDAttributeOriginMunicipalitySchema = OriginMunicipalityAttributeSchema;
1634
1634
  var RecycledIDAttributeRecyclerSchema = RecyclerAttributeSchema;
1635
- var RecycledIDAttributeMassIDTokenIdSchema = MassIdTokenIdAttributeSchema;
1636
- var RecycledIDAttributeMassIDRecyclingDateSchema = MassIdRecyclingDateAttributeSchema;
1635
+ var RecycledIDAttributeMassIDTokenIdSchema = MassIDTokenIdAttributeSchema;
1636
+ var RecycledIDAttributeMassIDRecyclingDateSchema = MassIDRecyclingDateAttributeSchema;
1637
1637
  var RecycledIDAttributesSchema = zod.z.tuple([
1638
1638
  RecycledIDAttributeMethodologySchema,
1639
1639
  RecycledIDAttributeRecycledMassWeightSchema,
@@ -1731,9 +1731,9 @@ exports.MassIDAttributesSchema = MassIDAttributesSchema;
1731
1731
  exports.MassIDDataSchema = MassIDDataSchema;
1732
1732
  exports.MassIDIpfsSchema = MassIDIpfsSchema;
1733
1733
  exports.MassIDIpfsSchemaMeta = MassIDIpfsSchemaMeta;
1734
+ exports.MassIDRecyclingDateAttributeSchema = MassIDRecyclingDateAttributeSchema;
1734
1735
  exports.MassIDReferenceSchema = MassIDReferenceSchema;
1735
- exports.MassIdRecyclingDateAttributeSchema = MassIdRecyclingDateAttributeSchema;
1736
- exports.MassIdTokenIdAttributeSchema = MassIdTokenIdAttributeSchema;
1736
+ exports.MassIDTokenIdAttributeSchema = MassIDTokenIdAttributeSchema;
1737
1737
  exports.MethodologyAttributeSchema = MethodologyAttributeSchema;
1738
1738
  exports.MethodologyComplianceSchema = MethodologyComplianceSchema;
1739
1739
  exports.MethodologyNameSchema = MethodologyNameSchema;