zmp-sdk 2.17.6 → 2.17.7
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/dist/browser.min.js +5 -3
- package/dist/index.es.js +5 -3
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/browser.min.js
CHANGED
|
@@ -36698,7 +36698,7 @@
|
|
|
36698
36698
|
}
|
|
36699
36699
|
_ZJSBridgeProvider_bridge = new WeakMap();
|
|
36700
36700
|
|
|
36701
|
-
var version = "2.17.
|
|
36701
|
+
var version = "2.17.7";
|
|
36702
36702
|
|
|
36703
36703
|
class Basics {
|
|
36704
36704
|
/**
|
|
@@ -41454,6 +41454,7 @@
|
|
|
41454
41454
|
}
|
|
41455
41455
|
}
|
|
41456
41456
|
|
|
41457
|
+
var _a;
|
|
41457
41458
|
// Zalo Mini App API
|
|
41458
41459
|
const platform = checkPlatform();
|
|
41459
41460
|
let app;
|
|
@@ -41467,10 +41468,11 @@
|
|
|
41467
41468
|
ZaloJSBridge.getInstance().onMultiJSCall(key, data);
|
|
41468
41469
|
};
|
|
41469
41470
|
};
|
|
41470
|
-
const zalo_h5_event_handler = window.zaloJSV2.zalo_h5_event_handler;
|
|
41471
|
+
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;
|
|
41471
41472
|
window.zaloJSV2 = {
|
|
41472
41473
|
zalo_h5_event_handler: function (eventId, eventName, eventData) {
|
|
41473
|
-
zalo_h5_event_handler
|
|
41474
|
+
typeof zalo_h5_event_handler === 'function' &&
|
|
41475
|
+
zalo_h5_event_handler(eventId, eventName, eventData);
|
|
41474
41476
|
ZaloJSBridge.getInstance().nativeEventHandler(eventId, eventName, eventData);
|
|
41475
41477
|
}
|
|
41476
41478
|
};
|
package/dist/index.es.js
CHANGED
|
@@ -36695,7 +36695,7 @@ class ZJSBridgeProvider {
|
|
|
36695
36695
|
}
|
|
36696
36696
|
_ZJSBridgeProvider_bridge = new WeakMap();
|
|
36697
36697
|
|
|
36698
|
-
var version = "2.17.
|
|
36698
|
+
var version = "2.17.7";
|
|
36699
36699
|
|
|
36700
36700
|
class Basics {
|
|
36701
36701
|
/**
|
|
@@ -41451,6 +41451,7 @@ class MockSDKCreator extends SDKCreator {
|
|
|
41451
41451
|
}
|
|
41452
41452
|
}
|
|
41453
41453
|
|
|
41454
|
+
var _a;
|
|
41454
41455
|
// Zalo Mini App API
|
|
41455
41456
|
const platform = checkPlatform();
|
|
41456
41457
|
let app;
|
|
@@ -41464,10 +41465,11 @@ window.onMultiJSCall = (key) => {
|
|
|
41464
41465
|
ZaloJSBridge.getInstance().onMultiJSCall(key, data);
|
|
41465
41466
|
};
|
|
41466
41467
|
};
|
|
41467
|
-
const zalo_h5_event_handler = window.zaloJSV2.zalo_h5_event_handler;
|
|
41468
|
+
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;
|
|
41468
41469
|
window.zaloJSV2 = {
|
|
41469
41470
|
zalo_h5_event_handler: function (eventId, eventName, eventData) {
|
|
41470
|
-
zalo_h5_event_handler
|
|
41471
|
+
typeof zalo_h5_event_handler === 'function' &&
|
|
41472
|
+
zalo_h5_event_handler(eventId, eventName, eventData);
|
|
41471
41473
|
ZaloJSBridge.getInstance().nativeEventHandler(eventId, eventName, eventData);
|
|
41472
41474
|
}
|
|
41473
41475
|
};
|