@leofcoin/workers 1.4.5 → 1.4.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/workers",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "Workers used in @leofcoin/chain",
5
5
  "type": "module",
6
6
  "exports": {
@@ -147,7 +147,7 @@ const _init = async ({ contracts, blocks, peerid }) => {
147
147
  }
148
148
  totalTransactions += 1
149
149
 
150
- postMessage({
150
+ worker.postMessage({
151
151
  type: 'transactionLoaded',
152
152
  result: {
153
153
  hash: await new TransactionMessage(transaction).hash(),