@agoric/network
Advanced tools
Comparing version 0.1.1-dev-b2a7540.0 to 0.1.1-dev-b2cb709.0
{ | ||
"name": "@agoric/network", | ||
"version": "0.1.1-dev-b2a7540.0+b2a7540", | ||
"version": "0.1.1-dev-b2cb709.0+b2cb709", | ||
"description": "Agoric's network protocol API", | ||
@@ -13,3 +13,3 @@ "type": "module", | ||
"test": "ava", | ||
"test:c8": "c8 $C8_OPTIONS ava", | ||
"test:c8": "c8 --all $C8_OPTIONS ava", | ||
"test:xs": "exit 0", | ||
@@ -25,20 +25,20 @@ "lint-fix": "yarn lint:eslint --fix", | ||
"dependencies": { | ||
"@agoric/internal": "0.3.3-dev-b2a7540.0+b2a7540", | ||
"@agoric/store": "0.9.3-dev-b2a7540.0+b2a7540", | ||
"@agoric/vat-data": "0.5.3-dev-b2a7540.0+b2a7540", | ||
"@endo/base64": "^1.0.8", | ||
"@endo/errors": "^1.2.7", | ||
"@endo/far": "^1.1.8", | ||
"@endo/pass-style": "^1.4.6", | ||
"@endo/patterns": "^1.4.6", | ||
"@endo/promise-kit": "^1.1.7" | ||
"@agoric/internal": "0.3.3-dev-b2cb709.0+b2cb709", | ||
"@agoric/store": "0.9.3-dev-b2cb709.0+b2cb709", | ||
"@agoric/vat-data": "0.5.3-dev-b2cb709.0+b2cb709", | ||
"@endo/base64": "^1.0.9", | ||
"@endo/errors": "^1.2.8", | ||
"@endo/far": "^1.1.9", | ||
"@endo/pass-style": "^1.4.7", | ||
"@endo/patterns": "^1.4.7", | ||
"@endo/promise-kit": "^1.1.8" | ||
}, | ||
"devDependencies": { | ||
"@agoric/swingset-liveslots": "0.10.3-dev-b2a7540.0+b2a7540", | ||
"@agoric/swingset-vat": "0.32.3-dev-b2a7540.0+b2a7540", | ||
"@agoric/vow": "0.1.1-dev-b2a7540.0+b2a7540", | ||
"@agoric/zone": "0.2.3-dev-b2a7540.0+b2a7540", | ||
"@endo/bundle-source": "^3.4.2", | ||
"@agoric/swingset-liveslots": "0.10.3-dev-b2cb709.0+b2cb709", | ||
"@agoric/swingset-vat": "0.32.3-dev-b2cb709.0+b2cb709", | ||
"@agoric/vow": "0.1.1-dev-b2cb709.0+b2cb709", | ||
"@agoric/zone": "0.2.3-dev-b2cb709.0+b2cb709", | ||
"@endo/bundle-source": "^3.5.0", | ||
"ava": "^5.3.0", | ||
"c8": "^9.1.0" | ||
"c8": "^10.1.2" | ||
}, | ||
@@ -73,3 +73,3 @@ "exports": { | ||
}, | ||
"gitHead": "b2a754093f7e01728e43ba8842c3e44f8fdd20bd" | ||
"gitHead": "b2cb709533024613178948b2b291ce4b9b490932" | ||
} |
@@ -14,3 +14,3 @@ /** | ||
*/ | ||
export function prepareLoopbackProtocolHandler(zone: import("@agoric/base-zone").Zone, { watch, allVows }: VowTools): (instancePrefix?: string | undefined) => import("@endo/exo").Guarded<{ | ||
export function prepareLoopbackProtocolHandler(zone: import("@agoric/base-zone").Zone, { watch, allVows }: VowTools): (instancePrefix?: string) => import("@endo/exo").Guarded<{ | ||
onCreate(_impl: any, _protocolHandler: any): Promise<void>; | ||
@@ -44,3 +44,3 @@ generatePortID(_localAddr: any, _protocolHandler: any): Promise<string>; | ||
export function rethrowUnlessMissing(err: unknown): undefined; | ||
export function crossoverConnection(zone: import("@agoric/zone").Zone, handler0: Remote<Required<ConnectionHandler>>, addr0: Endpoint, handler1: Remote<Required<ConnectionHandler>>, addr1: Endpoint, makeConnection: (opts: ConnectionOpts) => Connection, finalizer: Finalizer, current?: globalThis.WeakSetStore<Closable> | undefined): Connection[]; | ||
export function crossoverConnection(zone: import("@agoric/zone").Zone, handler0: Remote<Required<ConnectionHandler>>, addr0: Endpoint, handler1: Remote<Required<ConnectionHandler>>, addr1: Endpoint, makeConnection: (opts: ConnectionOpts) => Connection, finalizer: Finalizer, current?: WeakSetStore<Closable>): Connection[]; | ||
export function prepareNetworkProtocol(zone: import("@agoric/base-zone").Zone, powers: Powers): (protocolHandler: Remote<ProtocolHandler>) => Protocol; | ||
@@ -60,3 +60,3 @@ export function prepareEchoConnectionKit(zone: import("@agoric/base-zone").Zone): () => import("@endo/exo").GuardedKit<{ | ||
*/ | ||
onClose(_connection: Connection, reason?: CloseReason, _connectionHandler?: ConnectionHandler | undefined): Promise<void>; | ||
onClose(_connection: Connection, reason?: CloseReason, _connectionHandler?: ConnectionHandler): Promise<void>; | ||
}; | ||
@@ -76,3 +76,3 @@ listener: { | ||
*/ | ||
onClose(_connection: Connection, reason?: CloseReason, _connectionHandler?: ConnectionHandler | undefined): Promise<void>; | ||
onClose(_connection: Connection, reason?: CloseReason, _connectionHandler?: ConnectionHandler): Promise<void>; | ||
}>>; | ||
@@ -79,0 +79,0 @@ onListen(port: any, _listenHandler: any): Promise<void>; |
@@ -34,12 +34,3 @@ /** | ||
}>; | ||
export function prepareRouterProtocol(zone: import("@agoric/base-zone").Zone, powers: import("./network.js").Powers, E?: ((<T>(x: T) => import("../../../node_modules/@endo/eventual-send/src/E.js").ECallableOrMethods<import("@endo/eventual-send").RemoteFunctions<T>>) & { | ||
readonly get: <T>(x: T) => import("../../../node_modules/@endo/eventual-send/src/E.js").EGetters<import("@endo/eventual-send").LocalRecord<T>>; | ||
readonly resolve: { | ||
(): Promise<void>; | ||
<T>(value: T): Promise<Awaited<T>>; | ||
<T>(value: T | PromiseLike<T>): Promise<Awaited<T>>; | ||
}; | ||
readonly sendOnly: <T>(x: T) => import("../../../node_modules/@endo/eventual-send/src/E.js").ESendOnlyCallableOrMethods<import("@endo/eventual-send").RemoteFunctions<T>>; | ||
readonly when: <T, U = T>(x: T | PromiseLike<T>, onfulfilled?: ((value: T) => import("@endo/eventual-send").ERef<U>) | undefined, onrejected?: ((reason: any) => import("@endo/eventual-send").ERef<U>) | undefined) => Promise<U>; | ||
}) | undefined): () => import("@endo/exo").Guarded<{ | ||
export function prepareRouterProtocol(zone: import("@agoric/base-zone").Zone, powers: import("./network.js").Powers, E?: typeof defaultE): () => import("@endo/exo").Guarded<{ | ||
/** | ||
@@ -84,2 +75,3 @@ * @param {string[]} paths | ||
import type { Endpoint } from './types.js'; | ||
import { E as defaultE } from '@endo/far'; | ||
import type { ProtocolHandler } from './types.js'; | ||
@@ -86,0 +78,0 @@ import type { Remote } from '@agoric/vow'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
130400
2850
Updated@endo/base64@^1.0.9
Updated@endo/errors@^1.2.8
Updated@endo/far@^1.1.9
Updated@endo/pass-style@^1.4.7
Updated@endo/patterns@^1.4.7
Updated@endo/promise-kit@^1.1.8