@ensnode/ensnode-sdk 0.0.0-next-20260601084304 → 0.0.0-next-20260601140021
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/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -8
- package/dist/index.d.ts +7 -8
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +6 -5
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +8 -7
- package/dist/internal.js.map +1 -1
- package/dist/{namespace-specific-value-CPvcFpGI.d.cts → namespace-specific-value-BGuLucNQ.d.cts} +5 -6
- package/dist/{namespace-specific-value-CPvcFpGI.d.ts → namespace-specific-value-BGuLucNQ.d.ts} +5 -6
- package/package.json +4 -4
package/dist/{namespace-specific-value-CPvcFpGI.d.cts → namespace-specific-value-BGuLucNQ.d.cts}
RENAMED
|
@@ -1174,7 +1174,7 @@ 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
|
|
@@ -1182,14 +1182,13 @@ declare function interpretNameRecordValue(value: LiteralName): InterpretedName |
|
|
|
1182
1182
|
* ii. empty string
|
|
1183
1183
|
* iii. empty hex (0x)
|
|
1184
1184
|
* iv. zeroAddress
|
|
1185
|
-
*
|
|
1186
|
-
*
|
|
1187
|
-
* ii. (if is an EVM address) is lowercase
|
|
1185
|
+
* v. not valid hex
|
|
1186
|
+
* b) the on-chain record bytes as hex
|
|
1188
1187
|
*
|
|
1189
1188
|
* @param value - The address record value to interpret.
|
|
1190
|
-
* @returns The interpreted address
|
|
1189
|
+
* @returns The interpreted address bytes as hex or null if deleted.
|
|
1191
1190
|
*/
|
|
1192
|
-
declare function interpretAddressRecordValue(value: string):
|
|
1191
|
+
declare function interpretAddressRecordValue(value: string): Hex | null;
|
|
1193
1192
|
/**
|
|
1194
1193
|
* Interprets a text record key string and returns null if the key should be ignored.
|
|
1195
1194
|
*
|
package/dist/{namespace-specific-value-CPvcFpGI.d.ts → namespace-specific-value-BGuLucNQ.d.ts}
RENAMED
|
@@ -1174,7 +1174,7 @@ 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
|
|
@@ -1182,14 +1182,13 @@ declare function interpretNameRecordValue(value: LiteralName): InterpretedName |
|
|
|
1182
1182
|
* ii. empty string
|
|
1183
1183
|
* iii. empty hex (0x)
|
|
1184
1184
|
* iv. zeroAddress
|
|
1185
|
-
*
|
|
1186
|
-
*
|
|
1187
|
-
* ii. (if is an EVM address) is lowercase
|
|
1185
|
+
* v. not valid hex
|
|
1186
|
+
* b) the on-chain record bytes as hex
|
|
1188
1187
|
*
|
|
1189
1188
|
* @param value - The address record value to interpret.
|
|
1190
|
-
* @returns The interpreted address
|
|
1189
|
+
* @returns The interpreted address bytes as hex or null if deleted.
|
|
1191
1190
|
*/
|
|
1192
|
-
declare function interpretAddressRecordValue(value: string):
|
|
1191
|
+
declare function interpretAddressRecordValue(value: string): Hex | null;
|
|
1193
1192
|
/**
|
|
1194
1193
|
* Interprets a text record key string and returns null if the key should be ignored.
|
|
1195
1194
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ensnode/ensnode-sdk",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20260601140021",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A utility library for interacting with ENSNode and ENS data",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
"typescript": "^5.7.3",
|
|
53
53
|
"viem": "^2.50.3",
|
|
54
54
|
"vitest": "^4.0.2",
|
|
55
|
-
"@ensnode/shared-configs": "0.0.0-next-
|
|
55
|
+
"@ensnode/shared-configs": "0.0.0-next-20260601140021"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@ensdomains/address-encoder": "^1.1.2",
|
|
59
59
|
"caip": "1.1.1",
|
|
60
60
|
"date-fns": "4.1.0",
|
|
61
61
|
"zod": "^4.3.6",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
62
|
+
"enssdk": "0.0.0-next-20260601140021",
|
|
63
|
+
"@ensnode/datasources": "0.0.0-next-20260601140021"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"prepublish": "tsup",
|