@geckos.io/common
Advanced tools
Comparing version 2.2.3 to 2.2.4
@@ -10,3 +10,3 @@ /// <reference types="node" /> | ||
/** creates a new Microtask using Promise() */ | ||
export declare const tick: (<TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>) | typeof setTimeout; | ||
export declare const tick: any; | ||
declare const isStringMessage: (data: any) => boolean; | ||
@@ -13,0 +13,0 @@ declare const isBufferMessage: (data: any) => boolean; |
@@ -5,11 +5,11 @@ /// <reference types="node" /> | ||
export { ArrayBufferView }; | ||
export declare type ChannelId = string | undefined; | ||
export declare type Data = string | number | Object; | ||
export declare type EventName = string; | ||
export declare type Payload = { | ||
export type ChannelId = string | undefined; | ||
export type Data = string | number | Object; | ||
export type EventName = string; | ||
export type Payload = { | ||
[eventName: string]: Data; | ||
}; | ||
export declare type RawMessage = USVString | ArrayBuffer | ArrayBufferView; | ||
export declare type RoomId = ChannelId; | ||
export declare type USVString = string; | ||
export type RawMessage = USVString | ArrayBuffer | ArrayBufferView; | ||
export type RoomId = ChannelId; | ||
export type USVString = string; | ||
/** The geckos.io server options. */ | ||
@@ -61,3 +61,3 @@ export interface ServerOptions { | ||
} | ||
declare type CorsOptionsOriginFunction = (req: IncomingMessage) => string; | ||
type CorsOptionsOriginFunction = (req: IncomingMessage) => string; | ||
/** The CORS options. */ | ||
@@ -64,0 +64,0 @@ export interface CorsOptions { |
{ | ||
"name": "@geckos.io/common", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"description": "The common module for @geckos.io/server and @geckos.io/client.", | ||
@@ -29,3 +29,3 @@ "main": "lib", | ||
"dependencies": { | ||
"@yandeu/events": "0.0.5" | ||
"@yandeu/events": "0.0.6" | ||
}, | ||
@@ -32,0 +32,0 @@ "funding": { |
@@ -0,0 +0,0 @@ # @geckos.io/common |
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
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
29062
+ Added@yandeu/events@0.0.6(transitive)
- Removed@yandeu/events@0.0.5(transitive)
Updated@yandeu/events@0.0.6