@geckos.io/common
Advanced tools
Comparing version 2.3.1 to 2.3.2-dev.0
@@ -17,3 +17,3 @@ import { ChannelId, Data, EventName, EventOptions, RoomId } from './types.js'; | ||
declare const bridge: Bridge; | ||
export default bridge; | ||
export { bridge }; | ||
//# sourceMappingURL=bridge.d.ts.map |
@@ -19,3 +19,3 @@ import { Events } from '@yandeu/events'; | ||
const bridge = new Bridge(); | ||
export default bridge; | ||
export { bridge }; | ||
//# sourceMappingURL=bridge.js.map |
@@ -5,3 +5,3 @@ /** | ||
declare const defaultIceServers: RTCIceServer[]; | ||
export default defaultIceServers; | ||
export { defaultIceServers }; | ||
//# sourceMappingURL=iceServers.d.ts.map |
@@ -11,3 +11,3 @@ /** | ||
]; | ||
export default defaultIceServers; | ||
export { defaultIceServers }; | ||
//# sourceMappingURL=iceServers.js.map |
declare const makeRandomId: (length?: number) => string; | ||
export default makeRandomId; | ||
export { makeRandomId }; | ||
//# sourceMappingURL=makeRandomId.d.ts.map |
@@ -9,3 +9,3 @@ const makeRandomId = (length = 24) => { | ||
}; | ||
export default makeRandomId; | ||
export { makeRandomId }; | ||
//# sourceMappingURL=makeRandomId.js.map |
@@ -5,3 +5,3 @@ declare const ParseMessage: (ev: MessageEvent) => { | ||
}; | ||
export default ParseMessage; | ||
export { ParseMessage }; | ||
//# sourceMappingURL=parseMessage.d.ts.map |
@@ -36,3 +36,3 @@ import { ERRORS, EVENTS } from './constants.js'; | ||
}; | ||
export default ParseMessage; | ||
export { ParseMessage }; | ||
//# sourceMappingURL=parseMessage.js.map |
@@ -1,3 +0,3 @@ | ||
import makeRandomId from './makeRandomId.js'; | ||
import runInterval from './runInterval.js'; | ||
import { makeRandomId } from './makeRandomId.js'; | ||
import { runInterval } from './runInterval.js'; | ||
const makeReliable = (options, cb) => { | ||
@@ -4,0 +4,0 @@ const { interval = 150, runs = 10 } = options; |
declare const runInterval: (interval: number | undefined, runs: number | undefined, cb: Function) => void; | ||
export default runInterval; | ||
export { runInterval }; | ||
//# sourceMappingURL=runInterval.d.ts.map |
@@ -16,3 +16,3 @@ const runInterval = (interval = 200, runs = 1, cb) => { | ||
}; | ||
export default runInterval; | ||
export { runInterval }; | ||
//# sourceMappingURL=runInterval.js.map |
import { Data, EventName, RawMessage } from './types.js'; | ||
declare const SendMessage: (dataChannel: any | RTCDataChannel, maxMessageSize: number | undefined, eventName: EventName, data?: Data | RawMessage | null) => any; | ||
export default SendMessage; | ||
export { SendMessage }; | ||
//# sourceMappingURL=sendMessage.d.ts.map |
@@ -46,3 +46,3 @@ import { isBufferMessage, isStringMessage } from './helpers.js'; | ||
}; | ||
export default SendMessage; | ||
export { SendMessage }; | ||
//# sourceMappingURL=sendMessage.js.map |
{ | ||
"name": "@geckos.io/common", | ||
"version": "2.3.1", | ||
"version": "2.3.2-dev.0", | ||
"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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
58775
85
810
1