diff --git a/docs/api-reference/types.mdx b/docs/api-reference/types.mdx index a476ad3..ba68c95 100644 --- a/docs/api-reference/types.mdx +++ b/docs/api-reference/types.mdx @@ -157,7 +157,7 @@ This is the basic type for an error. For specific details on errors check out th |------------|----------|----------|---------|---------------------------------------------| | message | `string` | yes | - | A human-readable UTF-8 string to sign. | | providerId | `string` | no | - | The ID of the provider. | -| signer | `string` | yes | - | The address to be used to sign the message. | +| signer | `string` | no | - | The address to be used to sign the message. | ### `ISignMessageResult` @@ -165,6 +165,7 @@ This is the basic type for an error. For specific details on errors check out th |------------|----------|----------|---------|---------------------------------------------------------------------------------------------| | providerId | `string` | yes | - | The ID of the provider. | | signature | `string` | yes | - | A base64 encoded signature of the message signed by the private key of the intended signer. | +| signer | `string` | yes | - | The address used to sign the message. | ### `ISignTransactionsParams` diff --git a/docs/clients/signing-a-message.mdx b/docs/clients/signing-a-message.mdx index ee1d977..17777fd 100644 --- a/docs/clients/signing-a-message.mdx +++ b/docs/clients/signing-a-message.mdx @@ -37,6 +37,7 @@ client.onSignMessage(({ error, result }) => { { providerId: '02657eaf-be17-4efc-b0a4-19d654b2448e', signature: 'gqNzaWfEQ...', + signer: 'P3AIQVDJ2CTH54KSJE63YWB7IZGS4W4JGC53I6GK72BGZ5BXO2B2PS4M4U', } */ }); @@ -68,6 +69,7 @@ client.onSignMessage(({ error, result }: IAVMWebClientCallbackOptions) => { { providerId: '02657eaf-be17-4efc-b0a4-19d654b2448e', signature: 'gqNzaWfEQ...', + signer: 'P3AIQVDJ2CTH54KSJE63YWB7IZGS4W4JGC53I6GK72BGZ5BXO2B2PS4M4U', } */ }); diff --git a/docs/providers/responding-to-sign-message-requests.mdx b/docs/providers/responding-to-sign-message-requests.mdx index 0ba7332..f53dcca 100644 --- a/docs/providers/responding-to-sign-message-requests.mdx +++ b/docs/providers/responding-to-sign-message-requests.mdx @@ -32,6 +32,7 @@ provider.onSignMessage(({ params }) => { return { providerId, signature: 'gqNzaWfEQ...', // base64 encoded signature + signer: 'P3AIQVDJ2CTH54KSJE63YWB7IZGS4W4JGC53I6GK72BGZ5BXO2B2PS4M4U', }; } }); @@ -53,6 +54,7 @@ provider.onSignMessage(({ params }: IAVMWebProviderCallbackOptions) => { return { providerId, signature: 'gqNzaWfEQ...', // base64 encoded signature + signer: 'P3AIQVDJ2CTH54KSJE63YWB7IZGS4W4JGC53I6GK72BGZ5BXO2B2PS4M4U', }; } });