Description
Build a JavaScript/TypeScript client SDK for consuming the QRNG API from both browser and Node.js environments. The SDK should provide TypeScript type definitions, handle retries, and integrate with the Web Crypto API for browser-based cryptographic applications.
Tasks
References
Description
Build a JavaScript/TypeScript client SDK for consuming the QRNG API from both browser and Node.js environments. The SDK should provide TypeScript type definitions, handle retries, and integrate with the Web Crypto API for browser-based cryptographic applications.
Tasks
@taoq-ai/qrng-clientnpm package with TypeScript sourceclient.randomBytes(count: number): Promise<Uint8Array>client.randomIntegers(min: number, max: number, count: number): Promise<number[]>client.randomUUID(): Promise<string>client.randomGaussian(mean: number, stddev: number, count: number): Promise<number[]>client.health(): Promise<HealthStatus>.d.tsfiles) with the packageQRNGCryptoProviderimplementingCrypto.getRandomValues()using QRNG backendReferences