import { Entropy } from './entropy.js'
const { subtle } = globalThis.crypto
const ERR_MSG = 'Failed to store item in Safe'
+
export class Safe {
#items: Map<string, { encrypted: ArrayBuffer, iv: Entropy }> = new Map()
import { SendBlock, ReceiveBlock, ChangeBlock } from './lib/block.js'
import { Node } from './lib/node.js'
import { Rolodex } from './lib/rolodex.js'
+import { Safe } from './lib/safe.js'
import Tools from './lib/tools.js'
import { Bip44Wallet, Blake2bWallet, LedgerWallet } from './lib/wallet.js'
-export { Account, SendBlock, ReceiveBlock, ChangeBlock, Node, Rolodex, Tools, Bip44Wallet, Blake2bWallet, LedgerWallet }
+export { Account, SendBlock, ReceiveBlock, ChangeBlock, Node, Rolodex, Safe, Tools, Bip44Wallet, Blake2bWallet, LedgerWallet }