New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@agoric/network

Package Overview
Dependencies
Maintainers
0
Versions
1070
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/network - npm Package Compare versions

Comparing version 0.1.1-dev-1976c50.0 to 0.1.1-dev-19c6d7f.0

40

package.json
{
"name": "@agoric/network",
"version": "0.1.1-dev-1976c50.0+1976c50",
"version": "0.1.1-dev-19c6d7f.0+19c6d7f",
"description": "Agoric's network protocol API",

@@ -11,5 +11,5 @@ "type": "module",

"prepack": "tsc --build tsconfig.build.json",
"postpack": "git clean -f '*.d.ts*'",
"postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'",
"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-1976c50.0+1976c50",
"@agoric/store": "0.9.3-dev-1976c50.0+1976c50",
"@agoric/vat-data": "0.5.3-dev-1976c50.0+1976c50",
"@endo/base64": "^1.0.7",
"@endo/errors": "^1.2.5",
"@endo/far": "^1.1.5",
"@endo/pass-style": "^1.4.3",
"@endo/patterns": "^1.4.3",
"@endo/promise-kit": "^1.1.5"
"@agoric/internal": "0.3.3-dev-19c6d7f.0+19c6d7f",
"@agoric/store": "0.9.3-dev-19c6d7f.0+19c6d7f",
"@agoric/vat-data": "0.5.3-dev-19c6d7f.0+19c6d7f",
"@endo/base64": "^1.0.9",
"@endo/errors": "^1.2.9",
"@endo/far": "^1.1.10",
"@endo/pass-style": "^1.4.8",
"@endo/patterns": "^1.4.8",
"@endo/promise-kit": "^1.1.9"
},
"devDependencies": {
"@agoric/swingset-liveslots": "0.10.3-dev-1976c50.0+1976c50",
"@agoric/swingset-vat": "0.32.3-dev-1976c50.0+1976c50",
"@agoric/vow": "0.1.1-dev-1976c50.0+1976c50",
"@agoric/zone": "0.2.3-dev-1976c50.0+1976c50",
"@endo/bundle-source": "^3.4.0",
"@agoric/swingset-liveslots": "0.10.3-dev-19c6d7f.0+19c6d7f",
"@agoric/swingset-vat": "0.32.3-dev-19c6d7f.0+19c6d7f",
"@agoric/vow": "0.1.1-dev-19c6d7f.0+19c6d7f",
"@agoric/zone": "0.2.3-dev-19c6d7f.0+19c6d7f",
"@endo/bundle-source": "^3.5.1",
"ava": "^5.3.0",
"c8": "^9.1.0"
"c8": "^10.1.2"
},

@@ -71,5 +71,5 @@ "exports": {

"typeCoverage": {
"atLeast": 90.69
"atLeast": 91.16
},
"gitHead": "1976c502bcaac2e7d21f42b30447671a61053236"
"gitHead": "19c6d7f5cc40451f5ceac02bb7aedcead6457490"
}

@@ -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>;

@@ -407,3 +407,3 @@ // @ts-check

/** @enum {number} */
/** @enum {typeof RevokeState[keyof typeof RevokeState]} */
const RevokeState = /** @type {const} */ ({

@@ -414,2 +414,3 @@ NOT_REVOKED: 0,

});
harden(RevokeState);

@@ -416,0 +417,0 @@ /**

@@ -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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc