@geckos.io/client
Advanced tools
Comparing version 2.0.0 to 2.1.0
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'; |
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
465
4
36148
Updated@geckos.io/common@^2.1.0