@ensnode/datasources 0.0.0-next-20260408193027 → 0.0.0-next-20260409061829

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -20,7 +20,7 @@ To use these configurations in your project:
20
20
 
21
21
  ```ts
22
22
  import { getDatasource } from "@ensnode/datasources";
23
- import { namehash } from "viem";
23
+ import { namehashInterpretedName, asInterpretedName } from "enssdk";
24
24
 
25
25
  // access the address and abi for the ens root Registry in the canonical mainnet ENS namespace
26
26
  const registryConfig = getDatasource('mainnet', 'ensroot').contracts.Registry;
@@ -30,7 +30,7 @@ const vitaliksResolverAddress = await publicClient.readContract({
30
30
  abi: registryConfig.abi,
31
31
  address: registryConfig.address,
32
32
  functionName: "resolver",
33
- args: [namehash("vitalik.eth")],
33
+ args: [namehashInterpretedName(asInterpretedName("vitalik.eth"))],
34
34
  });
35
35
  ```
36
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ensnode/datasources",
3
- "version": "0.0.0-next-20260408193027",
3
+ "version": "0.0.0-next-20260409061829",
4
4
  "type": "module",
5
5
  "description": "Catalog of ENSNode-related datasources including chain, contract addresses, start blocks, and event filters.",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "typescript": "^5.7.3",
35
35
  "viem": "^2.22.13",
36
36
  "vitest": "^4.0.2",
37
- "@ensnode/shared-configs": "0.0.0-next-20260408193027"
37
+ "@ensnode/shared-configs": "0.0.0-next-20260409061829"
38
38
  },
39
39
  "dependencies": {
40
40
  "@ponder/utils": "0.2.18"