@unifold/connect-react 0.1.70 → 0.1.71-beta.2
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/dist/index.d.mts +7 -5
- package/dist/index.d.ts +7 -5
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -9,12 +9,14 @@ export { ActionType, AutoSwapRequest, AutoSwapResponse, ChainType, CheckoutEvent
|
|
|
9
9
|
interface UnifoldConnectProviderConfig {
|
|
10
10
|
publishableKey: string;
|
|
11
11
|
/**
|
|
12
|
-
* Bring your own TanStack QueryClient. When provided, UnifoldProvider
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* Bring your own TanStack QueryClient. When provided, UnifoldProvider uses
|
|
13
|
+
* this client instance instead of creating its own, so Unifold hooks share the
|
|
14
|
+
* same cache, devtools, and default options as the rest of the app (no second
|
|
15
|
+
* client is created).
|
|
15
16
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
17
|
+
* UnifoldProvider always mounts its own QueryClientProvider with the resolved
|
|
18
|
+
* client (passing a client does not imply a provider already exists), so the
|
|
19
|
+
* SDK works even when its UI renders in a detached React root.
|
|
18
20
|
*/
|
|
19
21
|
queryClient?: QueryClient;
|
|
20
22
|
config?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -9,12 +9,14 @@ export { ActionType, AutoSwapRequest, AutoSwapResponse, ChainType, CheckoutEvent
|
|
|
9
9
|
interface UnifoldConnectProviderConfig {
|
|
10
10
|
publishableKey: string;
|
|
11
11
|
/**
|
|
12
|
-
* Bring your own TanStack QueryClient. When provided, UnifoldProvider
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* Bring your own TanStack QueryClient. When provided, UnifoldProvider uses
|
|
13
|
+
* this client instance instead of creating its own, so Unifold hooks share the
|
|
14
|
+
* same cache, devtools, and default options as the rest of the app (no second
|
|
15
|
+
* client is created).
|
|
15
16
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
17
|
+
* UnifoldProvider always mounts its own QueryClientProvider with the resolved
|
|
18
|
+
* client (passing a client does not imply a provider already exists), so the
|
|
19
|
+
* SDK works even when its UI renders in a detached React root.
|
|
18
20
|
*/
|
|
19
21
|
queryClient?: QueryClient;
|
|
20
22
|
config?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unifold/connect-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.71-beta.2",
|
|
4
4
|
"description": "Unifold Connect React - Complete React SDK with UI components for crypto deposits",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@tanstack/react-query": "^5.90.11",
|
|
40
|
-
"@unifold/core": "0.1.
|
|
41
|
-
"@unifold/react-provider": "0.1.
|
|
42
|
-
"@unifold/headless-react": "0.1.
|
|
43
|
-
"@unifold/ui-react": "0.1.
|
|
40
|
+
"@unifold/core": "0.1.71-beta.2",
|
|
41
|
+
"@unifold/react-provider": "0.1.71-beta.2",
|
|
42
|
+
"@unifold/headless-react": "0.1.71-beta.2",
|
|
43
|
+
"@unifold/ui-react": "0.1.71-beta.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/react": "^19.0.0",
|