hylid-bridge 2.11.0 → 2.12.0-alpha.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.
Files changed (107) hide show
  1. package/CHANGELOG.md +15 -4
  2. package/canIUse.json +1 -1
  3. package/lib/appEnv/clients.js +1 -1
  4. package/lib/appEnv/getEnv.js +6 -3
  5. package/lib/bridges.js +40 -11
  6. package/lib/clients/mp/alipay/createWebViewContext.d.ts +2 -2
  7. package/lib/clients/mp/alipay/createWebViewContext.js +3 -2
  8. package/lib/clients/mp/alipay/custom.d.ts +1 -0
  9. package/lib/clients/mp/alipay/custom.js +2 -0
  10. package/lib/clients/mp/alipay/generated.d.ts +0 -1
  11. package/lib/clients/mp/alipay/generated.js +0 -2
  12. package/lib/clients/mp/alipay/index.d.ts +1 -1
  13. package/lib/clients/mp/alipay/tradePay.d.ts +1 -1
  14. package/lib/clients/mp/alipay/tradePay.js +1 -1
  15. package/lib/clients/mp/alipay_plus/createWebViewContext.d.ts +2 -2
  16. package/lib/clients/mp/alipay_plus/createWebViewContext.js +3 -2
  17. package/lib/clients/mp/alipay_plus/custom.d.ts +1 -0
  18. package/lib/clients/mp/alipay_plus/custom.js +2 -0
  19. package/lib/clients/mp/alipay_plus/generated.d.ts +0 -1
  20. package/lib/clients/mp/alipay_plus/generated.js +0 -2
  21. package/lib/clients/mp/alipay_plus/index.d.ts +1 -1
  22. package/lib/clients/mp/lazada/createWebViewContext.d.ts +2 -2
  23. package/lib/clients/mp/lazada/createWebViewContext.js +3 -2
  24. package/lib/clients/mp/lazada/custom.d.ts +1 -0
  25. package/lib/clients/mp/lazada/custom.js +2 -0
  26. package/lib/clients/mp/lazada/generated.d.ts +0 -1
  27. package/lib/clients/mp/lazada/generated.js +0 -2
  28. package/lib/clients/mp/lazada/index.d.ts +1 -1
  29. package/lib/clients/mp/taobao/createWebViewContext.d.ts +2 -2
  30. package/lib/clients/mp/taobao/createWebViewContext.js +3 -2
  31. package/lib/clients/mp/taobao/custom.d.ts +1 -0
  32. package/lib/clients/mp/taobao/custom.js +2 -0
  33. package/lib/clients/mp/taobao/generated.d.ts +0 -1
  34. package/lib/clients/mp/taobao/generated.js +0 -2
  35. package/lib/clients/mp/taobao/index.d.ts +1 -1
  36. package/lib/clients/mp_web/alipay/tradePay.d.ts +1 -1
  37. package/lib/clients/mp_web/alipay/tradePay.js +1 -1
  38. package/lib/clients/web/alipay/custom.d.ts +6 -0
  39. package/lib/clients/web/alipay/custom.js +12 -0
  40. package/lib/clients/web/alipay/exitApp.d.ts +2 -0
  41. package/lib/clients/web/alipay/exitApp.js +2 -0
  42. package/lib/clients/web/alipay/generated.d.ts +0 -3
  43. package/lib/clients/web/alipay/generated.js +0 -6
  44. package/lib/clients/web/alipay/index.d.ts +6 -3
  45. package/lib/clients/web/alipay/tradePay.d.ts +1 -1
  46. package/lib/clients/web/alipay/tradePay.js +1 -1
  47. package/lib/clients/web/alipay_plus/custom.d.ts +6 -0
  48. package/lib/clients/web/alipay_plus/custom.js +12 -0
  49. package/lib/clients/web/alipay_plus/generated.d.ts +0 -3
  50. package/lib/clients/web/alipay_plus/generated.js +0 -6
  51. package/lib/clients/web/alipay_plus/index.d.ts +6 -3
  52. package/lib/clients/web/h5/custom.d.ts +8 -0
  53. package/lib/clients/web/h5/custom.js +8 -0
  54. package/lib/clients/web/h5/exitApp.d.ts +2 -0
  55. package/lib/clients/web/h5/exitApp.js +4 -0
  56. package/lib/clients/web/h5/index.d.ts +4 -0
  57. package/lib/clients/web/h5/navigateBack.d.ts +2 -0
  58. package/lib/clients/web/h5/navigateBack.js +4 -0
  59. package/lib/clients/web/h5/navigateTo.d.ts +2 -0
  60. package/lib/clients/web/h5/navigateTo.js +4 -0
  61. package/lib/clients/web/h5/redirectTo.d.ts +2 -0
  62. package/lib/clients/web/h5/redirectTo.js +4 -0
  63. package/lib/common/apis/custom/{tradePay.d.ts → mp/tradePay.d.ts} +1 -1
  64. package/lib/common/apis/custom/{tradePay.js → mp/tradePay.js} +1 -1
  65. package/lib/common/apis/custom/mp_web/tradePay.d.ts +3 -0
  66. package/lib/common/apis/custom/mp_web/tradePay.js +34 -0
  67. package/lib/common/apis/custom/web/tradePay.d.ts +3 -0
  68. package/lib/common/apis/custom/web/tradePay.js +34 -0
  69. package/lib/common/whichCanIUse.js +4 -4
  70. package/lib/umd/index.js +2 -6350
  71. package/lib/umd/index.js.LICENSE.txt +1 -0
  72. package/lib/umd/mp_ae.js +1 -45
  73. package/lib/umd/mp_alipay.js +2 -1766
  74. package/lib/umd/mp_alipay.js.LICENSE.txt +1 -0
  75. package/lib/umd/mp_alipay_hk.js +1 -45
  76. package/lib/umd/mp_alipay_plus.js +2 -3339
  77. package/lib/umd/mp_alipay_plus.js.LICENSE.txt +1 -0
  78. package/lib/umd/mp_alipay_vn.js +1 -45
  79. package/lib/umd/mp_dana.js +1 -45
  80. package/lib/umd/mp_gcash.js +1 -45
  81. package/lib/umd/mp_lazada.js +2 -3251
  82. package/lib/umd/mp_lazada.js.LICENSE.txt +1 -0
  83. package/lib/umd/mp_taobao.js +2 -2217
  84. package/lib/umd/mp_taobao.js.LICENSE.txt +1 -0
  85. package/lib/umd/mp_tmall.js +1 -45
  86. package/lib/umd/mp_tmn.js +1 -45
  87. package/lib/umd/mp_tngd.js +1 -45
  88. package/lib/umd/mp_web_alipay.js +2 -2173
  89. package/lib/umd/mp_web_alipay.js.LICENSE.txt +1 -0
  90. package/lib/umd/mp_web_alipay_plus.js +2 -3009
  91. package/lib/umd/mp_web_alipay_plus.js.LICENSE.txt +1 -0
  92. package/lib/umd/web_ae.js +1 -45
  93. package/lib/umd/web_alipay.js +2 -2657
  94. package/lib/umd/web_alipay.js.LICENSE.txt +1 -0
  95. package/lib/umd/web_alipay_hk.js +1 -45
  96. package/lib/umd/web_alipay_mo.js +1 -45
  97. package/lib/umd/web_alipay_plus.js +2 -2877
  98. package/lib/umd/web_alipay_plus.js.LICENSE.txt +1 -0
  99. package/lib/umd/web_alipay_vn.js +1 -45
  100. package/lib/umd/web_daraz.js +1 -45
  101. package/lib/umd/web_h5.js +2 -2140
  102. package/lib/umd/web_h5.js.LICENSE.txt +1 -0
  103. package/lib/umd/web_kkp.js +1 -45
  104. package/lib/umd/web_lazada.js +1 -45
  105. package/lib/umd/web_taobao.js +1 -45
  106. package/lib/umd/web_taobao_overseas.js +1 -45
  107. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
@@ -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/mp/alipay_hk/index.ts":
23
- /*!***********************************************************!*\
24
- !*** ./packages/bridge/src/clients/mp/alipay_hk/index.ts ***!
25
- \***********************************************************/
26
- /***/ (() => {
27
-
28
- eval("\n\n//# sourceURL=webpack://my/./packages/bridge/src/clients/mp/alipay_hk/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/mp/alipay_hk/index.ts"]();
40
- /******/ __webpack_exports__ = __webpack_exports__["default"];
41
- /******/
42
- /******/ return __webpack_exports__;
43
- /******/ })()
44
- ;
45
- });
1
+ !function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.my=o():e.my=o()}(self,(()=>({}.default)));