- 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>
7 lines
351 B
JavaScript
7 lines
351 B
JavaScript
// We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.
|
|
// See utils.ts for details.
|
|
// The file will throw on node.js 14 and earlier.
|
|
// @ts-ignore
|
|
import * as nc from 'node:crypto';
|
|
export const crypto = nc && typeof nc === 'object' && 'webcrypto' in nc ? nc.webcrypto : undefined;
|
|
//# sourceMappingURL=cryptoNode.js.map
|