@agoric/inter-protocol 0.16.2-dev-754698c.0.754698c → 0.16.2-dev-1d67c2a.0.1d67c2a
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 +18 -19
- package/source-spec-registry.js +67 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/inter-protocol",
|
|
3
|
-
"version": "0.16.2-dev-
|
|
3
|
+
"version": "0.16.2-dev-1d67c2a.0.1d67c2a",
|
|
4
4
|
"description": "Core cryptoeconomy contracts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -8,8 +8,6 @@
|
|
|
8
8
|
"node": "^20.9 || ^22.11"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "yarn build:bundles",
|
|
12
|
-
"build:bundles": "node ./scripts/build-bundles.js",
|
|
13
11
|
"prepack": "yarn run -T prepack-package",
|
|
14
12
|
"postpack": "yarn run -T postpack-package",
|
|
15
13
|
"test": "ava",
|
|
@@ -31,17 +29,17 @@
|
|
|
31
29
|
},
|
|
32
30
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
33
31
|
"dependencies": {
|
|
34
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
35
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
36
|
-
"@agoric/governance": "0.10.4-dev-
|
|
37
|
-
"@agoric/internal": "0.3.3-dev-
|
|
38
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
39
|
-
"@agoric/store": "0.9.3-dev-
|
|
40
|
-
"@agoric/time": "0.3.3-dev-
|
|
41
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
42
|
-
"@agoric/vats": "0.15.2-dev-
|
|
43
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
44
|
-
"@agoric/zone": "0.2.3-dev-
|
|
32
|
+
"@agoric/base-zone": "0.1.1-dev-1d67c2a.0.1d67c2a",
|
|
33
|
+
"@agoric/ertp": "0.16.3-dev-1d67c2a.0.1d67c2a",
|
|
34
|
+
"@agoric/governance": "0.10.4-dev-1d67c2a.0.1d67c2a",
|
|
35
|
+
"@agoric/internal": "0.3.3-dev-1d67c2a.0.1d67c2a",
|
|
36
|
+
"@agoric/notifier": "0.6.3-dev-1d67c2a.0.1d67c2a",
|
|
37
|
+
"@agoric/store": "0.9.3-dev-1d67c2a.0.1d67c2a",
|
|
38
|
+
"@agoric/time": "0.3.3-dev-1d67c2a.0.1d67c2a",
|
|
39
|
+
"@agoric/vat-data": "0.5.3-dev-1d67c2a.0.1d67c2a",
|
|
40
|
+
"@agoric/vats": "0.15.2-dev-1d67c2a.0.1d67c2a",
|
|
41
|
+
"@agoric/zoe": "0.26.3-dev-1d67c2a.0.1d67c2a",
|
|
42
|
+
"@agoric/zone": "0.2.3-dev-1d67c2a.0.1d67c2a",
|
|
45
43
|
"@endo/captp": "^4.4.8",
|
|
46
44
|
"@endo/errors": "^1.2.13",
|
|
47
45
|
"@endo/eventual-send": "^1.3.4",
|
|
@@ -52,9 +50,9 @@
|
|
|
52
50
|
"jessie.js": "^0.3.4"
|
|
53
51
|
},
|
|
54
52
|
"devDependencies": {
|
|
55
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
56
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
57
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
53
|
+
"@agoric/smart-wallet": "0.5.4-dev-1d67c2a.0.1d67c2a",
|
|
54
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-1d67c2a.0.1d67c2a",
|
|
55
|
+
"@agoric/swingset-vat": "0.32.3-dev-1d67c2a.0.1d67c2a",
|
|
58
56
|
"@endo/bundle-source": "^4.1.2",
|
|
59
57
|
"@endo/init": "^1.1.12",
|
|
60
58
|
"@endo/promise-kit": "^1.1.13",
|
|
@@ -65,7 +63,8 @@
|
|
|
65
63
|
"import-meta-resolve": "^4.1.0"
|
|
66
64
|
},
|
|
67
65
|
"files": [
|
|
68
|
-
"src"
|
|
66
|
+
"src",
|
|
67
|
+
"source-spec-registry.*"
|
|
69
68
|
],
|
|
70
69
|
"ava": {
|
|
71
70
|
"files": [
|
|
@@ -82,5 +81,5 @@
|
|
|
82
81
|
"typeCoverage": {
|
|
83
82
|
"atLeast": 95.3
|
|
84
83
|
},
|
|
85
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "1d67c2a384e8486c7638ab8e424f46e15f4b321d"
|
|
86
85
|
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { fileURLToPath } from 'url';
|
|
2
|
+
|
|
3
|
+
/** @param {string} packagePath */
|
|
4
|
+
const resolveSourceSpec = packagePath =>
|
|
5
|
+
fileURLToPath(import.meta.resolve(packagePath));
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Stable registry of bundleable source entries.
|
|
9
|
+
*
|
|
10
|
+
* Keys are logical contract IDs; values carry both the canonical bundle name
|
|
11
|
+
* and source spec so consumers don't need to pair these manually.
|
|
12
|
+
*/
|
|
13
|
+
export const interProtocolBundleSpecs = {
|
|
14
|
+
psm: {
|
|
15
|
+
bundleName: 'psm',
|
|
16
|
+
packagePath: '@agoric/inter-protocol/src/psm/psm.js',
|
|
17
|
+
sourceSpec: resolveSourceSpec('@agoric/inter-protocol/src/psm/psm.js'),
|
|
18
|
+
},
|
|
19
|
+
econCommitteeCharter: {
|
|
20
|
+
bundleName: 'econCommitteeCharter',
|
|
21
|
+
packagePath: '@agoric/inter-protocol/src/econCommitteeCharter.js',
|
|
22
|
+
sourceSpec: resolveSourceSpec(
|
|
23
|
+
'@agoric/inter-protocol/src/econCommitteeCharter.js',
|
|
24
|
+
),
|
|
25
|
+
},
|
|
26
|
+
provisionPool: {
|
|
27
|
+
bundleName: 'provisionPool',
|
|
28
|
+
packagePath: '@agoric/inter-protocol/src/provisionPool.js',
|
|
29
|
+
sourceSpec: resolveSourceSpec(
|
|
30
|
+
'@agoric/inter-protocol/src/provisionPool.js',
|
|
31
|
+
),
|
|
32
|
+
},
|
|
33
|
+
priceAggregator: {
|
|
34
|
+
bundleName: 'priceAggregator',
|
|
35
|
+
packagePath: '@agoric/inter-protocol/src/price/fluxAggregatorContract.js',
|
|
36
|
+
sourceSpec: resolveSourceSpec(
|
|
37
|
+
'@agoric/inter-protocol/src/price/fluxAggregatorContract.js',
|
|
38
|
+
),
|
|
39
|
+
},
|
|
40
|
+
vaultFactory: {
|
|
41
|
+
bundleName: 'vaultFactory',
|
|
42
|
+
packagePath: '@agoric/inter-protocol/src/vaultFactory/vaultFactory.js',
|
|
43
|
+
sourceSpec: resolveSourceSpec(
|
|
44
|
+
'@agoric/inter-protocol/src/vaultFactory/vaultFactory.js',
|
|
45
|
+
),
|
|
46
|
+
},
|
|
47
|
+
feeDistributor: {
|
|
48
|
+
bundleName: 'feeDistributor',
|
|
49
|
+
packagePath: '@agoric/inter-protocol/src/feeDistributor.js',
|
|
50
|
+
sourceSpec: resolveSourceSpec(
|
|
51
|
+
'@agoric/inter-protocol/src/feeDistributor.js',
|
|
52
|
+
),
|
|
53
|
+
},
|
|
54
|
+
reserve: {
|
|
55
|
+
bundleName: 'reserve',
|
|
56
|
+
packagePath: '@agoric/inter-protocol/src/reserve/assetReserve.js',
|
|
57
|
+
sourceSpec: resolveSourceSpec(
|
|
58
|
+
'@agoric/inter-protocol/src/reserve/assetReserve.js',
|
|
59
|
+
),
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @param {keyof typeof interProtocolBundleSpecs} name
|
|
65
|
+
*/
|
|
66
|
+
export const getInterProtocolBundleSpec = name =>
|
|
67
|
+
interProtocolBundleSpecs[name];
|