@agoric/zone 0.3.0-upgrade-16-dev-0df76a7.0 → 0.3.0-upgrade-17-dev-a61cdab.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/CHANGELOG.md CHANGED
@@ -3,15 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [0.3.0-u16.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/zone@0.3.0-u16.0...@agoric/zone@0.3.0-u16.1) (2024-07-10)
7
-
8
- **Note:** Version bump only for package @agoric/zone
9
-
10
-
11
-
12
-
13
-
14
- ## [0.3.0-u16.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/zone@0.2.2...@agoric/zone@0.3.0-u16.0) (2024-07-02)
6
+ ## [0.3.0-u17.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/zone@0.2.2...@agoric/zone@0.3.0-u17.0) (2024-09-17)
15
7
 
16
8
 
17
9
  ### ⚠ BREAKING CHANGES
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/zone",
3
- "version": "0.3.0-upgrade-16-dev-0df76a7.0+0df76a7",
3
+ "version": "0.3.0-upgrade-17-dev-a61cdab.0+a61cdab",
4
4
  "description": "Allocation zone abstraction for objects on the heap, persistent stores, etc.",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/Agoric/agoric-sdk",
@@ -27,14 +27,15 @@
27
27
  "author": "Agoric",
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@agoric/base-zone": "0.1.1-upgrade-16-dev-0df76a7.0+0df76a7",
31
- "@agoric/vat-data": "0.5.3-upgrade-16-dev-0df76a7.0+0df76a7",
32
- "@endo/far": "^1.1.2",
33
- "@endo/pass-style": "^1.4.0"
30
+ "@agoric/base-zone": "0.1.1-upgrade-17-dev-a61cdab.0+a61cdab",
31
+ "@agoric/vat-data": "0.5.3-upgrade-17-dev-a61cdab.0+a61cdab",
32
+ "@endo/errors": "^1.2.5",
33
+ "@endo/far": "^1.1.5",
34
+ "@endo/pass-style": "^1.4.3"
34
35
  },
35
36
  "devDependencies": {
36
- "@agoric/swingset-liveslots": "0.10.3-upgrade-16-dev-0df76a7.0+0df76a7",
37
- "@endo/patterns": "^1.4.0",
37
+ "@agoric/swingset-liveslots": "0.10.3-upgrade-17-dev-a61cdab.0+a61cdab",
38
+ "@endo/patterns": "^1.4.3",
38
39
  "ava": "^5.3.0"
39
40
  },
40
41
  "publishConfig": {
@@ -56,5 +57,5 @@
56
57
  "typeCoverage": {
57
58
  "atLeast": 96.68
58
59
  },
59
- "gitHead": "0df76a71058eda04cdc75a54fb4312d286f323a3"
60
+ "gitHead": "a61cdabb23bd2c846e003dee7326018a7462a929"
60
61
  }
package/src/durable.js CHANGED
@@ -1,7 +1,9 @@
1
1
  // @ts-check
2
2
  // @jessie-check
3
3
 
4
+ import { Fail } from '@endo/errors';
4
5
  import { Far, isPassable } from '@endo/pass-style';
6
+
5
7
  import {
6
8
  canBeDurable,
7
9
  makeScalarMapStore,
@@ -17,8 +19,6 @@ import {
17
19
 
18
20
  import { agoricVatDataKeys as keys, makeOnceKit } from '@agoric/base-zone';
19
21
 
20
- const { Fail } = assert;
21
-
22
22
  /**
23
23
  * A variant of `canBeDurable` that returns `false` instead of ever throwing.
24
24
  *
@@ -86,7 +86,7 @@ export const makeDurableZone = (baggage, baseLabel = 'durableZone') => {
86
86
  /** @type {import('.').Zone['exoClass']} */
87
87
  const exoClass = (...args) => prepareExoClass(baggage, ...args);
88
88
  /** @type {import('.').Zone['exoClassKit']} */
89
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error -- happens only integrating with Endo master
89
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- happens only integrating with Endo master
90
90
  // @ts-ignore FIXME in Endo
91
91
  const exoClassKit = (...args) => prepareExoClassKit(baggage, ...args);
92
92
  /** @type {import('.').Zone['exo']} */