@xyo-network/os-react-runtime 5.0.8 → 5.0.9
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.
|
@@ -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"}
|
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.9",
|
|
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,26 @@
|
|
|
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/node-model": "^3.14.
|
|
64
|
-
"@xyo-network/os-model": "^5.0.
|
|
65
|
-
"@xyo-network/os-react-debug": "^5.0.
|
|
66
|
-
"@xyo-network/os-react-model": "^5.0.
|
|
67
|
-
"@xyo-network/os-runtime": "^5.0.
|
|
68
|
-
"@xyo-network/payload-model": "^3.14.
|
|
48
|
+
"@xyo-network/archivist-indexeddb": "^3.14.15",
|
|
49
|
+
"@xyo-network/archivist-model": "^3.14.15",
|
|
50
|
+
"@xyo-network/bios-browser": "^5.0.9",
|
|
51
|
+
"@xyo-network/bios-model": "^5.0.9",
|
|
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.9",
|
|
58
|
+
"@xyo-network/kernel-model": "^5.0.9",
|
|
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/node-model": "^3.14.15",
|
|
63
|
+
"@xyo-network/os-model": "^5.0.9",
|
|
64
|
+
"@xyo-network/os-react-debug": "^5.0.9",
|
|
65
|
+
"@xyo-network/os-react-model": "^5.0.9",
|
|
66
|
+
"@xyo-network/os-runtime": "^5.0.9",
|
|
67
|
+
"@xyo-network/payload-model": "^3.14.15",
|
|
69
68
|
"@xyo-network/react-archivist": "^5.2.5",
|
|
70
69
|
"@xyo-network/react-card": "^5.2.5",
|
|
71
70
|
"@xyo-network/react-form-credit-card": "^5.2.5",
|
|
@@ -73,11 +72,11 @@
|
|
|
73
72
|
"@xyo-network/react-shared": "^5.2.5",
|
|
74
73
|
"@xyo-network/react-table": "^5.2.5",
|
|
75
74
|
"@xyo-network/react-wallet": "^5.2.5",
|
|
76
|
-
"@xyo-network/wallet-model": "^3.14.
|
|
75
|
+
"@xyo-network/wallet-model": "^3.14.15",
|
|
77
76
|
"luxon": "^3.6.1",
|
|
78
77
|
"react-helmet": "^6.1.0",
|
|
79
78
|
"react-icons": "^5.5.0",
|
|
80
|
-
"react-router-dom": "^7.5.
|
|
79
|
+
"react-router-dom": "^7.5.3",
|
|
81
80
|
"react-use-gesture": "^9.1.3",
|
|
82
81
|
"rollbar": "^2.26.4"
|
|
83
82
|
},
|
|
@@ -91,11 +90,11 @@
|
|
|
91
90
|
"@types/luxon": "^3.6.2",
|
|
92
91
|
"@types/react": "^19.1.2",
|
|
93
92
|
"@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.
|
|
93
|
+
"@xylabs/ts-scripts-react-yarn3": "^6.4.6",
|
|
94
|
+
"@xylabs/ts-scripts-yarn3": "^6.4.6",
|
|
95
|
+
"@xylabs/tsconfig": "^6.4.6",
|
|
96
|
+
"@xylabs/tsconfig-dom": "^6.4.6",
|
|
97
|
+
"@xylabs/tsconfig-react": "^6.4.6",
|
|
99
98
|
"react": "^19.1.0",
|
|
100
99
|
"react-dom": "^19.1.0",
|
|
101
100
|
"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 {
|