@agoric/solo 0.10.4-dev-662598c.0 → 0.10.4-dev-276bcab.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/solo",
3
- "version": "0.10.4-dev-662598c.0+662598c",
3
+ "version": "0.10.4-dev-276bcab.0+276bcab",
4
4
  "description": "Agoric's Solo vat runner",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,20 +22,20 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/access-token": "0.4.22-dev-662598c.0+662598c",
26
- "@agoric/cache": "0.3.3-dev-662598c.0+662598c",
27
- "@agoric/cosmic-proto": "0.4.1-dev-662598c.0+662598c",
28
- "@agoric/cosmic-swingset": "0.41.4-dev-662598c.0+662598c",
29
- "@agoric/internal": "0.3.3-dev-662598c.0+662598c",
30
- "@agoric/notifier": "0.6.3-dev-662598c.0+662598c",
31
- "@agoric/spawner": "0.6.9-dev-662598c.0+662598c",
32
- "@agoric/store": "0.9.3-dev-662598c.0+662598c",
33
- "@agoric/swing-store": "0.9.2-dev-662598c.0+662598c",
34
- "@agoric/swingset-vat": "0.32.3-dev-662598c.0+662598c",
35
- "@agoric/telemetry": "0.6.3-dev-662598c.0+662598c",
36
- "@agoric/time": "0.3.3-dev-662598c.0+662598c",
37
- "@agoric/vats": "0.15.2-dev-662598c.0+662598c",
38
- "@agoric/wallet": "0.18.4-dev-662598c.0+662598c",
25
+ "@agoric/access-token": "0.4.22-dev-276bcab.0+276bcab",
26
+ "@agoric/cache": "0.3.3-dev-276bcab.0+276bcab",
27
+ "@agoric/cosmic-proto": "0.4.1-dev-276bcab.0+276bcab",
28
+ "@agoric/cosmic-swingset": "0.41.4-dev-276bcab.0+276bcab",
29
+ "@agoric/internal": "0.3.3-dev-276bcab.0+276bcab",
30
+ "@agoric/notifier": "0.6.3-dev-276bcab.0+276bcab",
31
+ "@agoric/spawner": "0.6.9-dev-276bcab.0+276bcab",
32
+ "@agoric/store": "0.9.3-dev-276bcab.0+276bcab",
33
+ "@agoric/swing-store": "0.9.2-dev-276bcab.0+276bcab",
34
+ "@agoric/swingset-vat": "0.32.3-dev-276bcab.0+276bcab",
35
+ "@agoric/telemetry": "0.6.3-dev-276bcab.0+276bcab",
36
+ "@agoric/time": "0.3.3-dev-276bcab.0+276bcab",
37
+ "@agoric/vats": "0.15.2-dev-276bcab.0+276bcab",
38
+ "@agoric/wallet": "0.18.4-dev-276bcab.0+276bcab",
39
39
  "@endo/base64": "^1.0.9",
40
40
  "@endo/captp": "^4.4.5",
41
41
  "@endo/errors": "^1.2.10",
@@ -46,7 +46,6 @@
46
46
  "@endo/promise-kit": "^1.1.10",
47
47
  "anylogger": "^0.21.0",
48
48
  "deterministic-json": "^1.0.5",
49
- "esm": "agoric-labs/esm#Agoric-built",
50
49
  "express": "^5.0.1",
51
50
  "http-proxy-middleware": "^2.0.6",
52
51
  "import-meta-resolve": "^4.1.0",
@@ -57,7 +56,7 @@
57
56
  "ws": "^7.2.0"
58
57
  },
59
58
  "devDependencies": {
60
- "@agoric/ertp": "0.16.3-dev-662598c.0+662598c",
59
+ "@agoric/ertp": "0.16.3-dev-276bcab.0+276bcab",
61
60
  "@endo/bundle-source": "^4.0.0",
62
61
  "ava": "^5.3.0",
63
62
  "c8": "^10.1.3"
@@ -81,5 +80,5 @@
81
80
  "typeCoverage": {
82
81
  "atLeast": 73.95
83
82
  },
84
- "gitHead": "662598c30fc52fe1a9e9ea6d0ce9e46cfb705a7f"
83
+ "gitHead": "276bcabc1afd3745f168ca9d48283ff874173a3e"
85
84
  }
package/src/entrypoint.js CHANGED
@@ -1,10 +1,5 @@
1
1
  #! /usr/bin/env node
2
2
 
3
- import '@endo/init/pre-bundle-source.js';
4
-
5
- // Needed for legacy plugin support (dapp-oracle, for one).
6
- import 'esm';
7
-
8
3
  // we need to enable Math.random as a workaround for 'brace-expansion' module
9
4
  // (dep chain: temp->glob->minimatch->brace-expansion)
10
5
  import '@endo/init/legacy.js';
package/src/start.js CHANGED
@@ -9,8 +9,6 @@ import { promisify } from 'util';
9
9
  import { resolve as importMetaResolve } from 'import-meta-resolve';
10
10
  // import { createHash } from 'crypto';
11
11
 
12
- import createRequire from 'esm';
13
-
14
12
  import anylogger from 'anylogger';
15
13
 
16
14
  // import connect from 'lotion-connect';
@@ -53,9 +51,6 @@ import { connectToChain } from './chain-cosmos-sdk.js';
53
51
 
54
52
  const log = anylogger('start');
55
53
 
56
- // FIXME: Needed for legacy plugins.
57
- const esmRequire = createRequire(/** @type {any} */ ({}));
58
-
59
54
  let swingSetRunning = false;
60
55
 
61
56
  const fsWrite = promisify(fs.write);
@@ -138,7 +133,7 @@ const buildSwingset = async (
138
133
 
139
134
  // TODO: Detect the module type and use the appropriate loader, just like
140
135
  // `agoric deploy`.
141
- return esmRequire(pluginFile);
136
+ return import(pluginFile);
142
137
  };
143
138
 
144
139
  const plugin = buildPlugin(pluginDir, importPlugin, queueThunkForKernel);