@agoric/deploy-script-support 0.10.4-upgrade-14-dev-c8f9e7b.0 → 0.10.4-upgrade-16-dev-8879538.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/README.md CHANGED
@@ -1,4 +1,108 @@
1
1
  # Deploy Script Support
2
2
 
3
- Import this code in your dapp deploy scripts to more easily install and
4
- interact with Zoe contracts.
3
+ To install code on chain or in the a3p-integration environment, you'll have to
4
+ generate a proposal, and write a script to build the core proposal. The
5
+ proposals have limited access to bootstrap powers, described by their manifests.
6
+
7
+ There are collections of proposals in .../vats/src/proposals,
8
+ smart-wallet/src/proposals, orchestration/src/proposals, pegasus/src/proposals.
9
+
10
+ The overall format is a proposalBuilder script (There are several in
11
+ .../builders/scripts/vats/) which has a default export that passes resources to
12
+ the proposal. The resources include bundled source code and string-value
13
+ parameters. The ProposalBuilder specifies (as an import string) the proposal
14
+ it uses, identifies the "manifest", (which associates permissions to access
15
+ powers in the bootstrap space with functions to be called), and builds bundles
16
+ of source code needed by the proposal.
17
+
18
+ `.../builders/scripts/vats/upgradeVaults.js` is a canonical example. It says the
19
+ proposal to run is '@agoric/inter-protocol/src/proposals/upgrade-vaults.js',
20
+ lists the manifest there as `'getManifestForUpgradeVaults'`, and directs the
21
+ creation of a bundle from
22
+ '@agoric/inter-protocol/src/vaultFactory/vaultFactory.js', which will be made
23
+ available to the proposal as `vaultsRef` in options.
24
+
25
+ `upgrade-vaults.js` defines `getManifestForUpgradeVaults()`, which returns a
26
+ `manifest` that says `upgradeVaults()` should be executed, and specifies what
27
+ powers it should have access to.
28
+
29
+ ### Proposal
30
+
31
+ The proposal is called with `(powers, options)` available. The manifest
32
+ detailing the powers that will be used is usually in the same file, and
33
+ conventionally provided by a function named `getManifestForFoo`. The manifest
34
+ needs to have a unique name, since it will be referenced by name from the
35
+ script. The usual format is
36
+ ```js
37
+ export const foo = async (
38
+ {
39
+ consume: {
40
+ ...
41
+ },
42
+ brands: {
43
+ ...
44
+ }
45
+ },
46
+ options,
47
+ ) => {
48
+ const { fooRef } = options;
49
+ // do the things using powers and options
50
+ };
51
+
52
+ export const getManifestForFoo = (powers, options) => {
53
+ manifest: {
54
+ [foo.name]: {
55
+ consume: {
56
+ ...
57
+ },
58
+ options,
59
+ )};
60
+ ```
61
+
62
+ `manifest` contains descriptions of powers to be provided to the proposals.
63
+
64
+ **TODO** what happens with the `installations` in [`startPsm.js`](https://github.com/Agoric/agoric-sdk/blob/b13743a2cccf0cb63a412b54384435596d4e81ea/packages/inter-protocol/src/proposals/startPSM.js#L496)?
65
+
66
+ `options` allows the proposal to be provided with arbitray other powerful
67
+ objects.
68
+
69
+ ### proposalBuilder Script
70
+
71
+ The script describes how to build the core proposal. For
72
+ `agoric-3-proposals` and uploading to the chain, the script must be named in the
73
+ `CoreProposalSteps` section in
74
+ [`app.go`](https://github.com/Agoric/agoric-sdk/blob/b13743a2cccf0cb63a412b54384435596d4e81ea/golang/cosmos/app/app.go#L881),
75
+ and its `defaultProposalBuilder` will be invoked directly.
76
+
77
+ Script files should export `defaultProposalBuilder` and a `default` function
78
+ that invokes `writeCoreProposal` one or more times to generate sets of files
79
+ describing the proposal.
80
+
81
+ ```js
82
+ export const defaultProposalBuilder = ({ publishRef, install }) => {
83
+ return harden({
84
+ sourceSpec: '@agoric/vats/src/proposals/foo.js',
85
+ getManifestCall: [
86
+ 'getManifestForFoo',
87
+ {
88
+ fooRef: publishRef(install('@agoric/...')),
89
+ ...otherParams,
90
+ },
91
+ ],
92
+ });
93
+ };
94
+ `
95
+ export default async (homeP, endowments) => {
96
+ const { writeCoreProposal } = await makeHelpers(homeP, endowments);
97
+ await writeCoreProposal('proposalName', defaultProposalBuilder);
98
+ };
99
+ ```
100
+
101
+ The first element of `getManifestCall` is interpreted as the name of a proposal.
102
+ The second element of `getManifestCall` produces the `options` argument passed
103
+ to the proposal. (`fooRef` in the example above). A common thing to want to pass
104
+ in options is a reference to code to be installed on-chain. The `fooRef` example
105
+ above shows how. `publishRef(install(<path>))` is built from sources in the
106
+ sdk, and passed as a `bundleRef`, which contains a `bundleID` suitable for
107
+ passing to Zoe (for contracts) or `vatAdminService` (for non-contract vat code).
108
+
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@agoric/deploy-script-support",
3
- "version": "0.10.4-upgrade-14-dev-c8f9e7b.0+c8f9e7b",
3
+ "version": "0.10.4-upgrade-16-dev-8879538.0+8879538",
4
4
  "description": "Helpers and other support for writing deploy scripts",
5
5
  "type": "module",
6
6
  "main": "src/helpers.js",
7
7
  "engines": {
8
- "node": ">=14.15.0"
8
+ "node": "^18.12 || ^20.9"
9
9
  },
10
10
  "scripts": {
11
11
  "build": "exit 0",
@@ -13,7 +13,7 @@
13
13
  "test:xs": "exit 0",
14
14
  "lint-fix": "yarn lint:eslint --fix",
15
15
  "lint:eslint": "eslint .",
16
- "lint:types": "tsc -p jsconfig.json",
16
+ "lint:types": "tsc",
17
17
  "lint": "run-s --continue-on-error lint:*"
18
18
  },
19
19
  "repository": {
@@ -34,39 +34,45 @@
34
34
  },
35
35
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
36
36
  "dependencies": {
37
- "@agoric/assert": "0.6.1-upgrade-14-dev-c8f9e7b.0+c8f9e7b",
38
- "@agoric/ertp": "0.16.3-upgrade-14-dev-c8f9e7b.0+c8f9e7b",
39
- "@agoric/import-manager": "0.3.12-upgrade-14-dev-c8f9e7b.0+c8f9e7b",
40
- "@agoric/internal": "0.4.0-upgrade-14-dev-c8f9e7b.0+c8f9e7b",
41
- "@agoric/notifier": "0.6.3-upgrade-14-dev-c8f9e7b.0+c8f9e7b",
42
- "@agoric/store": "0.9.3-upgrade-14-dev-c8f9e7b.0+c8f9e7b",
43
- "@agoric/zoe": "0.26.3-upgrade-14-dev-c8f9e7b.0+c8f9e7b",
44
- "@endo/base64": "0.2.31",
45
- "@endo/bundle-source": "2.5.2-upstream-rollup",
46
- "@endo/far": "0.2.18",
47
- "@endo/marshal": "0.8.5",
48
- "@endo/nat": "4.1.27",
49
- "@endo/promise-kit": "0.2.56",
50
- "@endo/zip": "0.2.31"
37
+ "@agoric/assert": "0.6.1-upgrade-16-dev-8879538.0+8879538",
38
+ "@agoric/ertp": "0.16.3-upgrade-16-dev-8879538.0+8879538",
39
+ "@agoric/import-manager": "0.3.12-upgrade-16-dev-8879538.0+8879538",
40
+ "@agoric/internal": "0.3.3-upgrade-16-dev-8879538.0+8879538",
41
+ "@agoric/notifier": "0.6.3-upgrade-16-dev-8879538.0+8879538",
42
+ "@agoric/store": "0.9.3-upgrade-16-dev-8879538.0+8879538",
43
+ "@agoric/time": "0.3.3-upgrade-16-dev-8879538.0+8879538",
44
+ "@agoric/zoe": "0.26.3-upgrade-16-dev-8879538.0+8879538",
45
+ "@endo/base64": "^1.0.5",
46
+ "@endo/bundle-source": "^3.2.3",
47
+ "@endo/far": "^1.1.2",
48
+ "@endo/marshal": "^1.5.0",
49
+ "@endo/nat": "^5.0.7",
50
+ "@endo/promise-kit": "^1.1.2",
51
+ "@endo/zip": "^1.0.5"
51
52
  },
52
53
  "devDependencies": {
53
- "@agoric/vats": "0.15.2-upgrade-14-dev-c8f9e7b.0+c8f9e7b",
54
- "@endo/init": "0.5.56",
55
- "ava": "^5.2.0",
54
+ "@agoric/vats": "0.15.2-upgrade-16-dev-8879538.0+8879538",
55
+ "@endo/init": "^1.1.2",
56
+ "ava": "^5.3.0",
56
57
  "import-meta-resolve": "^2.2.1"
57
58
  },
58
59
  "files": [
59
60
  "src",
60
- "NEWS.md",
61
- "exported.js"
61
+ "NEWS.md"
62
62
  ],
63
63
  "ava": {
64
64
  "files": [
65
- "test/**/test-*.js"
65
+ "test/**/*.test.*"
66
+ ],
67
+ "require": [
68
+ "@endo/init/debug.js"
66
69
  ]
67
70
  },
68
71
  "publishConfig": {
69
72
  "access": "public"
70
73
  },
71
- "gitHead": "c8f9e7be1645e0be23f47de197409a7d4874add5"
74
+ "typeCoverage": {
75
+ "atLeast": 81.63
76
+ },
77
+ "gitHead": "8879538cd1d125a08346f02dd5701d0d70c90bb8"
72
78
  }
@@ -1,6 +1,10 @@
1
1
  // @ts-check
2
2
  const t = 'makeCoreProposalBehavior';
3
3
 
4
+ /**
5
+ * @import {Installation} from '@agoric/zoe/src/zoeService/utils.js';
6
+ */
7
+
4
8
  /**
5
9
  * TODO import these from @agoric/vats when the types are better managed
6
10
  *
@@ -9,7 +13,7 @@ const t = 'makeCoreProposalBehavior';
9
13
  */
10
14
 
11
15
  /**
12
- * @typedef {import('./externalTypes.js').ManifestBundleRef} ManifestBundleRef
16
+ * @import {ManifestBundleRef} from './externalTypes.js'
13
17
  * @typedef {[methodName: string, ...args: unknown[]]} FlatMethargs
14
18
  * @typedef {Record<string, Record<string, unknown>>} Manifest
15
19
  */
@@ -55,18 +59,27 @@ export const makeCoreProposalBehavior = ({
55
59
  }) => {
56
60
  const { entries, fromEntries } = Object;
57
61
 
58
- // deeplyFulfilled is a bit overkill for what we need.
62
+ /**
63
+ * Given an object whose properties may be promise-valued, return a promise
64
+ * for an analogous object in which each such value has been replaced with its
65
+ * fulfillment.
66
+ * This is a non-recursive form of endo `deeplyFulfilled`.
67
+ *
68
+ * @template T
69
+ * @param {{[K in keyof T]: (T[K] | Promise<T[K]>)}} obj
70
+ * @returns {Promise<T>}
71
+ */
59
72
  const shallowlyFulfilled = async obj => {
60
73
  if (!obj) {
61
74
  return obj;
62
75
  }
63
- const ents = await Promise.all(
76
+ const awaitedEntries = await Promise.all(
64
77
  entries(obj).map(async ([key, valueP]) => {
65
78
  const value = await valueP;
66
79
  return [key, value];
67
80
  }),
68
81
  );
69
- return fromEntries(ents);
82
+ return fromEntries(awaitedEntries);
70
83
  };
71
84
 
72
85
  const makeRestoreRef = (vatAdminSvc, zoe) => {
@@ -143,7 +156,7 @@ export const makeCoreProposalBehavior = ({
143
156
  ...manifestGetterArgs,
144
157
  );
145
158
 
146
- // Await references in the options or installations.
159
+ // Await promises in the returned options and installations records.
147
160
  const [options, installations] = await Promise.all(
148
161
  [rawOptions, rawInstallations].map(shallowlyFulfilled),
149
162
  );
@@ -185,8 +185,6 @@ export const extractCoreProposalBundles = async (
185
185
  /** @type {import('./externalTypes.js').PublishBundleRef} */
186
186
  const publishRef = async handleP => {
187
187
  const handle = await handleP;
188
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error -- https://github.com/Agoric/agoric-sdk/issues/4620 */
189
- // @ts-ignore xxx types
190
188
  bundleHandleToAbsolutePaths.has(handle) ||
191
189
  Fail`${handle} not in installed bundles`;
192
190
  return handle;
package/src/helpers.js CHANGED
@@ -1,5 +1,7 @@
1
1
  // @ts-check
2
- import '@agoric/zoe/exported.js';
2
+
3
+ /// <reference path="../../zoe/exported.js" />
4
+
3
5
  import { E } from '@endo/far';
4
6
  import bundleSource from '@endo/bundle-source';
5
7
 
package/src/install.js CHANGED
@@ -3,20 +3,11 @@ import './externalTypes.js';
3
3
 
4
4
  import { E } from '@endo/far';
5
5
 
6
- /** @typedef {import('@agoric/deploy-script-support/src/externalTypes').Petname} Petname */
7
-
8
- /**
9
- * @callback BundleSource
10
- * @param {string} startFilename - the filepath to start the bundling from
11
- * @param {ModuleFormat | BundleOptions} [moduleFormat]
12
- * @param {object} [powers]
13
- * @param {ReadFn} [powers.read]
14
- * @param {CanonicalFn} [powers.canonical]
15
- */
6
+ /** @import {Petname} from '@agoric/deploy-script-support/src/externalTypes.js' */
16
7
 
17
8
  // XXX board is Board but specifying that leads to type errors with imports which aren't worth fixing right now
18
9
  /**
19
- * @param {BundleSource} bundleSource
10
+ * @param {typeof import('@endo/bundle-source')['default']} bundleSource
20
11
  * @param {ERef<ZoeService>} zoe
21
12
  * @param {ERef<import('./startInstance.js').InstallationManager>} installationManager
22
13
  * @param {ERef<any>} board
package/src/offer.js CHANGED
@@ -4,7 +4,7 @@ import { assert } from '@agoric/assert';
4
4
  // Avoid pulling in too many dependencies like notifiers
5
5
  import { AmountMath } from '@agoric/ertp/src/amountMath.js';
6
6
 
7
- /** @typedef {import('@agoric/deploy-script-support/src/externalTypes').Petname} Petname */
7
+ /** @import {Petname} from '@agoric/deploy-script-support/src/externalTypes.js' */
8
8
 
9
9
  /**
10
10
  * @typedef {object} OfferHelperConfig
@@ -19,7 +19,7 @@ import { AmountMath } from '@agoric/ertp/src/amountMath.js';
19
19
  * @param {ERef<any>} walletAdmin - an internal type of the
20
20
  * wallet, not defined here
21
21
  * @param {ERef<ZoeService>} zoe
22
- * @param {ERef<Purse>} zoeInvitationPurse
22
+ * @param {ERef<Purse<'set', InvitationDetails>>} zoeInvitationPurse
23
23
  */
24
24
  export const makeOfferAndFindInvitationAmount = (
25
25
  walletAdmin,
@@ -28,7 +28,7 @@ export const makeOfferAndFindInvitationAmount = (
28
28
  ) => {
29
29
  /**
30
30
  * @param {Record<string, any>} invitationDetailsCriteria
31
- * @returns {Promise<Amount>} invitationAmount
31
+ * @returns {Promise<InvitationAmount>} invitationAmount
32
32
  */
33
33
  const findInvitationAmount = async invitationDetailsCriteria => {
34
34
  const invitationAmount = await E(zoeInvitationPurse).getCurrentAmount();
@@ -114,9 +114,8 @@ export const makeOfferAndFindInvitationAmount = (
114
114
  } = config;
115
115
 
116
116
  const invitationToUse = getInvitation(invitation, partialInvitationDetails);
117
- const invitationDetails = await E(zoe).getInvitationDetails(
118
- invitationToUse,
119
- );
117
+ const invitationDetails =
118
+ await E(zoe).getInvitationDetails(invitationToUse);
120
119
  const payments = withdrawPayments(proposal, paymentsWithPursePetnames);
121
120
 
122
121
  const seat = E(zoe).offer(invitationToUse, proposal, payments);
package/src/saveIssuer.js CHANGED
@@ -1,12 +1,12 @@
1
1
  // @ts-check
2
2
  import { E } from '@endo/far';
3
3
 
4
- /** @typedef {import('@agoric/deploy-script-support/src/externalTypes').Petname} Petname */
4
+ /** @import {Petname} from '@agoric/deploy-script-support/src/externalTypes.js' */
5
5
 
6
6
  /**
7
7
  * @param {ERef<any>} walletAdmin - an internal type of the
8
8
  * wallet, not defined here
9
- * @param {ERef<import('./startInstance').IssuerManager>} issuerManager
9
+ * @param {ERef<import('./startInstance.js').IssuerManager>} issuerManager
10
10
  */
11
11
  export const makeSaveIssuer = (walletAdmin, issuerManager) => {
12
12
  /**
@@ -2,7 +2,7 @@
2
2
  import { assert } from '@agoric/assert';
3
3
  import { E, passStyleOf } from '@endo/far';
4
4
 
5
- /** @typedef {import('@agoric/deploy-script-support/src/externalTypes').Petname} Petname */
5
+ /** @import {Petname} from '@agoric/deploy-script-support/src/externalTypes.js' */
6
6
 
7
7
  /**
8
8
  * @template T
@@ -100,9 +100,8 @@ export const makeStartInstance = (
100
100
  `creatorInvitation must be defined to be deposited`,
101
101
  );
102
102
  console.log(`-- Adding Invitation for: ${instancePetname}`);
103
- const invitationAmount = await E(zoeInvitationPurse).deposit(
104
- creatorInvitation,
105
- );
103
+ const invitationAmount =
104
+ await E(zoeInvitationPurse).deposit(creatorInvitation);
106
105
  console.log(`- Created Contract Instance: ${instancePetname}`);
107
106
 
108
107
  const creatorInvitationDetails = invitationAmount.value[0];
package/CHANGELOG.md DELETED
@@ -1,571 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ### [0.10.4-u13.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.4-u12.0...@agoric/deploy-script-support@0.10.4-u13.0) (2023-12-07)
7
-
8
- **Note:** Version bump only for package @agoric/deploy-script-support
9
-
10
-
11
-
12
-
13
-
14
- ### [0.10.4-u12.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.4-u11wf.0...@agoric/deploy-script-support@0.10.4-u12.0) (2023-11-10)
15
-
16
- **Note:** Version bump only for package @agoric/deploy-script-support
17
-
18
-
19
-
20
-
21
-
22
- ### [0.10.4-u11wf.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.4-u11.0...@agoric/deploy-script-support@0.10.4-u11wf.0) (2023-09-23)
23
-
24
-
25
- ### Bug Fixes
26
-
27
- * **deploy-scripts-support:** correct bare module resolution ([f1e7109](https://github.com/Agoric/agoric-sdk/commit/f1e710937cd25fc261ca34c670c206fbaed583d3))
28
-
29
-
30
-
31
- ### [0.10.4-u11.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.3...@agoric/deploy-script-support@0.10.4-u11.0) (2023-08-24)
32
-
33
- **Note:** Version bump only for package @agoric/deploy-script-support
34
-
35
-
36
-
37
-
38
-
39
- ### [0.10.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.2...@agoric/deploy-script-support@0.10.3) (2023-06-09)
40
-
41
- **Note:** Version bump only for package @agoric/deploy-script-support
42
-
43
-
44
-
45
-
46
-
47
- ### [0.10.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.1...@agoric/deploy-script-support@0.10.2) (2023-06-02)
48
-
49
- **Note:** Version bump only for package @agoric/deploy-script-support
50
-
51
-
52
-
53
-
54
-
55
- ### [0.10.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.0...@agoric/deploy-script-support@0.10.1) (2023-05-24)
56
-
57
- **Note:** Version bump only for package @agoric/deploy-script-support
58
-
59
-
60
-
61
-
62
-
63
- ## [0.10.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.4...@agoric/deploy-script-support@0.10.0) (2023-05-19)
64
-
65
-
66
- ### Features
67
-
68
- * **core-proposals:** use bundle hash for label ([2eec093](https://github.com/Agoric/agoric-sdk/commit/2eec0939bd87bfcc48634ab75e2ba830cdb321e3))
69
- * **deploy-script-support:** Publish bundles to chain if possible ([e8209da](https://github.com/Agoric/agoric-sdk/commit/e8209daec69fc6fd60f5d865cf29271eb106a995))
70
- * **deploy-script-support:** reenable for `agoric run init-core.js` without `ag-solo` ([2b2bc96](https://github.com/Agoric/agoric-sdk/commit/2b2bc96780b00d9c964dba6e6c5de36acd4a83c6))
71
-
72
-
73
- ### Bug Fixes
74
-
75
- * **deploy-script-support:** avoid pulling in notifiers ([#7522](https://github.com/Agoric/agoric-sdk/issues/7522)) ([c73675d](https://github.com/Agoric/agoric-sdk/commit/c73675dad025b6600f0eafe9f8e768086e50b626))
76
- * **deploy-script-support:** update permits for `vatAdminSvc` ([73fef25](https://github.com/Agoric/agoric-sdk/commit/73fef256ab9abda1bda7e0619e8eee08c19f8883))
77
- * avoid using top-level `require` ([57ca2db](https://github.com/Agoric/agoric-sdk/commit/57ca2dbfbadb373f97d43b2fb4e90302c9149976))
78
- * change manifestInstallRef to manifestBundleRef ([4b87694](https://github.com/Agoric/agoric-sdk/commit/4b8769494eec1ce6bb5beda295389e8b982a9f37))
79
- * remove unused overridded restoreRef, fix default version ([7f1cd48](https://github.com/Agoric/agoric-sdk/commit/7f1cd488e2aa7f89473b2187016f7f0dcbc989e8))
80
- * rename makeEnactCoreProposalsFromBundleName to ..BundleRef ([7403f06](https://github.com/Agoric/agoric-sdk/commit/7403f06f58f0f50ecd154ad076a0a82317f3018b))
81
- * replace unsafe then with E.when ([#6684](https://github.com/Agoric/agoric-sdk/issues/6684)) ([d7a749e](https://github.com/Agoric/agoric-sdk/commit/d7a749eec4ddec9ba39bbc65434f03ec113cae7c))
82
- * replace zoe.install with zoe.installBundleID ([8a91b1b](https://github.com/Agoric/agoric-sdk/commit/8a91b1b06bf1a62c08156e595cf46f5194f73337)), closes [#6826](https://github.com/Agoric/agoric-sdk/issues/6826)
83
- * **deploy-script-support:** Use versioned bundleSource ([41af48e](https://github.com/Agoric/agoric-sdk/commit/41af48e0d44e0615a53d5e3fe9f019895a58f96d))
84
-
85
-
86
-
87
- ### [0.9.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.5...@agoric/deploy-script-support@0.9.6) (2023-02-17)
88
-
89
- **Note:** Version bump only for package @agoric/deploy-script-support
90
-
91
-
92
-
93
-
94
-
95
- ### [0.9.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.4...@agoric/deploy-script-support@0.9.5) (2022-12-14)
96
-
97
- **Note:** Version bump only for package @agoric/deploy-script-support
98
-
99
-
100
-
101
-
102
-
103
- ### [0.9.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.3...@agoric/deploy-script-support@0.9.4) (2022-10-18)
104
-
105
- **Note:** Version bump only for package @agoric/deploy-script-support
106
-
107
-
108
-
109
-
110
-
111
- ### [0.9.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.2...@agoric/deploy-script-support@0.9.3) (2022-10-08)
112
-
113
- **Note:** Version bump only for package @agoric/deploy-script-support
114
-
115
-
116
-
117
-
118
-
119
- ### [0.9.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.1...@agoric/deploy-script-support@0.9.2) (2022-10-05)
120
-
121
- **Note:** Version bump only for package @agoric/deploy-script-support
122
-
123
-
124
-
125
-
126
-
127
- ### [0.9.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.0...@agoric/deploy-script-support@0.9.1) (2022-09-20)
128
-
129
-
130
- ### Bug Fixes
131
-
132
- * Use new `||` assert style, but when TS confused use `if` instead ([#6174](https://github.com/Agoric/agoric-sdk/issues/6174)) ([94625d3](https://github.com/Agoric/agoric-sdk/commit/94625d38c3bb5333b00a69dd3086b1ac13490f62))
133
- * **deploy-script-helpers:** Update core proposal behavior test ([abeb52e](https://github.com/Agoric/agoric-sdk/commit/abeb52e6bd121d508b72662135926a1b405fc9c3))
134
-
135
-
136
-
137
- ## [0.9.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.8.0...@agoric/deploy-script-support@0.9.0) (2022-05-28)
138
-
139
-
140
- ### ⚠ BREAKING CHANGES
141
-
142
- * **extract-proposal:** insist on an explicit `entrypoint`
143
-
144
- ### Features
145
-
146
- * **core-proposal:** provide an `overrideManifest` to make the manifest explicit ([6557ecf](https://github.com/Agoric/agoric-sdk/commit/6557ecfb965fd668cf9538132e63a0419b86bd54))
147
- * **extract-proposal:** allow specifying module, entrypoint, args ([af712eb](https://github.com/Agoric/agoric-sdk/commit/af712eb979483e14bae765a018911b018d76b973))
148
-
149
-
150
- ### Bug Fixes
151
-
152
- * **extract-proposal:** insist on an explicit `entrypoint` ([02df38b](https://github.com/Agoric/agoric-sdk/commit/02df38b8a5ef96a78fd6ff7f5c20ffcdba161038))
153
-
154
-
155
-
156
- ## [0.8.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.7.0...@agoric/deploy-script-support@0.8.0) (2022-05-09)
157
-
158
-
159
- ### Features
160
-
161
- * **deploy-script-support:** persist option for installInPieces ([8241a0e](https://github.com/Agoric/agoric-sdk/commit/8241a0e0977a1ef2bbfd7e68197cb969bc80e1f1))
162
-
163
-
164
- ### Bug Fixes
165
-
166
- * **deploy-script-support:** permit agoricNamesAdmin for installation ([49b5e89](https://github.com/Agoric/agoric-sdk/commit/49b5e89e287b9f5e8ccc5cb7c26dea53c09c42de))
167
- * **extract-proposal:** avoid reiterating bundleHandles ([9a0886d](https://github.com/Agoric/agoric-sdk/commit/9a0886d7d96699cf5698bbe81820626e3ee8c64b))
168
- * **extract-proposal:** coreProposal source paths were leaked onto the chain ([acc6672](https://github.com/Agoric/agoric-sdk/commit/acc66729cfa8459ef549b96f6fbeed1d55a4be3f))
169
-
170
-
171
-
172
- ## [0.7.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.6.3...@agoric/deploy-script-support@0.7.0) (2022-04-18)
173
-
174
-
175
- ### ⚠ BREAKING CHANGES
176
-
177
- * consistent Node engine requirement (>=14.15.0)
178
-
179
- ### Features
180
-
181
- * **build-bundles:** create source bundles with helper ([732292a](https://github.com/Agoric/agoric-sdk/commit/732292acf817ab774dea3d15209c0b5a2b2e326d))
182
- * **deploy-script-support:** `getBundlerMaker` helper ([542786d](https://github.com/Agoric/agoric-sdk/commit/542786dfc7ef67ed718d8f1548d13dd45dbfc34f))
183
- * **deploy-script-support:** `installInPieces` interim implementation ([3db8233](https://github.com/Agoric/agoric-sdk/commit/3db823391f39d23e4dc42d8ca256bf9fa28466e7))
184
- * **deploy-script-support:** first cut at `writeCoreProposal` ([6129b38](https://github.com/Agoric/agoric-sdk/commit/6129b38201f80a4e195d4675981e693c06c8c547))
185
- * **deploy-script-support:** more `createBundles` work ([009b49f](https://github.com/Agoric/agoric-sdk/commit/009b49fc133ca9f6740bdebaec9baf7c549aec1f))
186
- * **deploy-script-support:** shell out to `bundle-source` ([18e8c88](https://github.com/Agoric/agoric-sdk/commit/18e8c88223da0f4ef6998e0bc0e39a7979dd317b))
187
- * **deploy-script-suppport:** e2e `writeCoreProposal` ([88a0cf7](https://github.com/Agoric/agoric-sdk/commit/88a0cf70c9078f0e9e2c46a6cc30bcb736e6e379))
188
- * implement the durable kind API ([56bad98](https://github.com/Agoric/agoric-sdk/commit/56bad985275787d18c34ac14b377a4d0348d699b)), closes [#4495](https://github.com/Agoric/agoric-sdk/issues/4495)
189
-
190
-
191
- ### Bug Fixes
192
-
193
- * **deploy-script-support:** `makeEnactCoreProposals` for bootstrap ([cbff644](https://github.com/Agoric/agoric-sdk/commit/cbff644eb379fd61f38a64cd09140439551a6e80))
194
- * **writeCoreProposal:** linearize the `installInPieces` calls ([a92a22a](https://github.com/Agoric/agoric-sdk/commit/a92a22a124e5cf18b677b3067bc59aa508e9d5f1))
195
- * **writeCoreProposal:** merge permits and less ambient authority ([f34f7b7](https://github.com/Agoric/agoric-sdk/commit/f34f7b72aa2827e0f12ba46a8500d3b259c910f9))
196
-
197
-
198
- ### Miscellaneous Chores
199
-
200
- * consistent Node engine requirement (>=14.15.0) ([ddc40fa](https://github.com/Agoric/agoric-sdk/commit/ddc40fa525f845ed900512c38b99f01458a3d131))
201
-
202
-
203
-
204
- ### [0.6.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.6.2...@agoric/deploy-script-support@0.6.3) (2022-02-24)
205
-
206
-
207
- ### Features
208
-
209
- * overhaul the virtual object API ([e40674b](https://github.com/Agoric/agoric-sdk/commit/e40674b0b19f29adde2f5e6a460bafb7340d42b6)), closes [#4606](https://github.com/Agoric/agoric-sdk/issues/4606)
210
-
211
-
212
-
213
- ### [0.6.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.6.1...@agoric/deploy-script-support@0.6.2) (2022-02-21)
214
-
215
-
216
- ### Features
217
-
218
- * implement persistent stores ([e1050b0](https://github.com/Agoric/agoric-sdk/commit/e1050b010e095b23547a38d48a12e5c8841a7466))
219
-
220
-
221
- ### Bug Fixes
222
-
223
- * Enhance TypeScript node_modules traversal depth ([000f738](https://github.com/Agoric/agoric-sdk/commit/000f73850d46dc7272b2399c06ad774dd3b8fe6e))
224
-
225
-
226
-
227
- ### [0.6.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.6.0...@agoric/deploy-script-support@0.6.1) (2021-12-22)
228
-
229
- **Note:** Version bump only for package @agoric/deploy-script-support
230
-
231
-
232
-
233
-
234
-
235
- ## [0.6.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.5...@agoric/deploy-script-support@0.6.0) (2021-12-02)
236
-
237
-
238
- ### ⚠ BREAKING CHANGES
239
-
240
- * **ERTP:** NatValues now only accept bigints, lower-case amountMath is removed, and AmountMath methods always follow the order of: brand, value
241
-
242
- * chore: fix up INPUT_VALIDATON.md
243
-
244
- * chore: address PR comments
245
-
246
- ### Miscellaneous Chores
247
-
248
- * **ERTP:** additional input validation and clean up ([#3892](https://github.com/Agoric/agoric-sdk/issues/3892)) ([067ea32](https://github.com/Agoric/agoric-sdk/commit/067ea32b069596202d7f8e7c5e09d5ea7821f6b2))
249
-
250
-
251
-
252
- ### [0.5.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.4...@agoric/deploy-script-support@0.5.5) (2021-10-13)
253
-
254
- **Note:** Version bump only for package @agoric/deploy-script-support
255
-
256
-
257
-
258
-
259
-
260
- ### [0.5.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.3...@agoric/deploy-script-support@0.5.4) (2021-09-23)
261
-
262
- **Note:** Version bump only for package @agoric/deploy-script-support
263
-
264
-
265
-
266
-
267
-
268
- ### [0.5.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.2...@agoric/deploy-script-support@0.5.3) (2021-09-15)
269
-
270
- **Note:** Version bump only for package @agoric/deploy-script-support
271
-
272
-
273
-
274
-
275
-
276
- ### [0.5.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.1...@agoric/deploy-script-support@0.5.2) (2021-08-21)
277
-
278
- **Note:** Version bump only for package @agoric/deploy-script-support
279
-
280
-
281
-
282
-
283
-
284
- ### [0.5.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.0...@agoric/deploy-script-support@0.5.1) (2021-08-18)
285
-
286
- **Note:** Version bump only for package @agoric/deploy-script-support
287
-
288
-
289
-
290
-
291
-
292
- ## [0.5.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.4.1...@agoric/deploy-script-support@0.5.0) (2021-08-17)
293
-
294
-
295
- ### ⚠ BREAKING CHANGES
296
-
297
- * make the run mint within Zoe, and give only the treasury the ability to create a ZCFMint with it
298
-
299
- * chore: change 'makeZoe' to 'makeZoeKit'
300
-
301
- * chore: add "shutdownZoeVat" argument to Zoe, and pass it to `makeIssuerKit` for invitation issuerKit and fee issuerKit
302
-
303
- * chore: manually lint-fix install-on-chain.js
304
-
305
- See https://github.com/Agoric/agoric-sdk/issues/3672 for the issue to fix the root problem
306
-
307
- * BREAKING CHANGE: create the RUN Mint within Zoe (#3647) ([48762aa](https://github.com/Agoric/agoric-sdk/commit/48762aa83a30eaa0a14b2fd87777456758594262)), closes [#3647](https://github.com/Agoric/agoric-sdk/issues/3647)
308
-
309
-
310
-
311
- ### [0.4.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.4.0...@agoric/deploy-script-support@0.4.1) (2021-08-16)
312
-
313
- **Note:** Version bump only for package @agoric/deploy-script-support
314
-
315
-
316
-
317
-
318
-
319
- ## [0.4.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.18...@agoric/deploy-script-support@0.4.0) (2021-08-15)
320
-
321
-
322
- ### ⚠ BREAKING CHANGES
323
-
324
- * **deploy-script-support:** Convert RESM to NESM (breaking)
325
-
326
- ### Code Refactoring
327
-
328
- * **deploy-script-support:** Convert RESM to NESM (breaking) ([0d59ac2](https://github.com/Agoric/agoric-sdk/commit/0d59ac2a1f748d8e3cc87b8cbb221b0188d729cc))
329
-
330
- ### 0.26.10 (2021-07-28)
331
-
332
-
333
-
334
- ## [0.3.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.18...@agoric/deploy-script-support@0.3.0) (2021-08-14)
335
-
336
-
337
- ### ⚠ BREAKING CHANGES
338
-
339
- * **deploy-script-support:** Convert RESM to NESM (breaking)
340
-
341
- ### Code Refactoring
342
-
343
- * **deploy-script-support:** Convert RESM to NESM (breaking) ([0d59ac2](https://github.com/Agoric/agoric-sdk/commit/0d59ac2a1f748d8e3cc87b8cbb221b0188d729cc))
344
-
345
- ### 0.26.10 (2021-07-28)
346
-
347
-
348
-
349
- ### [0.2.19](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.18...@agoric/deploy-script-support@0.2.19) (2021-07-28)
350
-
351
- **Note:** Version bump only for package @agoric/deploy-script-support
352
-
353
-
354
-
355
-
356
-
357
- ### [0.2.18](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.17...@agoric/deploy-script-support@0.2.18) (2021-07-01)
358
-
359
- **Note:** Version bump only for package @agoric/deploy-script-support
360
-
361
-
362
-
363
-
364
-
365
- ### [0.2.17](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.16...@agoric/deploy-script-support@0.2.17) (2021-07-01)
366
-
367
- **Note:** Version bump only for package @agoric/deploy-script-support
368
-
369
-
370
-
371
-
372
-
373
- ### [0.2.16](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.15...@agoric/deploy-script-support@0.2.16) (2021-06-28)
374
-
375
- **Note:** Version bump only for package @agoric/deploy-script-support
376
-
377
-
378
-
379
-
380
-
381
- ### [0.2.15](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.14...@agoric/deploy-script-support@0.2.15) (2021-06-25)
382
-
383
- **Note:** Version bump only for package @agoric/deploy-script-support
384
-
385
-
386
-
387
-
388
-
389
- ### [0.2.14](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.13...@agoric/deploy-script-support@0.2.14) (2021-06-24)
390
-
391
- **Note:** Version bump only for package @agoric/deploy-script-support
392
-
393
-
394
-
395
-
396
-
397
- ### [0.2.13](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.12...@agoric/deploy-script-support@0.2.13) (2021-06-24)
398
-
399
- **Note:** Version bump only for package @agoric/deploy-script-support
400
-
401
-
402
-
403
-
404
-
405
- ### [0.2.12](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.11...@agoric/deploy-script-support@0.2.12) (2021-06-23)
406
-
407
-
408
- ### Bug Fixes
409
-
410
- * **deploy-script-support:** Relax constraint on repository clone path ([6ec7a4d](https://github.com/Agoric/agoric-sdk/commit/6ec7a4d440cb60a54dbcd86c5e359bac1689e672))
411
-
412
-
413
-
414
- ### [0.2.11](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.10...@agoric/deploy-script-support@0.2.11) (2021-06-16)
415
-
416
- **Note:** Version bump only for package @agoric/deploy-script-support
417
-
418
-
419
-
420
-
421
-
422
- ### [0.2.10](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.9...@agoric/deploy-script-support@0.2.10) (2021-06-15)
423
-
424
-
425
- ### Bug Fixes
426
-
427
- * Pin ESM to forked version ([54dbb55](https://github.com/Agoric/agoric-sdk/commit/54dbb55d64d7ff7adb395bc4bd9d1461dd2d3c17))
428
-
429
-
430
-
431
- ## [0.2.9](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.8...@agoric/deploy-script-support@0.2.9) (2021-05-10)
432
-
433
- **Note:** Version bump only for package @agoric/deploy-script-support
434
-
435
-
436
-
437
-
438
-
439
- ## [0.2.8](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.7...@agoric/deploy-script-support@0.2.8) (2021-05-05)
440
-
441
- **Note:** Version bump only for package @agoric/deploy-script-support
442
-
443
-
444
-
445
-
446
-
447
- ## [0.2.7](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.6...@agoric/deploy-script-support@0.2.7) (2021-05-05)
448
-
449
-
450
- ### Bug Fixes
451
-
452
- * **deploy-script-support:** update to new vats package ([9de6ed1](https://github.com/Agoric/agoric-sdk/commit/9de6ed12dca1346912bb3255bbb48601ac09693e))
453
- * settle REMOTE_STYLE name ([#2900](https://github.com/Agoric/agoric-sdk/issues/2900)) ([3dc6638](https://github.com/Agoric/agoric-sdk/commit/3dc66385b85cb3e8a1056b8d6e64cd3e448c041f))
454
-
455
-
456
-
457
-
458
-
459
- ## [0.2.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.5...@agoric/deploy-script-support@0.2.6) (2021-04-22)
460
-
461
- **Note:** Version bump only for package @agoric/deploy-script-support
462
-
463
-
464
-
465
-
466
-
467
- ## [0.2.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.4...@agoric/deploy-script-support@0.2.5) (2021-04-18)
468
-
469
- **Note:** Version bump only for package @agoric/deploy-script-support
470
-
471
-
472
-
473
-
474
-
475
- ## [0.2.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.3...@agoric/deploy-script-support@0.2.4) (2021-04-16)
476
-
477
- **Note:** Version bump only for package @agoric/deploy-script-support
478
-
479
-
480
-
481
-
482
-
483
- ## [0.2.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.2...@agoric/deploy-script-support@0.2.3) (2021-04-14)
484
-
485
- **Note:** Version bump only for package @agoric/deploy-script-support
486
-
487
-
488
-
489
-
490
-
491
- ## [0.2.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.1...@agoric/deploy-script-support@0.2.2) (2021-04-13)
492
-
493
- **Note:** Version bump only for package @agoric/deploy-script-support
494
-
495
-
496
-
497
-
498
-
499
- ## [0.2.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.0...@agoric/deploy-script-support@0.2.1) (2021-04-07)
500
-
501
- **Note:** Version bump only for package @agoric/deploy-script-support
502
-
503
-
504
-
505
-
506
-
507
- # [0.2.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.1.1...@agoric/deploy-script-support@0.2.0) (2021-04-06)
508
-
509
-
510
- ### Bug Fixes
511
-
512
- * Many more tests use ses-ava ([#2733](https://github.com/Agoric/agoric-sdk/issues/2733)) ([d1e0f0f](https://github.com/Agoric/agoric-sdk/commit/d1e0f0fef8251f014b96ca7f3975efd37e1925f8))
513
- * update to depend on ses 0.12.5 ([#2718](https://github.com/Agoric/agoric-sdk/issues/2718)) ([08dbe0d](https://github.com/Agoric/agoric-sdk/commit/08dbe0db5ce06944dc92c710865e441a60b31b5b))
514
- * use ses-ava in SwingSet where possible ([#2709](https://github.com/Agoric/agoric-sdk/issues/2709)) ([85b674e](https://github.com/Agoric/agoric-sdk/commit/85b674e7942443219fa9828841cc7bd8ef909b47))
515
-
516
-
517
- ### Features
518
-
519
- * more logging for deploy helpers ([#2744](https://github.com/Agoric/agoric-sdk/issues/2744)) ([fe459fb](https://github.com/Agoric/agoric-sdk/commit/fe459fb6bd47638a2c3cb72c1150762fcce844c8))
520
-
521
-
522
-
523
-
524
-
525
- ## [0.1.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.1.0...@agoric/deploy-script-support@0.1.1) (2021-03-24)
526
-
527
-
528
- ### Bug Fixes
529
-
530
- * deploy-script-support tests ([#2677](https://github.com/Agoric/agoric-sdk/issues/2677)) ([0d1b1de](https://github.com/Agoric/agoric-sdk/commit/0d1b1deaffba124457ab50377e781b2185cc3098))
531
-
532
-
533
-
534
-
535
-
536
- # [0.1.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.0.3...@agoric/deploy-script-support@0.1.0) (2021-03-16)
537
-
538
-
539
- ### Bug Fixes
540
-
541
- * make separate 'test:xs' target, remove XS from 'test' target ([b9c1a69](https://github.com/Agoric/agoric-sdk/commit/b9c1a6987093fc8e09e8aba7acd2a1618413bac8)), closes [#2647](https://github.com/Agoric/agoric-sdk/issues/2647)
542
-
543
-
544
- ### Features
545
-
546
- * add static amountMath. Backwards compatible with old amountMath ([#2561](https://github.com/Agoric/agoric-sdk/issues/2561)) ([1620307](https://github.com/Agoric/agoric-sdk/commit/1620307ee1b45033032617cc14dfabfb338b0dc2))
547
-
548
-
549
-
550
-
551
-
552
- ## [0.0.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.0.2...@agoric/deploy-script-support@0.0.3) (2021-02-22)
553
-
554
- **Note:** Version bump only for package @agoric/deploy-script-support
555
-
556
-
557
-
558
-
559
-
560
- ## 0.0.2 (2021-02-16)
561
-
562
-
563
- ### Bug Fixes
564
-
565
- * review comments ([7db7e5c](https://github.com/Agoric/agoric-sdk/commit/7db7e5c4c569dfedff8d748dd58893218b0a2458))
566
-
567
-
568
-
569
-
570
-
571
- # Change Log
package/exported.js DELETED
@@ -1,3 +0,0 @@
1
- import '@endo/bundle-source/exported.js';
2
-
3
- import './src/externalTypes.js';