aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-04-06 12:08:49 -0300
committerSebastian <sebasjm@gmail.com>2022-04-06 12:08:49 -0300
commitbb56d61424c5e02feaec487b1c437e52a9f1e23c (patch)
tree26ae0c9cdd33945619d51dae07b963a1321d3ae3 /packages
parentf33d9dad4782c81df9056e81da0e1a4174ae3298 (diff)
fix old API, crypto impl now used objects
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts b/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts
index 4c75de122..29762f598 100644
--- a/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts
+++ b/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts
@@ -69,7 +69,7 @@ export class SynchronousCryptoWorker {
private async handleRequest(
operation: string,
id: number,
- args: string[],
+ req: unknown,
): Promise<void> {
const impl = this.cryptoImplR;
@@ -80,7 +80,7 @@ export class SynchronousCryptoWorker {
let result: any;
try {
- result = await (impl as any)[operation](...args);
+ result = await (impl as any)[operation](impl, req);
} catch (e: any) {
logger.error(`error during operation '${operation}': ${e}`);
return;