const accounts = await this.#fromPublicKeys(Object.keys(keypairs))\r
try {\r
const headers = {\r
- store: 'Account',\r
method: 'set',\r
+ store: 'Account',\r
password: password.buffer\r
}\r
const isLocked = await SafeWorker.add(headers, keypairs)\r
try {\r
const headers = {\r
method: 'get',\r
- store: 'Account',\r
name: this.publicKey,\r
+ store: 'Account',\r
password: password.buffer\r
}\r
const response = await SafeWorker.add(headers)\r
})\r
const encoded = utf8.toBytes(serialized)\r
const headers = {\r
- store: 'Wallet',\r
method: 'set',\r
+ store: 'Wallet',\r
password: new Uint8Array(password).buffer\r
}\r
const data: Data = {\r
}\r
try {\r
const headers = {\r
- store: 'Wallet',\r
method: 'get',\r
name: this.id,\r
+ store: 'Wallet',\r
password: new Uint8Array(password).buffer\r
}\r
const response = await SafeWorker.add(headers)\r