Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

peer-data

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

peer-data - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

3

lib/app/socket-channel.d.ts

@@ -0,1 +1,2 @@

/// <reference types="socket.io-client" />
import { Signaling } from "./signaling/signaling";

@@ -5,3 +6,3 @@ import { SignalingEvent } from "./signaling/event";

private socket;
constructor();
constructor(opts?: SocketIOClient.ConnectOpts);
send(event: SignalingEvent): void;

@@ -8,0 +9,0 @@ private onIp(ipaddr);

@@ -7,4 +7,4 @@ "use strict";

class SocketChannel {
constructor() {
this.socket = io.connect();
constructor(opts) {
this.socket = io.connect(opts);
this.socket.on('message', this.onMessage);

@@ -11,0 +11,0 @@ this.socket.on('ipaddr', this.onIp);

{
"name": "peer-data",
"version": "1.0.11",
"version": "1.0.12",
"description": "PeerData - library for files, media streaming/sharing using WebRTC",

@@ -5,0 +5,0 @@ "scripts": {

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