@snapshot-labs/snapshot.js 0.12.13 → 0.12.14

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.
@@ -541,6 +541,14 @@ var definitions = {
541
541
  },
542
542
  domain: {
543
543
  type: "string",
544
+ allOf: [
545
+ {
546
+ format: "hostname"
547
+ },
548
+ {
549
+ format: "lowercase"
550
+ }
551
+ ],
544
552
  title: "domain",
545
553
  maxLength: 64
546
554
  },
@@ -3834,6 +3842,9 @@ ajv.addFormat('starknetAddress', {
3834
3842
  ajv.addFormat('long', {
3835
3843
  validate: () => true
3836
3844
  });
3845
+ ajv.addFormat('lowercase', {
3846
+ validate: (value) => value === value.toLowerCase()
3847
+ });
3837
3848
  ajv.addFormat('ethValue', {
3838
3849
  validate: (value) => {
3839
3850
  if (!value.match(/^([0-9]|[1-9][0-9]+)(\.[0-9]+)?$/))
@@ -531,6 +531,14 @@ var definitions = {
531
531
  },
532
532
  domain: {
533
533
  type: "string",
534
+ allOf: [
535
+ {
536
+ format: "hostname"
537
+ },
538
+ {
539
+ format: "lowercase"
540
+ }
541
+ ],
534
542
  title: "domain",
535
543
  maxLength: 64
536
544
  },
@@ -3824,6 +3832,9 @@ ajv.addFormat('starknetAddress', {
3824
3832
  ajv.addFormat('long', {
3825
3833
  validate: () => true
3826
3834
  });
3835
+ ajv.addFormat('lowercase', {
3836
+ validate: (value) => value === value.toLowerCase()
3837
+ });
3827
3838
  ajv.addFormat('ethValue', {
3828
3839
  validate: (value) => {
3829
3840
  if (!value.match(/^([0-9]|[1-9][0-9]+)(\.[0-9]+)?$/))