Socket
Socket
Sign inDemoInstall

@geckos.io/client

Package Overview
Dependencies
1
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

0

lib/bundle.d.ts
import client from './geckos/channel.js';
export default client;
//# sourceMappingURL=bundle.d.ts.map
import client from './geckos/channel.js';
export default client;
//# sourceMappingURL=bundle.js.map

@@ -0,0 +0,0 @@ import * as Types from '@geckos.io/common/lib/types.js';

3

lib/geckos/channel.js

@@ -94,4 +94,3 @@ import ConnectionsManagerClient from '../wrtc/connectionsManager.js';

// keep track of the maxMessageSize
this.maxMessageSize = this.connectionsManager.maxMessageSize =
(_a = this.peerConnection.localPeerConnection.sctp) === null || _a === void 0 ? void 0 : _a.maxMessageSize;
this.maxMessageSize = this.connectionsManager.maxMessageSize = (_a = this.peerConnection.localPeerConnection.sctp) === null || _a === void 0 ? void 0 : _a.maxMessageSize;
// init onConnectionStateChange event

@@ -98,0 +97,0 @@ this.onconnectionstatechange();

@@ -0,0 +0,0 @@ import { ChannelId, Data, RawMessage } from '@geckos.io/common/lib/types.js';

@@ -0,0 +0,0 @@ import client, { ClientChannel } from './geckos/channel.js';

@@ -0,0 +0,0 @@ import { ChannelId, Data, EventName, RawMessage } from '@geckos.io/common/lib/types.js';

@@ -104,2 +104,3 @@ import { Bridge } from '@geckos.io/common/lib/bridge.js';

};
// @ts-ignore
const RTCPc = RTCPeerConnection || webkitRTCPeerConnection; // eslint-disable-line no-undef

@@ -106,0 +107,0 @@ // create rtc peer connection

@@ -0,0 +0,0 @@ import { ChannelId } from '@geckos.io/common/lib/types.js';

import { ERRORS } from '@geckos.io/common/lib/constants.js';
export default class PeerConnection {
async connect(connectionsManager) {
// @ts-ignore
const webRTCPcSupported = RTCPeerConnection || webkitRTCPeerConnection; // eslint-disable-line no-undef

@@ -5,0 +6,0 @@ if (webRTCPcSupported) {

{
"name": "@geckos.io/client",
"version": "2.0.0",
"version": "2.1.0",
"description": "Real-time client/server communication over UDP using WebRTC and Node.js",

@@ -48,3 +48,3 @@ "main": "./lib/index.js",

"dependencies": {
"@geckos.io/common": "^2.0.0"
"@geckos.io/common": "^2.1.0"
},

@@ -51,0 +51,0 @@ "funding": {

@@ -0,0 +0,0 @@ <a href="http://geckos.io">

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

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc