@agoric/network 0.1.1-dev-8879538.0 → 0.1.1-dev-6c8bf5c.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 +2 -0
- package/src/network.d.ts.map +1 -1
- package/src/network.js +1 -0
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-6c8bf5c.0+6c8bf5c",
|
|
4
4
|
"description": "Agoric's network protocol API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -21,20 +21,20 @@
|
|
|
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-6c8bf5c.0+6c8bf5c",
|
|
25
|
+
"@agoric/internal": "0.3.3-dev-6c8bf5c.0+6c8bf5c",
|
|
26
|
+
"@agoric/store": "0.9.3-dev-6c8bf5c.0+6c8bf5c",
|
|
27
|
+
"@agoric/vat-data": "0.5.3-dev-6c8bf5c.0+6c8bf5c",
|
|
28
28
|
"@endo/base64": "^1.0.5",
|
|
29
29
|
"@endo/far": "^1.1.2",
|
|
30
30
|
"@endo/patterns": "^1.4.0",
|
|
31
31
|
"@endo/promise-kit": "^1.1.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
35
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
36
|
-
"@agoric/vow": "0.1.1-dev-
|
|
37
|
-
"@agoric/zone": "0.2.3-dev-
|
|
34
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-6c8bf5c.0+6c8bf5c",
|
|
35
|
+
"@agoric/swingset-vat": "0.32.3-dev-6c8bf5c.0+6c8bf5c",
|
|
36
|
+
"@agoric/vow": "0.1.1-dev-6c8bf5c.0+6c8bf5c",
|
|
37
|
+
"@agoric/zone": "0.2.3-dev-6c8bf5c.0+6c8bf5c",
|
|
38
38
|
"@endo/bundle-source": "^3.2.3",
|
|
39
39
|
"ava": "^5.3.0",
|
|
40
40
|
"c8": "^9.1.0"
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"typeCoverage": {
|
|
68
68
|
"atLeast": 89.39
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "6c8bf5c1a42dca67dd1739e06eb642c2362eb52a"
|
|
71
71
|
}
|
package/src/network.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* @param {string} addr
|
|
5
5
|
*/
|
|
6
6
|
export function getPrefixes(addr: string): string[];
|
|
7
|
+
/** @typedef {ReturnType<typeof prepareEchoConnectionKit>} MakeEchoConnectionKit */
|
|
7
8
|
/**
|
|
8
9
|
* Create a protocol handler that just connects to itself.
|
|
9
10
|
*
|
|
@@ -103,6 +104,7 @@ export function preparePortAllocator(zone: import("@agoric/base-zone").Zone, { w
|
|
|
103
104
|
allocateICQControllerPort(): import("@agoric/vow").Vow<any>;
|
|
104
105
|
allocateCustomLocalPort(specifiedName?: string): import("@agoric/vow").Vow<any>;
|
|
105
106
|
}>;
|
|
107
|
+
export type MakeEchoConnectionKit = ReturnType<typeof prepareEchoConnectionKit>;
|
|
106
108
|
export type ConnectionOpts = {
|
|
107
109
|
addrs: string[];
|
|
108
110
|
handlers: import("@agoric/vow").Remote<Required<ConnectionHandler>, never>[];
|
package/src/network.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["network.js"],"names":[],"mappings":"AAkCA;;;;GAIG;AACH,kCAFW,MAAM,YAahB;
|
|
1
|
+
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["network.js"],"names":[],"mappings":"AAkCA;;;;GAIG;AACH,kCAFW,MAAM,YAahB;AAytCD,mFAAmF;AAEnF;;;;;GAKG;AACH,qDAHW,OAAO,mBAAmB,EAAE,IAAI,sBAChC,UAAU;;;uFArwCoG,CAAC;;;;EAqwC9D;;;;IAmCpD;;;;;OAKG;;;;IAgEH;;;;;OAKG;;;GA8CV;AAj6CD;;GAEG;AAEH;;;GAGG;AACH,qCAAsC;AAG/B,0CADK,OAAO,aAWlB;AAyJM,0CARI,OAAO,cAAc,EAAE,IAAI,+MAKpB,cAAc,wFAgD/B;AAi7BM,6CAHI,OAAO,mBAAmB,EAAE,IAAI,UAChC,UAAU;;;;;;;EAAuC,uFAkC3D;AAOM,+CAFI,OAAO,mBAAmB,EAAE,IAAI;;QAsCnC;;;;WAIG;;QASH;;;;WAIG;;;;;YAjBH;;;;eAIG;;YASH;;;;eAIG;;;;;GAuBV;AAyKM,2CAHI,OAAO,mBAAmB,EAAE,IAAI,aAChC,UAAU;;;;;;;EAAuC;;;;;GA+DzD;oCArOW,UAAU,CAAC,OAAO,wBAAwB,CAAC;;;;;;OAnsC3C,CAAC,GAAC,CAAC;OACH,CAAC,GAAC,CAAC;;wCA7DyJ,YAAY;0BAAZ,YAAY;mCAAZ,YAAY;uCAAZ,YAAY;gCAAZ,YAAY;8BAAZ,YAAY;qCAAZ,YAAY;8BAAZ,YAAY"}
|
package/src/network.js
CHANGED
|
@@ -1289,6 +1289,7 @@ export const prepareEchoConnectionKit = zone => {
|
|
|
1289
1289
|
|
|
1290
1290
|
return makeEchoConnectionKit;
|
|
1291
1291
|
};
|
|
1292
|
+
/** @typedef {ReturnType<typeof prepareEchoConnectionKit>} MakeEchoConnectionKit */
|
|
1292
1293
|
|
|
1293
1294
|
/**
|
|
1294
1295
|
* Create a protocol handler that just connects to itself.
|