@forgeax/engine-remote 0.1.35 → 0.1.37
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": "@forgeax/engine-remote",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.37",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"LICENSE"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@forgeax/engine-profiler": "0.1.
|
|
42
|
-
"@forgeax/engine-types": "0.1.
|
|
41
|
+
"@forgeax/engine-profiler": "0.1.37",
|
|
42
|
+
"@forgeax/engine-types": "0.1.37",
|
|
43
43
|
"ws": "^8.20.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -4,17 +4,17 @@ import { buildIntrospectDoc } from '../introspect';
|
|
|
4
4
|
|
|
5
5
|
describe('execution report structural root', () => {
|
|
6
6
|
const execution = {
|
|
7
|
-
report: () => ({
|
|
7
|
+
report: () => ({ workers: { kernels: { enabled: true } }, world: { health: 'healthy' } }),
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
it('is available to eval without importing the App owner', async () => {
|
|
11
|
-
const result = await executeScript('execution.report().
|
|
11
|
+
const result = await executeScript('execution.report().workers.kernels.enabled', {
|
|
12
12
|
world: {},
|
|
13
13
|
renderer: {},
|
|
14
14
|
assets: {},
|
|
15
15
|
execution,
|
|
16
16
|
});
|
|
17
|
-
expect(result).toEqual({ ok: true, value:
|
|
17
|
+
expect(result).toEqual({ ok: true, value: true });
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
it('projects the provider without adding an RPC method', () => {
|