@leofcoin/messages 1.1.2 → 1.1.3
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.
- package/dist/messages.esm +1408 -1550
- package/dist/messages.js +2 -1
- package/package.json +1 -1
- package/src/messages/transaction.js +1 -1
- package/src/protos/transaction.proto.js +1 -0
package/dist/messages.js
CHANGED
|
@@ -35,12 +35,13 @@ message TransactionMessage {
|
|
|
35
35
|
required uint64 nonce = 4;
|
|
36
36
|
required string method = 5;
|
|
37
37
|
repeated string params = 6;
|
|
38
|
+
required string signature = 7;
|
|
38
39
|
}
|
|
39
40
|
`;
|
|
40
41
|
|
|
41
42
|
class TransactionMessage extends codecFormatInterface.FormatInterface {
|
|
42
43
|
get keys() {
|
|
43
|
-
return ['timestamp', 'from', 'to', 'nonce', 'method', 'params']
|
|
44
|
+
return ['timestamp', 'from', 'to', 'nonce', 'method', 'params', 'signature']
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
get messageName() {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { FormatInterface } from '@leofcoin/codec-format-interface'
|
|
|
3
3
|
|
|
4
4
|
export default class TransactionMessage extends FormatInterface {
|
|
5
5
|
get keys() {
|
|
6
|
-
return ['timestamp', 'from', 'to', 'nonce', 'method', 'params']
|
|
6
|
+
return ['timestamp', 'from', 'to', 'nonce', 'method', 'params', 'signature']
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
get messageName() {
|