Repository navigation
Web SDK 0.1.0
First standalone browser SDK release.
- Install without React, React Native, Node native modules, or a Node sidecar. The only runtime dependency is
@image-marker/recipe. - Public ESM/CJS entries:
@image-marker/web,/headless, and/editor-adapter; bundled detector Worker at/worker. - Reuses the existing watermark, Recipe, locator, and editor algorithms. Legacy package names, peers, APIs, and native selection stay unchanged.
- Adds scoped resource ownership, host execution injection, cancellation acknowledgement, and cleanup/isolation contracts. Synchronous DOM Canvas work still requires host isolation for immediate termination.
- Includes File/Blob input, Recipe Blob output, headless editing/undo-redo, Web preview/export adapter, and a minimal Vite example.
npm install @image-marker/web@0.1.0See the Web SDK guide and the minimal example.
Verified with a real clean tarball consumer, strict TypeScript (skipLibCheck: false), CJS and ESM, Vite production build, restrictive CSP/offline Worker loading, and browser rendering/cancellation tests. Tauri macOS/Windows/Linux acceptance remains the responsibility of the integrating application.
Publishing note: this initial 0.1.0 version was published locally with maintainer 2FA, as an explicit bootstrap exception. It does not have a CI provenance attestation. The downloaded npm tarball matches the tested artifact byte for byte (SHA256 e901736094252072fae3430e944cc2c14abe80170d86b8ece684f296bb887e90). The redundant automatic publishing run for this GitHub Release is cancelled; its provenance check is not represented as passed. The existing release workflow and future provenance requirements remain unchanged.
Trusted Publishing is now configured for JimmyDaddy/react-native-image-marker, workflow npm-publish.yml, for future versions without an npm token. This configuration has been read back and verified; the first end-to-end OIDC publication will be verified with the next version.
Both protected-branch PRs passed the complete CI matrix before merge: master PR #424, release PR #425. No existing Core, Editor, Recipe, Node, or CLI version was republished.
Post-publication validation: all 42 checks passed using a fresh consumer installed from the public npm registry, including strict TypeScript, CJS/ESM, a Vite production build, browser rendering, the offline Worker, cancellation and resource cleanup. See the attached verification JSON and SHA256 checksum for the release tarball.