@webview-bridge/web 1.4.2 → 1.4.3-nightly.0

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.
@@ -347,6 +347,10 @@ var linkBridge = (options = {
347
347
  return () => Promise.resolve();
348
348
  }
349
349
  });
350
+ for (const [eventName, ...args] of window.nativeBatchedEvents ?? []) {
351
+ emitter.emit(eventName, ...args);
352
+ }
353
+ window.nativeBatchedEvents = [];
350
354
  onReady?.(proxy);
351
355
  return proxy;
352
356
  };
@@ -317,6 +317,10 @@ var linkBridge = (options = {
317
317
  return () => Promise.resolve();
318
318
  }
319
319
  });
320
+ for (const [eventName, ...args] of window.nativeBatchedEvents ?? []) {
321
+ emitter.emit(eventName, ...args);
322
+ }
323
+ window.nativeBatchedEvents = [];
320
324
  onReady?.(proxy);
321
325
  return proxy;
322
326
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webview-bridge/web",
3
3
  "type": "module",
4
- "version": "1.4.2",
4
+ "version": "1.4.3-nightly.0",
5
5
  "description": "Fully Type-Safe Integration for React Native WebView and Web",
6
6
  "publishConfig": {
7
7
  "access": "public"