Skip to main content
Package: @wipe-me/sdk
Current prerelease: 0.5.0-alpha.1 Source: JavaScript SDK
The npm latest tag may still point to an older default release. Install the exact alpha version or use @next.

Encrypt, create, retrieve, and decrypt

Long-running operations accept onProgress callbacks whose events include phase, processedBytes, totalBytes, and percent. Attachment writers default to 512 KiB AES-GCM frames and accept power-of-two cryptoChunkBytes values from 64 KiB through 4 MiB. The client also exposes health and effective-limit operations, bounded upload and download tests, and privacy-safe performance reporting. Browser uploads can use createXHRTransport() for upload progress. API failures throw APIError with status, stable code, human-readable message, and optional retryAfter.
The fragment secret must remain local. Never put it in an API request, logs, analytics, Open Graph metadata, or server-rendered content. Treat authentication, integrity, and content-hash failures as fatal.
See the package source and README for the complete exported API, attachment inputs, link helpers, and runtime requirements.