This SDK is designed to be universal: it should run in React Native, in the browser, in Node.js, and in Deno.
From JavaScriptSDK/:
- Install deps:
npm install - Typecheck:
npm run typecheck - Build:
npm run build
- The core must not depend on Node-only APIs (no
fs,net,tls,Buffer, etc.). - Prefer standard Web APIs available across platforms (e.g.
fetch,URL,TextEncoder,cryptoviaglobalThiswhen possible). - Platform-specific wiring belongs in
src/platform/*.