@vicaniddouglas/js_aide 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/declarations.d.ts +20 -1
- package/dist/js_aide.cjs.js +215 -215
- package/dist/js_aide.cjs.js.map +3 -3
- package/dist/js_aide.esm.js +215 -215
- package/dist/js_aide.esm.js.map +2 -2
- package/dist/js_aide.min.js +215 -215
- package/dist/js_aide.min.js.map +3 -3
- package/package.json +1 -1
package/declarations.d.ts
CHANGED
|
@@ -1381,9 +1381,28 @@ declare module "@vicaniddouglas/js_aide" {
|
|
|
1381
1381
|
broadcast(event: string, data: any, except?: string[]): void;
|
|
1382
1382
|
}
|
|
1383
1383
|
|
|
1384
|
+
// Constants (Events & States)
|
|
1385
|
+
export const ConnectionState: Record<string, string>;
|
|
1386
|
+
export const ConnectionEvent: Record<string, string>;
|
|
1387
|
+
export const DisconnectReason: Record<string, string>;
|
|
1388
|
+
export const TransportType: Record<string, string>;
|
|
1389
|
+
export const TransportState: Record<string, string>;
|
|
1390
|
+
export const TransportEvent: Record<string, string>;
|
|
1391
|
+
export const HeartbeatEvent: Record<string, string>;
|
|
1392
|
+
export const HeartbeatState: Record<string, string>;
|
|
1393
|
+
export const NamespaceEvent: Record<string, string>;
|
|
1394
|
+
export const RoomEvent: Record<string, string>;
|
|
1395
|
+
export const RoomVisibility: Record<string, string>;
|
|
1396
|
+
export const RoomType: Record<string, string>;
|
|
1397
|
+
export const PresenceState: Record<string, string>;
|
|
1398
|
+
export const ActivityType: Record<string, string>;
|
|
1399
|
+
export const PresenceEvent: Record<string, string>;
|
|
1400
|
+
export const MessageType: Record<string, string>;
|
|
1401
|
+
export const MessagePriority: Record<string, string>;
|
|
1402
|
+
export const DeliveryGuarantee: Record<string, string>;
|
|
1403
|
+
|
|
1384
1404
|
// Utilities
|
|
1385
1405
|
export function isOnline(): boolean;
|
|
1386
|
-
export function generateId(prefix?: string): string;
|
|
1387
1406
|
|
|
1388
1407
|
// =========================================================
|
|
1389
1408
|
// Intersection Observer Watcher (from observers/watcher.js)
|