]> git.codecow.com Git - libnemo.git/commitdiff
Add class description.
authorChris Duncan <chris@zoso.dev>
Thu, 3 Jul 2025 16:54:38 +0000 (09:54 -0700)
committerChris Duncan <chris@zoso.dev>
Thu, 3 Jul 2025 16:54:38 +0000 (09:54 -0700)
src/lib/workers/safe.ts

index 837a403cb7004fbc31ec2f2d3f6d4ce24c5340f0..98bb9dcd6b4199d8cf6aa1c9f0191c8ca0c5de19 100644 (file)
@@ -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