@agoric/deploy-script-support 0.10.4-dev-9f5ae11.0.9f5ae11 → 0.10.4-dev-3294e0c.0.3294e0c
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/deploy-script-support",
|
|
3
|
-
"version": "0.10.4-dev-
|
|
3
|
+
"version": "0.10.4-dev-3294e0c.0.3294e0c",
|
|
4
4
|
"description": "Helpers and other support for writing deploy scripts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/helpers.js",
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@agoric/client-utils": "0.1.1-dev-
|
|
38
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
39
|
-
"@agoric/import-manager": "0.3.12-dev-
|
|
40
|
-
"@agoric/internal": "0.3.3-dev-
|
|
41
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
42
|
-
"@agoric/orchestration": "0.1.1-dev-
|
|
43
|
-
"@agoric/pola-io": "0.1.1-dev-
|
|
44
|
-
"@agoric/portfolio-api": "0.1.1-dev-
|
|
45
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
46
|
-
"@agoric/store": "0.9.3-dev-
|
|
47
|
-
"@agoric/time": "0.3.3-dev-
|
|
48
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
49
|
-
"@agoric/zone": "0.2.3-dev-
|
|
37
|
+
"@agoric/client-utils": "0.1.1-dev-3294e0c.0.3294e0c",
|
|
38
|
+
"@agoric/ertp": "0.16.3-dev-3294e0c.0.3294e0c",
|
|
39
|
+
"@agoric/import-manager": "0.3.12-dev-3294e0c.0.3294e0c",
|
|
40
|
+
"@agoric/internal": "0.3.3-dev-3294e0c.0.3294e0c",
|
|
41
|
+
"@agoric/notifier": "0.6.3-dev-3294e0c.0.3294e0c",
|
|
42
|
+
"@agoric/orchestration": "0.1.1-dev-3294e0c.0.3294e0c",
|
|
43
|
+
"@agoric/pola-io": "0.1.1-dev-3294e0c.0.3294e0c",
|
|
44
|
+
"@agoric/portfolio-api": "0.1.1-dev-3294e0c.0.3294e0c",
|
|
45
|
+
"@agoric/smart-wallet": "0.5.4-dev-3294e0c.0.3294e0c",
|
|
46
|
+
"@agoric/store": "0.9.3-dev-3294e0c.0.3294e0c",
|
|
47
|
+
"@agoric/time": "0.3.3-dev-3294e0c.0.3294e0c",
|
|
48
|
+
"@agoric/zoe": "0.26.3-dev-3294e0c.0.3294e0c",
|
|
49
|
+
"@agoric/zone": "0.2.3-dev-3294e0c.0.3294e0c",
|
|
50
50
|
"@endo/base64": "^1.0.12",
|
|
51
51
|
"@endo/bundle-source": "^4.1.2",
|
|
52
52
|
"@endo/errors": "^1.2.13",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@endo/zip": "^1.0.11"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@agoric/vats": "0.15.2-dev-
|
|
63
|
+
"@agoric/vats": "0.15.2-dev-3294e0c.0.3294e0c",
|
|
64
64
|
"@endo/init": "^1.1.12",
|
|
65
65
|
"ava": "^7.0.0",
|
|
66
66
|
"import-meta-resolve": "^4.1.0"
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"typeCoverage": {
|
|
84
84
|
"atLeast": 84.46
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "3294e0c1e81f8d145c6b57624d080908b935f524"
|
|
87
87
|
}
|
package/src/cachedBundleSpec.js
CHANGED
|
@@ -9,7 +9,7 @@ import { writeFileAtomic } from '@agoric/internal/src/build-cache.js';
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @param {string} cacheDir
|
|
12
|
-
* @param {{ now: typeof Date.now, fs: promises, pathResolve: typeof resolve, pid?: number }} param1
|
|
12
|
+
* @param {{ now: typeof Date.now, fs: typeof promises, pathResolve: typeof resolve, pid?: number }} param1
|
|
13
13
|
*/
|
|
14
14
|
export const makeCacheAndGetBundleSpec =
|
|
15
15
|
(cacheDir, { now, fs, pathResolve, pid = process.pid }) =>
|
|
@@ -39,7 +39,7 @@ export const permits = {
|
|
|
39
39
|
* @param {ManifestBundleRef} inputs.manifestBundleRef
|
|
40
40
|
* @param {FlatMethargs} inputs.getManifestCall
|
|
41
41
|
* @param {Manifest} [inputs.customManifest]
|
|
42
|
-
* @param {typeof E} inputs.E
|
|
42
|
+
* @param {typeof import('@endo/far').E} inputs.E
|
|
43
43
|
* @param {(...args: unknown[]) => void} [inputs.log]
|
|
44
44
|
* @param {(ref: ManifestBundleRef) => Promise<Installation<unknown>>} [inputs.customRestoreRef]
|
|
45
45
|
* @returns {(vatPowers: unknown) => Promise<unknown>}
|
|
@@ -188,7 +188,7 @@ export const makeCoreProposalBehavior = ({
|
|
|
188
188
|
/**
|
|
189
189
|
* @param {object} inputs
|
|
190
190
|
* @param {Array<{ ref: ManifestBundleRef, call: FlatMethargs, customManifest?: Manifest }>} inputs.metadataRecords
|
|
191
|
-
* @param {typeof E} inputs.E
|
|
191
|
+
* @param {typeof import('@endo/far').E} inputs.E
|
|
192
192
|
*/
|
|
193
193
|
export const makeEnactCoreProposalsFromBundleRef = ({ metadataRecords, E }) => {
|
|
194
194
|
/**
|
package/src/externalTypes.js
CHANGED
|
@@ -5,7 +5,7 @@ export {};
|
|
|
5
5
|
* @import {NameHub} from '@agoric/vats';
|
|
6
6
|
* @import {ZoeService} from '@agoric/zoe';
|
|
7
7
|
* @import {BundleSource} from '@endo/bundle-source';
|
|
8
|
-
* @
|
|
8
|
+
* @typedef {typeof import('node:fs/promises').writeFile} WriteFile
|
|
9
9
|
* @import {ERef} from '@agoric/vow';
|
|
10
10
|
* @import {ScratchPad} from '@agoric/internal/src/scratch.js';
|
|
11
11
|
* @import {CoreEvalMaterialRecord} from './writeCoreEvalParts.js';
|
package/src/parseCoreEvalArgs.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @import {DeployScriptEndownments} from './externalTypes.js';
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
/**
|
|
2
6
|
* To customize proposals for multiple environments, we pass the "variant"
|
|
3
7
|
* identifier in scriptArgs. The variant must match a knownVariant.
|
|
@@ -12,10 +16,6 @@ export const parseScriptArgs = async (endowments, name, knownVariants) => {
|
|
|
12
16
|
const variantOrConfig =
|
|
13
17
|
scriptArgs && scriptArgs.length > 0 ? scriptArgs : undefined;
|
|
14
18
|
|
|
15
|
-
/**
|
|
16
|
-
* @import {DeployScriptEndownments} from './externalTypes.js';
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
19
|
console.log(`${name}`, variantOrConfig);
|
|
20
20
|
|
|
21
21
|
const Usage = `agoric run ${name}.js ${[...knownVariants, '<json-config>'].join(' | ')}`;
|