/** * Node.js-specific entry point. * * Registers the Node.js platform implementations before anything can ask for * them. This is what makes the bundled build work: rollup flattens all modules * into a single file, so the platform layer cannot be discovered at runtime by * relative path — it has to be wired in here, statically. */ import { registerSecureMemory } from './core/memory/secure'; import { registerHttpClient } from './core/http/client'; import { NodeSecureMemory } from './core/memory/node'; import { NodeHttpClient } from './core/http/node'; registerSecureMemory(() => new NodeSecureMemory()); registerHttpClient(() => new NodeHttpClient()); export * from './index';