@agoric/deploy-script-support 0.10.4-u16.2 → 0.10.4-u17.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
@@ -70,8 +70,7 @@ objects.
70
70
 
71
71
  The script describes how to build the core proposal. For
72
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),
73
+ `CoreProposalSteps` section in [`upgrade.go`](../../golang/cosmos/app/upgrade.go),
75
74
  and its `defaultProposalBuilder` will be invoked directly.
76
75
 
77
76
  Script files should export `defaultProposalBuilder` and a `default` function
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/deploy-script-support",
3
- "version": "0.10.4-u16.2",
3
+ "version": "0.10.4-u17.0",
4
4
  "description": "Helpers and other support for writing deploy scripts",
5
5
  "type": "module",
6
6
  "main": "src/helpers.js",
@@ -34,25 +34,25 @@
34
34
  },
35
35
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
36
36
  "dependencies": {
37
- "@agoric/assert": "^0.6.1-u16.0",
38
- "@agoric/ertp": "^0.16.3-u16.1",
39
- "@agoric/import-manager": "^0.3.12-u16.1",
40
- "@agoric/internal": "^0.4.0-u16.1",
41
- "@agoric/notifier": "^0.7.0-u16.1",
42
- "@agoric/store": "^0.9.3-u16.0",
43
- "@agoric/time": "^0.3.3-u16.0",
44
- "@agoric/zoe": "^0.26.3-u16.1",
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"
37
+ "@agoric/ertp": "^0.16.3-u17.0",
38
+ "@agoric/import-manager": "^0.3.12-u17.0",
39
+ "@agoric/internal": "^0.4.0-u17.0",
40
+ "@agoric/notifier": "^0.7.0-u17.0",
41
+ "@agoric/store": "^0.9.3-u17.0",
42
+ "@agoric/time": "^0.3.3-u17.0",
43
+ "@agoric/zoe": "^0.26.3-u17.0",
44
+ "@endo/base64": "^1.0.7",
45
+ "@endo/bundle-source": "^3.4.0",
46
+ "@endo/errors": "^1.2.5",
47
+ "@endo/far": "^1.1.5",
48
+ "@endo/marshal": "^1.5.3",
49
+ "@endo/nat": "^5.0.10",
50
+ "@endo/promise-kit": "^1.1.5",
51
+ "@endo/zip": "^1.0.7"
52
52
  },
53
53
  "devDependencies": {
54
- "@agoric/vats": "^0.16.0-u16.2",
55
- "@endo/init": "^1.1.2",
54
+ "@agoric/vats": "^0.16.0-u17.0",
55
+ "@endo/init": "^1.1.4",
56
56
  "ava": "^5.3.0",
57
57
  "import-meta-resolve": "^2.2.1"
58
58
  },
@@ -72,7 +72,7 @@
72
72
  "access": "public"
73
73
  },
74
74
  "typeCoverage": {
75
- "atLeast": 81.63
75
+ "atLeast": 82.6
76
76
  },
77
- "gitHead": "c772ff40720e6d669e67d2da06e9ab394de6a9c1"
77
+ "gitHead": "515c4c0efccfc91b97da30037c10fc4b076851e2"
78
78
  }
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- import { Fail } from '@agoric/assert';
2
+ import { Fail } from '@endo/errors';
3
3
  import { E } from '@endo/far';
4
4
 
5
5
  /**
@@ -1,4 +1,4 @@
1
- const { Fail } = assert;
1
+ import { Fail } from '@endo/errors';
2
2
 
3
3
  /**
4
4
  * @param {string} cacheDir
@@ -1,10 +1,9 @@
1
1
  // @ts-check
2
+ import { Fail, q } from '@endo/errors';
2
3
  import { E, Far } from '@endo/far';
3
4
  import { encodeBase64, decodeBase64 } from '@endo/base64';
4
5
  import { ZipWriter } from '@endo/zip';
5
6
 
6
- const { Fail, quote: q } = assert;
7
-
8
7
  export const start = () => {
9
8
  /** @type { Map<string, [string, Uint8Array]>} */
10
9
  const hashToEntry = new Map();
@@ -1,4 +1,5 @@
1
1
  // @ts-check
2
+ import { Fail } from '@endo/errors';
2
3
  import { deeplyFulfilledObject } from '@agoric/internal';
3
4
  import fs from 'fs';
4
5
  import { createRequire } from 'module';
@@ -19,8 +20,6 @@ import {
19
20
  * @typedef {ConfigProposal[] | SequentialCoreProposals} CoreProposals
20
21
  */
21
22
 
22
- const { Fail } = assert;
23
-
24
23
  const req = createRequire(import.meta.url);
25
24
 
26
25
  /**
package/src/offer.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // @ts-check
2
+ import { assert } from '@endo/errors';
2
3
  import { E } from '@endo/far';
3
- 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
 
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- import { assert } from '@agoric/assert';
2
+ import { assert } from '@endo/errors';
3
3
  import { E, passStyleOf } from '@endo/far';
4
4
 
5
5
  /** @import {Petname} from '@agoric/deploy-script-support/src/externalTypes.js' */