@ensnode/ensnode-sdk 1.15.1 → 1.15.2
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/LICENSE +1 -1
- package/README.md +21 -9
- package/dist/index.cjs +11 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -9
- package/dist/index.d.ts +18 -9
- package/dist/index.js +18 -9
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +364 -90
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +11 -5
- package/dist/internal.d.ts +11 -5
- package/dist/internal.js +353 -75
- package/dist/internal.js.map +1 -1
- package/dist/{namespace-specific-value-CPvcFpGI.d.cts → namespace-specific-value-BBZET9O0.d.cts} +7 -10
- package/dist/{namespace-specific-value-CPvcFpGI.d.ts → namespace-specific-value-BBZET9O0.d.ts} +7 -10
- package/package.json +6 -5
package/dist/{namespace-specific-value-CPvcFpGI.d.cts → namespace-specific-value-BBZET9O0.d.cts}
RENAMED
|
@@ -1174,22 +1174,19 @@ declare const interpretAddress: (owner: NormalizedAddress) => NormalizedAddress
|
|
|
1174
1174
|
*/
|
|
1175
1175
|
declare function interpretNameRecordValue(value: LiteralName): InterpretedName | null;
|
|
1176
1176
|
/**
|
|
1177
|
-
* Interprets an address record value
|
|
1177
|
+
* Interprets an address record value and returns null if the value is interpreted as a deletion.
|
|
1178
1178
|
*
|
|
1179
1179
|
* The interpreted record value is either:
|
|
1180
1180
|
* a) null, representing a non-existent or deletion of the record, or
|
|
1181
|
-
* i.
|
|
1182
|
-
* ii.
|
|
1183
|
-
* iii.
|
|
1184
|
-
*
|
|
1185
|
-
* b) an address record value that
|
|
1186
|
-
* i. does not contain null bytes
|
|
1187
|
-
* ii. (if is an EVM address) is lowercase
|
|
1181
|
+
* i. empty hex (0x)
|
|
1182
|
+
* ii. not valid hex
|
|
1183
|
+
* iii. zeroAddress
|
|
1184
|
+
* b) the on-chain record bytes as hex
|
|
1188
1185
|
*
|
|
1189
1186
|
* @param value - The address record value to interpret.
|
|
1190
|
-
* @returns The interpreted address
|
|
1187
|
+
* @returns The interpreted address bytes as hex or null if deleted.
|
|
1191
1188
|
*/
|
|
1192
|
-
declare function interpretAddressRecordValue(value:
|
|
1189
|
+
declare function interpretAddressRecordValue(value: Hex): Hex | null;
|
|
1193
1190
|
/**
|
|
1194
1191
|
* Interprets a text record key string and returns null if the key should be ignored.
|
|
1195
1192
|
*
|
package/dist/{namespace-specific-value-CPvcFpGI.d.ts → namespace-specific-value-BBZET9O0.d.ts}
RENAMED
|
@@ -1174,22 +1174,19 @@ declare const interpretAddress: (owner: NormalizedAddress) => NormalizedAddress
|
|
|
1174
1174
|
*/
|
|
1175
1175
|
declare function interpretNameRecordValue(value: LiteralName): InterpretedName | null;
|
|
1176
1176
|
/**
|
|
1177
|
-
* Interprets an address record value
|
|
1177
|
+
* Interprets an address record value and returns null if the value is interpreted as a deletion.
|
|
1178
1178
|
*
|
|
1179
1179
|
* The interpreted record value is either:
|
|
1180
1180
|
* a) null, representing a non-existent or deletion of the record, or
|
|
1181
|
-
* i.
|
|
1182
|
-
* ii.
|
|
1183
|
-
* iii.
|
|
1184
|
-
*
|
|
1185
|
-
* b) an address record value that
|
|
1186
|
-
* i. does not contain null bytes
|
|
1187
|
-
* ii. (if is an EVM address) is lowercase
|
|
1181
|
+
* i. empty hex (0x)
|
|
1182
|
+
* ii. not valid hex
|
|
1183
|
+
* iii. zeroAddress
|
|
1184
|
+
* b) the on-chain record bytes as hex
|
|
1188
1185
|
*
|
|
1189
1186
|
* @param value - The address record value to interpret.
|
|
1190
|
-
* @returns The interpreted address
|
|
1187
|
+
* @returns The interpreted address bytes as hex or null if deleted.
|
|
1191
1188
|
*/
|
|
1192
|
-
declare function interpretAddressRecordValue(value:
|
|
1189
|
+
declare function interpretAddressRecordValue(value: Hex): Hex | null;
|
|
1193
1190
|
/**
|
|
1194
1191
|
* Interprets a text record key string and returns null if the key should be ignored.
|
|
1195
1192
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ensnode/ensnode-sdk",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A utility library for interacting with ENSNode and ENS data",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,16 +51,17 @@
|
|
|
51
51
|
"tsup": "^8.3.6",
|
|
52
52
|
"typescript": "^5.7.3",
|
|
53
53
|
"viem": "^2.50.3",
|
|
54
|
-
"vitest": "^4.0
|
|
55
|
-
"@ensnode/
|
|
54
|
+
"vitest": "^4.1.0",
|
|
55
|
+
"@ensnode/integration-test-env": "1.15.2",
|
|
56
|
+
"@ensnode/shared-configs": "1.15.2"
|
|
56
57
|
},
|
|
57
58
|
"dependencies": {
|
|
58
59
|
"@ensdomains/address-encoder": "^1.1.2",
|
|
59
60
|
"caip": "1.1.1",
|
|
60
61
|
"date-fns": "4.1.0",
|
|
61
62
|
"zod": "^4.3.6",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
63
|
+
"@ensnode/datasources": "1.15.2",
|
|
64
|
+
"enssdk": "1.15.2"
|
|
64
65
|
},
|
|
65
66
|
"scripts": {
|
|
66
67
|
"prepublish": "tsup",
|