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.5 to 0.0.6

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.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",

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