Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@geckos.io/common

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geckos.io/common - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

1

lib/bridge.d.ts

@@ -12,2 +12,3 @@ import EventEmitter from 'eventemitter3';

removeListener(eventName: EventName, emitted: EventEmitter.ListenerFn, context?: undefined): void;
removeAllListeners(): void;
}

@@ -14,0 +15,0 @@ declare const bridge: Bridge;

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Bridge = void 0;
var eventemitter3_1 = __importDefault(require("eventemitter3"));

@@ -25,2 +26,5 @@ var Bridge = /** @class */ (function () {

};
Bridge.prototype.removeAllListeners = function () {
this.eventEmitter.removeAllListeners();
};
return Bridge;

@@ -27,0 +31,0 @@ }());

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ERRORS = exports.EVENTS = void 0;
var EVENTS = {

@@ -4,0 +5,0 @@ SEND_OVER_DATA_CHANNEL: 'sendOverDataChannel',

4

lib/helpers.d.ts

@@ -1,3 +0,3 @@

import { Data } from './typings';
declare const isRawMessage: (data: string | number | Object | ArrayBuffer | ArrayBufferView) => boolean;
import { RawMessage, Data } from './typings';
declare const isRawMessage: (data: Data | RawMessage) => boolean;
declare const isObject: (data: Data) => boolean;

@@ -4,0 +4,0 @@ declare const isJSONString: (data: Data) => boolean;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isJSONString = exports.isObject = exports.isRawMessage = void 0;
var typings_1 = require("./typings");

@@ -4,0 +5,0 @@ var isRawMessage = function (data) {

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.makeReliable = void 0;
var makeRandomId_1 = __importDefault(require("./makeRandomId"));

@@ -8,0 +9,0 @@ var runInterval_1 = __importDefault(require("./runInterval"));

@@ -1,3 +0,4 @@

declare const SendMessage: (dataChannel: RTCDataChannel, eventName: string, data?: string | number | Object | ArrayBuffer | ArrayBufferView | null) => void;
import { Data, RawMessage, EventName } from './typings';
declare const SendMessage: (dataChannel: RTCDataChannel, eventName: EventName, data?: Data | RawMessage | null) => void;
export default SendMessage;
//# sourceMappingURL=sendMessage.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ArrayBufferView = void 0;
var ArrayBufferView = Object.getPrototypeOf(Object.getPrototypeOf(new Uint8Array())).constructor;
exports.ArrayBufferView = ArrayBufferView;
//# sourceMappingURL=typings.js.map
{
"name": "@geckos.io/common",
"version": "1.4.1",
"version": "1.4.2",
"description": "The common module for @geckos.io/server and @geckos.io/client.",

@@ -5,0 +5,0 @@ "main": "lib",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc