@zama-fhe/react-sdk 3.0.0-alpha.22 → 3.0.0-alpha.23
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 +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ import { sepolia } from "wagmi/chains";
|
|
|
34
34
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
35
35
|
import { ZamaProvider } from "@zama-fhe/react-sdk";
|
|
36
36
|
import { createConfig as createZamaFheConfig } from "@zama-fhe/react-sdk/wagmi";
|
|
37
|
-
import { web } from "@zama-fhe/sdk";
|
|
37
|
+
import { web } from "@zama-fhe/sdk/web";
|
|
38
38
|
import { sepolia as sepoliaFhe } from "@zama-fhe/sdk/chains";
|
|
39
39
|
import type { FheChain } from "@zama-fhe/sdk/chains";
|
|
40
40
|
|
|
@@ -86,7 +86,7 @@ function TokenBalance() {
|
|
|
86
86
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
87
87
|
import { ZamaProvider, useConfidentialBalance, useConfidentialTransfer } from "@zama-fhe/react-sdk";
|
|
88
88
|
import { createConfig } from "@zama-fhe/react-sdk/wagmi";
|
|
89
|
-
import { web } from "@zama-fhe/sdk";
|
|
89
|
+
import { web } from "@zama-fhe/sdk/web";
|
|
90
90
|
import { sepolia } from "@zama-fhe/sdk/chains";
|
|
91
91
|
import type { FheChain } from "@zama-fhe/sdk/chains";
|
|
92
92
|
|
|
@@ -144,7 +144,7 @@ All setups use `ZamaProvider` with a config object from `createConfig`.
|
|
|
144
144
|
```tsx
|
|
145
145
|
import { ZamaProvider } from "@zama-fhe/react-sdk";
|
|
146
146
|
import { createConfig } from "@zama-fhe/react-sdk/wagmi";
|
|
147
|
-
import { web } from "@zama-fhe/sdk";
|
|
147
|
+
import { web } from "@zama-fhe/sdk/web";
|
|
148
148
|
import { sepolia } from "@zama-fhe/sdk/chains";
|
|
149
149
|
import type { FheChain } from "@zama-fhe/sdk/chains";
|
|
150
150
|
|
|
@@ -856,7 +856,7 @@ By default, wallet signatures are stored in memory and lost on page reload (or s
|
|
|
856
856
|
```tsx
|
|
857
857
|
import { chromeSessionStorage, indexedDBStorage } from "@zama-fhe/react-sdk";
|
|
858
858
|
import { createConfig } from "@zama-fhe/react-sdk/wagmi";
|
|
859
|
-
import { web } from "@zama-fhe/sdk";
|
|
859
|
+
import { web } from "@zama-fhe/sdk/web";
|
|
860
860
|
import { sepolia } from "@zama-fhe/sdk/chains";
|
|
861
861
|
import type { FheChain } from "@zama-fhe/sdk/chains";
|
|
862
862
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zama-fhe/react-sdk",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.23",
|
|
4
4
|
"description": "React hooks for Zama SDK",
|
|
5
5
|
"license": "BSD-3-Clause-Clear",
|
|
6
6
|
"author": "Zama",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@tanstack/react-query": ">=5",
|
|
67
|
-
"@zama-fhe/sdk": "^3.0.0-alpha.
|
|
67
|
+
"@zama-fhe/sdk": "^3.0.0-alpha.23",
|
|
68
68
|
"react": ">=18",
|
|
69
69
|
"viem": "^2.47.0",
|
|
70
70
|
"wagmi": ">=2"
|