@snapshot-labs/snapshot.js 0.12.20 → 0.12.21

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.
@@ -851,9 +851,14 @@ var definitions = {
851
851
  examples: [
852
852
  "e.g. 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"
853
853
  ],
854
- pattern: "^0x[a-fA-F0-9]{40}$",
855
- minLength: 42,
856
- maxLength: 42
854
+ anyOf: [
855
+ {
856
+ format: "address"
857
+ },
858
+ {
859
+ format: "starknetAddress"
860
+ }
861
+ ]
857
862
  },
858
863
  network: {
859
864
  type: "string",
@@ -841,9 +841,14 @@ var definitions = {
841
841
  examples: [
842
842
  "e.g. 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"
843
843
  ],
844
- pattern: "^0x[a-fA-F0-9]{40}$",
845
- minLength: 42,
846
- maxLength: 42
844
+ anyOf: [
845
+ {
846
+ format: "address"
847
+ },
848
+ {
849
+ format: "starknetAddress"
850
+ }
851
+ ]
847
852
  },
848
853
  network: {
849
854
  type: "string",