@openzeppelin/ui-react 3.0.1 → 3.2.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 +7 -0
- package/dist/index.cjs +678 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +257 -4
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +257 -4
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +668 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -51,6 +51,13 @@ It is a foundational package that can be used to ensure consistent wallet and ru
|
|
|
51
51
|
- **`useRuntimeContext()`**: Low-level access to `getRuntimeForNetwork` / loading helpers from `RuntimeProvider`.
|
|
52
52
|
- **`useWalletState()`**: `activeNetworkId`, `activeNetworkConfig`, **`activeRuntime`**, **`isRuntimeLoading`**, `walletFacadeHooks`, `setActiveNetworkId`, `reconfigureActiveUiKit`.
|
|
53
53
|
|
|
54
|
+
### Name resolution (ENS forward + reverse)
|
|
55
|
+
|
|
56
|
+
See the [ENS address input integration guide](../../docs/ens-address-input/README.md) for the full wiring story. Key exports:
|
|
57
|
+
|
|
58
|
+
- **`NameResolutionProvider`** / **`useResolveName`** / **`useResolveAddress`** — SF-2 async engine (debounce, cache, retries, closed error union)
|
|
59
|
+
- **`useRuntimeNameResolver`** — maps the active runtime's `nameResolution` capability into the dumb `NameResolver` shape consumed by `@openzeppelin/ui-components`' `NameResolverProvider`
|
|
60
|
+
|
|
54
61
|
### Derived hooks
|
|
55
62
|
|
|
56
63
|
These abstract wallet interactions across ecosystems:
|