From: Chris Duncan Date: Thu, 3 Jul 2025 16:54:38 +0000 (-0700) Subject: Add class description. X-Git-Tag: v0.10.5~136^2~22 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=df6275cddd20ca01babbfc78d3285267f541a59a;p=libnemo.git Add class description. --- diff --git a/src/lib/workers/safe.ts b/src/lib/workers/safe.ts index 837a403..98bb9dc 100644 --- a/src/lib/workers/safe.ts +++ b/src/lib/workers/safe.ts @@ -23,6 +23,9 @@ type SafeOutput = { const { subtle } = globalThis.crypto const ERR_MSG = 'Failed to store item in Safe' +/** +* Encrypts and stores data in the browser using IndexedDB. +*/ export class Safe extends WorkerInterface { static #storage: Storage = globalThis.sessionStorage