@ensnode/ensnode-sdk 0.0.0-next-20260406210235 → 0.0.0-next-20260407115957

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/README.md CHANGED
@@ -10,9 +10,9 @@ Learn more about [ENSNode](https://ensnode.io/) from [the ENSNode docs](https://
10
10
  npm install @ensnode/ensnode-sdk
11
11
  ```
12
12
 
13
- ## ENSNode Client
13
+ ## EnsApiClient
14
14
 
15
- The `ENSNodeClient` provides a unified interface for the supported ENSNode APIs:
15
+ The `EnsApiClient` provides a unified interface for the ENSApi REST APIs:
16
16
  - Resolution API (Protocol Accelerated Forward/Reverse Resolution)
17
17
  - Indexing Status API
18
18
  - Configuration API
@@ -20,10 +20,10 @@ The `ENSNodeClient` provides a unified interface for the supported ENSNode APIs:
20
20
  ### Basic Usage
21
21
 
22
22
  ```typescript
23
- import { ENSNodeClient, evmChainIdToCoinType } from "@ensnode/ensnode-sdk";
24
- import { mainnet } from 'viem/chains';
23
+ import { EnsApiClient, evmChainIdToCoinType } from "@ensnode/ensnode-sdk";
24
+ import { mainnet } from "viem/chains";
25
25
 
26
- const client = new ENSNodeClient();
26
+ const client = new EnsApiClient();
27
27
 
28
28
  // Resolution API: Records Resolution
29
29
  const { records } = await client.resolveRecords("jesse.base.eth", {
@@ -186,7 +186,7 @@ console.log(status);
186
186
  ### Configuration
187
187
 
188
188
  ```typescript
189
- const client = new ENSNodeClient({
189
+ const client = new EnsApiClient({
190
190
  url: new URL("https://my-ensnode-instance.com"),
191
191
  });
192
192
  ```
package/dist/index.cjs CHANGED
@@ -47,7 +47,6 @@ __export(index_exports, {
47
47
  ENCODED_REFERRER_BYTE_LENGTH: () => ENCODED_REFERRER_BYTE_LENGTH,
48
48
  ENCODED_REFERRER_BYTE_OFFSET: () => ENCODED_REFERRER_BYTE_OFFSET,
49
49
  ENSNamespaceIds: () => import_datasources13.ENSNamespaceIds,
50
- ENSNodeClient: () => ENSNodeClient,
51
50
  ENS_ROOT: () => ENS_ROOT,
52
51
  ETH_COIN_TYPE: () => ETH_COIN_TYPE,
53
52
  ETH_NODE: () => ETH_NODE,
@@ -3913,8 +3912,6 @@ var EnsApiClient = class _EnsApiClient {
3913
3912
  return deserializedNameTokensResponse(responseData);
3914
3913
  }
3915
3914
  };
3916
- var ENSNodeClient = class extends EnsApiClient {
3917
- };
3918
3915
 
3919
3916
  // src/ensindexer/api/config/deserialize.ts
3920
3917
  function deserializeEnsIndexerConfigResponse(maybeResponse) {