@unifold/ui-react 0.1.54 → 0.1.55
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.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -12779,8 +12779,9 @@ function DepositModal({
|
|
|
12779
12779
|
const effectiveInitialScreen = (0, import_react19.useMemo)(() => {
|
|
12780
12780
|
const s = initialScreen ?? "main";
|
|
12781
12781
|
if (s === "tracker" && hideDepositTracker) return "main";
|
|
12782
|
+
if (s === "cashapp" && !enableCashApp) return "main";
|
|
12782
12783
|
return s;
|
|
12783
|
-
}, [initialScreen, hideDepositTracker]);
|
|
12784
|
+
}, [initialScreen, hideDepositTracker, enableCashApp]);
|
|
12784
12785
|
const [containerEl, setContainerEl] = (0, import_react19.useState)(null);
|
|
12785
12786
|
const containerCallbackRef = (0, import_react19.useCallback)((el) => {
|
|
12786
12787
|
setContainerEl(el);
|
package/dist/index.mjs
CHANGED
|
@@ -12759,8 +12759,9 @@ function DepositModal({
|
|
|
12759
12759
|
const effectiveInitialScreen = useMemo9(() => {
|
|
12760
12760
|
const s = initialScreen ?? "main";
|
|
12761
12761
|
if (s === "tracker" && hideDepositTracker) return "main";
|
|
12762
|
+
if (s === "cashapp" && !enableCashApp) return "main";
|
|
12762
12763
|
return s;
|
|
12763
|
-
}, [initialScreen, hideDepositTracker]);
|
|
12764
|
+
}, [initialScreen, hideDepositTracker, enableCashApp]);
|
|
12764
12765
|
const [containerEl, setContainerEl] = useState29(null);
|
|
12765
12766
|
const containerCallbackRef = useCallback5((el) => {
|
|
12766
12767
|
setContainerEl(el);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unifold/ui-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.55",
|
|
4
4
|
"description": "Unifold UI React - Deposit and onramp components for React applications",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"lucide-react": "^0.454.0",
|
|
35
35
|
"qr-code-styling": "^1.6.0-rc.1",
|
|
36
36
|
"tailwind-merge": "^2.0.0",
|
|
37
|
-
"@unifold/core": "0.1.
|
|
37
|
+
"@unifold/core": "0.1.55"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@solana/web3.js": "^1.87.0",
|