@ensnode/ensnode-sdk 0.0.0-next-20260610163200 → 0.0.0-next-20260612123740

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.
@@ -3897,11 +3897,11 @@ declare const makeDefaultableChainIdStringSchema: (valueLabel?: string) => z.Zod
3897
3897
  /**
3898
3898
  * Parses {@link CoinType}.
3899
3899
  */
3900
- declare const makeCoinTypeSchema: (valueLabel?: string) => z.ZodPipe<z.ZodNumber, z.ZodTransform<0 | 2 | 3 | 4 | 22 | 7 | 5 | 6 | 20 | 14 | 2147492101 | 60 | 42 | 43 | 55 | 57 | 61 | 74 | 77 | 105 | 111 | 118 | 121 | 128 | 133 | 134 | 135 | 136 | 137 | 141 | 144 | 145 | 148 | 153 | 156 | 165 | 175 | 178 | 192 | 194 | 195 | 204 | 235 | 236 | 242 | 246 | 283 | 291 | 301 | 304 | 308 | 309 | 313 | 326 | 330 | 354 | 360 | 367 | 397 | 415 | 425 | 434 | 457 | 459 | 461 | 472 | 489 | 500 | 501 | 508 | 535 | 539 | 566 | 568 | 569 | 570 | 571 | 573 | 574 | 576 | 589 | 592 | 700 | 714 | 784 | 818 | 820 | 825 | 888 | 889 | 904 | 931 | 999 | 1001 | 1007 | 1023 | 1024 | 1237 | 1729 | 1815 | 1991 | 2301 | 2303 | 2305 | 2718 | 3030 | 4218 | 5353 | 5757 | 6060 | 8444 | 8964 | 9000 | 9004 | 9797 | 16754 | 19167 | 52752 | 99999 | 5655640 | 5718350 | 5741564 | 2147483648 | 2147483658 | 2147483673 | 2147483704 | 2147483708 | 2147483709 | 2147483736 | 2147483747 | 2147483748 | 2147483756 | 2147483785 | 2147483817 | 2147483894 | 2147483898 | 2147483936 | 2147483972 | 2147484009 | 2147484468 | 2147484736 | 2147488648 | 2147523445 | 2147525809 | 2147525868 | 2147526762 | 2147542792 | 2148018000 | 2155261425, number>>;
3900
+ declare const makeCoinTypeSchema: (valueLabel?: string) => z.ZodPipe<z.ZodNumber, z.ZodTransform<0 | 2 | 3 | 4 | 22 | 7 | 42 | 5 | 6 | 20 | 14 | 2147492101 | 60 | 43 | 55 | 57 | 61 | 74 | 77 | 105 | 111 | 118 | 121 | 128 | 133 | 134 | 135 | 136 | 137 | 141 | 144 | 145 | 148 | 153 | 156 | 165 | 175 | 178 | 192 | 194 | 195 | 204 | 235 | 236 | 242 | 246 | 283 | 291 | 301 | 304 | 308 | 309 | 313 | 326 | 330 | 354 | 360 | 367 | 397 | 415 | 425 | 434 | 457 | 459 | 461 | 472 | 489 | 500 | 501 | 508 | 535 | 539 | 566 | 568 | 569 | 570 | 571 | 573 | 574 | 576 | 589 | 592 | 700 | 714 | 784 | 818 | 820 | 825 | 888 | 889 | 904 | 931 | 999 | 1001 | 1007 | 1023 | 1024 | 1237 | 1729 | 1815 | 1991 | 2301 | 2303 | 2305 | 2718 | 3030 | 4218 | 5353 | 5757 | 6060 | 8444 | 8964 | 9000 | 9004 | 9797 | 16754 | 19167 | 52752 | 99999 | 5655640 | 5718350 | 5741564 | 2147483648 | 2147483658 | 2147483673 | 2147483704 | 2147483708 | 2147483709 | 2147483736 | 2147483747 | 2147483748 | 2147483756 | 2147483785 | 2147483817 | 2147483894 | 2147483898 | 2147483936 | 2147483972 | 2147484009 | 2147484468 | 2147484736 | 2147488648 | 2147523445 | 2147525809 | 2147525868 | 2147526762 | 2147542792 | 2148018000 | 2155261425, number>>;
3901
3901
  /**
3902
3902
  * Parses a serialized representation of {@link CoinType}.
3903
3903
  */
3904
- declare const makeCoinTypeStringSchema: (valueLabel?: string) => z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodCoercedNumber<string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<0 | 2 | 3 | 4 | 22 | 7 | 5 | 6 | 20 | 14 | 2147492101 | 60 | 42 | 43 | 55 | 57 | 61 | 74 | 77 | 105 | 111 | 118 | 121 | 128 | 133 | 134 | 135 | 136 | 137 | 141 | 144 | 145 | 148 | 153 | 156 | 165 | 175 | 178 | 192 | 194 | 195 | 204 | 235 | 236 | 242 | 246 | 283 | 291 | 301 | 304 | 308 | 309 | 313 | 326 | 330 | 354 | 360 | 367 | 397 | 415 | 425 | 434 | 457 | 459 | 461 | 472 | 489 | 500 | 501 | 508 | 535 | 539 | 566 | 568 | 569 | 570 | 571 | 573 | 574 | 576 | 589 | 592 | 700 | 714 | 784 | 818 | 820 | 825 | 888 | 889 | 904 | 931 | 999 | 1001 | 1007 | 1023 | 1024 | 1237 | 1729 | 1815 | 1991 | 2301 | 2303 | 2305 | 2718 | 3030 | 4218 | 5353 | 5757 | 6060 | 8444 | 8964 | 9000 | 9004 | 9797 | 16754 | 19167 | 52752 | 99999 | 5655640 | 5718350 | 5741564 | 2147483648 | 2147483658 | 2147483673 | 2147483704 | 2147483708 | 2147483709 | 2147483736 | 2147483747 | 2147483748 | 2147483756 | 2147483785 | 2147483817 | 2147483894 | 2147483898 | 2147483936 | 2147483972 | 2147484009 | 2147484468 | 2147484736 | 2147488648 | 2147523445 | 2147525809 | 2147525868 | 2147526762 | 2147542792 | 2148018000 | 2155261425, number>>>;
3904
+ declare const makeCoinTypeStringSchema: (valueLabel?: string) => z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodCoercedNumber<string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<0 | 2 | 3 | 4 | 22 | 7 | 42 | 5 | 6 | 20 | 14 | 2147492101 | 60 | 43 | 55 | 57 | 61 | 74 | 77 | 105 | 111 | 118 | 121 | 128 | 133 | 134 | 135 | 136 | 137 | 141 | 144 | 145 | 148 | 153 | 156 | 165 | 175 | 178 | 192 | 194 | 195 | 204 | 235 | 236 | 242 | 246 | 283 | 291 | 301 | 304 | 308 | 309 | 313 | 326 | 330 | 354 | 360 | 367 | 397 | 415 | 425 | 434 | 457 | 459 | 461 | 472 | 489 | 500 | 501 | 508 | 535 | 539 | 566 | 568 | 569 | 570 | 571 | 573 | 574 | 576 | 589 | 592 | 700 | 714 | 784 | 818 | 820 | 825 | 888 | 889 | 904 | 931 | 999 | 1001 | 1007 | 1023 | 1024 | 1237 | 1729 | 1815 | 1991 | 2301 | 2303 | 2305 | 2718 | 3030 | 4218 | 5353 | 5757 | 6060 | 8444 | 8964 | 9000 | 9004 | 9797 | 16754 | 19167 | 52752 | 99999 | 5655640 | 5718350 | 5741564 | 2147483648 | 2147483658 | 2147483673 | 2147483704 | 2147483708 | 2147483709 | 2147483736 | 2147483747 | 2147483748 | 2147483756 | 2147483785 | 2147483817 | 2147483894 | 2147483898 | 2147483936 | 2147483972 | 2147484009 | 2147484468 | 2147484736 | 2147488648 | 2147523445 | 2147525809 | 2147525868 | 2147526762 | 2147542792 | 2148018000 | 2155261425, number>>>;
3905
3905
  /**
3906
3906
  * Parses a string into a validated {@link Email} (trimmed).
3907
3907
  */
@@ -3897,11 +3897,11 @@ declare const makeDefaultableChainIdStringSchema: (valueLabel?: string) => z.Zod
3897
3897
  /**
3898
3898
  * Parses {@link CoinType}.
3899
3899
  */
3900
- declare const makeCoinTypeSchema: (valueLabel?: string) => z.ZodPipe<z.ZodNumber, z.ZodTransform<0 | 2 | 3 | 4 | 22 | 7 | 5 | 6 | 20 | 14 | 2147492101 | 60 | 42 | 43 | 55 | 57 | 61 | 74 | 77 | 105 | 111 | 118 | 121 | 128 | 133 | 134 | 135 | 136 | 137 | 141 | 144 | 145 | 148 | 153 | 156 | 165 | 175 | 178 | 192 | 194 | 195 | 204 | 235 | 236 | 242 | 246 | 283 | 291 | 301 | 304 | 308 | 309 | 313 | 326 | 330 | 354 | 360 | 367 | 397 | 415 | 425 | 434 | 457 | 459 | 461 | 472 | 489 | 500 | 501 | 508 | 535 | 539 | 566 | 568 | 569 | 570 | 571 | 573 | 574 | 576 | 589 | 592 | 700 | 714 | 784 | 818 | 820 | 825 | 888 | 889 | 904 | 931 | 999 | 1001 | 1007 | 1023 | 1024 | 1237 | 1729 | 1815 | 1991 | 2301 | 2303 | 2305 | 2718 | 3030 | 4218 | 5353 | 5757 | 6060 | 8444 | 8964 | 9000 | 9004 | 9797 | 16754 | 19167 | 52752 | 99999 | 5655640 | 5718350 | 5741564 | 2147483648 | 2147483658 | 2147483673 | 2147483704 | 2147483708 | 2147483709 | 2147483736 | 2147483747 | 2147483748 | 2147483756 | 2147483785 | 2147483817 | 2147483894 | 2147483898 | 2147483936 | 2147483972 | 2147484009 | 2147484468 | 2147484736 | 2147488648 | 2147523445 | 2147525809 | 2147525868 | 2147526762 | 2147542792 | 2148018000 | 2155261425, number>>;
3900
+ declare const makeCoinTypeSchema: (valueLabel?: string) => z.ZodPipe<z.ZodNumber, z.ZodTransform<0 | 2 | 3 | 4 | 22 | 7 | 42 | 5 | 6 | 20 | 14 | 2147492101 | 60 | 43 | 55 | 57 | 61 | 74 | 77 | 105 | 111 | 118 | 121 | 128 | 133 | 134 | 135 | 136 | 137 | 141 | 144 | 145 | 148 | 153 | 156 | 165 | 175 | 178 | 192 | 194 | 195 | 204 | 235 | 236 | 242 | 246 | 283 | 291 | 301 | 304 | 308 | 309 | 313 | 326 | 330 | 354 | 360 | 367 | 397 | 415 | 425 | 434 | 457 | 459 | 461 | 472 | 489 | 500 | 501 | 508 | 535 | 539 | 566 | 568 | 569 | 570 | 571 | 573 | 574 | 576 | 589 | 592 | 700 | 714 | 784 | 818 | 820 | 825 | 888 | 889 | 904 | 931 | 999 | 1001 | 1007 | 1023 | 1024 | 1237 | 1729 | 1815 | 1991 | 2301 | 2303 | 2305 | 2718 | 3030 | 4218 | 5353 | 5757 | 6060 | 8444 | 8964 | 9000 | 9004 | 9797 | 16754 | 19167 | 52752 | 99999 | 5655640 | 5718350 | 5741564 | 2147483648 | 2147483658 | 2147483673 | 2147483704 | 2147483708 | 2147483709 | 2147483736 | 2147483747 | 2147483748 | 2147483756 | 2147483785 | 2147483817 | 2147483894 | 2147483898 | 2147483936 | 2147483972 | 2147484009 | 2147484468 | 2147484736 | 2147488648 | 2147523445 | 2147525809 | 2147525868 | 2147526762 | 2147542792 | 2148018000 | 2155261425, number>>;
3901
3901
  /**
3902
3902
  * Parses a serialized representation of {@link CoinType}.
3903
3903
  */
3904
- declare const makeCoinTypeStringSchema: (valueLabel?: string) => z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodCoercedNumber<string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<0 | 2 | 3 | 4 | 22 | 7 | 5 | 6 | 20 | 14 | 2147492101 | 60 | 42 | 43 | 55 | 57 | 61 | 74 | 77 | 105 | 111 | 118 | 121 | 128 | 133 | 134 | 135 | 136 | 137 | 141 | 144 | 145 | 148 | 153 | 156 | 165 | 175 | 178 | 192 | 194 | 195 | 204 | 235 | 236 | 242 | 246 | 283 | 291 | 301 | 304 | 308 | 309 | 313 | 326 | 330 | 354 | 360 | 367 | 397 | 415 | 425 | 434 | 457 | 459 | 461 | 472 | 489 | 500 | 501 | 508 | 535 | 539 | 566 | 568 | 569 | 570 | 571 | 573 | 574 | 576 | 589 | 592 | 700 | 714 | 784 | 818 | 820 | 825 | 888 | 889 | 904 | 931 | 999 | 1001 | 1007 | 1023 | 1024 | 1237 | 1729 | 1815 | 1991 | 2301 | 2303 | 2305 | 2718 | 3030 | 4218 | 5353 | 5757 | 6060 | 8444 | 8964 | 9000 | 9004 | 9797 | 16754 | 19167 | 52752 | 99999 | 5655640 | 5718350 | 5741564 | 2147483648 | 2147483658 | 2147483673 | 2147483704 | 2147483708 | 2147483709 | 2147483736 | 2147483747 | 2147483748 | 2147483756 | 2147483785 | 2147483817 | 2147483894 | 2147483898 | 2147483936 | 2147483972 | 2147484009 | 2147484468 | 2147484736 | 2147488648 | 2147523445 | 2147525809 | 2147525868 | 2147526762 | 2147542792 | 2148018000 | 2155261425, number>>>;
3904
+ declare const makeCoinTypeStringSchema: (valueLabel?: string) => z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodCoercedNumber<string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<0 | 2 | 3 | 4 | 22 | 7 | 42 | 5 | 6 | 20 | 14 | 2147492101 | 60 | 43 | 55 | 57 | 61 | 74 | 77 | 105 | 111 | 118 | 121 | 128 | 133 | 134 | 135 | 136 | 137 | 141 | 144 | 145 | 148 | 153 | 156 | 165 | 175 | 178 | 192 | 194 | 195 | 204 | 235 | 236 | 242 | 246 | 283 | 291 | 301 | 304 | 308 | 309 | 313 | 326 | 330 | 354 | 360 | 367 | 397 | 415 | 425 | 434 | 457 | 459 | 461 | 472 | 489 | 500 | 501 | 508 | 535 | 539 | 566 | 568 | 569 | 570 | 571 | 573 | 574 | 576 | 589 | 592 | 700 | 714 | 784 | 818 | 820 | 825 | 888 | 889 | 904 | 931 | 999 | 1001 | 1007 | 1023 | 1024 | 1237 | 1729 | 1815 | 1991 | 2301 | 2303 | 2305 | 2718 | 3030 | 4218 | 5353 | 5757 | 6060 | 8444 | 8964 | 9000 | 9004 | 9797 | 16754 | 19167 | 52752 | 99999 | 5655640 | 5718350 | 5741564 | 2147483648 | 2147483658 | 2147483673 | 2147483704 | 2147483708 | 2147483709 | 2147483736 | 2147483747 | 2147483748 | 2147483756 | 2147483785 | 2147483817 | 2147483894 | 2147483898 | 2147483936 | 2147483972 | 2147484009 | 2147484468 | 2147484736 | 2147488648 | 2147523445 | 2147525809 | 2147525868 | 2147526762 | 2147542792 | 2148018000 | 2155261425, number>>>;
3905
3905
  /**
3906
3906
  * Parses a string into a validated {@link Email} (trimmed).
3907
3907
  */
package/dist/internal.js CHANGED
@@ -2028,6 +2028,78 @@ var fixtures = {
2028
2028
  rawAddresses,
2029
2029
  textRecords: testEthTextRecords
2030
2030
  };
2031
+ var contenthashFixtures = {
2032
+ ipfs: "0xe3010170122029f2d17be6139079dc48696d1f582a8530eb9805b561eda517e22a892c7e3f1f",
2033
+ swarm: "0xe40101fa011b20d1de9994b4d039f6548d191eb26786769f580809256b4685ef316805265ea162",
2034
+ ipns: "0xe50101720024080112205cbd1cc86ac20d6640795809c2a185bb2504538a2de8076da5a6971b8acb4715",
2035
+ onion: "0xbc037a716b746c776934666563766f367269",
2036
+ onion3: "0xbd037035336c663537716f7679757677736336786e72707079706c79337674716d376c3670636f626b6d797173696f6679657a6e667535757164",
2037
+ skynet: "0x90b2c60508004007fd43b74149b31aacbbf2784e874d09b086bed15fd54cacff7120cce95372",
2038
+ arweave: "0x90b2ca05cacdf63edf2e0bb4eb5711dd38b0723aca5f3c4ab62ceeb7c1110740833d4894"
2039
+ };
2040
+ var additionallyRegisteredNames = [
2041
+ {
2042
+ type: "ENSv2",
2043
+ name: "contenthash.eth",
2044
+ label: "contenthash",
2045
+ records: {},
2046
+ subnames: [
2047
+ {
2048
+ label: "ipfs",
2049
+ name: "ipfs.contenthash.eth",
2050
+ records: { contenthash: contenthashFixtures.ipfs }
2051
+ },
2052
+ {
2053
+ label: "swarm",
2054
+ name: "swarm.contenthash.eth",
2055
+ records: { contenthash: contenthashFixtures.swarm }
2056
+ },
2057
+ {
2058
+ label: "ipns",
2059
+ name: "ipns.contenthash.eth",
2060
+ records: { contenthash: contenthashFixtures.ipns }
2061
+ },
2062
+ {
2063
+ label: "onion",
2064
+ name: "onion.contenthash.eth",
2065
+ records: { contenthash: contenthashFixtures.onion }
2066
+ },
2067
+ {
2068
+ label: "onion3",
2069
+ name: "onion3.contenthash.eth",
2070
+ records: { contenthash: contenthashFixtures.onion3 }
2071
+ },
2072
+ {
2073
+ label: "skynet",
2074
+ name: "skynet.contenthash.eth",
2075
+ records: { contenthash: contenthashFixtures.skynet }
2076
+ },
2077
+ {
2078
+ label: "arweave",
2079
+ name: "arweave.contenthash.eth",
2080
+ records: { contenthash: contenthashFixtures.arweave }
2081
+ }
2082
+ ]
2083
+ },
2084
+ {
2085
+ type: "ENSv1",
2086
+ name: "legacy-v1-wrapped.eth",
2087
+ label: "legacy-v1-wrapped",
2088
+ wrapped: true
2089
+ },
2090
+ {
2091
+ type: "ENSv1",
2092
+ name: "legacy-v1-unwrapped.eth",
2093
+ label: "legacy-v1-unwrapped",
2094
+ wrapped: false
2095
+ },
2096
+ {
2097
+ type: "ENSv2",
2098
+ name: "emptyrecords.eth",
2099
+ label: "emptyrecords",
2100
+ records: { contenthash: "0x" }
2101
+ }
2102
+ ];
2031
2103
 
2032
2104
  // src/omnigraph-api/example-queries.ts
2033
2105
  var SEPOLIA_V2_V2_ETH_REGISTRY = getDatasourceContract(