@xyo-network/os-react-runtime 5.0.8 → 5.0.10
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/browser/index.mjs +1 -2
- package/dist/browser/index.mjs.map +1 -1
- package/dist/types/helpers/widget/Caller.d.ts.map +1 -1
- package/dist/types/modules/XyOsUi/lib/XyOsUi.d.ts +2 -2
- package/dist/types/modules/XyOsUi/lib/XyOsUi.d.ts.map +1 -1
- package/package.json +36 -36
- package/src/helpers/widget/Caller.tsx +1 -2
- package/src/modules/XyOsUi/lib/XyOsUi.ts +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Caller.d.ts","sourceRoot":"","sources":["../../../../src/helpers/widget/Caller.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Caller.d.ts","sourceRoot":"","sources":["../../../../src/helpers/widget/Caller.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACoB,gBAAgB,EAAE,WAAW,EAC5D,MAAM,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,OAAO,KAAK,EAAM,GAAG,EAAE,MAAM,OAAO,CAAA;AAGpC,KAAK,aAAa,GAAG,CAAC,CAAC,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,GAAG,SAAS,EAAE,CAAC,KAAK,GAAG,SAAS,CAAC,EAAE,CAAC,GAAG,SAAS,CAAA;AAEjG,qBAAa,YAAa,SAAQ,YAAY;IAG1C,OAAO,CAAC,mBAAmB,CAAC;IAC5B,OAAO,CAAC,iBAAiB,CAAC;gBAF1B,OAAO,EAAE,WAAW,EACZ,mBAAmB,CAAC,EAAE,sBAAsB,EAAE,YAAA,EAC9C,iBAAiB,CAAC,EAAE,gBAAgB,YAAA;IAK9C,IAAI,aAAa,2CAMhB;IAED,IAAI,kBAAkB,6BAErB;IAED,IAAI,gBAAgB,qBAEnB;IAEK,qBAAqB;IA+B3B,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,oBAAoB;CAoC7B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ModuleFactoryLocatorInstance } from '@xyo-network/module-model';
|
|
2
2
|
import type { SplashScreenLoadingMessages, XyOsUiGlobal } from '@xyo-network/os-model';
|
|
3
3
|
import type { ReactDappRegistrationResults, XyOsUiContext } from '@xyo-network/os-react-model';
|
|
4
4
|
import type { XyOsMonitor, XyOsParams } from '@xyo-network/os-runtime';
|
|
@@ -12,6 +12,6 @@ export declare class XyOsUi extends XyOs implements XyOsUiContext {
|
|
|
12
12
|
static get xyOsUiGlobal(): XyOsUiGlobal;
|
|
13
13
|
static hideSplash(): void;
|
|
14
14
|
static setSplashStatus(status: SplashScreenLoadingMessages): void;
|
|
15
|
-
boot(wallet: WalletInstance, locator?:
|
|
15
|
+
boot(wallet: WalletInstance, locator?: ModuleFactoryLocatorInstance): Promise<this>;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=XyOsUi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyOsUi.d.ts","sourceRoot":"","sources":["../../../../../src/modules/XyOsUi/lib/XyOsUi.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"XyOsUi.d.ts","sourceRoot":"","sources":["../../../../../src/modules/XyOsUi/lib/XyOsUi.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAA;AAC7E,OAAO,KAAK,EAAE,2BAA2B,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACtF,OAAO,KAAK,EAAE,4BAA4B,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAC9F,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAwB,IAAI,EAAE,MAAM,yBAAyB,CAAA;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAI/D,qBAAa,MAAO,SAAQ,IAAK,YAAW,aAAa;IACvD,uBAAuB,EAAE,4BAA4B,CAAgC;IAErF,OAAO,CAAC,oBAAoB,CAAyB;gBAEzC,MAAM,EAAE,UAAU;IAM9B,WAAoB,UAAU,IAAI,WAAW,GAAG,SAAS,CAExD;IAED,MAAM,KAAK,YAAY,IAAI,YAAY,CAEtC;IAED,MAAM,CAAC,UAAU;IAMjB,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,2BAA2B;IAK3C,IAAI,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,GAAE,4BAAyD,GAAG,OAAO,CAAC,IAAI,CAAC;CAS/H"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/os-react-runtime",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.10",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -30,14 +30,13 @@
|
|
|
30
30
|
"types": "dist/types/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@react-spring/web": "^9.7.5",
|
|
33
|
-
"@xylabs/array": "^4.8.
|
|
34
|
-
"@xylabs/assert": "^4.8.
|
|
35
|
-
"@xylabs/base": "^4.8.
|
|
36
|
-
"@xylabs/forget": "^4.8.
|
|
37
|
-
"@xylabs/hex": "^4.8.
|
|
38
|
-
"@xylabs/
|
|
39
|
-
"@xylabs/
|
|
40
|
-
"@xylabs/promise": "^4.8.7",
|
|
33
|
+
"@xylabs/array": "^4.8.9",
|
|
34
|
+
"@xylabs/assert": "^4.8.9",
|
|
35
|
+
"@xylabs/base": "^4.8.9",
|
|
36
|
+
"@xylabs/forget": "^4.8.9",
|
|
37
|
+
"@xylabs/hex": "^4.8.9",
|
|
38
|
+
"@xylabs/object": "^4.8.9",
|
|
39
|
+
"@xylabs/promise": "^4.8.9",
|
|
41
40
|
"@xylabs/react-animation": "^6.2.11",
|
|
42
41
|
"@xylabs/react-async-effect": "^6.2.11",
|
|
43
42
|
"@xylabs/react-button": "^6.2.11",
|
|
@@ -46,26 +45,27 @@
|
|
|
46
45
|
"@xylabs/react-link": "^6.2.11",
|
|
47
46
|
"@xylabs/react-promise": "^6.2.11",
|
|
48
47
|
"@xylabs/react-theme": "^6.2.11",
|
|
49
|
-
"@xyo-network/archivist-indexeddb": "^3.14.
|
|
50
|
-
"@xyo-network/archivist-model": "^3.14.
|
|
51
|
-
"@xyo-network/bios-browser": "^5.0.
|
|
52
|
-
"@xyo-network/bios-model": "^5.0.
|
|
53
|
-
"@xyo-network/diviner-boundwitness-indexeddb": "^3.14.
|
|
54
|
-
"@xyo-network/diviner-model": "^3.14.
|
|
55
|
-
"@xyo-network/diviner-payload-generic": "^3.14.
|
|
56
|
-
"@xyo-network/diviner-payload-indexeddb": "^3.14.
|
|
57
|
-
"@xyo-network/diviner-payload-model": "^3.14.
|
|
58
|
-
"@xyo-network/kernel": "^5.0.
|
|
59
|
-
"@xyo-network/kernel-model": "^5.0.
|
|
60
|
-
"@xyo-network/module-event-emitter": "^3.14.
|
|
61
|
-
"@xyo-network/module-events": "^3.14.
|
|
62
|
-
"@xyo-network/module-factory-locator": "^3.14.
|
|
63
|
-
"@xyo-network/
|
|
64
|
-
"@xyo-network/
|
|
65
|
-
"@xyo-network/os-
|
|
66
|
-
"@xyo-network/os-react-
|
|
67
|
-
"@xyo-network/os-
|
|
68
|
-
"@xyo-network/
|
|
48
|
+
"@xyo-network/archivist-indexeddb": "^3.14.15",
|
|
49
|
+
"@xyo-network/archivist-model": "^3.14.15",
|
|
50
|
+
"@xyo-network/bios-browser": "^5.0.10",
|
|
51
|
+
"@xyo-network/bios-model": "^5.0.10",
|
|
52
|
+
"@xyo-network/diviner-boundwitness-indexeddb": "^3.14.15",
|
|
53
|
+
"@xyo-network/diviner-model": "^3.14.15",
|
|
54
|
+
"@xyo-network/diviner-payload-generic": "^3.14.15",
|
|
55
|
+
"@xyo-network/diviner-payload-indexeddb": "^3.14.15",
|
|
56
|
+
"@xyo-network/diviner-payload-model": "^3.14.15",
|
|
57
|
+
"@xyo-network/kernel": "^5.0.10",
|
|
58
|
+
"@xyo-network/kernel-model": "^5.0.10",
|
|
59
|
+
"@xyo-network/module-event-emitter": "^3.14.15",
|
|
60
|
+
"@xyo-network/module-events": "^3.14.15",
|
|
61
|
+
"@xyo-network/module-factory-locator": "^3.14.15",
|
|
62
|
+
"@xyo-network/module-model": "^3.14.15",
|
|
63
|
+
"@xyo-network/node-model": "^3.14.15",
|
|
64
|
+
"@xyo-network/os-model": "^5.0.10",
|
|
65
|
+
"@xyo-network/os-react-debug": "^5.0.10",
|
|
66
|
+
"@xyo-network/os-react-model": "^5.0.10",
|
|
67
|
+
"@xyo-network/os-runtime": "^5.0.10",
|
|
68
|
+
"@xyo-network/payload-model": "^3.14.15",
|
|
69
69
|
"@xyo-network/react-archivist": "^5.2.5",
|
|
70
70
|
"@xyo-network/react-card": "^5.2.5",
|
|
71
71
|
"@xyo-network/react-form-credit-card": "^5.2.5",
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
"@xyo-network/react-shared": "^5.2.5",
|
|
74
74
|
"@xyo-network/react-table": "^5.2.5",
|
|
75
75
|
"@xyo-network/react-wallet": "^5.2.5",
|
|
76
|
-
"@xyo-network/wallet-model": "^3.14.
|
|
76
|
+
"@xyo-network/wallet-model": "^3.14.15",
|
|
77
77
|
"luxon": "^3.6.1",
|
|
78
78
|
"react-helmet": "^6.1.0",
|
|
79
79
|
"react-icons": "^5.5.0",
|
|
80
|
-
"react-router-dom": "^7.5.
|
|
80
|
+
"react-router-dom": "^7.5.3",
|
|
81
81
|
"react-use-gesture": "^9.1.3",
|
|
82
82
|
"rollbar": "^2.26.4"
|
|
83
83
|
},
|
|
@@ -91,11 +91,11 @@
|
|
|
91
91
|
"@types/luxon": "^3.6.2",
|
|
92
92
|
"@types/react": "^19.1.2",
|
|
93
93
|
"@types/react-helmet": "^6.1.11",
|
|
94
|
-
"@xylabs/ts-scripts-react-yarn3": "^6.
|
|
95
|
-
"@xylabs/ts-scripts-yarn3": "^6.
|
|
96
|
-
"@xylabs/tsconfig": "^6.
|
|
97
|
-
"@xylabs/tsconfig-dom": "^6.
|
|
98
|
-
"@xylabs/tsconfig-react": "^6.
|
|
94
|
+
"@xylabs/ts-scripts-react-yarn3": "^6.4.6",
|
|
95
|
+
"@xylabs/ts-scripts-yarn3": "^6.4.6",
|
|
96
|
+
"@xylabs/tsconfig": "^6.4.6",
|
|
97
|
+
"@xylabs/tsconfig-dom": "^6.4.6",
|
|
98
|
+
"@xylabs/tsconfig-react": "^6.4.6",
|
|
99
99
|
"react": "^19.1.0",
|
|
100
100
|
"react-dom": "^19.1.0",
|
|
101
101
|
"storybook": "^8.6.12",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { assertEx } from '@xylabs/assert'
|
|
2
2
|
import type { Hash } from '@xylabs/hex'
|
|
3
|
-
import { cloneDeep } from '@xylabs/lodash'
|
|
4
3
|
import { fulfilled, rejected } from '@xylabs/promise'
|
|
5
4
|
import type {
|
|
6
5
|
DappWidgetConfig, WidgetTray, WidgetTrayLayout, XyOsContext,
|
|
@@ -79,7 +78,7 @@ export class WidgetCaller extends OsCallerBase {
|
|
|
79
78
|
}
|
|
80
79
|
|
|
81
80
|
private cloneWidgetConfig(widgetConfig: DappWidgetConfig) {
|
|
82
|
-
return
|
|
81
|
+
return structuredClone(widgetConfig)
|
|
83
82
|
}
|
|
84
83
|
|
|
85
84
|
private widgetTrayFromLayout(widgetLayout: WidgetTrayLayout): WidgetTray {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { forget } from '@xylabs/forget'
|
|
2
2
|
import { ModuleFactoryLocator } from '@xyo-network/module-factory-locator'
|
|
3
|
+
import type { ModuleFactoryLocatorInstance } from '@xyo-network/module-model'
|
|
3
4
|
import type { SplashScreenLoadingMessages, XyOsUiGlobal } from '@xyo-network/os-model'
|
|
4
5
|
import type { ReactDappRegistrationResults, XyOsUiContext } from '@xyo-network/os-react-model'
|
|
5
6
|
import type { XyOsMonitor, XyOsParams } from '@xyo-network/os-runtime'
|
|
@@ -38,7 +39,7 @@ export class XyOsUi extends XyOs implements XyOsUiContext {
|
|
|
38
39
|
this.xyOsUiGlobal.splashScreen.setStatusText(statusText)
|
|
39
40
|
}
|
|
40
41
|
|
|
41
|
-
override async boot(wallet: WalletInstance, locator = new ModuleFactoryLocator()): Promise<this> {
|
|
42
|
+
override async boot(wallet: WalletInstance, locator: ModuleFactoryLocatorInstance = new ModuleFactoryLocator()): Promise<this> {
|
|
42
43
|
await super.boot(wallet, locator)
|
|
43
44
|
const registerLazy = async () => {
|
|
44
45
|
this.dappRegistrationResults = (await this.dappRegistrationService.start()) as ReactDappRegistrationResults
|