@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.
@@ -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 string and returns null if the value is interpreted as a deletion.
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. contains null bytes
1182
- * ii. empty string
1183
- * iii. empty hex (0x)
1184
- * iv. zeroAddress
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 string or null if deleted.
1187
+ * @returns The interpreted address bytes as hex or null if deleted.
1191
1188
  */
1192
- declare function interpretAddressRecordValue(value: string): string | null;
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
  *
@@ -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 string and returns null if the value is interpreted as a deletion.
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. contains null bytes
1182
- * ii. empty string
1183
- * iii. empty hex (0x)
1184
- * iv. zeroAddress
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 string or null if deleted.
1187
+ * @returns The interpreted address bytes as hex or null if deleted.
1191
1188
  */
1192
- declare function interpretAddressRecordValue(value: string): string | null;
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.1",
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.2",
55
- "@ensnode/shared-configs": "1.15.1"
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
- "enssdk": "1.15.1",
63
- "@ensnode/datasources": "1.15.1"
63
+ "@ensnode/datasources": "1.15.2",
64
+ "enssdk": "1.15.2"
64
65
  },
65
66
  "scripts": {
66
67
  "prepublish": "tsup",