- Consolidated duplicate UndoManagers to single instance - Fixed connection promise to only resolve on 'connected' status - Fixed WebSocketProvider import (WebsocketProvider) - Added proper doc.destroy() cleanup - Renamed isPresenceInitialized property to avoid conflict Co-Authored-By: Paperclip <noreply@paperclip.ing>
13 lines
594 B
TypeScript
13 lines
594 B
TypeScript
export const FingerprintTraitSymbol: unique symbol;
|
|
export function fingerprint(a: Fingerprintable): string;
|
|
/**
|
|
* When implementing this trait, it is recommended to write some sort of "magic number" first to
|
|
* ensure that different types of objects don't have the same fingerprint.
|
|
*
|
|
* The recommended pracice is to generate a random u32 number as your magic number. e.g. using
|
|
* `console.log(random.uint32().toString(16))`
|
|
*/
|
|
export type Fingerprintable = {
|
|
[FingerprintTraitSymbol]: () => string;
|
|
} | import("../encoding.js").AnyEncodable;
|
|
//# sourceMappingURL=fingerprint.d.ts.map
|