@yielded/auth-platform-workerd
v0.1.0-beta.47
Published
Cloudflare Workers runtime services and WASM password hashing for Yielded Auth.
Readme
@yielded/auth-platform-workerd
Cloudflare Workers crypto and password services for Yielded Auth. Owns the WASM Argon2id implementation; password policy and admission remain in Auth.
bun add @yielded/auth-platform-workerd@beta @yielded/auth@beta effectProvide layer from the package root for crypto and password hashing.
Use layerWith({ passwordHashing, kdfAdmission }) to configure costs and capacity.
The root requires nodejs_compat; Wrangler bundles the included WASM asset.
Applications without password hashing can use WebCrypto.layer from
@yielded/auth/WebCrypto. Supply an HTTP client separately when needed.
Retain the built Layer across requests to share password admission limits. Applications supply storage, account policy, keys, delivery, and protocol adapters.
