@agoric/deploy-script-support 0.10.4-dev-1145be3.0.1145be3 → 0.10.4-dev-b084a06.0.b084a06
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 -12
- package/src/assertOfferResult.js +1 -0
- package/src/coreProposalBehavior.js +1 -7
- package/src/depositInvitation.js +2 -1
- package/src/endo-pieces-contract.js +5 -0
- package/src/externalTypes.js +12 -6
- package/src/helpers.js +0 -2
- package/src/install.js +2 -0
- package/src/offer.js +2 -1
- package/src/saveIssuer.js +1 -0
- package/src/startInstance.js +2 -1
- package/src/writeCoreEvalParts.js +1 -1
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-b084a06.0.b084a06",
|
|
4
4
|
"description": "Helpers and other support for writing deploy scripts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/helpers.js",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
38
|
-
"@agoric/import-manager": "0.3.12-dev-
|
|
39
|
-
"@agoric/internal": "0.3.3-dev-
|
|
40
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
41
|
-
"@agoric/pola-io": "0.1.1-dev-
|
|
42
|
-
"@agoric/store": "0.9.3-dev-
|
|
43
|
-
"@agoric/time": "0.3.3-dev-
|
|
44
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
37
|
+
"@agoric/ertp": "0.16.3-dev-b084a06.0.b084a06",
|
|
38
|
+
"@agoric/import-manager": "0.3.12-dev-b084a06.0.b084a06",
|
|
39
|
+
"@agoric/internal": "0.3.3-dev-b084a06.0.b084a06",
|
|
40
|
+
"@agoric/notifier": "0.6.3-dev-b084a06.0.b084a06",
|
|
41
|
+
"@agoric/pola-io": "0.1.1-dev-b084a06.0.b084a06",
|
|
42
|
+
"@agoric/store": "0.9.3-dev-b084a06.0.b084a06",
|
|
43
|
+
"@agoric/time": "0.3.3-dev-b084a06.0.b084a06",
|
|
44
|
+
"@agoric/zoe": "0.26.3-dev-b084a06.0.b084a06",
|
|
45
45
|
"@endo/base64": "^1.0.12",
|
|
46
46
|
"@endo/bundle-source": "^4.1.2",
|
|
47
47
|
"@endo/errors": "^1.2.13",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@endo/zip": "^1.0.11"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@agoric/vats": "0.15.2-dev-
|
|
55
|
+
"@agoric/vats": "0.15.2-dev-b084a06.0.b084a06",
|
|
56
56
|
"@endo/init": "^1.1.12",
|
|
57
57
|
"ava": "^6.4.1",
|
|
58
58
|
"import-meta-resolve": "^4.1.0"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
75
|
"typeCoverage": {
|
|
76
|
-
"atLeast":
|
|
76
|
+
"atLeast": 84.46
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "b084a067b866127f7d05c66e6865750132c4a7d8"
|
|
79
79
|
}
|
package/src/assertOfferResult.js
CHANGED
|
@@ -5,13 +5,7 @@ const t = 'makeCoreProposalBehavior';
|
|
|
5
5
|
* @import {Installation} from '@agoric/zoe/src/zoeService/utils.js';
|
|
6
6
|
* @import {E} from '@endo/far';
|
|
7
7
|
* @import {ManifestBundleRef} from './externalTypes.js';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* TODO import these from @agoric/vats when the types are better managed
|
|
12
|
-
*
|
|
13
|
-
* @typedef {*} ChainBootstrapSpace
|
|
14
|
-
* @typedef {*} BootstrapPowers
|
|
8
|
+
* @import {BootstrapPowers, ChainBootstrapSpace} from '@agoric/vats/src/core/types.js';
|
|
15
9
|
*/
|
|
16
10
|
|
|
17
11
|
/**
|
package/src/depositInvitation.js
CHANGED
|
@@ -3,7 +3,8 @@ import { E } from '@endo/far';
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @import {Amount, Brand, Issuer, Payment, Purse} from '@agoric/ertp';
|
|
6
|
-
* @import {InvitationDetails} from '@agoric/zoe';
|
|
6
|
+
* @import {Invitation, InvitationDetails} from '@agoric/zoe';
|
|
7
|
+
* @import {ERef} from '@agoric/vow';
|
|
7
8
|
*/
|
|
8
9
|
|
|
9
10
|
/**
|
|
@@ -4,6 +4,11 @@ import { E, Far } from '@endo/far';
|
|
|
4
4
|
import { encodeBase64, decodeBase64 } from '@endo/base64';
|
|
5
5
|
import { ZipWriter } from '@endo/zip';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* @import {ZoeService} from '@agoric/zoe';
|
|
9
|
+
* @import {ERef} from '@agoric/vow';
|
|
10
|
+
*/
|
|
11
|
+
|
|
7
12
|
export const start = () => {
|
|
8
13
|
/** @type { Map<string, [string, Uint8Array]>} */
|
|
9
14
|
const hashToEntry = new Map();
|
package/src/externalTypes.js
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
/* eslint-disable @agoric/group-jsdoc-imports */
|
|
2
1
|
// @ts-check
|
|
3
2
|
export {};
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* @import {NameHub} from '@agoric/vats';
|
|
6
|
+
* @import {ZoeService} from '@agoric/zoe';
|
|
7
|
+
* @import {BundleSource} from '@endo/bundle-source';
|
|
8
|
+
* @import {ERef} from '@agoric/vow';
|
|
9
|
+
* @import {ScratchPad} from '@agoric/internal/src/scratch.js';
|
|
10
|
+
* @import {Bank} from '@agoric/vats/src/vat-bank.js';
|
|
11
|
+
* @import {Board} from '@agoric/vats';
|
|
12
|
+
* @import {NameAdmin} from '@agoric/vats';
|
|
7
13
|
*/
|
|
8
14
|
|
|
9
15
|
// TODO move this type somewhere better
|
|
@@ -55,7 +61,7 @@ export {};
|
|
|
55
61
|
|
|
56
62
|
/**
|
|
57
63
|
* @typedef {{
|
|
58
|
-
* bundleSource:
|
|
64
|
+
* bundleSource: BundleSource,
|
|
59
65
|
* cacheDir: string,
|
|
60
66
|
* lookup: (...path: string[]) => unknown,
|
|
61
67
|
* now: () => number,
|
|
@@ -67,7 +73,7 @@ export {};
|
|
|
67
73
|
|
|
68
74
|
/**
|
|
69
75
|
* @typedef {{
|
|
70
|
-
* scratch: ERef<
|
|
76
|
+
* scratch: ERef<ScratchPad>,
|
|
71
77
|
* }} CommonHome
|
|
72
78
|
*/
|
|
73
79
|
|
|
@@ -75,10 +81,10 @@ export {};
|
|
|
75
81
|
/**
|
|
76
82
|
* @typedef {CommonHome & {
|
|
77
83
|
* agoricNames: ERef<NameHub>,
|
|
78
|
-
* bank: ERef<
|
|
79
|
-
* board: ERef<
|
|
84
|
+
* bank: ERef<Bank>,
|
|
85
|
+
* board: ERef<Board>,
|
|
80
86
|
* faucet: unknown,
|
|
81
|
-
* myAddressNameAdmin: ERef<
|
|
87
|
+
* myAddressNameAdmin: ERef<NameAdmin>,
|
|
82
88
|
* namesByAddress: ERef<NameHub>,
|
|
83
89
|
* wallet: any,
|
|
84
90
|
* zoe: ERef<ZoeService>,
|
package/src/helpers.js
CHANGED
package/src/install.js
CHANGED
|
@@ -5,7 +5,9 @@ import { E } from '@endo/far';
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @import {Petname} from '@agoric/deploy-script-support/src/externalTypes.js'
|
|
8
|
+
* @import {Installation, ZoeService} from '@agoric/zoe';
|
|
8
9
|
* @import {InstallationManager} from './startInstance.js';
|
|
10
|
+
* @import {ERef} from '@agoric/vow';
|
|
9
11
|
*/
|
|
10
12
|
|
|
11
13
|
// XXX board is Board but specifying that leads to type errors with imports which aren't worth fixing right now
|
package/src/offer.js
CHANGED
|
@@ -8,7 +8,8 @@ import { objectMap } from '@agoric/internal';
|
|
|
8
8
|
/**
|
|
9
9
|
* @import {Petname} from '@agoric/deploy-script-support/src/externalTypes.js';
|
|
10
10
|
* @import {Amount, Brand, Issuer, Payment, Purse} from '@agoric/ertp';
|
|
11
|
-
* @import {InvitationDetails, Keyword, Proposal} from '@agoric/zoe';
|
|
11
|
+
* @import {Invitation, InvitationAmount, InvitationDetails, Keyword, Proposal, ProposalRecord, ZoeService} from '@agoric/zoe';
|
|
12
|
+
* @import {ERef} from '@agoric/vow';
|
|
12
13
|
*/
|
|
13
14
|
|
|
14
15
|
/**
|
package/src/saveIssuer.js
CHANGED
|
@@ -5,6 +5,7 @@ import { E } from '@endo/far';
|
|
|
5
5
|
* @import {Petname} from '@agoric/deploy-script-support/src/externalTypes.js';
|
|
6
6
|
* @import {Amount, Brand, Issuer, Payment} from '@agoric/ertp';
|
|
7
7
|
* @import {IssuerManager} from './startInstance.js';
|
|
8
|
+
* @import {ERef} from '@agoric/vow';
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/**
|
package/src/startInstance.js
CHANGED
|
@@ -6,7 +6,8 @@ import { E, passStyleOf } from '@endo/far';
|
|
|
6
6
|
/**
|
|
7
7
|
* @import {Petname} from '@agoric/deploy-script-support/src/externalTypes.js';
|
|
8
8
|
* @import {Amount, Brand, Issuer, Payment, Purse} from '@agoric/ertp';
|
|
9
|
-
* @import {IssuerKeywordRecord, Keyword} from '@agoric/zoe';
|
|
9
|
+
* @import {Instance, Installation, IssuerKeywordRecord, Keyword, ZoeService} from '@agoric/zoe';
|
|
10
|
+
* @import {ERef} from '@agoric/vow';
|
|
10
11
|
*/
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @import {BundleSource, BundleSourceResult} from '@endo/bundle-source';
|
|
15
|
-
* @import {AgSoloHome,
|
|
15
|
+
* @import {AgSoloHome, CommonHome, CoreEvalBuilder, CoreEvalDescriptor, ManifestBundleRef} from './externalTypes.js';
|
|
16
16
|
* @import {BundleMaker} from './getBundlerMaker.js';
|
|
17
17
|
* @import {Bundler} from './getBundlerMaker.js';
|
|
18
18
|
*/
|