@leofcoin/messages 1.4.14 → 1.4.22

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/exports/block.js CHANGED
@@ -10,7 +10,7 @@ var proto = {
10
10
  timestamp: Number(),
11
11
  reward: BigNumber.from(0),
12
12
  fees: BigNumber.from(0),
13
- transactions: new Uint8Array(),
13
+ transactions: Array(),
14
14
  validators: new Uint8Array()
15
15
  };
16
16
 
@@ -22,10 +22,7 @@ export default class BlockMessage extends FormatInterface {
22
22
  timestamp: String;
23
23
  reward: BigNumber;
24
24
  fees: BigNumber;
25
- transactions: import("@leofcoin/types").Transaction[];
26
- validators: {
27
- address: string;
28
- reward: BigNumber;
29
- }[];
25
+ transactions: TransactionMessage["decoded"][];
26
+ validators: ValidatorMessage["decoded"][];
30
27
  };
31
28
  }
@@ -5,7 +5,7 @@ declare const _default: {
5
5
  timestamp: number;
6
6
  reward: BigNumber;
7
7
  fees: BigNumber;
8
- transactions: Uint8Array;
8
+ transactions: any[];
9
9
  validators: Uint8Array;
10
10
  };
11
11
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/messages",
3
- "version": "1.4.14",
3
+ "version": "1.4.22",
4
4
  "description": "",
5
5
  "private": false,
6
6
  "exports": {
@@ -49,8 +49,7 @@
49
49
  "prettier": "prettier src --config ./../../.prettierrc --write",
50
50
  "test": "node test",
51
51
  "build": "rollup -c",
52
- "npm-check-updates": "npx npm-check-updates -i",
53
- "check-dependencies": "npx depcheck"
52
+ "npm-check-updates": "npx npm-check-updates -u --install always"
54
53
  },
55
54
  "keywords": [],
56
55
  "author": "",
@@ -58,9 +57,9 @@
58
57
  "devDependencies": {
59
58
  "@leofcoin/types": "^1.0.6",
60
59
  "@rollup/plugin-typescript": "^11.1.6",
61
- "rollup": "^4.16.4",
62
- "tslib": "^2.6.2",
63
- "typescript": "^5.4.5"
60
+ "rollup": "^4.21.3",
61
+ "tslib": "^2.7.0",
62
+ "typescript": "^5.6.2"
64
63
  },
65
64
  "dependencies": {
66
65
  "@leofcoin/codec-format-interface": "^1.7.11",