commit 41c87b03e6e4f1d1c225433905cd3fb066ab4a3e
parent e8ca838f2990388fdfdc75552f55e4cc8361caaf
Author: Florian Dold <florian@dold.me>
Date: Tue, 17 Jan 2023 00:19:36 +0100
embedded: payload->args
The new qjs embedded wallet bundle broke compatibility with the old one
by calling the wallet-core API request arguments "payload" instead of
"args". This commit goes back to the old name.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-wallet-embedded/src/wallet-qjs.ts b/packages/taler-wallet-embedded/src/wallet-qjs.ts
@@ -383,7 +383,7 @@ export function installNativeWalletListener(): void {
logger.info(`native listener: got request for ${operation} (${id})`);
try {
- const respMsg = await handler.handleMessage(operation, id, msg.payload ?? {});
+ const respMsg = await handler.handleMessage(operation, id, msg.args ?? {});
logger.info(
`native listener: sending success response for ${operation} (${id})`,
);