fix message.sign typos

This commit is contained in:
Foo Bar
2022-11-24 14:51:22 -07:00
parent 4888d75134
commit 15a6d6c35d
2 changed files with 26 additions and 19 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{type, library}.
{realm, local}.
{name, awcp}.
{version, "0.1.0"}.
{version, "0.2.0"}.
{deps, []}.
+25 -18
View File
@@ -716,7 +716,14 @@ type EventData_W2A_tx_sign_noprop
//----------------------------------------------------------------------------
/**
* Parameters for "transaction.sign" (do not propagate)
* Parameters for "message.sign"
*
* FIXME: example
*
* ```ts
* {message : 'hello world',
* onAccount : 'ak_...'}
* ```
*
* (layer 4)
*/
@@ -727,50 +734,50 @@ type Params_A2W_msg_sign
/**
* Success result type for "transaction.sign" (do not propagate)
* Success result type for "message.sign"
*
* (layer 4)
*/
type Result_W2A_tx_sign_noprop
= {signedTransaction : string};
type Result_W2A_msg_sign
= {signature : string};
/**
* Request type for "transaction.sign" (do not propagate)
* Request type for "message.sign" (do not propagate)
*
* (layer 3)
*/
type RpcCall_A2W_tx_sign_noprop
= RpcCall<"transaction.sign",
Params_A2W_tx_sign_noprop>;
type RpcCall_A2W_msg_sign
= RpcCall<"message.sign"
Params_A2W_msg_sign>;
/**
* Response type for "transaction.sign" (do not propagate)
* Response type for "message.sign" (do not propagate)
*
* (layer 3)
*/
type RpcResp_W2A_tx_sign_noprop
= RpcResp<"transaction.sign",
Result_W2A_tx_sign_noprop>;
type RpcResp_W2A_msg_sign
= RpcResp<"message.sign",
Result_W2A_msg_sign>;
/**
* Event data for aepp-to-waellet "transaction.sign" (do not propagate) message
* Event data for aepp-to-waellet "message.sign" (do not propagate) message
*
* (layer 2)
*/
type EventData_A2W_tx_sign_noprop
= EventData_A2W<RpcCall_A2W_tx_sign_noprop>;
type EventData_A2W_msg_sign
= EventData_A2W<RpcCall_A2W_msg_sign>;
/**
* Event data for aepp-to-waellet "transaction.sign" (do not propagate) response
* Event data for aepp-to-waellet "message.sign" (do not propagate) response
*
* (layer 2)
*/
type EventData_W2A_tx_sign_noprop
= EventData_W2A<RpcResp_W2A_tx_sign_noprop>;
type EventData_W2A_msg_sign
= EventData_W2A<RpcResp_W2A_msg_sign>;