🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

alice-bob

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alice-bob - npm Package Compare versions

Comparing version

to
1.2.0

4

dist/cjs/index.d.ts

@@ -65,5 +65,6 @@ /**

} & T;
interface AgentsOptions {
export interface AgentsOptions {
debug?: boolean;
}
export declare type AgentRecord<T> = Record<string | symbol, (...args: unknown[]) => T>;
/**

@@ -141,2 +142,1 @@ * AliceBob class.

}
export {};

@@ -65,5 +65,6 @@ /**

} & T;
interface AgentsOptions {
export interface AgentsOptions {
debug?: boolean;
}
export declare type AgentRecord<T> = Record<string | symbol, (...args: unknown[]) => T>;
/**

@@ -141,2 +142,1 @@ * AliceBob class.

}
export {};

@@ -6,3 +6,3 @@ {

"description": "transport agnostic strongly typed duplex rpc interfaces",
"version": "1.1.0",
"version": "1.2.0",
"license": "MIT",

@@ -9,0 +9,0 @@ "repository": {

@@ -146,3 +146,3 @@ <h1 align="center">👫<br>alice-bob</h1>

[src/index.ts:6-19](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L6-L19 "Source code on GitHub")
[src/index.ts:6-19](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L6-L19 "Source code on GitHub")

@@ -153,3 +153,3 @@ Payload.

[src/index.ts:10-10](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L10-L10 "Source code on GitHub")
[src/index.ts:10-10](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L10-L10 "Source code on GitHub")

@@ -162,3 +162,3 @@ Payload id.

[src/index.ts:14-14](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L14-L14 "Source code on GitHub")
[src/index.ts:14-14](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L14-L14 "Source code on GitHub")

@@ -171,3 +171,3 @@ Method to call.

[src/index.ts:18-18](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L18-L18 "Source code on GitHub")
[src/index.ts:18-18](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L18-L18 "Source code on GitHub")

@@ -180,3 +180,3 @@ The arguments passed to the method.

[src/index.ts:26-68](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L23-L25 "Source code on GitHub")
[src/index.ts:26-68](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L23-L25 "Source code on GitHub")

@@ -189,3 +189,3 @@ Agent.

[src/index.ts:30-30](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L30-L30 "Source code on GitHub")
[src/index.ts:30-30](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L30-L30 "Source code on GitHub")

@@ -198,3 +198,3 @@ Whether or not to log debugging information.

[src/index.ts:36-36](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L36-L36 "Source code on GitHub")
[src/index.ts:36-36](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L36-L36 "Source code on GitHub")

@@ -208,3 +208,3 @@ The name of the agent. Defaults to either 'alice' or 'bob' depending

[src/index.ts:41-41](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L41-L41 "Source code on GitHub")
[src/index.ts:41-41](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L41-L41 "Source code on GitHub")

@@ -217,3 +217,3 @@ The send method overriden by the user to any transport.

[src/index.ts:47-47](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L47-L47 "Source code on GitHub")
[src/index.ts:47-47](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L47-L47 "Source code on GitHub")

@@ -227,3 +227,3 @@ Returns the send method. Used in contexts where it might

[src/index.ts:57-57](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L57-L57 "Source code on GitHub")
[src/index.ts:57-57](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L57-L57 "Source code on GitHub")

@@ -236,3 +236,3 @@ Overridable logging function. Defaults to `console.log()` and prepends `agent.name`.

[src/index.ts:82-269](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L82-L269 "Source code on GitHub")
[src/index.ts:82-269](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L82-L269 "Source code on GitHub")

@@ -247,3 +247,3 @@ AliceBob class.

[src/index.ts:95-95](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L95-L95 "Source code on GitHub")
[src/index.ts:95-95](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L95-L95 "Source code on GitHub")

@@ -256,3 +256,3 @@ The local Agent.

[src/index.ts:99-99](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L99-L99 "Source code on GitHub")
[src/index.ts:99-99](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L99-L99 "Source code on GitHub")

@@ -265,3 +265,3 @@ The remote Agent.

[src/index.ts:265-268](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L265-L268 "Source code on GitHub")
[src/index.ts:265-268](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L265-L268 "Source code on GitHub")

@@ -284,3 +284,3 @@ Returns the agents tuple `[alice, bob]`.

[src/index.ts:277-287](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L277-L287 "Source code on GitHub")
[src/index.ts:277-287](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L277-L287 "Source code on GitHub")

@@ -297,3 +297,3 @@ **Extends AliceBob**

[src/index.ts:295-305](https://github.com/stagas/alice-bob/blob/d6320360075e76278be7cfe3f96d9b9aa562a6cb/src/index.ts#L295-L305 "Source code on GitHub")
[src/index.ts:295-305](https://github.com/stagas/alice-bob/blob/b63afb0d1105e8fd012dfb698294cd0868c5c8bc/src/index.ts#L295-L305 "Source code on GitHub")

@@ -300,0 +300,0 @@ **Extends AliceBob**