@agoric/network 0.1.1-dev-01a1123.0 → 0.1.1-dev-0af876f.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 +10 -10
- package/src/network.d.ts +3 -3
- package/src/router.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/network",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-0af876f.0+0af876f",
|
|
4
4
|
"description": "Agoric's network protocol API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"author": "Agoric",
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@agoric/assert": "0.6.1-dev-
|
|
25
|
-
"@agoric/internal": "0.3.3-dev-
|
|
26
|
-
"@agoric/store": "0.9.3-dev-
|
|
27
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
24
|
+
"@agoric/assert": "0.6.1-dev-0af876f.0+0af876f",
|
|
25
|
+
"@agoric/internal": "0.3.3-dev-0af876f.0+0af876f",
|
|
26
|
+
"@agoric/store": "0.9.3-dev-0af876f.0+0af876f",
|
|
27
|
+
"@agoric/vat-data": "0.5.3-dev-0af876f.0+0af876f",
|
|
28
28
|
"@endo/base64": "^1.0.5",
|
|
29
29
|
"@endo/far": "^1.1.2",
|
|
30
30
|
"@endo/pass-style": "^1.4.0",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"@endo/promise-kit": "^1.1.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
36
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
37
|
-
"@agoric/vow": "0.1.1-dev-
|
|
38
|
-
"@agoric/zone": "0.2.3-dev-
|
|
35
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-0af876f.0+0af876f",
|
|
36
|
+
"@agoric/swingset-vat": "0.32.3-dev-0af876f.0+0af876f",
|
|
37
|
+
"@agoric/vow": "0.1.1-dev-0af876f.0+0af876f",
|
|
38
|
+
"@agoric/zone": "0.2.3-dev-0af876f.0+0af876f",
|
|
39
39
|
"@endo/bundle-source": "^3.2.3",
|
|
40
40
|
"ava": "^5.3.0",
|
|
41
41
|
"c8": "^9.1.0"
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"typeCoverage": {
|
|
69
69
|
"atLeast": 89.7
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "0af876fb087f76a8144730969bb88b13403d02db"
|
|
72
72
|
}
|
package/src/network.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export function prepareLoopbackProtocolHandler(zone: import("@agoric/base-zone")
|
|
|
15
15
|
isRetryableReason?: import("@agoric/vow").IsRetryableReason | undefined;
|
|
16
16
|
} | undefined) => {
|
|
17
17
|
when: <T, TResult1 = import("@agoric/vow").EUnwrap<T>, TResult2 = never>(specimenP: T, onFulfilled?: ((value: import("@agoric/vow").EUnwrap<T>) => TResult1 | PromiseLike<TResult1>) | undefined, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined) => Promise<TResult1 | TResult2>;
|
|
18
|
-
watch: <T = any, TResult1 = T, TResult2 = never, C = any>(specimenP: import("@agoric/vow").ERef<T | import("@agoric/vow").Vow<T>>, watcher?: import("@agoric/vow").Watcher<T, TResult1, TResult2> | undefined,
|
|
18
|
+
watch: <T = any, TResult1 = T, TResult2 = never, C extends any[] = any[]>(specimenP: import("@agoric/vow").ERef<T | import("@agoric/vow").Vow<T>>, watcher?: import("@agoric/vow").Watcher<T, TResult1, TResult2, C> | undefined, ...watcherArgs: C) => import("@agoric/vow").Vow<Exclude<TResult1, void> | Exclude<TResult2, void> extends never ? TResult1 : Exclude<TResult1, void> | Exclude<TResult2, void>>;
|
|
19
19
|
makeVowKit: <T>() => import("@agoric/vow").VowKit<T>;
|
|
20
20
|
allVows: (vows: unknown[]) => import("@agoric/vow").Vow<any[]>;
|
|
21
21
|
}>): (instancePrefix?: string | undefined) => import("@endo/exo").Guarded<{
|
|
@@ -54,7 +54,7 @@ export function prepareNetworkProtocol(zone: import("@agoric/base-zone").Zone, p
|
|
|
54
54
|
isRetryableReason?: import("@agoric/vow").IsRetryableReason | undefined;
|
|
55
55
|
} | undefined) => {
|
|
56
56
|
when: <T, TResult1 = import("@agoric/vow").EUnwrap<T>, TResult2 = never>(specimenP: T, onFulfilled?: ((value: import("@agoric/vow").EUnwrap<T>) => TResult1 | PromiseLike<TResult1>) | undefined, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined) => Promise<TResult1 | TResult2>;
|
|
57
|
-
watch: <T = any, TResult1 = T, TResult2 = never, C = any>(specimenP: import("@agoric/vow").ERef<T | import("@agoric/vow").Vow<T>>, watcher?: import("@agoric/vow").Watcher<T, TResult1, TResult2> | undefined,
|
|
57
|
+
watch: <T = any, TResult1 = T, TResult2 = never, C extends any[] = any[]>(specimenP: import("@agoric/vow").ERef<T | import("@agoric/vow").Vow<T>>, watcher?: import("@agoric/vow").Watcher<T, TResult1, TResult2, C> | undefined, ...watcherArgs: C) => import("@agoric/vow").Vow<Exclude<TResult1, void> | Exclude<TResult2, void> extends never ? TResult1 : Exclude<TResult1, void> | Exclude<TResult2, void>>;
|
|
58
58
|
makeVowKit: <T>() => import("@agoric/vow").VowKit<T>;
|
|
59
59
|
allVows: (vows: unknown[]) => import("@agoric/vow").Vow<any[]>;
|
|
60
60
|
}>): (protocolHandler: import("@agoric/vow").Remote<ProtocolHandler>) => Protocol;
|
|
@@ -95,7 +95,7 @@ export function preparePortAllocator(zone: import("@agoric/base-zone").Zone, { w
|
|
|
95
95
|
isRetryableReason?: import("@agoric/vow").IsRetryableReason | undefined;
|
|
96
96
|
} | undefined) => {
|
|
97
97
|
when: <T, TResult1 = import("@agoric/vow").EUnwrap<T>, TResult2 = never>(specimenP: T, onFulfilled?: ((value: import("@agoric/vow").EUnwrap<T>) => TResult1 | PromiseLike<TResult1>) | undefined, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined) => Promise<TResult1 | TResult2>;
|
|
98
|
-
watch: <T = any, TResult1 = T, TResult2 = never, C = any>(specimenP: import("@agoric/vow").ERef<T | import("@agoric/vow").Vow<T>>, watcher?: import("@agoric/vow").Watcher<T, TResult1, TResult2> | undefined,
|
|
98
|
+
watch: <T = any, TResult1 = T, TResult2 = never, C extends any[] = any[]>(specimenP: import("@agoric/vow").ERef<T | import("@agoric/vow").Vow<T>>, watcher?: import("@agoric/vow").Watcher<T, TResult1, TResult2, C> | undefined, ...watcherArgs: C) => import("@agoric/vow").Vow<Exclude<TResult1, void> | Exclude<TResult2, void> extends never ? TResult1 : Exclude<TResult1, void> | Exclude<TResult2, void>>;
|
|
99
99
|
makeVowKit: <T>() => import("@agoric/vow").VowKit<T>;
|
|
100
100
|
allVows: (vows: unknown[]) => import("@agoric/vow").Vow<any[]>;
|
|
101
101
|
}>): (args_0: {
|
package/src/router.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export function prepareRouterProtocol(zone: import("@agoric/base-zone").Zone, po
|
|
|
35
35
|
isRetryableReason?: import("@agoric/vow").IsRetryableReason | undefined;
|
|
36
36
|
} | undefined) => {
|
|
37
37
|
when: <T, TResult1 = import("@agoric/vow").EUnwrap<T>, TResult2 = never>(specimenP: T, onFulfilled?: ((value: import("@agoric/vow").EUnwrap<T>) => TResult1 | PromiseLike<TResult1>) | undefined, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined) => Promise<TResult1 | TResult2>;
|
|
38
|
-
watch: <T = any, TResult1 = T, TResult2 = never, C = any>(specimenP: import("@agoric/vow").ERef<T | import("@agoric/vow").Vow<T>>, watcher?: import("@agoric/vow").Watcher<T, TResult1, TResult2> | undefined,
|
|
38
|
+
watch: <T = any, TResult1 = T, TResult2 = never, C extends any[] = any[]>(specimenP: import("@agoric/vow").ERef<T | import("@agoric/vow").Vow<T>>, watcher?: import("@agoric/vow").Watcher<T, TResult1, TResult2, C> | undefined, ...watcherArgs: C) => import("@agoric/vow").Vow<Exclude<TResult1, void> | Exclude<TResult2, void> extends never ? TResult1 : Exclude<TResult1, void> | Exclude<TResult2, void>>;
|
|
39
39
|
makeVowKit: <T>() => VowKit<T>;
|
|
40
40
|
allVows: (vows: unknown[]) => import("@agoric/vow").Vow<any[]>;
|
|
41
41
|
}>, E?: ((<T>(x: T) => import("../../../node_modules/@endo/eventual-send/src/E.js").ECallableOrMethods<import("@endo/eventual-send").RemoteFunctions<T>>) & {
|