@xyo-network/os-runtime 4.2.8 → 4.2.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/os-runtime",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.9",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,60 +36,60 @@
|
|
|
36
36
|
"xyos": "./dist/node/scripts/xyos/index.mjs"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xylabs/assert": "^4.4.
|
|
40
|
-
"@xylabs/forget": "^4.4.
|
|
41
|
-
"@xylabs/hex": "^4.4.
|
|
42
|
-
"@xylabs/lodash": "^4.4.
|
|
43
|
-
"@xylabs/object": "^4.4.
|
|
44
|
-
"@xylabs/promise": "^4.4.
|
|
45
|
-
"@xyo-network/account": "^3.6.
|
|
46
|
-
"@xyo-network/archivist": "^3.6.
|
|
47
|
-
"@xyo-network/archivist-indexeddb": "^3.6.
|
|
48
|
-
"@xyo-network/archivist-model": "^3.6.
|
|
49
|
-
"@xyo-network/bios": "^4.2.
|
|
50
|
-
"@xyo-network/bridge-model": "^3.6.
|
|
51
|
-
"@xyo-network/diviner-abstract": "^3.6.
|
|
52
|
-
"@xyo-network/diviner-model": "^3.6.
|
|
53
|
-
"@xyo-network/diviner-payload-generic": "^3.6.
|
|
54
|
-
"@xyo-network/diviner-payload-indexeddb": "^3.6.
|
|
55
|
-
"@xyo-network/diviner-payload-model": "^3.6.
|
|
56
|
-
"@xyo-network/diviner-temporal-indexing-model": "^3.6.
|
|
57
|
-
"@xyo-network/kernel": "^4.2.
|
|
58
|
-
"@xyo-network/kernel-model": "^4.2.
|
|
59
|
-
"@xyo-network/manifest": "^3.6.
|
|
60
|
-
"@xyo-network/manifest-wrapper": "^3.6.
|
|
61
|
-
"@xyo-network/module-event-emitter": "^3.6.
|
|
62
|
-
"@xyo-network/module-events": "^3.6.
|
|
63
|
-
"@xyo-network/module-factory-locator": "^3.6.
|
|
64
|
-
"@xyo-network/module-model": "^3.6.
|
|
65
|
-
"@xyo-network/module-resolver": "^3.6.
|
|
66
|
-
"@xyo-network/node-model": "^3.6.
|
|
67
|
-
"@xyo-network/os-model": "^4.2.
|
|
68
|
-
"@xyo-network/payload-builder": "^3.6.
|
|
69
|
-
"@xyo-network/payload-model": "^3.6.
|
|
70
|
-
"@xyo-network/storage-model": "^4.2.
|
|
71
|
-
"@xyo-network/wallet-model": "^3.6.
|
|
39
|
+
"@xylabs/assert": "^4.4.36",
|
|
40
|
+
"@xylabs/forget": "^4.4.36",
|
|
41
|
+
"@xylabs/hex": "^4.4.36",
|
|
42
|
+
"@xylabs/lodash": "^4.4.36",
|
|
43
|
+
"@xylabs/object": "^4.4.36",
|
|
44
|
+
"@xylabs/promise": "^4.4.36",
|
|
45
|
+
"@xyo-network/account": "^3.6.9",
|
|
46
|
+
"@xyo-network/archivist": "^3.6.9",
|
|
47
|
+
"@xyo-network/archivist-indexeddb": "^3.6.9",
|
|
48
|
+
"@xyo-network/archivist-model": "^3.6.9",
|
|
49
|
+
"@xyo-network/bios": "^4.2.9",
|
|
50
|
+
"@xyo-network/bridge-model": "^3.6.9",
|
|
51
|
+
"@xyo-network/diviner-abstract": "^3.6.9",
|
|
52
|
+
"@xyo-network/diviner-model": "^3.6.9",
|
|
53
|
+
"@xyo-network/diviner-payload-generic": "^3.6.9",
|
|
54
|
+
"@xyo-network/diviner-payload-indexeddb": "^3.6.9",
|
|
55
|
+
"@xyo-network/diviner-payload-model": "^3.6.9",
|
|
56
|
+
"@xyo-network/diviner-temporal-indexing-model": "^3.6.9",
|
|
57
|
+
"@xyo-network/kernel": "^4.2.9",
|
|
58
|
+
"@xyo-network/kernel-model": "^4.2.9",
|
|
59
|
+
"@xyo-network/manifest": "^3.6.9",
|
|
60
|
+
"@xyo-network/manifest-wrapper": "^3.6.9",
|
|
61
|
+
"@xyo-network/module-event-emitter": "^3.6.9",
|
|
62
|
+
"@xyo-network/module-events": "^3.6.9",
|
|
63
|
+
"@xyo-network/module-factory-locator": "^3.6.9",
|
|
64
|
+
"@xyo-network/module-model": "^3.6.9",
|
|
65
|
+
"@xyo-network/module-resolver": "^3.6.9",
|
|
66
|
+
"@xyo-network/node-model": "^3.6.9",
|
|
67
|
+
"@xyo-network/os-model": "^4.2.9",
|
|
68
|
+
"@xyo-network/payload-builder": "^3.6.9",
|
|
69
|
+
"@xyo-network/payload-model": "^3.6.9",
|
|
70
|
+
"@xyo-network/storage-model": "^4.2.9",
|
|
71
|
+
"@xyo-network/wallet-model": "^3.6.9",
|
|
72
72
|
"async-mutex": "^0.5.0",
|
|
73
73
|
"chalk": "^5.4.1",
|
|
74
74
|
"cosmiconfig": "^9.0.0",
|
|
75
75
|
"cosmiconfig-typescript-loader": "^6.1.0",
|
|
76
|
-
"ethers": "^6.13.
|
|
76
|
+
"ethers": "^6.13.5",
|
|
77
77
|
"semver": "^7.6.3",
|
|
78
|
-
"terminal-kit": "^3.1.
|
|
79
|
-
"typescript": "^5.7.
|
|
80
|
-
"uuid": "^11.0.
|
|
78
|
+
"terminal-kit": "^3.1.2",
|
|
79
|
+
"typescript": "^5.7.3",
|
|
80
|
+
"uuid": "^11.0.5",
|
|
81
81
|
"yargs": "^17.7.2"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@types/node": "^22.10.
|
|
84
|
+
"@types/node": "^22.10.6",
|
|
85
85
|
"@types/semver": "^7.5.8",
|
|
86
|
-
"@types/terminal-kit": "^2.5.
|
|
86
|
+
"@types/terminal-kit": "^2.5.7",
|
|
87
87
|
"@types/uuid": "^10.0.0",
|
|
88
88
|
"@types/yargs": "^17.0.33",
|
|
89
89
|
"@xylabs/ts-scripts-yarn3": "^4.2.6",
|
|
90
90
|
"@xylabs/tsconfig": "^4.2.6",
|
|
91
|
-
"@xyo-network/bios-model": "^4.2.
|
|
92
|
-
"@xyo-network/bios-nodejs": "^4.2.
|
|
91
|
+
"@xyo-network/bios-model": "^4.2.9",
|
|
92
|
+
"@xyo-network/bios-nodejs": "^4.2.9",
|
|
93
93
|
"vitest": "^2.1.8"
|
|
94
94
|
},
|
|
95
95
|
"publishConfig": {
|
|
@@ -84,11 +84,11 @@ export class DappContextCreator {
|
|
|
84
84
|
// build nodes and attach to dappNodes to dappWindowNode
|
|
85
85
|
const dapp
|
|
86
86
|
= (await context.dappByName(this.dappId))
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
87
|
+
?? (await (async () => {
|
|
88
|
+
const dapp = await context.buildDapp(this.targetDappManifestParams[0], this.dappId)
|
|
89
|
+
await dapp.boot(this.rootWallet, this.sharedLocator)
|
|
90
|
+
return dapp
|
|
91
|
+
})())
|
|
92
92
|
await this.handleExternalModulePermissions(dapp.root)
|
|
93
93
|
await DappContextCreator.primeDappArchivist(dapp, this.context, this.dappId)
|
|
94
94
|
|
|
@@ -13,9 +13,9 @@ const DEFAULT_MONITORING_EVENT_NAME = 'System Task Duration'
|
|
|
13
13
|
|
|
14
14
|
globalThis.getXyOsGlobal
|
|
15
15
|
= globalThis.getXyOsGlobal
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
?? ((): XyOsGlobal => {
|
|
17
|
+
return { tracking: { trackEvent: (_event: string, _properties?: Record<string, unknown>) => void {} } }
|
|
18
|
+
})
|
|
19
19
|
|
|
20
20
|
// TODO: Make this node compatible
|
|
21
21
|
const xyOsGlobal = globalThis.getXyOsGlobal()
|