From 002dfbffe8b7c352cd1b159a8db7a02b2a6d1692 Mon Sep 17 00:00:00 2001 From: Michael Bisgaard Olesen Date: Mon, 7 Aug 2023 10:56:23 +0200 Subject: [PATCH] Make doc more precise --- packages/wallet-connectors/src/WalletConnect.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/wallet-connectors/src/WalletConnect.ts b/packages/wallet-connectors/src/WalletConnect.ts index 00ccaff..1d012fd 100644 --- a/packages/wallet-connectors/src/WalletConnect.ts +++ b/packages/wallet-connectors/src/WalletConnect.ts @@ -344,8 +344,10 @@ function serializePayloadParameters( /** * Convert {@link SignableMessage} into the object format expected by the Mobile Wallets. - * As of this writing, the Android wallet only supports the {@link StringMessage} variant. - * @param msg The message to be signed. + * As of this writing, the Android and iOS wallets only support the {@link StringMessage} variant. + * So if used with these application (which ignore the {@code schema} field), they will present (and sign) + * the hex string of the message rather than the actual bytes in the message. + * @param msg The binary or string message to be signed. */ function convertSignableMessageFormat(msg: SignableMessage) { switch (msg.type) {