@cofhe/react 0.0.0-beta-20261014111408 → 0.0.0-beta-20261014112631

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
@@ -109,6 +109,21 @@ function CustomComponent() {
109
109
  }
110
110
  ```
111
111
 
112
+ ## Wallet selection
113
+
114
+ CoFHE signs with whatever `walletClient` the app supplies to `CofheProvider`
115
+ (or `connect()`). It does not read `window.ethereum` or pick a wallet itself —
116
+ the signing wallet is whichever provider your connector bound to. So when a user
117
+ has multiple injected wallets installed, disambiguation is a connector-layer
118
+ concern in your app, not something the SDK resolves.
119
+
120
+ To let users pick a wallet, use [EIP-6963](https://eips.ethereum.org/EIPS/eip-6963)
121
+ discovery instead of the generic injected provider (`window.ethereum`). With
122
+ wagmi, every discovered wallet is a connector, so list `useConnectors()` and let
123
+ the user choose. The signer then follows the wallet they connected. See
124
+ [`examples/react`](https://github.com/FhenixProtocol/cofhesdk/blob/master/examples/react/src/components/Navigation.tsx) for a
125
+ working connect menu.
126
+
112
127
  ## CofheEncryptInput Component
113
128
 
114
129
  Advanced input component with integrated features:
@@ -62591,4 +62591,4 @@ export {
62591
62591
  SettingsPage,
62592
62592
  CofheFloatingButtonWithProvider
62593
62593
  };
62594
- //# sourceMappingURL=chunk-UAIXRX6T.js.map
62594
+ //# sourceMappingURL=chunk-DY5DJ46B.js.map
package/dist/index.js CHANGED
@@ -103,7 +103,7 @@ import {
103
103
  useTransactionReceiptsByHash,
104
104
  useTransactionStore,
105
105
  withInvalidationContext
106
- } from "./chunk-UAIXRX6T.js";
106
+ } from "./chunk-DY5DJ46B.js";
107
107
 
108
108
  // src/index.ts
109
109
  import { createCofheClient } from "@cofhe/sdk/web";
package/dist/ui-base.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  SettingsPage,
10
10
  sortCofheStatuses,
11
11
  useCofheStatuses
12
- } from "./chunk-UAIXRX6T.js";
12
+ } from "./chunk-DY5DJ46B.js";
13
13
  export {
14
14
  COFHE_STATUS_IDS,
15
15
  CofheEncryptInput,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofhe/react",
3
- "version": "0.0.0-beta-20261014111408",
3
+ "version": "0.0.0-beta-20261014112631",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -65,8 +65,8 @@
65
65
  "tailwind-merge": "2.6.0",
66
66
  "zod": "4.1.12",
67
67
  "zustand": "5.0.13",
68
- "@cofhe/abi": "0.0.0-beta-20261014111408",
69
- "@cofhe/sdk": "0.0.0-beta-20261014111408"
68
+ "@cofhe/abi": "0.0.0-beta-20261014112631",
69
+ "@cofhe/sdk": "0.0.0-beta-20261014112631"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@tanstack/react-query": "^5.90.20",