@agoric/solo 0.10.4-dev-fb76d70.0 → 0.10.4-dev-eb1d655.0
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 +16 -16
- package/src/vat-http.js +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/solo",
|
|
3
|
-
"version": "0.10.4-dev-
|
|
3
|
+
"version": "0.10.4-dev-eb1d655.0+eb1d655",
|
|
4
4
|
"description": "Agoric's Solo vat runner",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
"author": "Agoric",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agoric/access-token": "0.4.22-dev-
|
|
26
|
-
"@agoric/cache": "0.3.3-dev-
|
|
27
|
-
"@agoric/cosmic-swingset": "0.41.4-dev-
|
|
28
|
-
"@agoric/internal": "0.3.3-dev-
|
|
29
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
30
|
-
"@agoric/spawner": "0.6.9-dev-
|
|
31
|
-
"@agoric/store": "0.9.3-dev-
|
|
32
|
-
"@agoric/swing-store": "0.9.2-dev-
|
|
33
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
34
|
-
"@agoric/telemetry": "0.6.3-dev-
|
|
35
|
-
"@agoric/time": "0.3.3-dev-
|
|
36
|
-
"@agoric/vats": "0.15.2-dev-
|
|
37
|
-
"@agoric/wallet": "0.18.4-dev-
|
|
25
|
+
"@agoric/access-token": "0.4.22-dev-eb1d655.0+eb1d655",
|
|
26
|
+
"@agoric/cache": "0.3.3-dev-eb1d655.0+eb1d655",
|
|
27
|
+
"@agoric/cosmic-swingset": "0.41.4-dev-eb1d655.0+eb1d655",
|
|
28
|
+
"@agoric/internal": "0.3.3-dev-eb1d655.0+eb1d655",
|
|
29
|
+
"@agoric/notifier": "0.6.3-dev-eb1d655.0+eb1d655",
|
|
30
|
+
"@agoric/spawner": "0.6.9-dev-eb1d655.0+eb1d655",
|
|
31
|
+
"@agoric/store": "0.9.3-dev-eb1d655.0+eb1d655",
|
|
32
|
+
"@agoric/swing-store": "0.9.2-dev-eb1d655.0+eb1d655",
|
|
33
|
+
"@agoric/swingset-vat": "0.32.3-dev-eb1d655.0+eb1d655",
|
|
34
|
+
"@agoric/telemetry": "0.6.3-dev-eb1d655.0+eb1d655",
|
|
35
|
+
"@agoric/time": "0.3.3-dev-eb1d655.0+eb1d655",
|
|
36
|
+
"@agoric/vats": "0.15.2-dev-eb1d655.0+eb1d655",
|
|
37
|
+
"@agoric/wallet": "0.18.4-dev-eb1d655.0+eb1d655",
|
|
38
38
|
"@endo/captp": "^4.4.2",
|
|
39
39
|
"@endo/errors": "^1.2.7",
|
|
40
40
|
"@endo/eventual-send": "^1.2.7",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"ws": "^7.2.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
58
|
+
"@agoric/ertp": "0.16.3-dev-eb1d655.0+eb1d655",
|
|
59
59
|
"@endo/bundle-source": "^3.4.2",
|
|
60
60
|
"ava": "^5.3.0",
|
|
61
61
|
"c8": "^9.1.0"
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"typeCoverage": {
|
|
80
80
|
"atLeast": 74.05
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "eb1d655e6b33c0044138e95867ae8ad527115de3"
|
|
83
83
|
}
|
package/src/vat-http.js
CHANGED
|
@@ -3,6 +3,7 @@ import { E } from '@endo/eventual-send';
|
|
|
3
3
|
import { makePromiseKit } from '@endo/promise-kit';
|
|
4
4
|
import { Far } from '@endo/marshal';
|
|
5
5
|
|
|
6
|
+
import { deepCopyJsonable } from '@agoric/internal/src/js-utils.js';
|
|
6
7
|
import { makeNotifierKit } from '@agoric/notifier';
|
|
7
8
|
import { makeCache } from '@agoric/cache';
|
|
8
9
|
import { getReplHandler } from '@agoric/vats/src/repl.js';
|
|
@@ -82,7 +83,7 @@ export function buildRootObject(vatPowers) {
|
|
|
82
83
|
D(commandDevice).sendResponse(
|
|
83
84
|
count,
|
|
84
85
|
isException,
|
|
85
|
-
obj ||
|
|
86
|
+
obj || deepCopyJsonable(obj),
|
|
86
87
|
);
|
|
87
88
|
|
|
88
89
|
// Map an URL only to its latest handler.
|
|
@@ -186,7 +187,7 @@ export function buildRootObject(vatPowers) {
|
|
|
186
187
|
// Launder the data, since the command device tends to pass device nodes
|
|
187
188
|
// when there are empty objects, which screw things up for us.
|
|
188
189
|
// Analysis is in https://github.com/Agoric/agoric-sdk/pull/1956
|
|
189
|
-
const obj =
|
|
190
|
+
const obj = deepCopyJsonable(rawObj);
|
|
190
191
|
console.debug(
|
|
191
192
|
`vat-http.inbound (from browser) ${count}`,
|
|
192
193
|
JSON.stringify(obj, undefined, 2),
|