Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
482 B
JavaScript
15 lines
482 B
JavaScript
/**
|
|
* Internal webcrypto alias.
|
|
* We prefer WebCrypto aka globalThis.crypto, which exists in node.js 16+.
|
|
* Falls back to Node.js built-in crypto for Node.js <=v14.
|
|
* See utils.ts for details.
|
|
* @module
|
|
*/
|
|
// @ts-ignore
|
|
import * as nc from 'node:crypto';
|
|
export const crypto = nc && typeof nc === 'object' && 'webcrypto' in nc
|
|
? nc.webcrypto
|
|
: nc && typeof nc === 'object' && 'randomBytes' in nc
|
|
? nc
|
|
: undefined;
|
|
//# sourceMappingURL=cryptoNode.js.map
|