@leofcoin/chain 1.5.53 → 1.5.54

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.
@@ -158,7 +158,7 @@ const _init = async ({ contracts, blocks, peerid }) => {
158
158
  }
159
159
  totalTransactions += 1;
160
160
 
161
- postMessage({
161
+ worker.postMessage({
162
162
  type: 'transactionLoaded',
163
163
  result: {
164
164
  hash: await new TransactionMessage(transaction).hash(),
@@ -158,7 +158,7 @@ const _init = async ({ contracts, blocks, peerid }) => {
158
158
  }
159
159
  totalTransactions += 1;
160
160
 
161
- postMessage({
161
+ worker.postMessage({
162
162
  type: 'transactionLoaded',
163
163
  result: {
164
164
  hash: await new TransactionMessage(transaction).hash(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/chain",
3
- "version": "1.5.53",
3
+ "version": "1.5.54",
4
4
  "description": "Official javascript implementation",
5
5
  "exports": {
6
6
  "./node": {