@leofcoin/workers 1.5.37 → 1.5.38

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.
@@ -7929,6 +7929,21 @@ const blockchainCodecs = [
7929
7929
  }
7930
7930
  ];
7931
7931
  const consensusCodecs = [
7932
+ {
7933
+ name: 'beacon-activation-message',
7934
+ codec: '0x62616d',
7935
+ hashAlg: 'keccak-256'
7936
+ },
7937
+ {
7938
+ name: 'beacon-commitment-message',
7939
+ codec: '0x62636d',
7940
+ hashAlg: 'keccak-256'
7941
+ },
7942
+ {
7943
+ name: 'beacon-share-message',
7944
+ codec: '0x62736d',
7945
+ hashAlg: 'keccak-256'
7946
+ },
7932
7947
  {
7933
7948
  name: 'proposal-message',
7934
7949
  codec: '0x70726d',
@@ -9053,6 +9068,20 @@ var proto$2 = {
9053
9068
  reward: BigInt(0)
9054
9069
  };
9055
9070
 
9071
+ ({
9072
+ epoch: BigInt(0)});
9073
+
9074
+ ({
9075
+ epoch: BigInt(0),
9076
+ threshold: BigInt(0),
9077
+ participant: BigInt(0),
9078
+ commitments: Array()});
9079
+
9080
+ ({
9081
+ epoch: BigInt(0),
9082
+ round: BigInt(0),
9083
+ participant: BigInt(0)});
9084
+
9056
9085
  var proto$1 = {
9057
9086
  creator: String(),
9058
9087
  contract: new Uint8Array(),
@@ -9207,4 +9236,4 @@ class EasyWorker {
9207
9236
  }
9208
9237
  }
9209
9238
 
9210
- export { EasyWorker as E, FormatInterface as F, proto$3 as a, index$2 as b, proto$1 as c, proto as d, jsonStringifyBigInt$1 as e, index$3 as i, jsonParseBigInt$1 as j, proto$2 as p };
9239
+ export { EasyWorker as E, FormatInterface as F, proto$3 as a, index$2 as b, proto$1 as c, proto as d, jsonParseBigInt$1 as e, index$3 as i, jsonStringifyBigInt$1 as j, proto$2 as p };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/workers",
3
- "version": "1.5.37",
3
+ "version": "1.5.38",
4
4
  "description": "Workers used in @leofcoin/chain",
5
5
  "type": "module",
6
6
  "private": false,
@@ -9,6 +9,14 @@
9
9
  "import": "./exports/machine-worker.js",
10
10
  "types": "./exports/machine-worker.d.ts"
11
11
  },
12
+ "./execution-meter": {
13
+ "import": "./exports/execution-meter.js",
14
+ "types": "./exports/execution-meter.d.ts"
15
+ },
16
+ "./deterministic-crypto": {
17
+ "import": "./exports/deterministic-crypto.js",
18
+ "types": "./exports/deterministic-crypto.d.ts"
19
+ },
12
20
  "./block-worker": "./exports/block-worker.js",
13
21
  "./transaction-worker": "./src/transaction-worker.js",
14
22
  "./pool-worker": "./src/pool-worker.js"
@@ -27,6 +35,8 @@
27
35
  "author": "",
28
36
  "license": "MIT",
29
37
  "dependencies": {
38
+ "@noble/hashes": "^1.3.2",
39
+ "acorn": "^8.18.0",
30
40
  "@leofcoin/addresses": "^1.0.60",
31
41
  "@leofcoin/lib": "^1.3.4",
32
42
  "@leofcoin/messages": "^1.6.1",