@agoric/vats 0.15.2-dev-db0b9d7.0 → 0.15.2-dev-e6cde48.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/vats",
|
|
3
|
-
"version": "0.15.2-dev-
|
|
3
|
+
"version": "0.15.2-dev-e6cde48.0+e6cde48",
|
|
4
4
|
"description": "Agoric's Vat library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
"author": "Agoric",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agoric/assert": "0.6.1-dev-
|
|
26
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
27
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
28
|
-
"@agoric/governance": "0.10.4-dev-
|
|
29
|
-
"@agoric/internal": "0.3.3-dev-
|
|
30
|
-
"@agoric/network": "0.1.1-dev-
|
|
31
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
32
|
-
"@agoric/store": "0.9.3-dev-
|
|
33
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
34
|
-
"@agoric/time": "0.3.3-dev-
|
|
35
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
36
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
37
|
-
"@agoric/zone": "0.2.3-dev-
|
|
25
|
+
"@agoric/assert": "0.6.1-dev-e6cde48.0+e6cde48",
|
|
26
|
+
"@agoric/cosmic-proto": "0.4.1-dev-e6cde48.0+e6cde48",
|
|
27
|
+
"@agoric/ertp": "0.16.3-dev-e6cde48.0+e6cde48",
|
|
28
|
+
"@agoric/governance": "0.10.4-dev-e6cde48.0+e6cde48",
|
|
29
|
+
"@agoric/internal": "0.3.3-dev-e6cde48.0+e6cde48",
|
|
30
|
+
"@agoric/network": "0.1.1-dev-e6cde48.0+e6cde48",
|
|
31
|
+
"@agoric/notifier": "0.6.3-dev-e6cde48.0+e6cde48",
|
|
32
|
+
"@agoric/store": "0.9.3-dev-e6cde48.0+e6cde48",
|
|
33
|
+
"@agoric/swingset-vat": "0.32.3-dev-e6cde48.0+e6cde48",
|
|
34
|
+
"@agoric/time": "0.3.3-dev-e6cde48.0+e6cde48",
|
|
35
|
+
"@agoric/vat-data": "0.5.3-dev-e6cde48.0+e6cde48",
|
|
36
|
+
"@agoric/zoe": "0.26.3-dev-e6cde48.0+e6cde48",
|
|
37
|
+
"@agoric/zone": "0.2.3-dev-e6cde48.0+e6cde48",
|
|
38
38
|
"@endo/far": "^1.1.1",
|
|
39
39
|
"@endo/import-bundle": "^1.1.1",
|
|
40
40
|
"@endo/marshal": "^1.4.1",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"jessie.js": "^0.3.4"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
48
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-e6cde48.0+e6cde48",
|
|
49
49
|
"@endo/bundle-source": "^3.2.2",
|
|
50
50
|
"@endo/init": "^1.1.1",
|
|
51
51
|
"ava": "^5.3.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"typeCoverage": {
|
|
79
79
|
"atLeast": 91.5
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "e6cde482e02072514bda74657b7e1a6928b1e8ec"
|
|
82
82
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export function upgradeZcfOnly({ consume: { vatStore } }: BootstrapPowers, options: {
|
|
2
|
+
options: {
|
|
3
|
+
zcfRef: VatSourceRef;
|
|
4
|
+
};
|
|
5
|
+
}): Promise<void>;
|
|
6
|
+
export function main({ consume: { vatStore } }: BootstrapPowers, options: {
|
|
7
|
+
options: {
|
|
8
|
+
zcfRef: VatSourceRef;
|
|
9
|
+
};
|
|
10
|
+
}): Promise<void>;
|
|
11
|
+
export namespace permit {
|
|
12
|
+
namespace consume {
|
|
13
|
+
let vatStore: boolean;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export const manifest: {
|
|
17
|
+
[x: string]: {
|
|
18
|
+
consume: {
|
|
19
|
+
vatStore: boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export function getManifestForUpgradingZcf(_powers: any, options: any): {
|
|
24
|
+
manifest: {
|
|
25
|
+
[x: string]: {
|
|
26
|
+
consume: {
|
|
27
|
+
vatStore: boolean;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
options: any;
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=zcf-only-proposal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zcf-only-proposal.d.ts","sourceRoot":"","sources":["zcf-only-proposal.js"],"names":[],"mappings":"AAQO,0DAJI,eAAe;IAEmB,OAAO,EAAzC;QAAE,MAAM,EAAE,YAAY,CAAA;KAAE;kBAUlC;AARM,gDAJI,eAAe;IAEmB,OAAO,EAAzC;QAAE,MAAM,EAAE,YAAY,CAAA;KAAE;kBAUlC;;;;;;AAYD;;;;;;EAEE;AAEK;;;;;;;;;EAGL"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
import { E } from '@endo/far';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @param {BootstrapPowers} powers
|
|
6
|
+
* @param {object} options
|
|
7
|
+
* @param {{ zcfRef: VatSourceRef }} options.options
|
|
8
|
+
*/
|
|
9
|
+
export const upgradeZcfOnly = async ({ consume: { vatStore } }, options) => {
|
|
10
|
+
const { zcfRef } = options.options;
|
|
11
|
+
|
|
12
|
+
const { root: zoeRoot } = await E(vatStore).get('zoe');
|
|
13
|
+
|
|
14
|
+
const zoeConfigFacet = await E(zoeRoot).getZoeConfigFacet();
|
|
15
|
+
await E(zoeConfigFacet).updateZcfBundleId(zcfRef.bundleID);
|
|
16
|
+
console.log(`ZCF BUNDLE ID: `, zcfRef.bundleID);
|
|
17
|
+
};
|
|
18
|
+
harden(upgradeZcfOnly);
|
|
19
|
+
|
|
20
|
+
// main and permit are for use with rollup-plugin-core-eval.js
|
|
21
|
+
export const main = upgradeZcfOnly;
|
|
22
|
+
|
|
23
|
+
export const permit = {
|
|
24
|
+
consume: {
|
|
25
|
+
vatStore: true,
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export const manifest = {
|
|
30
|
+
[upgradeZcfOnly.name]: permit,
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export const getManifestForUpgradingZcf = (_powers, options) => ({
|
|
34
|
+
manifest,
|
|
35
|
+
options,
|
|
36
|
+
});
|