-
Notifications
You must be signed in to change notification settings - Fork 16
Merge ENSApi /api/config endpoint into /api/indexing-status endpoint
#1671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
1f1e3df
Update ENSApi Indexing Status API data model
tk-o e518a43
Update HTTP handlers for ENSApi
tk-o ac26750
Update Indexing Status cache for ENSApi
tk-o 55414e5
Rename `ENSNodeProvider*` types
tk-o 2557708
Rename `useENSNodeSDKConfig` to `useEnsApiProviderOptions`
tk-o da220f3
Remove `useENSNodeConfig` hook
tk-o 098ff6e
Update `useResolvedIdentity` to require `namespace` param
tk-o f7603b8
Update ENSNode hooks to apply renamed functions and types
tk-o 1d45940
Update `useIndexingStatusWithSwr` hook to also cache `config: EnsApiP…
tk-o ba81822
Create `useEnsApiConfig` for conveniet use of `EnsApiPublicConfig` value
tk-o 72d7ae7
Replace applications of removed `useENSNodeConfig` hook with `useEnsA…
tk-o c3a1579
Reduce use of `useENSNodeConfig` (removed) and `useIndexingStatusWit…
tk-o 352be15
Replace applications of removed `SelectedENSNodeProvider` with `Selec…
tk-o f88cc15
Merge remote-tracking branch 'origin/main' into ensapi-merge-config-w…
tk-o 709443d
Fix references to updated ENSApi response data model
tk-o b768b3d
Fix references to updated ENSIndexer response data model
tk-o 2a2b40f
Fix references to updated Indexing Status data model in ENSAdmin
tk-o 5edb862
Remove config route definition from ENSApi routes
tk-o 073f642
Apply AI PR feedback
tk-o 078f7ef
Merge remote-tracking branch 'origin/main' into ensapi-merge-config-w…
tk-o e652446
Update OpenAPI Spec
tk-o 02daa2e
Merge remote-tracking branch 'origin/main' into ensapi-merge-config-w…
tk-o c532285
Apply AI PR feedback
tk-o 4d0703b
Fix conditional logic in react hooks usage
tk-o acf4e6b
Apply AI PR feedback
tk-o fa06ece
Rename `EnsApiContext` to `EnsNodeContext` and `*EnsApiProvider*` to …
tk-o f4e4d56
docs(changeset): Fixed ENS Namespace option for calling `useResolvedI…
tk-o 15f314c
Rename `config` field to `ensApiPublicConfig`
tk-o a814284
Remove the `ConfigResponse` data model
tk-o 839bb4c
Fix mocked data
tk-o 26a2ff0
Update OpenAPI Spec
tk-o cdc1736
docs(changeset): Replaced the `EnsApiConfigResponse` data model by ad…
tk-o 6f1d363
docs(changeset): **Breaking**: Replaced the `config()` method in the …
tk-o 288af77
docs(changeset): **Breaking**: Replaced `useENSNodeSDKConfig` hook wi…
tk-o 1ac516c
docs(changeset): **Breaking**: Removed `useENSNodeConfig` hook.
tk-o dc147d0
docs(changeset): **Breaking**: Removed Config API endpoint at `GET /a…
tk-o 2ce61f8
docs(changeset): Replaced the `useENSNodeConfig` with `useEnsApiPubli…
tk-o 0e7bd2a
Introduce `EnsNodeStackInfo` data model to ENSNode SDK
tk-o ccc497e
docs(changeset): Introduced `EnsNodeStackInfo` data model.
tk-o cc131f4
Extend `EnsDbReader` class with `buildEnsDbPublicConfig()` method
tk-o 4658d53
Rename symbols exported from ENSNode React package
tk-o 2eb9070
Return `stackInfo` field from Indexing Status API endpoint
tk-o 774a105
Replace `useEnsApiPublicConfig` hook with `useEnsNodeStackInfo` hook
tk-o ac94d42
Rename `ensApiPublicConfig` field integrations with `stackInfo` field
tk-o 8086ad9
Update mocks
tk-o 3ca4b1a
Update changesets
tk-o 94cde85
Merge remote-tracking branch 'origin/main' into ensapi-merge-config-w…
tk-o 3aad5fd
Move `useEnsNodeStackInfo` hook into the hooks dir
tk-o 8911aac
Rename `EnsApiClient*` symbols to `EnsNodeClient*`
tk-o 2e8a476
Apply AI PR feedback
tk-o 7132611
Update `SerializedEnsNodeStackInfo` data model
tk-o 446be2e
Add `versionInfo` field to `EnsDbPublicConfig` data model
tk-o 940b401
Apply JSDoc updates
tk-o 74685bd
Fix OpenAPI Spec output for `highestLabelSetVersion` field
tk-o d15efea
Merge remote-tracking branch 'origin/main' into ensapi-merge-config-w…
tk-o ec4d4a5
Cleanup teminology around "ENSNode Client"
tk-o ac957d5
Add tests for parsing pg version info string
tk-o 87523e1
Rename `useActiveENSNodeConfig` hook to `useActiveEnsNodeStackInfo`
tk-o 1cde26a
Merge remote-tracking branch 'origin/main' into ensapi-merge-config-w…
tk-o 23495d0
Apply AI PR feedback
tk-o b2f37cf
Apply PR feedback
tk-o 5913d2d
Refine examples for `EnsNodeClient`
tk-o File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@ensnode/ensnode-sdk": minor | ||
| --- | ||
|
|
||
| **Breaking**: Replaced the `config()` method in the `EnsNodeClient` class with the extended data model returned from the `indexingStatus()` method. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@ensnode/ensnode-sdk": minor | ||
| --- | ||
|
|
||
| Introduced `EnsNodeStackInfo` data model. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@ensnode/ensnode-sdk": minor | ||
| --- | ||
|
|
||
| Replaced the `EnsApiConfigResponse` data model by adding `stackInfo` field to the `EnsApiIndexingStatusResponseOk` data model. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@ensnode/ensnode-react": minor | ||
| --- | ||
|
|
||
| **Breaking**: Removed `useENSNodeConfig` hook. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| "@ensnode/ensnode-react": minor | ||
| --- | ||
|
|
||
| **Breaking**: | ||
| - Replaced `useENSNodeSDKConfig` hook with `useEnsNodeProviderOptions` hook. | ||
| - Renamed `createConfig` function to `createEnsNodeProviderOptions`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "ensadmin": minor | ||
| --- | ||
|
|
||
| Replaced the `useENSNodeConfig` hook with `useEnsNodeStackInfo` hook. The `useEnsNodeStackInfo` hook leverages the updated data model returned from the `useIndexingStatusWithSwr` hook. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "ensapi": minor | ||
| --- | ||
|
|
||
| **Breaking**: Removed Config API endpoint at `GET /api/config`. To get the ENSApi Public Config, call the `GET /api/indexing-status` endpoint and reference the `stackInfo.ensApi` field in the OK response. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@namehash/namehash-ui": patch | ||
| --- | ||
|
|
||
| Fixed ENS Namespace option for calling `useResolvedIdentity` hook from `ResolveAndDisplayIdentity` component. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.