@agoric/internal 0.3.3-dev-c731c8c.0 → 0.3.3-dev-83b106a.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 +4 -4
- package/src/utils.d.ts +1 -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-83b106a.0+83b106a",
|
|
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-83b106a.0+83b106a",
|
|
24
|
+
"@agoric/base-zone": "0.1.1-dev-83b106a.0+83b106a",
|
|
25
25
|
"@endo/common": "^1.1.0",
|
|
26
26
|
"@endo/far": "^1.0.4",
|
|
27
27
|
"@endo/init": "^1.0.4",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"typeCoverage": {
|
|
54
54
|
"atLeast": 92.83
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "83b106a9f7096c609efa558b98a54e4dd1ef806f"
|
|
57
57
|
}
|
package/src/utils.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export type ERef<T> = import('@endo/eventual-send').ERef<T>;
|
|
|
56
56
|
* flatten the type output to improve type hints shown in editors
|
|
57
57
|
* https://github.com/sindresorhus/type-fest/blob/main/source/simplify.d.ts
|
|
58
58
|
*/
|
|
59
|
-
export type Simplify<T> = { [
|
|
59
|
+
export type Simplify<T> = { [KeyType in keyof T]: T[KeyType]; };
|
|
60
60
|
export type Callable = (...args: any[]) => any;
|
|
61
61
|
export type DeeplyAwaitedObject<T extends {}> = { [K in keyof T]: T[K] extends Callable ? T[K] : DeeplyAwaited<T[K]>; };
|
|
62
62
|
export type DeeplyAwaited<T> = T extends PromiseLike<any> ? Awaited<T> : T extends {} ? Simplify<DeeplyAwaitedObject<T>> : Awaited<T>;
|