@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/deploy-script-support",
3
- "version": "0.10.4-dev-1145be3.0.1145be3",
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-1145be3.0.1145be3",
38
- "@agoric/import-manager": "0.3.12-dev-1145be3.0.1145be3",
39
- "@agoric/internal": "0.3.3-dev-1145be3.0.1145be3",
40
- "@agoric/notifier": "0.6.3-dev-1145be3.0.1145be3",
41
- "@agoric/pola-io": "0.1.1-dev-1145be3.0.1145be3",
42
- "@agoric/store": "0.9.3-dev-1145be3.0.1145be3",
43
- "@agoric/time": "0.3.3-dev-1145be3.0.1145be3",
44
- "@agoric/zoe": "0.26.3-dev-1145be3.0.1145be3",
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-1145be3.0.1145be3",
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": 83.35
76
+ "atLeast": 84.46
77
77
  },
78
- "gitHead": "1145be333a0554d3bae3c35a227347441ddf5b5e"
78
+ "gitHead": "b084a067b866127f7d05c66e6865750132c4a7d8"
79
79
  }
@@ -4,6 +4,7 @@ import { E } from '@endo/far';
4
4
 
5
5
  /**
6
6
  * @import {InvitationDetails, PaymentPKeywordRecord, Proposal, UserSeat} from '@agoric/zoe';
7
+ * @import {ERef} from '@agoric/vow';
7
8
  */
8
9
 
9
10
  /**
@@ -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
  /**
@@ -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();
@@ -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: typeof import('@endo/bundle-source').default,
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<import('@agoric/internal/src/scratch.js').ScratchPad>,
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<import("@agoric/vats/src/vat-bank.js").Bank>,
79
- * board: ERef<import("@agoric/vats").Board>,
84
+ * bank: ERef<Bank>,
85
+ * board: ERef<Board>,
80
86
  * faucet: unknown,
81
- * myAddressNameAdmin: ERef<import("@agoric/vats").NameAdmin>,
87
+ * myAddressNameAdmin: ERef<NameAdmin>,
82
88
  * namesByAddress: ERef<NameHub>,
83
89
  * wallet: any,
84
90
  * zoe: ERef<ZoeService>,
package/src/helpers.js CHANGED
@@ -1,7 +1,5 @@
1
1
  // @ts-check
2
2
 
3
- /// <reference types="@agoric/zoe/exported.js" />
4
-
5
3
  import { E } from '@endo/far';
6
4
  import bundleSource from '@endo/bundle-source';
7
5
 
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
  /**
@@ -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, CanonicalHome, CommonHome, CoreEvalBuilder, CoreEvalDescriptor, ManifestBundleRef} from './externalTypes.js';
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
  */