@agoric/vats 0.15.2-dev-60cffcf.0 → 0.15.2-dev-0270908.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 +17 -17
- package/src/types.d.ts +1 -2
- package/src/vat-ibc.d.ts +16 -16
- package/src/vat-ibc.d.ts.map +1 -1
- package/src/vat-network.d.ts +6 -55
- package/src/vat-network.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/vats",
|
|
3
|
-
"version": "0.15.2-dev-
|
|
3
|
+
"version": "0.15.2-dev-0270908.0+0270908",
|
|
4
4
|
"description": "Agoric's Vat library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -22,20 +22,20 @@
|
|
|
22
22
|
"author": "Agoric",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agoric/assert": "0.6.1-dev-
|
|
26
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
27
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
28
|
-
"@agoric/governance": "0.10.4-dev-
|
|
29
|
-
"@agoric/internal": "0.3.3-dev-
|
|
30
|
-
"@agoric/network": "0.1.1-dev-
|
|
31
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
32
|
-
"@agoric/store": "0.9.3-dev-
|
|
33
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
34
|
-
"@agoric/time": "0.3.3-dev-
|
|
35
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
36
|
-
"@agoric/vow": "0.1.1-dev-
|
|
37
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
38
|
-
"@agoric/zone": "0.2.3-dev-
|
|
25
|
+
"@agoric/assert": "0.6.1-dev-0270908.0+0270908",
|
|
26
|
+
"@agoric/cosmic-proto": "0.4.1-dev-0270908.0+0270908",
|
|
27
|
+
"@agoric/ertp": "0.16.3-dev-0270908.0+0270908",
|
|
28
|
+
"@agoric/governance": "0.10.4-dev-0270908.0+0270908",
|
|
29
|
+
"@agoric/internal": "0.3.3-dev-0270908.0+0270908",
|
|
30
|
+
"@agoric/network": "0.1.1-dev-0270908.0+0270908",
|
|
31
|
+
"@agoric/notifier": "0.6.3-dev-0270908.0+0270908",
|
|
32
|
+
"@agoric/store": "0.9.3-dev-0270908.0+0270908",
|
|
33
|
+
"@agoric/swingset-vat": "0.32.3-dev-0270908.0+0270908",
|
|
34
|
+
"@agoric/time": "0.3.3-dev-0270908.0+0270908",
|
|
35
|
+
"@agoric/vat-data": "0.5.3-dev-0270908.0+0270908",
|
|
36
|
+
"@agoric/vow": "0.1.1-dev-0270908.0+0270908",
|
|
37
|
+
"@agoric/zoe": "0.26.3-dev-0270908.0+0270908",
|
|
38
|
+
"@agoric/zone": "0.2.3-dev-0270908.0+0270908",
|
|
39
39
|
"@endo/base64": "^1.0.5",
|
|
40
40
|
"@endo/far": "^1.1.2",
|
|
41
41
|
"@endo/import-bundle": "^1.1.2",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"jessie.js": "^0.3.4"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
50
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-0270908.0+0270908",
|
|
51
51
|
"@endo/bundle-source": "^3.2.3",
|
|
52
52
|
"@endo/init": "^1.1.2",
|
|
53
53
|
"ava": "^5.3.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"typeCoverage": {
|
|
81
81
|
"atLeast": 91.27
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "0270908690b17f67dc4a390c650353841df9f1e0"
|
|
84
84
|
}
|
package/src/types.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
+
import type { BridgeIdValue, Remote } from '@agoric/internal';
|
|
1
2
|
import type { Bytes } from '@agoric/network';
|
|
2
3
|
import type { PromiseVow, Remote } from '@agoric/vow';
|
|
3
4
|
import type { Guarded } from '@endo/exo';
|
|
4
|
-
import type { ERef } from '@endo/far';
|
|
5
|
-
import type { BridgeIdValue } from '@agoric/internal';
|
|
6
5
|
|
|
7
6
|
export type Board = ReturnType<
|
|
8
7
|
ReturnType<typeof import('./lib-board.js').prepareBoardKit>
|
package/src/vat-ibc.d.ts
CHANGED
|
@@ -4,14 +4,14 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
|
|
|
4
4
|
bridgeHandler: import("./types.js").BridgeHandler;
|
|
5
5
|
} | {
|
|
6
6
|
protocolHandler: import("@endo/exo").Guarded<{
|
|
7
|
-
onCreate(protocol: import("@agoric/
|
|
8
|
-
onInstantiate(port: import("@agoric/
|
|
9
|
-
generatePortID(localAddr: Endpoint, p: import("@agoric/
|
|
10
|
-
onBind(port: import("@agoric/
|
|
11
|
-
onConnect(port: import("@agoric/
|
|
12
|
-
onListen(port: import("@agoric/
|
|
13
|
-
onListenRemove(port: import("@agoric/
|
|
14
|
-
onRevoke(port: import("@agoric/
|
|
7
|
+
onCreate(protocol: import("@agoric/internal").Remote<import("@agoric/network").ProtocolImpl>, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<void>;
|
|
8
|
+
onInstantiate(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, remote: Endpoint, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<string>;
|
|
9
|
+
generatePortID(localAddr: Endpoint, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<string>;
|
|
10
|
+
onBind(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<void>;
|
|
11
|
+
onConnect(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, remote: Endpoint, c: import("@agoric/internal").Remote<import("@agoric/network").ConnectionHandler>, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<import("@agoric/network").AttemptDescription>;
|
|
12
|
+
onListen(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, listenHandler: import("@agoric/internal").Remote<import("@agoric/network").ListenHandler>, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<void>;
|
|
13
|
+
onListenRemove(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, listenHandler: import("@agoric/internal").Remote<import("@agoric/network").ListenHandler>, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<void>;
|
|
14
|
+
onRevoke(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<void>;
|
|
15
15
|
}>;
|
|
16
16
|
bridgeHandler: import("@endo/exo").Guarded<{
|
|
17
17
|
fromBridge(obj: import("./types.js").IBCEvent<import("./types.js").IBCBridgeEvent>): Promise<import("@agoric/vow").Vow<any> | undefined>;
|
|
@@ -26,14 +26,14 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
|
|
|
26
26
|
bridgeHandler: import("./types.js").BridgeHandler;
|
|
27
27
|
} | {
|
|
28
28
|
protocolHandler: import("@endo/exo").Guarded<{
|
|
29
|
-
onCreate(protocol: import("@agoric/
|
|
30
|
-
onInstantiate(port: import("@agoric/
|
|
31
|
-
generatePortID(localAddr: Endpoint, p: import("@agoric/
|
|
32
|
-
onBind(port: import("@agoric/
|
|
33
|
-
onConnect(port: import("@agoric/
|
|
34
|
-
onListen(port: import("@agoric/
|
|
35
|
-
onListenRemove(port: import("@agoric/
|
|
36
|
-
onRevoke(port: import("@agoric/
|
|
29
|
+
onCreate(protocol: import("@agoric/internal").Remote<import("@agoric/network").ProtocolImpl>, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<void>;
|
|
30
|
+
onInstantiate(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, remote: Endpoint, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<string>;
|
|
31
|
+
generatePortID(localAddr: Endpoint, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<string>;
|
|
32
|
+
onBind(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<void>;
|
|
33
|
+
onConnect(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, remote: Endpoint, c: import("@agoric/internal").Remote<import("@agoric/network").ConnectionHandler>, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<import("@agoric/network").AttemptDescription>;
|
|
34
|
+
onListen(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, listenHandler: import("@agoric/internal").Remote<import("@agoric/network").ListenHandler>, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<void>;
|
|
35
|
+
onListenRemove(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, listenHandler: import("@agoric/internal").Remote<import("@agoric/network").ListenHandler>, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<void>;
|
|
36
|
+
onRevoke(port: import("@agoric/internal").Remote<import("@agoric/network").Port>, localAddr: Endpoint, p: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>): import("@agoric/vow").PromiseVow<void>;
|
|
37
37
|
}>;
|
|
38
38
|
bridgeHandler: import("@endo/exo").Guarded<{
|
|
39
39
|
fromBridge(obj: import("./types.js").IBCEvent<import("./types.js").IBCBridgeEvent>): Promise<import("@agoric/vow").Vow<any> | undefined>;
|
package/src/vat-ibc.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vat-ibc.d.ts","sourceRoot":"","sources":["vat-ibc.js"],"names":[],"mappings":"AAKA;;;;;;;
|
|
1
|
+
{"version":3,"file":"vat-ibc.d.ts","sourceRoot":"","sources":["vat-ibc.js"],"names":[],"mappings":"AAKA;;;;;;;8GAoB84I,QAAS,UAAc,QAAS;sCAAlyB,QAAS;uGAAkL,QAAS;0GAAmxB,QAAS,UAAc,QAAS;yGAA7pB,QAAS;+GAAmM,QAAS;yGAAqqB,QAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GADx2J"}
|
package/src/vat-network.d.ts
CHANGED
|
@@ -6,25 +6,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
|
|
|
6
6
|
onConnect(_port: any, localAddr: string, remoteAddr: string): import("@agoric/vow").PromiseVow<import("@agoric/network").AttemptDescription>;
|
|
7
7
|
onInstantiate(_port: any, _localAddr: any, _remote: any, _protocol: any): Promise<string>;
|
|
8
8
|
onListen(port: any, localAddr: any, listenHandler: any, _protocolHandler: any): Promise<void>;
|
|
9
|
-
onListenRemove(port: import("@agoric/
|
|
10
|
-
/**
|
|
11
|
-
* The listener has been registered
|
|
12
|
-
*/
|
|
13
|
-
onListen?: undefined;
|
|
14
|
-
/**
|
|
15
|
-
* The connection was rejected
|
|
16
|
-
*/
|
|
17
|
-
onReject?: undefined;
|
|
18
|
-
/**
|
|
19
|
-
* There was an error while listening
|
|
20
|
-
*/
|
|
21
|
-
onError?: undefined;
|
|
22
|
-
/**
|
|
23
|
-
* The
|
|
24
|
-
* listener has been removed
|
|
25
|
-
*/
|
|
26
|
-
onRemove?: undefined;
|
|
27
|
-
}>, _protocolHandler: any): Promise<void>;
|
|
9
|
+
onListenRemove(port: import("@agoric/internal").Remote<import("@agoric/network").Port, never>, localAddr: string, listenHandler: import("@agoric/internal").Remote<import("@agoric/network").ListenHandler, never>, _protocolHandler: any): Promise<void>;
|
|
28
10
|
onRevoke(_port: any, _localAddr: any, _protocolHandler: any): Promise<void>;
|
|
29
11
|
}>;
|
|
30
12
|
makeEchoConnectionKit: () => import("@endo/exo").GuardedKit<{
|
|
@@ -41,9 +23,9 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
|
|
|
41
23
|
};
|
|
42
24
|
}>;
|
|
43
25
|
/** @param {Parameters<typeof protocol.registerProtocolHandler>} args */
|
|
44
|
-
registerProtocolHandler: (paths: string[], protocolHandler: import("@agoric/
|
|
26
|
+
registerProtocolHandler: (paths: string[], protocolHandler: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>) => void;
|
|
45
27
|
/** @param {Parameters<typeof protocol.unregisterProtocolHandler>} args */
|
|
46
|
-
unregisterProtocolHandler: (prefix: string, protocolHandler: import("@agoric/
|
|
28
|
+
unregisterProtocolHandler: (prefix: string, protocolHandler: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>) => void;
|
|
47
29
|
getPortAllocator(): import("@endo/exo").Guarded<{
|
|
48
30
|
allocateCustomIBCPort(specifiedName?: string): import("@agoric/vow").Vow<any>;
|
|
49
31
|
allocateICAControllerPort(): import("@agoric/vow").Vow<any>;
|
|
@@ -58,38 +40,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
|
|
|
58
40
|
onConnect(_port: any, localAddr: string, remoteAddr: string): import("@agoric/vow").PromiseVow<import("@agoric/network").AttemptDescription>;
|
|
59
41
|
onInstantiate(_port: any, _localAddr: any, _remote: any, _protocol: any): Promise<string>;
|
|
60
42
|
onListen(port: any, localAddr: any, listenHandler: any, _protocolHandler: any): Promise<void>;
|
|
61
|
-
onListenRemove(port: import("@agoric/
|
|
62
|
-
/**
|
|
63
|
-
* The listener has been registered
|
|
64
|
-
*/
|
|
65
|
-
/**
|
|
66
|
-
* The listener has been registered
|
|
67
|
-
*/
|
|
68
|
-
onListen?: undefined;
|
|
69
|
-
/**
|
|
70
|
-
* The connection was rejected
|
|
71
|
-
*/
|
|
72
|
-
/**
|
|
73
|
-
* The connection was rejected
|
|
74
|
-
*/
|
|
75
|
-
onReject?: undefined;
|
|
76
|
-
/**
|
|
77
|
-
* There was an error while listening
|
|
78
|
-
*/
|
|
79
|
-
/**
|
|
80
|
-
* There was an error while listening
|
|
81
|
-
*/
|
|
82
|
-
onError?: undefined;
|
|
83
|
-
/**
|
|
84
|
-
* The
|
|
85
|
-
* listener has been removed
|
|
86
|
-
*/
|
|
87
|
-
/**
|
|
88
|
-
* The
|
|
89
|
-
* listener has been removed
|
|
90
|
-
*/
|
|
91
|
-
onRemove?: undefined;
|
|
92
|
-
}>, _protocolHandler: any): Promise<void>;
|
|
43
|
+
onListenRemove(port: import("@agoric/internal").Remote<import("@agoric/network").Port, never>, localAddr: string, listenHandler: import("@agoric/internal").Remote<import("@agoric/network").ListenHandler, never>, _protocolHandler: any): Promise<void>;
|
|
93
44
|
onRevoke(_port: any, _localAddr: any, _protocolHandler: any): Promise<void>;
|
|
94
45
|
}>;
|
|
95
46
|
makeEchoConnectionKit: () => import("@endo/exo").GuardedKit<{
|
|
@@ -106,9 +57,9 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
|
|
|
106
57
|
};
|
|
107
58
|
}>;
|
|
108
59
|
/** @param {Parameters<typeof protocol.registerProtocolHandler>} args */
|
|
109
|
-
registerProtocolHandler: (paths: string[], protocolHandler: import("@agoric/
|
|
60
|
+
registerProtocolHandler: (paths: string[], protocolHandler: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>) => void;
|
|
110
61
|
/** @param {Parameters<typeof protocol.unregisterProtocolHandler>} args */
|
|
111
|
-
unregisterProtocolHandler: (prefix: string, protocolHandler: import("@agoric/
|
|
62
|
+
unregisterProtocolHandler: (prefix: string, protocolHandler: import("@agoric/internal").Remote<import("@agoric/network").ProtocolHandler>) => void;
|
|
112
63
|
getPortAllocator(): import("@endo/exo").Guarded<{
|
|
113
64
|
allocateCustomIBCPort(specifiedName?: string): import("@agoric/vow").Vow<any>;
|
|
114
65
|
allocateICAControllerPort(): import("@agoric/vow").Vow<any>;
|
package/src/vat-network.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vat-network.d.ts","sourceRoot":"","sources":["vat-network.js"],"names":[],"mappings":"AAWA
|
|
1
|
+
{"version":3,"file":"vat-network.d.ts","sourceRoot":"","sources":["vat-network.js"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;;;;;;;;;;;;IA0BI,wEAAwE;;IAGxE,0EAA0E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAH1E,wEAAwE;;IAGxE,0EAA0E;;;;;;;;GAO7E"}
|