hylid-bridge 2.7.3 → 2.9.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.
- package/CHANGELOG.md +28 -0
- package/canIUse.json +1 -1
- package/lib/appEnv/clients.js +5 -0
- package/lib/appEnv/getEnv.js +4 -42
- package/lib/appEnv/index.js +0 -1
- package/lib/appEnv/utils.js +0 -4
- package/lib/bridges.d.ts +6 -0
- package/lib/bridges.js +68 -294
- package/lib/clients/mp/alipay/custom.d.ts +3 -1
- package/lib/clients/mp/alipay/custom.js +4 -1
- package/lib/clients/mp/alipay/generated.d.ts +1 -0
- package/lib/clients/mp/alipay/generated.js +2 -0
- package/lib/clients/mp/alipay/index.d.ts +6 -1
- package/lib/clients/mp/alipay/index.js +13 -1
- package/lib/clients/mp/alipay/navigateTo.d.ts +2 -0
- package/lib/clients/mp/alipay/navigateTo.js +2 -0
- package/lib/clients/mp/alipay/tradePay.d.ts +2 -0
- package/lib/clients/mp/alipay/tradePay.js +2 -0
- package/lib/clients/mp/alipay_plus/canIUse.d.ts +2 -0
- package/lib/clients/mp/alipay_plus/canIUse.js +3 -0
- package/lib/clients/mp/alipay_plus/createSelectorQuery.d.ts +2 -0
- package/lib/clients/mp/alipay_plus/createSelectorQuery.js +2 -0
- package/lib/clients/mp/alipay_plus/custom.d.ts +3 -1
- package/lib/clients/mp/alipay_plus/custom.js +4 -1
- package/lib/clients/mp/alipay_plus/generated.d.ts +7 -0
- package/lib/clients/mp/alipay_plus/generated.js +15 -1
- package/lib/clients/mp/alipay_plus/getOpenUserInfo.js +2 -3
- package/lib/clients/mp/alipay_plus/getStorageInfo.d.ts +2 -0
- package/lib/clients/mp/alipay_plus/getStorageInfo.js +2 -0
- package/lib/clients/mp/alipay_plus/getStorageInfoSync.d.ts +2 -0
- package/lib/clients/mp/alipay_plus/getStorageInfoSync.js +2 -0
- package/lib/clients/mp/alipay_plus/getSystemInfoSync.d.ts +2 -0
- package/lib/clients/mp/alipay_plus/getSystemInfoSync.js +2 -0
- package/lib/clients/mp/alipay_plus/index.d.ts +8 -0
- package/lib/clients/mp/alipay_plus/index.js +1 -7
- package/lib/clients/mp/alipay_plus/onMessage.d.ts +2 -0
- package/lib/clients/mp/alipay_plus/onMessage.js +2 -0
- package/lib/clients/mp/alipay_plus/postMessage.d.ts +2 -0
- package/lib/clients/mp/alipay_plus/postMessage.js +2 -0
- package/lib/clients/mp/alipay_plus/showSharePanel.d.ts +2 -0
- package/lib/clients/mp/alipay_plus/showSharePanel.js +2 -0
- package/lib/clients/mp/lazada/getAuthCode.js +6 -15
- package/lib/clients/mp/lazada/getOpenUserInfo.js +2 -3
- package/lib/clients/mp/lazada/index.js +1 -7
- package/lib/clients/mp/taobao/getAuthCode.js +7 -16
- package/lib/clients/mp/taobao/getOpenUserInfo.js +5 -12
- package/lib/clients/mp/taobao/index.js +1 -7
- package/lib/clients/mp_web/alipay/crossPay.js +0 -2
- package/lib/clients/mp_web/alipay/custom.d.ts +1 -0
- package/lib/clients/mp_web/alipay/custom.js +3 -1
- package/lib/clients/mp_web/alipay/generated.d.ts +1 -1
- package/lib/clients/mp_web/alipay/generated.js +2 -2
- package/lib/clients/mp_web/alipay/index.d.ts +2 -1
- package/lib/clients/mp_web/alipay/index.js +1 -7
- package/lib/clients/mp_web/alipay/navigateTo.d.ts +2 -0
- package/lib/clients/mp_web/alipay/navigateTo.js +2 -0
- package/lib/clients/mp_web/alipay/tradePay.d.ts +1 -1
- package/lib/clients/mp_web/alipay/tradePay.js +1 -1
- package/lib/clients/mp_web/alipay_plus/getOpenUserInfo.js +1 -9
- package/lib/clients/mp_web/alipay_plus/index.js +1 -7
- package/lib/clients/web/alipay/custom.d.ts +1 -0
- package/lib/clients/web/alipay/custom.js +2 -0
- package/lib/clients/web/alipay/generated.d.ts +1 -1
- package/lib/clients/web/alipay/generated.js +2 -2
- package/lib/clients/web/alipay/index.d.ts +2 -1
- package/lib/clients/web/alipay/index.js +1 -7
- package/lib/clients/web/alipay/tradePay.d.ts +1 -1
- package/lib/clients/web/alipay/tradePay.js +1 -1
- package/lib/clients/web/alipay_plus/getOpenUserInfo.js +1 -9
- package/lib/clients/web/alipay_plus/index.js +1 -7
- package/lib/clients/web/alipay_plus/paySignCenter.js +1 -7
- package/lib/clients/web/h5/index.js +1 -7
- package/lib/clients/web/h5/rpc.js +1 -7
- package/lib/common/apis/custom/mp/crossPay.js +0 -2
- package/lib/common/apis/custom/tradePay.d.ts +3 -0
- package/lib/common/apis/custom/tradePay.js +34 -0
- package/lib/common/apis/custom/web/alert.js +5 -17
- package/lib/common/apis/custom/web/choosePhoneContact.js +0 -2
- package/lib/common/apis/custom/web/clearStorage.js +0 -2
- package/lib/common/apis/custom/web/confirm.js +6 -20
- package/lib/common/apis/custom/web/datePicker.js +7 -21
- package/lib/common/apis/custom/web/downloadFile.js +4 -19
- package/lib/common/apis/custom/web/getAuthCode.js +4 -18
- package/lib/common/apis/custom/web/getLocation.js +4 -18
- package/lib/common/apis/custom/web/getNetworkType.js +1 -9
- package/lib/common/apis/custom/web/getPhoneNumber.js +1 -9
- package/lib/common/apis/custom/web/getStorage.js +1 -9
- package/lib/common/apis/custom/web/hideNavigationBarLoading.js +0 -2
- package/lib/common/apis/custom/web/multiLevelSelect.js +0 -2
- package/lib/common/apis/custom/web/navigateBack.js +6 -20
- package/lib/common/apis/custom/web/navigateTo.js +0 -2
- package/lib/common/apis/custom/web/previewImage.js +5 -19
- package/lib/common/apis/custom/web/reLaunch.js +0 -2
- package/lib/common/apis/custom/web/redirectTo.js +7 -9
- package/lib/common/apis/custom/web/removeStorage.js +0 -2
- package/lib/common/apis/custom/web/request.js +6 -27
- package/lib/common/apis/custom/web/saveFile.js +4 -18
- package/lib/common/apis/custom/web/saveImage.js +4 -18
- package/lib/common/apis/custom/web/setKeepScreenOn.js +1 -9
- package/lib/common/apis/custom/web/setNavigationBar.js +7 -12
- package/lib/common/apis/custom/web/setOptionMenu.js +0 -2
- package/lib/common/apis/custom/web/setStorage.js +4 -18
- package/lib/common/apis/custom/web/setTabBarStyle.js +1 -9
- package/lib/common/apis/custom/web/showActionSheet.js +5 -19
- package/lib/common/apis/custom/web/showAuthGuide.js +1 -9
- package/lib/common/apis/custom/web/showNavigationBarLoading.js +0 -2
- package/lib/common/apis/custom/web/showToast.js +1 -9
- package/lib/common/apis/custom/web/startPullDownRefresh.js +0 -2
- package/lib/common/apis/custom/web/stopPullDownRefresh.js +0 -2
- package/lib/common/apis/custom/web/uploadFile.js +5 -19
- package/lib/common/apis/generated/createSelectorQuery.d.ts +2 -0
- package/lib/common/apis/generated/createSelectorQuery.js +4 -0
- package/lib/common/apis/generated/getStorageInfo.d.ts +2 -0
- package/lib/common/apis/generated/getStorageInfo.js +4 -0
- package/lib/common/apis/generated/getStorageInfoSync.d.ts +2 -0
- package/lib/common/apis/generated/getStorageInfoSync.js +4 -0
- package/lib/common/apis/generated/getSystemInfoSync.d.ts +2 -0
- package/lib/common/apis/generated/getSystemInfoSync.js +4 -0
- package/lib/common/apis/generated/onMessage.d.ts +2 -0
- package/lib/common/apis/generated/onMessage.js +4 -0
- package/lib/common/apis/generated/postMessage.d.ts +2 -0
- package/lib/common/apis/generated/postMessage.js +4 -0
- package/lib/common/apis/generated/showSharePanel.d.ts +2 -0
- package/lib/common/apis/generated/showSharePanel.js +4 -0
- package/lib/common/call/index.js +1 -18
- package/lib/common/call/mp.js +2 -2
- package/lib/common/call/mpWeb.js +2 -12
- package/lib/common/call/web.js +3 -5
- package/lib/common/constants.js +0 -9
- package/lib/common/logger.js +5 -6
- package/lib/common/notFound.js +0 -3
- package/lib/common/utils.js +8 -22
- package/lib/common/webview-bridge.js +70 -125
- package/lib/common/whichCanIUse.d.ts +3 -0
- package/lib/common/{canIUse.js → whichCanIUse.js} +14 -8
- package/lib/index.d.ts +1 -2
- package/lib/index.js +13 -6
- package/lib/types/jsapi.d.ts +2 -0
- package/lib/types/mp.d.ts +6 -0
- package/lib/umd/index.js +6350 -2
- package/lib/umd/mp_ae.js +45 -1
- package/lib/umd/mp_alipay.js +1744 -1
- package/lib/umd/mp_alipay_hk.js +45 -1
- package/lib/umd/mp_alipay_plus.js +3328 -2
- package/lib/umd/mp_alipay_vn.js +45 -1
- package/lib/umd/mp_dana.js +45 -1
- package/lib/umd/mp_gcash.js +45 -1
- package/lib/umd/mp_lazada.js +3240 -2
- package/lib/umd/mp_taobao.js +2206 -2
- package/lib/umd/mp_tmall.js +45 -1
- package/lib/umd/mp_tmn.js +45 -1
- package/lib/umd/mp_tngd.js +45 -1
- package/lib/umd/mp_web_alipay.js +2162 -2
- package/lib/umd/mp_web_alipay_plus.js +2987 -2
- package/lib/umd/web_ae.js +45 -1
- package/lib/umd/web_alipay.js +2646 -2
- package/lib/umd/web_alipay_hk.js +45 -1
- package/lib/umd/web_alipay_mo.js +45 -1
- package/lib/umd/web_alipay_plus.js +2866 -2
- package/lib/umd/web_alipay_vn.js +45 -1
- package/lib/umd/web_daraz.js +45 -1
- package/lib/umd/web_h5.js +2140 -2
- package/lib/umd/web_kkp.js +45 -1
- package/lib/umd/web_lazada.js +45 -1
- package/lib/umd/web_taobao.js +45 -1
- package/lib/umd/web_taobao_overseas.js +45 -1
- package/package.json +2 -25
- package/lib/common/canIUse.d.ts +0 -3
- package/lib/umd/index.js.LICENSE.txt +0 -1
- package/lib/umd/mp_alipay_plus.js.LICENSE.txt +0 -1
- package/lib/umd/mp_lazada.js.LICENSE.txt +0 -1
- package/lib/umd/mp_taobao.js.LICENSE.txt +0 -1
- package/lib/umd/mp_web_alipay.js.LICENSE.txt +0 -1
- package/lib/umd/mp_web_alipay_plus.js.LICENSE.txt +0 -1
- package/lib/umd/web_alipay.js.LICENSE.txt +0 -1
- package/lib/umd/web_alipay_plus.js.LICENSE.txt +0 -1
- package/lib/umd/web_h5.js.LICENSE.txt +0 -1
package/lib/umd/web_ae.js
CHANGED
|
@@ -1 +1,45 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
3
|
+
* This devtool is neither made for production nor for readable output files.
|
|
4
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
5
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
6
|
+
* or disable the default devtool with "devtool: false".
|
|
7
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
8
|
+
*/
|
|
9
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
11
|
+
module.exports = factory();
|
|
12
|
+
else if(typeof define === 'function' && define.amd)
|
|
13
|
+
define([], factory);
|
|
14
|
+
else if(typeof exports === 'object')
|
|
15
|
+
exports["my"] = factory();
|
|
16
|
+
else
|
|
17
|
+
root["my"] = factory();
|
|
18
|
+
})(self, () => {
|
|
19
|
+
return /******/ (() => { // webpackBootstrap
|
|
20
|
+
/******/ var __webpack_modules__ = ({
|
|
21
|
+
|
|
22
|
+
/***/ "./packages/bridge/src/clients/web/ae/index.ts":
|
|
23
|
+
/*!*****************************************************!*\
|
|
24
|
+
!*** ./packages/bridge/src/clients/web/ae/index.ts ***!
|
|
25
|
+
\*****************************************************/
|
|
26
|
+
/***/ (() => {
|
|
27
|
+
|
|
28
|
+
eval("\n\n//# sourceURL=webpack://my/./packages/bridge/src/clients/web/ae/index.ts?");
|
|
29
|
+
|
|
30
|
+
/***/ })
|
|
31
|
+
|
|
32
|
+
/******/ });
|
|
33
|
+
/************************************************************************/
|
|
34
|
+
/******/
|
|
35
|
+
/******/ // startup
|
|
36
|
+
/******/ // Load entry module and return exports
|
|
37
|
+
/******/ // This entry module can't be inlined because the eval devtool is used.
|
|
38
|
+
/******/ var __webpack_exports__ = {};
|
|
39
|
+
/******/ __webpack_modules__["./packages/bridge/src/clients/web/ae/index.ts"]();
|
|
40
|
+
/******/ __webpack_exports__ = __webpack_exports__["default"];
|
|
41
|
+
/******/
|
|
42
|
+
/******/ return __webpack_exports__;
|
|
43
|
+
/******/ })()
|
|
44
|
+
;
|
|
45
|
+
});
|