Socket
Socket
Sign inDemoInstall

@metamask/sdk-communication-layer

Package Overview
Dependencies
Maintainers
7
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/sdk-communication-layer - npm Package Compare versions

Comparing version 0.0.1-beta.2 to 0.0.1-beta.3

11

dist/browser/cjs/index.d.ts
import { EventEmitter2 } from 'eventemitter2';
import Socket from './Socket';
import WebRTC from './WebRTC';
export declare enum encryptionType {
ECDH = "ECDH",
ECIES = "ECIES"
}
export declare type DappMetadata = {

@@ -20,3 +16,2 @@ url: string;

transports?: string[];
encryption?: encryptionType;
};

@@ -41,6 +36,5 @@ export declare enum CommunicationLayerPreference {

transports: string[];
encryption: encryptionType;
platform: string;
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, encryption, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, encryption, }: {
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, }: {
CommLayer: any;

@@ -51,3 +45,2 @@ otherPublicKey: any;

reconnect: any;
encryption: any;
}): void;

@@ -54,0 +47,0 @@ clean(): void;

9

dist/browser/cjs/Socket.d.ts
import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType, CommunicationLayerPreference } from '.';
import { CommunicationLayerPreference } from '.';
export default class Socket extends EventEmitter2 {

@@ -11,8 +10,7 @@ socket: any;

channelId: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
manualDisconnect: boolean;
reconnect: boolean;
commLayer: CommunicationLayerPreference;
encryption: encryptionType;
constructor({ otherPublicKey, reconnect, commLayer, transports, encryption, }: {
constructor({ otherPublicKey, reconnect, commLayer, transports }: {
otherPublicKey: any;

@@ -22,3 +20,2 @@ reconnect: any;

transports: any;
encryption?: encryptionType;
});

@@ -25,0 +22,0 @@ receiveMessages(channelId: any): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType } from '.';
export default class WebRTC extends EventEmitter2 {

@@ -13,3 +11,3 @@ handshakeDone: boolean;

dataChannel: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
RTCPeerConnection: any;

@@ -19,4 +17,3 @@ RTCSessionDescription: any;

reconnect: boolean;
encryption: encryptionType;
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports, encryption, }: {
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports }: {
otherPublicKey: any;

@@ -27,3 +24,2 @@ webRTCLib: any;

transports: any;
encryption?: encryptionType;
});

@@ -30,0 +26,0 @@ setupWebrtc(): void;

import { EventEmitter2 } from 'eventemitter2';
import Socket from './Socket';
import WebRTC from './WebRTC';
export declare enum encryptionType {
ECDH = "ECDH",
ECIES = "ECIES"
}
export declare type DappMetadata = {

@@ -20,3 +16,2 @@ url: string;

transports?: string[];
encryption?: encryptionType;
};

@@ -41,6 +36,5 @@ export declare enum CommunicationLayerPreference {

transports: string[];
encryption: encryptionType;
platform: string;
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, encryption, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, encryption, }: {
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, }: {
CommLayer: any;

@@ -51,3 +45,2 @@ otherPublicKey: any;

reconnect: any;
encryption: any;
}): void;

@@ -54,0 +47,0 @@ clean(): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType, CommunicationLayerPreference } from '.';
import { CommunicationLayerPreference } from '.';
export default class Socket extends EventEmitter2 {

@@ -11,8 +10,7 @@ socket: any;

channelId: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
manualDisconnect: boolean;
reconnect: boolean;
commLayer: CommunicationLayerPreference;
encryption: encryptionType;
constructor({ otherPublicKey, reconnect, commLayer, transports, encryption, }: {
constructor({ otherPublicKey, reconnect, commLayer, transports }: {
otherPublicKey: any;

@@ -22,3 +20,2 @@ reconnect: any;

transports: any;
encryption?: encryptionType;
});

@@ -25,0 +22,0 @@ receiveMessages(channelId: any): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType } from '.';
export default class WebRTC extends EventEmitter2 {

@@ -13,3 +11,3 @@ handshakeDone: boolean;

dataChannel: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
RTCPeerConnection: any;

@@ -19,4 +17,3 @@ RTCSessionDescription: any;

reconnect: boolean;
encryption: encryptionType;
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports, encryption, }: {
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports }: {
otherPublicKey: any;

@@ -27,3 +24,2 @@ webRTCLib: any;

transports: any;
encryption?: encryptionType;
});

@@ -30,0 +26,0 @@ setupWebrtc(): void;

import { EventEmitter2 } from 'eventemitter2';
import Socket from './Socket';
import WebRTC from './WebRTC';
export declare enum encryptionType {
ECDH = "ECDH",
ECIES = "ECIES"
}
export declare type DappMetadata = {

@@ -20,3 +16,2 @@ url: string;

transports?: string[];
encryption?: encryptionType;
};

@@ -41,6 +36,5 @@ export declare enum CommunicationLayerPreference {

transports: string[];
encryption: encryptionType;
platform: string;
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, encryption, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, encryption, }: {
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, }: {
CommLayer: any;

@@ -51,3 +45,2 @@ otherPublicKey: any;

reconnect: any;
encryption: any;
}): void;

@@ -54,0 +47,0 @@ clean(): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType, CommunicationLayerPreference } from '.';
import { CommunicationLayerPreference } from '.';
export default class Socket extends EventEmitter2 {

@@ -11,8 +10,7 @@ socket: any;

channelId: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
manualDisconnect: boolean;
reconnect: boolean;
commLayer: CommunicationLayerPreference;
encryption: encryptionType;
constructor({ otherPublicKey, reconnect, commLayer, transports, encryption, }: {
constructor({ otherPublicKey, reconnect, commLayer, transports }: {
otherPublicKey: any;

@@ -22,3 +20,2 @@ reconnect: any;

transports: any;
encryption?: encryptionType;
});

@@ -25,0 +22,0 @@ receiveMessages(channelId: any): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType } from '.';
export default class WebRTC extends EventEmitter2 {

@@ -13,3 +11,3 @@ handshakeDone: boolean;

dataChannel: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
RTCPeerConnection: any;

@@ -19,4 +17,3 @@ RTCSessionDescription: any;

reconnect: boolean;
encryption: encryptionType;
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports, encryption, }: {
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports }: {
otherPublicKey: any;

@@ -27,3 +24,2 @@ webRTCLib: any;

transports: any;
encryption?: encryptionType;
});

@@ -30,0 +26,0 @@ setupWebrtc(): void;

import { EventEmitter2 } from 'eventemitter2';
import Socket from './Socket';
import WebRTC from './WebRTC';
export declare enum encryptionType {
ECDH = "ECDH",
ECIES = "ECIES"
}
export declare type DappMetadata = {

@@ -20,3 +16,2 @@ url: string;

transports?: string[];
encryption?: encryptionType;
};

@@ -41,6 +36,5 @@ export declare enum CommunicationLayerPreference {

transports: string[];
encryption: encryptionType;
platform: string;
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, encryption, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, encryption, }: {
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, }: {
CommLayer: any;

@@ -51,3 +45,2 @@ otherPublicKey: any;

reconnect: any;
encryption: any;
}): void;

@@ -54,0 +47,0 @@ clean(): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType, CommunicationLayerPreference } from '.';
import { CommunicationLayerPreference } from '.';
export default class Socket extends EventEmitter2 {

@@ -11,8 +10,7 @@ socket: any;

channelId: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
manualDisconnect: boolean;
reconnect: boolean;
commLayer: CommunicationLayerPreference;
encryption: encryptionType;
constructor({ otherPublicKey, reconnect, commLayer, transports, encryption, }: {
constructor({ otherPublicKey, reconnect, commLayer, transports }: {
otherPublicKey: any;

@@ -22,3 +20,2 @@ reconnect: any;

transports: any;
encryption?: encryptionType;
});

@@ -25,0 +22,0 @@ receiveMessages(channelId: any): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType } from '.';
export default class WebRTC extends EventEmitter2 {

@@ -13,3 +11,3 @@ handshakeDone: boolean;

dataChannel: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
RTCPeerConnection: any;

@@ -19,4 +17,3 @@ RTCSessionDescription: any;

reconnect: boolean;
encryption: encryptionType;
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports, encryption, }: {
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports }: {
otherPublicKey: any;

@@ -27,3 +24,2 @@ webRTCLib: any;

transports: any;
encryption?: encryptionType;
});

@@ -30,0 +26,0 @@ setupWebrtc(): void;

import { EventEmitter2 } from 'eventemitter2';
import Socket from './Socket';
import WebRTC from './WebRTC';
export declare enum encryptionType {
ECDH = "ECDH",
ECIES = "ECIES"
}
export declare type DappMetadata = {

@@ -20,3 +16,2 @@ url: string;

transports?: string[];
encryption?: encryptionType;
};

@@ -41,6 +36,5 @@ export declare enum CommunicationLayerPreference {

transports: string[];
encryption: encryptionType;
platform: string;
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, encryption, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, encryption, }: {
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, }: {
CommLayer: any;

@@ -51,3 +45,2 @@ otherPublicKey: any;

reconnect: any;
encryption: any;
}): void;

@@ -54,0 +47,0 @@ clean(): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType, CommunicationLayerPreference } from '.';
import { CommunicationLayerPreference } from '.';
export default class Socket extends EventEmitter2 {

@@ -11,8 +10,7 @@ socket: any;

channelId: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
manualDisconnect: boolean;
reconnect: boolean;
commLayer: CommunicationLayerPreference;
encryption: encryptionType;
constructor({ otherPublicKey, reconnect, commLayer, transports, encryption, }: {
constructor({ otherPublicKey, reconnect, commLayer, transports }: {
otherPublicKey: any;

@@ -22,3 +20,2 @@ reconnect: any;

transports: any;
encryption?: encryptionType;
});

@@ -25,0 +22,0 @@ receiveMessages(channelId: any): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType } from '.';
export default class WebRTC extends EventEmitter2 {

@@ -13,3 +11,3 @@ handshakeDone: boolean;

dataChannel: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
RTCPeerConnection: any;

@@ -19,4 +17,3 @@ RTCSessionDescription: any;

reconnect: boolean;
encryption: encryptionType;
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports, encryption, }: {
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports }: {
otherPublicKey: any;

@@ -27,3 +24,2 @@ webRTCLib: any;

transports: any;
encryption?: encryptionType;
});

@@ -30,0 +26,0 @@ setupWebrtc(): void;

import { EventEmitter2 } from 'eventemitter2';
import Socket from './Socket';
import WebRTC from './WebRTC';
export declare enum encryptionType {
ECDH = "ECDH",
ECIES = "ECIES"
}
export declare type DappMetadata = {

@@ -20,3 +16,2 @@ url: string;

transports?: string[];
encryption?: encryptionType;
};

@@ -41,6 +36,5 @@ export declare enum CommunicationLayerPreference {

transports: string[];
encryption: encryptionType;
platform: string;
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, encryption, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, encryption, }: {
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, }: {
CommLayer: any;

@@ -51,3 +45,2 @@ otherPublicKey: any;

reconnect: any;
encryption: any;
}): void;

@@ -54,0 +47,0 @@ clean(): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType, CommunicationLayerPreference } from '.';
import { CommunicationLayerPreference } from '.';
export default class Socket extends EventEmitter2 {

@@ -11,8 +10,7 @@ socket: any;

channelId: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
manualDisconnect: boolean;
reconnect: boolean;
commLayer: CommunicationLayerPreference;
encryption: encryptionType;
constructor({ otherPublicKey, reconnect, commLayer, transports, encryption, }: {
constructor({ otherPublicKey, reconnect, commLayer, transports }: {
otherPublicKey: any;

@@ -22,3 +20,2 @@ reconnect: any;

transports: any;
encryption?: encryptionType;
});

@@ -25,0 +22,0 @@ receiveMessages(channelId: any): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType } from '.';
export default class WebRTC extends EventEmitter2 {

@@ -13,3 +11,3 @@ handshakeDone: boolean;

dataChannel: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
RTCPeerConnection: any;

@@ -19,4 +17,3 @@ RTCSessionDescription: any;

reconnect: boolean;
encryption: encryptionType;
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports, encryption, }: {
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports }: {
otherPublicKey: any;

@@ -27,3 +24,2 @@ webRTCLib: any;

transports: any;
encryption?: encryptionType;
});

@@ -30,0 +26,0 @@ setupWebrtc(): void;

import { EventEmitter2 } from 'eventemitter2';
import Socket from './Socket';
import WebRTC from './WebRTC';
export declare enum encryptionType {
ECDH = "ECDH",
ECIES = "ECIES"
}
export declare type DappMetadata = {

@@ -20,3 +16,2 @@ url: string;

transports?: string[];
encryption?: encryptionType;
};

@@ -41,6 +36,5 @@ export declare enum CommunicationLayerPreference {

transports: string[];
encryption: encryptionType;
platform: string;
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, encryption, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, encryption, }: {
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, }: {
CommLayer: any;

@@ -51,3 +45,2 @@ otherPublicKey: any;

reconnect: any;
encryption: any;
}): void;

@@ -54,0 +47,0 @@ clean(): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType, CommunicationLayerPreference } from '.';
import { CommunicationLayerPreference } from '.';
export default class Socket extends EventEmitter2 {

@@ -11,8 +10,7 @@ socket: any;

channelId: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
manualDisconnect: boolean;
reconnect: boolean;
commLayer: CommunicationLayerPreference;
encryption: encryptionType;
constructor({ otherPublicKey, reconnect, commLayer, transports, encryption, }: {
constructor({ otherPublicKey, reconnect, commLayer, transports }: {
otherPublicKey: any;

@@ -22,3 +20,2 @@ reconnect: any;

transports: any;
encryption?: encryptionType;
});

@@ -25,0 +22,0 @@ receiveMessages(channelId: any): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType } from '.';
export default class WebRTC extends EventEmitter2 {

@@ -13,3 +11,3 @@ handshakeDone: boolean;

dataChannel: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
RTCPeerConnection: any;

@@ -19,4 +17,3 @@ RTCSessionDescription: any;

reconnect: boolean;
encryption: encryptionType;
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports, encryption, }: {
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports }: {
otherPublicKey: any;

@@ -27,3 +24,2 @@ webRTCLib: any;

transports: any;
encryption?: encryptionType;
});

@@ -30,0 +26,0 @@ setupWebrtc(): void;

import { EventEmitter2 } from 'eventemitter2';
import Socket from './Socket';
import WebRTC from './WebRTC';
export declare enum encryptionType {
ECDH = "ECDH",
ECIES = "ECIES"
}
export declare type DappMetadata = {

@@ -20,3 +16,2 @@ url: string;

transports?: string[];
encryption?: encryptionType;
};

@@ -41,6 +36,5 @@ export declare enum CommunicationLayerPreference {

transports: string[];
encryption: encryptionType;
platform: string;
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, encryption, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, encryption, }: {
constructor({ platform, commLayer, otherPublicKey, webRTCLib, reconnect, dappMetadata, transports, }: RemoteCommunicationOptions);
setupCommLayer({ CommLayer, otherPublicKey, webRTCLib, commLayer, reconnect, }: {
CommLayer: any;

@@ -51,3 +45,2 @@ otherPublicKey: any;

reconnect: any;
encryption: any;
}): void;

@@ -54,0 +47,0 @@ clean(): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType, CommunicationLayerPreference } from '.';
import { CommunicationLayerPreference } from '.';
export default class Socket extends EventEmitter2 {

@@ -11,8 +10,7 @@ socket: any;

channelId: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
manualDisconnect: boolean;
reconnect: boolean;
commLayer: CommunicationLayerPreference;
encryption: encryptionType;
constructor({ otherPublicKey, reconnect, commLayer, transports, encryption, }: {
constructor({ otherPublicKey, reconnect, commLayer, transports }: {
otherPublicKey: any;

@@ -22,3 +20,2 @@ reconnect: any;

transports: any;
encryption?: encryptionType;
});

@@ -25,0 +22,0 @@ receiveMessages(channelId: any): void;

import { EventEmitter2 } from 'eventemitter2';
import KeyExchange from './KeyExchange';
import KeyExchangeECDH from './KeyExchange_ECDH';
import { encryptionType } from '.';
export default class WebRTC extends EventEmitter2 {

@@ -13,3 +11,3 @@ handshakeDone: boolean;

dataChannel: any;
keyExchange: KeyExchange | KeyExchangeECDH;
keyExchange: KeyExchange;
RTCPeerConnection: any;

@@ -19,4 +17,3 @@ RTCSessionDescription: any;

reconnect: boolean;
encryption: encryptionType;
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports, encryption, }: {
constructor({ otherPublicKey, webRTCLib, commLayer, reconnect, transports }: {
otherPublicKey: any;

@@ -27,3 +24,2 @@ webRTCLib: any;

transports: any;
encryption?: encryptionType;
});

@@ -30,0 +26,0 @@ setupWebrtc(): void;

{
"name": "@metamask/sdk-communication-layer",
"version": "0.0.1-beta.2",
"version": "0.0.1-beta.3",
"private": false,

@@ -5,0 +5,0 @@ "description": "",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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