@multiplatform.one/core 7.34.0 → 7.34.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/core",
|
|
3
|
-
"version": "7.34.
|
|
3
|
+
"version": "7.34.2",
|
|
4
4
|
"description": "Core framework shell, provider composition, and layout factories for multiplatform.one",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -41,23 +41,23 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@multiplatform.one/i18n": "7.34.
|
|
45
|
-
"@multiplatform.one/logger": "7.34.
|
|
46
|
-
"@multiplatform.one/platform": "7.34.
|
|
47
|
-
"@multiplatform.one/store": "7.34.
|
|
48
|
-
"@multiplatform.one/theme": "7.34.
|
|
44
|
+
"@multiplatform.one/i18n": "7.34.2",
|
|
45
|
+
"@multiplatform.one/logger": "7.34.2",
|
|
46
|
+
"@multiplatform.one/platform": "7.34.2",
|
|
47
|
+
"@multiplatform.one/store": "7.34.2",
|
|
48
|
+
"@multiplatform.one/theme": "7.34.2",
|
|
49
49
|
"@tanstack/devtools-utils": "^0.4.0",
|
|
50
|
-
"@tanstack/pacer-devtools": "1.
|
|
50
|
+
"@tanstack/pacer-devtools": "1.6.0",
|
|
51
51
|
"@tanstack/react-devtools": "0.10.13",
|
|
52
52
|
"@tanstack/react-form-devtools": "0.2.22",
|
|
53
53
|
"react-cookie": "^8.1.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@multiplatform.one/frappe": "7.34.
|
|
57
|
-
"@multiplatform.one/web3": "7.34.
|
|
56
|
+
"@multiplatform.one/frappe": "7.34.2",
|
|
57
|
+
"@multiplatform.one/web3": "7.34.2",
|
|
58
58
|
"@sentry/react": "^10.51.0",
|
|
59
|
-
"@tanstack/react-query": "^5.
|
|
60
|
-
"@tanstack/react-query-devtools": "^5.
|
|
59
|
+
"@tanstack/react-query": "^5.104.3",
|
|
60
|
+
"@tanstack/react-query-devtools": "^5.104.3",
|
|
61
61
|
"@vxrn/color-scheme": "~1.16.5",
|
|
62
62
|
"i18next": "^25.10.10",
|
|
63
63
|
"one": "^1.16.5",
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
"vitest": "^4.1.5"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
|
-
"@multiplatform.one/frappe": "^7.34.
|
|
76
|
-
"@multiplatform.one/frappe-ui": "^7.34.
|
|
77
|
-
"@multiplatform.one/keycloak": "^7.34.
|
|
78
|
-
"@multiplatform.one/web3": "^7.34.
|
|
75
|
+
"@multiplatform.one/frappe": "^7.34.2",
|
|
76
|
+
"@multiplatform.one/frappe-ui": "^7.34.2",
|
|
77
|
+
"@multiplatform.one/keycloak": "^7.34.2",
|
|
78
|
+
"@multiplatform.one/web3": "^7.34.2",
|
|
79
79
|
"@sentry/react": "^9.0.0",
|
|
80
80
|
"@tanstack/react-query": "^5.0.0",
|
|
81
81
|
"@tanstack/react-query-devtools": "^5.0.0",
|
|
@@ -9,6 +9,21 @@ import { lazy } from "react";
|
|
|
9
9
|
// …) into the Hermes bundle as dead weight. Routing
|
|
10
10
|
// native through `/native` keeps that entire stack out of native, where the wallet
|
|
11
11
|
// connect/modal UI lives in the WebView via the bridge instead.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
//
|
|
13
|
+
// `require`, not `import()`: web3 is an optional peer, and a dynamic import of
|
|
14
|
+
// an absent one stays external in the Release bundle, where hermesc rejects the
|
|
15
|
+
// `import(...)` expression for the whole app (FZ-7357). Only an app that sets
|
|
16
|
+
// `web3` renders this, and there the missing package is named instead.
|
|
17
|
+
export default lazy(async () => {
|
|
18
|
+
let mod: typeof import("@multiplatform.one/web3/native");
|
|
19
|
+
try {
|
|
20
|
+
mod = require("@multiplatform.one/web3/native");
|
|
21
|
+
} catch (error) {
|
|
22
|
+
throw new Error(
|
|
23
|
+
"[@multiplatform.one/core] the app config enables web3, but @multiplatform.one/web3 " +
|
|
24
|
+
"is not installed. Add it to the app's dependencies.",
|
|
25
|
+
{ cause: error },
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
return { default: mod.WalletProvider };
|
|
29
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadWalletProvider.native.d.ts","sourceRoot":"","sources":["../../src/app/loadWalletProvider.native.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"loadWalletProvider.native.d.ts","sourceRoot":"","sources":["../../src/app/loadWalletProvider.native.ts"],"names":[],"mappings":";AAgBA,wBAYG"}
|