@agoric/internal 0.3.3-dev-7cc5def.0 → 0.3.3-dev-3ce0599.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/package.json +9 -4
- package/src/install-ses-debug.d.ts +1 -1
- package/src/install-ses-debug.js +1 -1
- package/src/queue.d.ts.map +1 -1
- package/src/queue.js +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/internal",
|
|
3
|
-
"version": "0.3.3-dev-
|
|
3
|
+
"version": "0.3.3-dev-3ce0599.0+3ce0599",
|
|
4
4
|
"description": "Externally unsupported utilities internal to agoric-sdk",
|
|
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/assert": "0.6.1-dev-
|
|
24
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
23
|
+
"@agoric/assert": "0.6.1-dev-3ce0599.0+3ce0599",
|
|
24
|
+
"@agoric/base-zone": "0.1.1-dev-3ce0599.0+3ce0599",
|
|
25
25
|
"@endo/far": "^0.2.19",
|
|
26
26
|
"@endo/init": "^0.5.57",
|
|
27
27
|
"@endo/marshal": "^0.8.6",
|
|
@@ -36,6 +36,11 @@
|
|
|
36
36
|
"ava": "^5.3.0",
|
|
37
37
|
"tsd": "^0.28.1"
|
|
38
38
|
},
|
|
39
|
+
"ava": {
|
|
40
|
+
"require": [
|
|
41
|
+
"@endo/init/debug.js"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
39
44
|
"author": "Agoric",
|
|
40
45
|
"license": "Apache-2.0",
|
|
41
46
|
"files": [
|
|
@@ -44,5 +49,5 @@
|
|
|
44
49
|
"publishConfig": {
|
|
45
50
|
"access": "public"
|
|
46
51
|
},
|
|
47
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "3ce0599d5173b802598b5bedf57d3c30f016f789"
|
|
48
53
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=install-ses-debug.d.ts.map
|
package/src/install-ses-debug.js
CHANGED
package/src/queue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["queue.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["queue.js"],"names":[],"mappings":"AASO,uHAiDN"}
|
package/src/queue.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// @jessie-check
|
|
2
|
+
/* eslint @typescript-eslint/no-floating-promises: "warn" */
|
|
2
3
|
|
|
3
4
|
import { makePromiseKit } from '@endo/promise-kit';
|
|
4
5
|
|
|
@@ -16,7 +17,7 @@ export const makeWithQueue = () => {
|
|
|
16
17
|
}
|
|
17
18
|
const [thunk, resolve, reject] = queue[0];
|
|
18
19
|
// Run the thunk in a new turn.
|
|
19
|
-
Promise.resolve()
|
|
20
|
+
void Promise.resolve()
|
|
20
21
|
.then(thunk)
|
|
21
22
|
// Resolve or reject our caller with the thunk's value.
|
|
22
23
|
.then(resolve, reject)
|