@ensnode/ensnode-sdk 1.3.0 → 1.4.0

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
@@ -169,14 +169,10 @@ console.log(config);
169
169
 
170
170
  #### Indexing Status API
171
171
 
172
- ##### `indexingStatus(options)`
172
+ ##### `indexingStatus()`
173
173
 
174
174
  Fetches the ENSNode's multichain indexing status.
175
175
 
176
- - `options`: (optional) additional options
177
- - `maxRealtimeDistance`: (optional) The max allowed distance in seconds between the latest indexed block of the slowest indexed chain and the current time. Setting this parameter influences the HTTP response code:
178
- - Success (200 OK): The latest indexed block of each chain is within the requested distance from realtime
179
- - Service Unavailable (503): The latest indexed block of each chain is NOT within the requested distance from realtime
180
176
  - Returns: `IndexingStatusResponse` - The indexing status data for all indexed chains
181
177
  - Throws: Error if the request fails or the ENSNode API returns an error response
182
178
 
@@ -185,11 +181,6 @@ Fetches the ENSNode's multichain indexing status.
185
181
  const status = await client.indexingStatus();
186
182
  console.log(status);
187
183
  // Returns indexing status for all indexed chains
188
-
189
- // Check if omnichain indexing is within 60 seconds of realtime
190
- const status = await client.indexingStatus({ maxRealtimeDistance: 60 });
191
- console.log(status);
192
- // Returns indexing status, throws if not within 60 seconds of realtime
193
184
  ```
194
185
 
195
186
  ### Configuration