@geckos.io/client
Advanced tools
Comparing version 1.7.0 to 1.7.1
import client from './geckos/channel'; | ||
export default client; | ||
//# sourceMappingURL=bundle.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -10,3 +10,3 @@ import * as Types from '@geckos.io/common/lib/types'; | ||
private receivedReliableMessages; | ||
constructor(url: string, authorization: string | undefined, port: number, label: string, rtcConfiguration: RTCConfiguration); | ||
constructor(url: string, authorization: string | undefined, port: number | null, label: string, rtcConfiguration: RTCConfiguration); | ||
private onconnectionstatechange; | ||
@@ -13,0 +13,0 @@ /** Get the channel's id. */ |
@@ -53,3 +53,3 @@ "use strict"; | ||
this.receivedReliableMessages = []; | ||
this.url = url + ":" + port; | ||
this.url = port ? url + ":" + port : url; | ||
this.connectionsManager = new connectionsManager_1.default(this.url, authorization, label, rtcConfiguration); | ||
@@ -56,0 +56,0 @@ this.bridge = this.connectionsManager.bridge; |
@@ -0,0 +0,0 @@ import client, { ClientChannel } from './geckos/channel'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Bridge } from '@geckos.io/common/lib/bridge'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import ConnectionsManagerClient from './connectionsManager'; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@geckos.io/client", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Real-time client/server communication over UDP using WebRTC and Node.js", | ||
@@ -41,3 +41,3 @@ "main": "lib/index.js", | ||
"bundle": "npm run bundle:version", | ||
"bundle:version": "../../node_modules/.bin/webpack --config webpack/webpack.prod.js --path=../../../bundles --packageVersion=${npm_package_version}", | ||
"bundle:version": "cross-env-shell ../../node_modules/.bin/webpack --config webpack/webpack.prod.js --path=../../../bundles --packageVersion=${npm_package_version}", | ||
"build": "tsc --build tsconfig.json", | ||
@@ -47,3 +47,4 @@ "prepublishOnly": "npm run build" | ||
"dependencies": { | ||
"@geckos.io/common": "^1.7.0" | ||
"@geckos.io/common": "^1.7.1", | ||
"cross-env": "^7.0.3" | ||
}, | ||
@@ -50,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
51364
2
+ Addedcross-env@^7.0.3
+ Addedcross-env@7.0.3(transitive)
+ Addedcross-spawn@7.0.3(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedwhich@2.0.2(transitive)
Updated@geckos.io/common@^1.7.1