@agoric/async-flow 0.1.1-upgrade-21-dev-07d4845.0 → 0.1.1-upgrade-22-dev-2f770ff.0.2f770ff

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/async-flow",
3
- "version": "0.1.1-upgrade-21-dev-07d4845.0+07d4845",
3
+ "version": "0.1.1-upgrade-22-dev-2f770ff.0.2f770ff",
4
4
  "description": "Upgrade async functions at await points by replay",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/Agoric/agoric-sdk",
@@ -8,9 +8,9 @@
8
8
  "scripts": {
9
9
  "build": "exit 0",
10
10
  "prepack": "yarn run -T tsc --build tsconfig.build.json",
11
- "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'",
11
+ "postpack": "git clean -f '*.d.*ts*' '*.tsbuildinfo'",
12
12
  "test": "ava",
13
- "test:c8": "c8 --all $C8_OPTIONS ava",
13
+ "test:c8": "c8 --all ${C8_OPTIONS:-} ava",
14
14
  "test:xs": "exit 0",
15
15
  "lint-fix": "yarn lint:eslint --fix",
16
16
  "lint": "yarn run -T run-s --continue-on-error 'lint:*'",
@@ -24,24 +24,24 @@
24
24
  "author": "Agoric",
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@agoric/base-zone": "workspace:*",
28
- "@agoric/internal": "workspace:*",
29
- "@agoric/store": "workspace:*",
30
- "@agoric/vow": "workspace:*",
31
- "@endo/common": "^1.2.10",
32
- "@endo/errors": "^1.2.10",
33
- "@endo/eventual-send": "^1.3.1",
34
- "@endo/marshal": "^1.6.4",
35
- "@endo/pass-style": "^1.5.0",
36
- "@endo/patterns": "^1.5.0",
37
- "@endo/promise-kit": "^1.1.10"
27
+ "@agoric/base-zone": "0.1.1-upgrade-22-dev-2f770ff.0.2f770ff",
28
+ "@agoric/internal": "0.3.3-upgrade-22-dev-2f770ff.0.2f770ff",
29
+ "@agoric/store": "0.9.3-upgrade-22-dev-2f770ff.0.2f770ff",
30
+ "@agoric/vow": "0.1.1-upgrade-22-dev-2f770ff.0.2f770ff",
31
+ "@endo/common": "^1.2.13",
32
+ "@endo/errors": "^1.2.13",
33
+ "@endo/eventual-send": "^1.3.4",
34
+ "@endo/marshal": "^1.8.0",
35
+ "@endo/pass-style": "^1.6.3",
36
+ "@endo/patterns": "^1.7.0",
37
+ "@endo/promise-kit": "^1.1.13"
38
38
  },
39
39
  "devDependencies": {
40
- "@agoric/swingset-vat": "workspace:*",
41
- "@agoric/zone": "workspace:*",
42
- "@endo/env-options": "^1.1.8",
40
+ "@agoric/swingset-vat": "0.32.3-upgrade-22-dev-2f770ff.0.2f770ff",
41
+ "@agoric/zone": "0.2.3-upgrade-22-dev-2f770ff.0.2f770ff",
42
+ "@endo/env-options": "^1.1.11",
43
43
  "ava": "^5.3.0",
44
- "tsd": "^0.31.1"
44
+ "tsd": "^0.33.0"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
@@ -60,7 +60,7 @@
60
60
  "workerThreads": false
61
61
  },
62
62
  "typeCoverage": {
63
- "atLeast": 77.11
63
+ "atLeast": 77.17
64
64
  },
65
- "gitHead": "07d4845c9599083aecbf807668443865d0de0498"
65
+ "gitHead": "2f770ff5e26c3aa93f6d3aee5dd2d191b11f8144"
66
66
  }
package/src/convert.js CHANGED
@@ -4,7 +4,7 @@ import { objectMap } from '@endo/common/object-map.js';
4
4
  import {
5
5
  getErrorConstructor,
6
6
  getTag,
7
- isObject,
7
+ isPrimitive,
8
8
  makeTagged,
9
9
  passStyleOf,
10
10
  } from '@endo/pass-style';
@@ -32,7 +32,7 @@ const makeConvert = (convertRemotable, convertPromiseOrVow, convertError) => {
32
32
  };
33
33
 
34
34
  const innerConvert = specimen => {
35
- if (!isObject(specimen)) {
35
+ if (isPrimitive(specimen)) {
36
36
  return specimen;
37
37
  }
38
38
  const passStyle = passStyleOf(specimen);
package/src/equate.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Fail, X, annotateError, q } from '@endo/errors';
2
2
  import { throwLabeled } from '@endo/common/throw-labeled.js';
3
- import { getTag, isObject, passStyleOf } from '@endo/pass-style';
3
+ import { getTag, isPrimitive, passStyleOf } from '@endo/pass-style';
4
4
  import { recordNames } from '@endo/marshal';
5
5
  import { isVow } from '@agoric/vow/src/vow-utils.js';
6
6
 
@@ -23,7 +23,7 @@ export const makeEquate = bijection => {
23
23
  };
24
24
 
25
25
  const innerEquate = (g, h) => {
26
- if (!isObject(g)) {
26
+ if (isPrimitive(g)) {
27
27
  is(g, h) ||
28
28
  // separate line so I can set a breakpoint
29
29
  Fail`unequal ${g} vs ${h}`;
@@ -1 +1 @@
1
- {"root":["./index.js","./src/async-flow.js","./src/bijection.js","./src/convert.js","./src/endowments.js","./src/ephemera.js","./src/equate.js","./src/log-store.js","./src/replay-membrane.js","./src/type-guards.js","./src/types-index.d.ts","./src/types.ts"],"version":"5.8.3"}
1
+ {"root":["./index.js","./src/async-flow.js","./src/bijection.js","./src/convert.js","./src/endowments.js","./src/ephemera.js","./src/equate.js","./src/log-store.js","./src/replay-membrane.js","./src/type-guards.js","./src/types-index.d.ts","./src/types.ts"],"version":"5.9.2"}