@agoric/solo 0.10.4-dev-735a449.0 → 0.10.4-dev-ef2b3a9.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 +17 -17
- package/src/web.js +2 -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-ef2b3a9.0+ef2b3a9",
|
|
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-ef2b3a9.0+ef2b3a9",
|
|
26
|
+
"@agoric/cache": "0.3.3-dev-ef2b3a9.0+ef2b3a9",
|
|
27
|
+
"@agoric/cosmic-swingset": "0.41.4-dev-ef2b3a9.0+ef2b3a9",
|
|
28
|
+
"@agoric/internal": "0.3.3-dev-ef2b3a9.0+ef2b3a9",
|
|
29
|
+
"@agoric/notifier": "0.6.3-dev-ef2b3a9.0+ef2b3a9",
|
|
30
|
+
"@agoric/spawner": "0.6.9-dev-ef2b3a9.0+ef2b3a9",
|
|
31
|
+
"@agoric/store": "0.9.3-dev-ef2b3a9.0+ef2b3a9",
|
|
32
|
+
"@agoric/swing-store": "0.9.2-dev-ef2b3a9.0+ef2b3a9",
|
|
33
|
+
"@agoric/swingset-vat": "0.32.3-dev-ef2b3a9.0+ef2b3a9",
|
|
34
|
+
"@agoric/telemetry": "0.6.3-dev-ef2b3a9.0+ef2b3a9",
|
|
35
|
+
"@agoric/time": "0.3.3-dev-ef2b3a9.0+ef2b3a9",
|
|
36
|
+
"@agoric/vats": "0.15.2-dev-ef2b3a9.0+ef2b3a9",
|
|
37
|
+
"@agoric/wallet": "0.18.4-dev-ef2b3a9.0+ef2b3a9",
|
|
38
38
|
"@endo/captp": "^4.4.0",
|
|
39
39
|
"@endo/errors": "^1.2.6",
|
|
40
40
|
"@endo/eventual-send": "^1.2.6",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"anylogger": "^0.21.0",
|
|
46
46
|
"deterministic-json": "^1.0.5",
|
|
47
47
|
"esm": "agoric-labs/esm#Agoric-built",
|
|
48
|
-
"express": "^
|
|
48
|
+
"express": "^5.0.1",
|
|
49
49
|
"http-proxy-middleware": "^2.0.6",
|
|
50
50
|
"import-meta-resolve": "^2.2.1",
|
|
51
51
|
"minimist": "^1.2.0",
|
|
@@ -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-ef2b3a9.0+ef2b3a9",
|
|
59
59
|
"@endo/bundle-source": "^3.4.1",
|
|
60
60
|
"ava": "^5.3.0",
|
|
61
61
|
"c8": "^9.1.0"
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"typeCoverage": {
|
|
80
80
|
"atLeast": 73.54
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "ef2b3a9044032c2d13b95afee3ce15b02ba2b02c"
|
|
83
83
|
}
|
package/src/web.js
CHANGED
|
@@ -172,7 +172,7 @@ export async function makeHTTPListener(
|
|
|
172
172
|
app.use('/wallet', express.static(walletHtmlDir));
|
|
173
173
|
|
|
174
174
|
// Default non-bridge GETs to /wallet/index.html for history routing.
|
|
175
|
-
app.get('/wallet
|
|
175
|
+
app.get('/wallet/:slug', (_, res) =>
|
|
176
176
|
res.sendFile(path.resolve(walletHtmlDir, 'index.html')),
|
|
177
177
|
);
|
|
178
178
|
}
|
|
@@ -218,7 +218,7 @@ export async function makeHTTPListener(
|
|
|
218
218
|
};
|
|
219
219
|
|
|
220
220
|
// accept POST messages as commands.
|
|
221
|
-
app.post('
|
|
221
|
+
app.post(':path', async (req, res) => {
|
|
222
222
|
const valid = await validateAccessToken(req);
|
|
223
223
|
if (!valid) {
|
|
224
224
|
res.json({ ok: false, rej: 'Unauthorized' });
|