feat: Add crypto, getRandomString

This commit is contained in:
BluJ
2023-05-04 17:15:29 -06:00
parent b9967023da
commit e32b768e5c
4 changed files with 117 additions and 108 deletions

View File

@@ -390,10 +390,12 @@ export type Effects = {
stopped(packageId?: string): Promise<boolean>
vaultList(): Promise<string[]>
vaultSet(opt: { key: string; value: string }): Promise<void>
vaultMove(opt: { fromKey: string; toKey: string }): Promise<void>
vaultDelete(opt: { key: string }): Promise<void>
vault: {
list(): Promise<string[]>
set(opt: { key: string; value: string }): Promise<void>
move(opt: { fromKey: string; toKey: string }): Promise<void>
delete(opt: { key: string }): Promise<void>
}
}
// prettier-ignore