@geckos.io/client
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -9,3 +9,3 @@ import { RawMessage, Data, EventName, EventCallbackClient, ConnectionEventCallbackClient, EventCallbackRawMessage } from '@geckos.io/common/lib/typings'; | ||
/** Get the channel's id. */ | ||
readonly id: import("@geckos.io/common/lib/typings").ChannelId; | ||
readonly id: string | undefined; | ||
/** Emit a message to the server. */ | ||
@@ -50,7 +50,7 @@ emit(eventName: EventName, data?: Data | null): void; | ||
declare const geckosClient: (options?: { | ||
url?: import("@geckos.io/common/lib/typings").ChannelId; | ||
url?: string | undefined; | ||
port?: number | undefined; | ||
label?: import("@geckos.io/common/lib/typings").ChannelId; | ||
label?: string | undefined; | ||
}) => ClientChannel; | ||
export default geckosClient; | ||
//# sourceMappingURL=client.d.ts.map |
@@ -19,3 +19,3 @@ import { RawMessage, Data, ChannelId, EventName } from '@geckos.io/common/lib/typings'; | ||
dataChannel: RTCDataChannel; | ||
id: ChannelId; | ||
id: string | undefined; | ||
}>; | ||
@@ -22,0 +22,0 @@ } |
{ | ||
"name": "@geckos.io/client", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Real-time client/server communication over UDP using WebRTC and Node.js", | ||
@@ -39,3 +39,2 @@ "main": "lib/index.js", | ||
"bundle:version": "../../node_modules/.bin/webpack --config webpack/webpack.prod.js --packageVersion=${npm_package_version}", | ||
"preinstall": "npm link ../common", | ||
"build": "tsc --build tsconfig.json", | ||
@@ -42,0 +41,0 @@ "prepublishOnly": "npm run build", |
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
0
34186