zmp-sdk 2.18.2 → 2.18.3

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.
@@ -21616,7 +21616,7 @@
21616
21616
  }
21617
21617
  _ZJSBridgeProvider_bridge = new WeakMap();
21618
21618
 
21619
- var version = "2.18.2";
21619
+ var version = "2.18.3";
21620
21620
 
21621
21621
  class Basics {
21622
21622
  /**
@@ -25263,7 +25263,6 @@
25263
25263
  }
25264
25264
  }
25265
25265
 
25266
- var _a;
25267
25266
  // Zalo Mini App API
25268
25267
  const platform = checkPlatform();
25269
25268
  let app;
@@ -25277,11 +25276,8 @@
25277
25276
  ZaloJSBridge.getInstance().onMultiJSCall(key, data);
25278
25277
  };
25279
25278
  };
25280
- const zalo_h5_event_handler = (_a = window === null || window === void 0 ? void 0 : window.zaloJSV2) === null || _a === void 0 ? void 0 : _a.zalo_h5_event_handler;
25281
25279
  window.zaloJSV2 = {
25282
25280
  zalo_h5_event_handler: function (eventId, eventName, eventData) {
25283
- typeof zalo_h5_event_handler === 'function' &&
25284
- zalo_h5_event_handler(eventId, eventName, eventData);
25285
25281
  ZaloJSBridge.getInstance().nativeEventHandler(eventId, eventName, eventData);
25286
25282
  }
25287
25283
  };
package/dist/index.es.js CHANGED
@@ -21613,7 +21613,7 @@ class ZJSBridgeProvider {
21613
21613
  }
21614
21614
  _ZJSBridgeProvider_bridge = new WeakMap();
21615
21615
 
21616
- var version = "2.18.2";
21616
+ var version = "2.18.3";
21617
21617
 
21618
21618
  class Basics {
21619
21619
  /**
@@ -26392,7 +26392,6 @@ class MockSDKCreator extends SDKCreator {
26392
26392
  }
26393
26393
  }
26394
26394
 
26395
- var _a;
26396
26395
  // Zalo Mini App API
26397
26396
  const platform = checkPlatform();
26398
26397
  let app;
@@ -26406,11 +26405,8 @@ window.onMultiJSCall = (key) => {
26406
26405
  ZaloJSBridge.getInstance().onMultiJSCall(key, data);
26407
26406
  };
26408
26407
  };
26409
- const zalo_h5_event_handler = (_a = window === null || window === void 0 ? void 0 : window.zaloJSV2) === null || _a === void 0 ? void 0 : _a.zalo_h5_event_handler;
26410
26408
  window.zaloJSV2 = {
26411
26409
  zalo_h5_event_handler: function (eventId, eventName, eventData) {
26412
- typeof zalo_h5_event_handler === 'function' &&
26413
- zalo_h5_event_handler(eventId, eventName, eventData);
26414
26410
  ZaloJSBridge.getInstance().nativeEventHandler(eventId, eventName, eventData);
26415
26411
  }
26416
26412
  };