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 0.0.3 to 0.0.4

6

lib/client.d.ts

@@ -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.3",
"version": "0.0.4",
"description": "Real-time client/server communication over UDP using WebRTC and Node.js",

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

},
"homepage": "https://github.com/geckosio/geckos.io#readme",
"homepage": "http://geckos.io",
"directories": {

@@ -35,3 +35,3 @@ "lib": "lib"

"engines": {
"node": "8.x || 10.x || 11.x"
"node": "^8 || ^10 || ^11"
},

@@ -38,0 +38,0 @@ "scripts": {

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