@agoric/pegasus 0.7.13-dev-fed2b5e.0 → 0.7.13-dev-35e67be.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 +12 -14
- package/src/pegasus.js +2 -2
- package/scripts/build-bundles.js +0 -9
- package/scripts/init-core.js +0 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/pegasus",
|
|
3
|
-
"version": "0.7.13-dev-
|
|
3
|
+
"version": "0.7.13-dev-35e67be.0+35e67be",
|
|
4
4
|
"description": "Peg-as-us contract",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/pegasus.js",
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
"node": ">=14.15.0"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "
|
|
12
|
-
"build:bundles": "node scripts/build-bundles.js",
|
|
11
|
+
"build": "exit 0",
|
|
13
12
|
"test": "ava",
|
|
14
13
|
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
|
|
15
14
|
"test:xs": "exit 0",
|
|
@@ -29,15 +28,15 @@
|
|
|
29
28
|
},
|
|
30
29
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
31
30
|
"dependencies": {
|
|
32
|
-
"@agoric/assert": "0.6.1-dev-
|
|
33
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
34
|
-
"@agoric/internal": "0.3.3-dev-
|
|
35
|
-
"@agoric/network": "0.1.1-dev-
|
|
36
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
37
|
-
"@agoric/store": "0.9.3-dev-
|
|
38
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
39
|
-
"@agoric/vats": "0.15.2-dev-
|
|
40
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
31
|
+
"@agoric/assert": "0.6.1-dev-35e67be.0+35e67be",
|
|
32
|
+
"@agoric/ertp": "0.16.3-dev-35e67be.0+35e67be",
|
|
33
|
+
"@agoric/internal": "0.3.3-dev-35e67be.0+35e67be",
|
|
34
|
+
"@agoric/network": "0.1.1-dev-35e67be.0+35e67be",
|
|
35
|
+
"@agoric/notifier": "0.6.3-dev-35e67be.0+35e67be",
|
|
36
|
+
"@agoric/store": "0.9.3-dev-35e67be.0+35e67be",
|
|
37
|
+
"@agoric/swingset-vat": "0.32.3-dev-35e67be.0+35e67be",
|
|
38
|
+
"@agoric/vats": "0.15.2-dev-35e67be.0+35e67be",
|
|
39
|
+
"@agoric/zoe": "0.26.3-dev-35e67be.0+35e67be",
|
|
41
40
|
"@endo/bundle-source": "^2.5.2",
|
|
42
41
|
"@endo/captp": "^3.1.2",
|
|
43
42
|
"@endo/far": "^0.2.19",
|
|
@@ -46,7 +45,6 @@
|
|
|
46
45
|
"@endo/promise-kit": "^0.2.57"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
49
|
-
"@agoric/deploy-script-support": "0.10.4-dev-fed2b5e.0+fed2b5e",
|
|
50
48
|
"ava": "^5.3.0",
|
|
51
49
|
"c8": "^7.13.0",
|
|
52
50
|
"import-meta-resolve": "^2.2.1"
|
|
@@ -66,5 +64,5 @@
|
|
|
66
64
|
"publishConfig": {
|
|
67
65
|
"access": "public"
|
|
68
66
|
},
|
|
69
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "35e67bed9eae0896e32b549ad0d1fd02fb83a905"
|
|
70
68
|
}
|
package/src/pegasus.js
CHANGED
|
@@ -303,9 +303,9 @@ const makePegasus = (zcf, board, namesByAddress) => {
|
|
|
303
303
|
checkAbort = () => {
|
|
304
304
|
throw reason;
|
|
305
305
|
};
|
|
306
|
-
|
|
306
|
+
for (const peg of pegs) {
|
|
307
307
|
pegToDenomState.delete(peg);
|
|
308
|
-
}
|
|
308
|
+
}
|
|
309
309
|
},
|
|
310
310
|
});
|
|
311
311
|
return pegasusConnectionActions;
|
package/scripts/build-bundles.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
#! /usr/bin/env node
|
|
2
|
-
import '@endo/init';
|
|
3
|
-
import { extractProposalBundles } from '@agoric/deploy-script-support';
|
|
4
|
-
import url from 'url';
|
|
5
|
-
|
|
6
|
-
import { defaultProposalBuilder } from './init-core.js';
|
|
7
|
-
|
|
8
|
-
const dirname = url.fileURLToPath(new URL('.', import.meta.url));
|
|
9
|
-
extractProposalBundles([['.', defaultProposalBuilder]], dirname);
|
package/scripts/init-core.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { makeHelpers } from '@agoric/deploy-script-support';
|
|
2
|
-
|
|
3
|
-
/** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
|
|
4
|
-
export const defaultProposalBuilder = async ({ publishRef, install }) =>
|
|
5
|
-
harden({
|
|
6
|
-
sourceSpec: '../src/proposals/core-proposal.js',
|
|
7
|
-
getManifestCall: [
|
|
8
|
-
'getManifestForPegasus',
|
|
9
|
-
{
|
|
10
|
-
pegasusRef: publishRef(
|
|
11
|
-
install('../src/pegasus.js', '../bundles/bundle-pegasus.js'),
|
|
12
|
-
),
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
export default async (homeP, endowments) => {
|
|
18
|
-
const { writeCoreProposal } = await makeHelpers(homeP, endowments);
|
|
19
|
-
await writeCoreProposal('gov-pegasus', defaultProposalBuilder);
|
|
20
|
-
};
|