@console-wallet/dapp-sdk 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,7 +8,7 @@ export declare const MIN_WAITING = 2000;
|
|
|
8
8
|
export type SignedMessageResponse = {
|
|
9
9
|
message: string;
|
|
10
10
|
signature: string;
|
|
11
|
-
};
|
|
11
|
+
} | undefined;
|
|
12
12
|
/** Message body encoded as hexadecimal string. */
|
|
13
13
|
export type HexMessage = {
|
|
14
14
|
hex: string;
|
|
@@ -22,6 +22,9 @@ export type Base64Message = {
|
|
|
22
22
|
*/
|
|
23
23
|
export type SignMessageRequest = {
|
|
24
24
|
message: HexMessage | Base64Message;
|
|
25
|
+
metaData?: {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
25
28
|
};
|
|
26
29
|
/**
|
|
27
30
|
* Request to sign and send a token transfer.
|
|
@@ -42,4 +45,4 @@ export type SignSendResponse = {
|
|
|
42
45
|
status: true | false;
|
|
43
46
|
signature?: string;
|
|
44
47
|
confirmationData?: SendConfirmationDataType;
|
|
45
|
-
};
|
|
48
|
+
} | undefined;
|
|
@@ -8,7 +8,7 @@ export declare const MIN_WAITING = 2000;
|
|
|
8
8
|
export type SignedMessageResponse = {
|
|
9
9
|
message: string;
|
|
10
10
|
signature: string;
|
|
11
|
-
};
|
|
11
|
+
} | undefined;
|
|
12
12
|
/** Message body encoded as hexadecimal string. */
|
|
13
13
|
export type HexMessage = {
|
|
14
14
|
hex: string;
|
|
@@ -22,6 +22,9 @@ export type Base64Message = {
|
|
|
22
22
|
*/
|
|
23
23
|
export type SignMessageRequest = {
|
|
24
24
|
message: HexMessage | Base64Message;
|
|
25
|
+
metaData?: {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
25
28
|
};
|
|
26
29
|
/**
|
|
27
30
|
* Request to sign and send a token transfer.
|
|
@@ -42,4 +45,4 @@ export type SignSendResponse = {
|
|
|
42
45
|
status: true | false;
|
|
43
46
|
signature?: string;
|
|
44
47
|
confirmationData?: SendConfirmationDataType;
|
|
45
|
-
};
|
|
48
|
+
} | undefined;
|