@agoric/vow 0.1.1-dev-24528f1.0 → 0.1.1-dev-3f2cb5c.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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/src/vow-utils.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/vow",
3
- "version": "0.1.1-dev-24528f1.0+24528f1",
3
+ "version": "0.1.1-dev-3f2cb5c.0+3f2cb5c",
4
4
  "description": "Remote (shortening and disconnection-tolerant) Promise-likes",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -20,8 +20,8 @@
20
20
  "lint:types": "tsc"
21
21
  },
22
22
  "dependencies": {
23
- "@agoric/base-zone": "0.1.1-dev-24528f1.0+24528f1",
24
- "@agoric/internal": "0.3.3-dev-24528f1.0+24528f1",
23
+ "@agoric/base-zone": "0.1.1-dev-3f2cb5c.0+3f2cb5c",
24
+ "@agoric/internal": "0.3.3-dev-3f2cb5c.0+3f2cb5c",
25
25
  "@endo/env-options": "^1.1.4",
26
26
  "@endo/errors": "^1.2.2",
27
27
  "@endo/eventual-send": "^1.2.2",
@@ -54,7 +54,7 @@
54
54
  "access": "public"
55
55
  },
56
56
  "typeCoverage": {
57
- "atLeast": 89.6
57
+ "atLeast": 90.06
58
58
  },
59
- "gitHead": "24528f1e377f41e13e9fe47a6f04c0f4b0c33452"
59
+ "gitHead": "3f2cb5ca05d2514ceef73764618536263ef7a835"
60
60
  }
package/src/vow-utils.js CHANGED
@@ -94,9 +94,9 @@ export const makeAsVow = makeVowKit => {
94
94
  if (isVow(result)) {
95
95
  return result;
96
96
  }
97
- const kit = makeVowKit();
98
- kit.resolver.resolve(result);
99
- return kit.vow;
97
+ const { vow, resolver } = makeVowKit();
98
+ resolver.resolve(result);
99
+ return vow;
100
100
  };
101
101
  return harden(asVow);
102
102
  };