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.
This commit is contained in:
Florian Dold 2023-01-17 00:19:36 +01:00
parent e8ca838f29
commit 41c87b03e6
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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})`,
);