@endo/eventual-send 1.1.0 → 1.1.1
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 +0 -2
- package/package.json +7 -6
- package/src/E.js +1 -1
package/README.md
CHANGED
|
@@ -8,8 +8,6 @@ Create a HandledPromise class to implement the eventual-send API. This API is u
|
|
|
8
8
|
|
|
9
9
|
## How to use
|
|
10
10
|
|
|
11
|
-
> Note: If you're writing an application, you probably don't want to use this package directly. You'll want to use the eventual-send `~.` operator (tildot) provided in [SES](https://github.com/Agoric/SES) or other platforms.
|
|
12
|
-
|
|
13
11
|
To install the `HandledPromise` global property shim, do:
|
|
14
12
|
|
|
15
13
|
```js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@endo/eventual-send",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Extend a Promise class to implement the eventual-send API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/no-shim.js",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
|
-
"url": "git+https://github.com/endojs/endo.git"
|
|
29
|
+
"url": "git+https://github.com/endojs/endo.git",
|
|
30
|
+
"directory": "packages/eventual-send"
|
|
30
31
|
},
|
|
31
32
|
"author": "Endo contributors",
|
|
32
33
|
"license": "Apache-2.0",
|
|
@@ -35,11 +36,11 @@
|
|
|
35
36
|
},
|
|
36
37
|
"homepage": "https://github.com/endojs/endo#readme",
|
|
37
38
|
"dependencies": {
|
|
38
|
-
"@endo/env-options": "^1.1.
|
|
39
|
+
"@endo/env-options": "^1.1.1"
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
|
-
"@endo/lockdown": "^1.0.
|
|
42
|
-
"@endo/ses-ava": "^1.1.
|
|
42
|
+
"@endo/lockdown": "^1.0.3",
|
|
43
|
+
"@endo/ses-ava": "^1.1.1",
|
|
43
44
|
"ava": "^5.3.0",
|
|
44
45
|
"c8": "^7.14.0",
|
|
45
46
|
"tsd": "^0.28.1"
|
|
@@ -72,5 +73,5 @@
|
|
|
72
73
|
"typeCoverage": {
|
|
73
74
|
"atLeast": 77.81
|
|
74
75
|
},
|
|
75
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "f731c5c12f8d185dbf2daf53ec6a57e5ac56e4e9"
|
|
76
77
|
}
|
package/src/E.js
CHANGED
|
@@ -53,7 +53,7 @@ const makeEProxyHandler = (recipient, HandledPromise) =>
|
|
|
53
53
|
// Reject the async function call
|
|
54
54
|
return HandledPromise.reject(
|
|
55
55
|
assert.error(
|
|
56
|
-
X`Unexpected receiver for "${propertyKey}" method of E(${q(
|
|
56
|
+
X`Unexpected receiver for "${q(propertyKey)}" method of E(${q(
|
|
57
57
|
recipient,
|
|
58
58
|
)})`,
|
|
59
59
|
),
|