@leofcoin/chain 1.5.64 → 1.5.66

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.
@@ -1,2 +1,2 @@
1
- export { N as default } from './node-browser-0Ly80awM.js';
1
+ export { N as default } from './node-browser-TcXF8FDB.js';
2
2
  import './_polyfill-node.child_process-rc1HO9Xs.js';
package/exports/chain.js CHANGED
@@ -312,6 +312,9 @@ class Machine {
312
312
  }
313
313
  case 'debug': {
314
314
  debug$2(data.message);
315
+ if (data.message.includes('loaded transactions for block:')) {
316
+ pubsub.publish('block-loaded', data.message.replace('loaded transactions for block: ', '').split(' @')[0]);
317
+ }
315
318
  break;
316
319
  }
317
320
  case 'error': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/chain",
3
- "version": "1.5.64",
3
+ "version": "1.5.66",
4
4
  "description": "Official javascript implementation",
5
5
  "exports": {
6
6
  "./node": {