@geckos.io/client
Advanced tools
Comparing version 1.7.1 to 1.7.2
@@ -13,3 +13,3 @@ import * as Types from '@geckos.io/common/lib/types'; | ||
/** Get the channel's id. */ | ||
get id(): string | undefined; | ||
get id(): Types.ChannelId; | ||
/** Close the WebRTC connection */ | ||
@@ -16,0 +16,0 @@ close(): void; |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -20,0 +20,0 @@ return result; |
@@ -32,3 +32,3 @@ import { Bridge } from '@geckos.io/common/lib/bridge'; | ||
dataChannel: RTCDataChannel; | ||
id: string | undefined; | ||
id: ChannelId; | ||
error?: undefined; | ||
@@ -35,0 +35,0 @@ }>; |
{ | ||
"name": "@geckos.io/client", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"description": "Real-time client/server communication over UDP using WebRTC and Node.js", | ||
"main": "lib/index.js", | ||
"main": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
"author": "Yannick Deubel (https://github.com/yandeu)", | ||
@@ -36,8 +37,5 @@ "license": "BSD-3-Clause", | ||
}, | ||
"engines": { | ||
"node": "^8 || ^10 || ^11 || ^12 || ^13 || ^14" | ||
}, | ||
"scripts": { | ||
"bundle": "npm run bundle:version", | ||
"bundle:version": "cross-env-shell ../../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 --env path=../../../bundles --env packageVersion=${npm_package_version}", | ||
"build": "tsc --build tsconfig.json", | ||
@@ -47,3 +45,3 @@ "prepublishOnly": "npm run build" | ||
"dependencies": { | ||
"@geckos.io/common": "^1.7.1", | ||
"@geckos.io/common": "^1.7.2", | ||
"cross-env": "^7.0.3" | ||
@@ -50,0 +48,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51321
Updated@geckos.io/common@^1.7.2