hylid-bridge 4.0.7 → 4.0.8

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 (459) hide show
  1. package/README.md +0 -66
  2. package/lib/bridges.d.ts +1 -378
  3. package/lib/bridges.js +0 -694
  4. package/lib/clients/mp/alipay/index.d.ts +2 -4
  5. package/lib/clients/mp/alipay/index.js +2 -4
  6. package/lib/clients/mp/alipayhk/index.d.ts +2 -4
  7. package/lib/clients/mp/alipayhk/index.js +2 -4
  8. package/lib/clients/mp/chope/index.d.ts +1 -1
  9. package/lib/clients/mp/dana/index.d.ts +2 -4
  10. package/lib/clients/mp/dana/index.js +2 -4
  11. package/lib/clients/mp/demo/index.d.ts +1 -1
  12. package/lib/clients/mp/gcash/index.d.ts +2 -4
  13. package/lib/clients/mp/gcash/index.js +2 -4
  14. package/lib/clients/mp/tngd/index.d.ts +2 -4
  15. package/lib/clients/mp/tngd/index.js +2 -4
  16. package/lib/clients/mp/truemoney/index.d.ts +2 -4
  17. package/lib/clients/mp/truemoney/index.js +2 -4
  18. package/lib/clients/mp_web/alipay/index.d.ts +2 -4
  19. package/lib/clients/mp_web/alipay/index.js +1 -3
  20. package/lib/clients/mp_web/alipayhk/index.d.ts +2 -56
  21. package/lib/clients/mp_web/alipayhk/index.js +2 -28
  22. package/lib/clients/mp_web/chope/index.d.ts +2 -4
  23. package/lib/clients/mp_web/chope/index.js +1 -3
  24. package/lib/clients/mp_web/dana/index.d.ts +2 -56
  25. package/lib/clients/mp_web/dana/index.js +2 -28
  26. package/lib/clients/mp_web/demo/index.d.ts +2 -4
  27. package/lib/clients/mp_web/demo/index.js +1 -3
  28. package/lib/clients/mp_web/gcash/index.d.ts +2 -56
  29. package/lib/clients/mp_web/gcash/index.js +2 -28
  30. package/lib/clients/mp_web/mpay/index.d.ts +2 -54
  31. package/lib/clients/mp_web/mpay/index.js +2 -26
  32. package/lib/clients/mp_web/tngd/index.d.ts +2 -56
  33. package/lib/clients/mp_web/tngd/index.js +2 -28
  34. package/lib/clients/mp_web/toss/index.d.ts +2 -54
  35. package/lib/clients/mp_web/toss/index.js +2 -26
  36. package/lib/clients/mp_web/truemoney/index.d.ts +2 -56
  37. package/lib/clients/mp_web/truemoney/index.js +2 -28
  38. package/lib/clients/web/alipay/index.d.ts +3 -131
  39. package/lib/clients/web/alipay/index.js +3 -47
  40. package/lib/clients/web/demo/index.d.ts +2 -4
  41. package/lib/clients/web/demo/index.js +2 -4
  42. package/lib/clients/web/h5/index.d.ts +2 -42
  43. package/lib/clients/web/h5/index.js +2 -14
  44. package/lib/clients/web/tngdh5ng/index.d.ts +1 -3
  45. package/lib/clients/web/tngdh5ng/index.js +2 -4
  46. package/lib/common/apis/custom/web/h5/request.d.ts +1 -1
  47. package/lib/common/apis/generated/mp/request.d.ts +2 -2
  48. package/lib/common/apis/generated/mp_web/request.d.ts +2 -2
  49. package/lib/dsl.d.ts +1 -10
  50. package/lib/dsl.js +1 -28
  51. package/lib/umd/index.js +1 -1
  52. package/lib/umd/mp_web_alipay.js +1 -1
  53. package/lib/umd/mp_web_alipayhk.js +1 -1
  54. package/lib/umd/mp_web_chope.js +1 -1
  55. package/lib/umd/mp_web_dana.js +1 -1
  56. package/lib/umd/mp_web_demo.js +1 -1
  57. package/lib/umd/mp_web_gcash.js +1 -1
  58. package/lib/umd/mp_web_mpay.js +1 -2
  59. package/lib/umd/mp_web_tngd.js +1 -1
  60. package/lib/umd/mp_web_toss.js +1 -2
  61. package/lib/umd/mp_web_truemoney.js +1 -1
  62. package/lib/umd/web_alipay.js +1 -2
  63. package/lib/umd/web_demo.js +1 -1
  64. package/lib/umd/web_h5.js +1 -1
  65. package/lib/umd/web_tngdh5ng.js +1 -1
  66. package/package.json +6 -6
  67. package/lib/clients/mp/alipay/defineRuntimeConfig.d.ts +0 -2
  68. package/lib/clients/mp/alipay/defineRuntimeConfig.js +0 -3
  69. package/lib/clients/mp/alipayhk/defineRuntimeConfig.d.ts +0 -2
  70. package/lib/clients/mp/alipayhk/defineRuntimeConfig.js +0 -3
  71. package/lib/clients/mp/dana/defineRuntimeConfig.d.ts +0 -2
  72. package/lib/clients/mp/dana/defineRuntimeConfig.js +0 -3
  73. package/lib/clients/mp/gcash/defineRuntimeConfig.d.ts +0 -2
  74. package/lib/clients/mp/gcash/defineRuntimeConfig.js +0 -3
  75. package/lib/clients/mp/tngd/defineRuntimeConfig.d.ts +0 -2
  76. package/lib/clients/mp/tngd/defineRuntimeConfig.js +0 -3
  77. package/lib/clients/mp/truemoney/defineRuntimeConfig.d.ts +0 -2
  78. package/lib/clients/mp/truemoney/defineRuntimeConfig.js +0 -3
  79. package/lib/clients/mp_web/alipay/getCurrentLanguage.d.ts +0 -2
  80. package/lib/clients/mp_web/alipay/getCurrentLanguage.js +0 -3
  81. package/lib/clients/mp_web/alipayhk/createWithoutAuthRpc.d.ts +0 -2
  82. package/lib/clients/mp_web/alipayhk/createWithoutAuthRpc.js +0 -3
  83. package/lib/clients/mp_web/alipayhk/defineRuntimeConfig.d.ts +0 -2
  84. package/lib/clients/mp_web/alipayhk/defineRuntimeConfig.js +0 -3
  85. package/lib/clients/mp_web/alipayhk/getCurrentLanguage.d.ts +0 -2
  86. package/lib/clients/mp_web/alipayhk/getCurrentLanguage.js +0 -3
  87. package/lib/clients/mp_web/alipayhk/openApPayCodePage.d.ts +0 -2
  88. package/lib/clients/mp_web/alipayhk/openApPayCodePage.js +0 -3
  89. package/lib/clients/mp_web/alipayhk/openInApp.d.ts +0 -2
  90. package/lib/clients/mp_web/alipayhk/openInApp.js +0 -3
  91. package/lib/clients/mp_web/alipayhk/openInBrowser.d.ts +0 -2
  92. package/lib/clients/mp_web/alipayhk/openInBrowser.js +0 -3
  93. package/lib/clients/mp_web/alipayhk/openOtherApp.d.ts +0 -2
  94. package/lib/clients/mp_web/alipayhk/openOtherApp.js +0 -3
  95. package/lib/clients/mp_web/alipayhk/openPayCodePage.d.ts +0 -2
  96. package/lib/clients/mp_web/alipayhk/openPayCodePage.js +0 -3
  97. package/lib/clients/mp_web/alipayhk/openScanPage.d.ts +0 -2
  98. package/lib/clients/mp_web/alipayhk/openScanPage.js +0 -3
  99. package/lib/clients/mp_web/alipayhk/openURL.d.ts +0 -2
  100. package/lib/clients/mp_web/alipayhk/openURL.js +0 -3
  101. package/lib/clients/mp_web/alipayhk/openWebURL.d.ts +0 -2
  102. package/lib/clients/mp_web/alipayhk/openWebURL.js +0 -3
  103. package/lib/clients/mp_web/alipayhk/popWindow.d.ts +0 -2
  104. package/lib/clients/mp_web/alipayhk/popWindow.js +0 -3
  105. package/lib/clients/mp_web/alipayhk/rpcWithAuth.d.ts +0 -2
  106. package/lib/clients/mp_web/alipayhk/rpcWithAuth.js +0 -3
  107. package/lib/clients/mp_web/chope/getCurrentLanguage.d.ts +0 -2
  108. package/lib/clients/mp_web/chope/getCurrentLanguage.js +0 -3
  109. package/lib/clients/mp_web/dana/createWithoutAuthRpc.d.ts +0 -2
  110. package/lib/clients/mp_web/dana/createWithoutAuthRpc.js +0 -3
  111. package/lib/clients/mp_web/dana/defineRuntimeConfig.d.ts +0 -2
  112. package/lib/clients/mp_web/dana/defineRuntimeConfig.js +0 -3
  113. package/lib/clients/mp_web/dana/getCurrentLanguage.d.ts +0 -2
  114. package/lib/clients/mp_web/dana/getCurrentLanguage.js +0 -3
  115. package/lib/clients/mp_web/dana/openApPayCodePage.d.ts +0 -2
  116. package/lib/clients/mp_web/dana/openApPayCodePage.js +0 -3
  117. package/lib/clients/mp_web/dana/openInApp.d.ts +0 -2
  118. package/lib/clients/mp_web/dana/openInApp.js +0 -3
  119. package/lib/clients/mp_web/dana/openInBrowser.d.ts +0 -2
  120. package/lib/clients/mp_web/dana/openInBrowser.js +0 -3
  121. package/lib/clients/mp_web/dana/openOtherApp.d.ts +0 -2
  122. package/lib/clients/mp_web/dana/openOtherApp.js +0 -3
  123. package/lib/clients/mp_web/dana/openPayCodePage.d.ts +0 -2
  124. package/lib/clients/mp_web/dana/openPayCodePage.js +0 -3
  125. package/lib/clients/mp_web/dana/openScanPage.d.ts +0 -2
  126. package/lib/clients/mp_web/dana/openScanPage.js +0 -3
  127. package/lib/clients/mp_web/dana/openURL.d.ts +0 -2
  128. package/lib/clients/mp_web/dana/openURL.js +0 -3
  129. package/lib/clients/mp_web/dana/openWebURL.d.ts +0 -2
  130. package/lib/clients/mp_web/dana/openWebURL.js +0 -3
  131. package/lib/clients/mp_web/dana/popWindow.d.ts +0 -2
  132. package/lib/clients/mp_web/dana/popWindow.js +0 -3
  133. package/lib/clients/mp_web/dana/rpcWithAuth.d.ts +0 -2
  134. package/lib/clients/mp_web/dana/rpcWithAuth.js +0 -3
  135. package/lib/clients/mp_web/demo/getCurrentLanguage.d.ts +0 -2
  136. package/lib/clients/mp_web/demo/getCurrentLanguage.js +0 -3
  137. package/lib/clients/mp_web/gcash/createWithoutAuthRpc.d.ts +0 -2
  138. package/lib/clients/mp_web/gcash/createWithoutAuthRpc.js +0 -3
  139. package/lib/clients/mp_web/gcash/defineRuntimeConfig.d.ts +0 -2
  140. package/lib/clients/mp_web/gcash/defineRuntimeConfig.js +0 -3
  141. package/lib/clients/mp_web/gcash/getCurrentLanguage.d.ts +0 -2
  142. package/lib/clients/mp_web/gcash/getCurrentLanguage.js +0 -3
  143. package/lib/clients/mp_web/gcash/openApPayCodePage.d.ts +0 -2
  144. package/lib/clients/mp_web/gcash/openApPayCodePage.js +0 -3
  145. package/lib/clients/mp_web/gcash/openInApp.d.ts +0 -2
  146. package/lib/clients/mp_web/gcash/openInApp.js +0 -3
  147. package/lib/clients/mp_web/gcash/openInBrowser.d.ts +0 -2
  148. package/lib/clients/mp_web/gcash/openInBrowser.js +0 -3
  149. package/lib/clients/mp_web/gcash/openOtherApp.d.ts +0 -2
  150. package/lib/clients/mp_web/gcash/openOtherApp.js +0 -3
  151. package/lib/clients/mp_web/gcash/openPayCodePage.d.ts +0 -2
  152. package/lib/clients/mp_web/gcash/openPayCodePage.js +0 -3
  153. package/lib/clients/mp_web/gcash/openScanPage.d.ts +0 -2
  154. package/lib/clients/mp_web/gcash/openScanPage.js +0 -3
  155. package/lib/clients/mp_web/gcash/openURL.d.ts +0 -2
  156. package/lib/clients/mp_web/gcash/openURL.js +0 -3
  157. package/lib/clients/mp_web/gcash/openWebURL.d.ts +0 -2
  158. package/lib/clients/mp_web/gcash/openWebURL.js +0 -3
  159. package/lib/clients/mp_web/gcash/popWindow.d.ts +0 -2
  160. package/lib/clients/mp_web/gcash/popWindow.js +0 -3
  161. package/lib/clients/mp_web/gcash/rpcWithAuth.d.ts +0 -2
  162. package/lib/clients/mp_web/gcash/rpcWithAuth.js +0 -3
  163. package/lib/clients/mp_web/mpay/createWithoutAuthRpc.d.ts +0 -2
  164. package/lib/clients/mp_web/mpay/createWithoutAuthRpc.js +0 -3
  165. package/lib/clients/mp_web/mpay/defineRuntimeConfig.d.ts +0 -2
  166. package/lib/clients/mp_web/mpay/defineRuntimeConfig.js +0 -3
  167. package/lib/clients/mp_web/mpay/openApPayCodePage.d.ts +0 -2
  168. package/lib/clients/mp_web/mpay/openApPayCodePage.js +0 -3
  169. package/lib/clients/mp_web/mpay/openInApp.d.ts +0 -2
  170. package/lib/clients/mp_web/mpay/openInApp.js +0 -3
  171. package/lib/clients/mp_web/mpay/openInBrowser.d.ts +0 -2
  172. package/lib/clients/mp_web/mpay/openInBrowser.js +0 -3
  173. package/lib/clients/mp_web/mpay/openOtherApp.d.ts +0 -2
  174. package/lib/clients/mp_web/mpay/openOtherApp.js +0 -3
  175. package/lib/clients/mp_web/mpay/openPayCodePage.d.ts +0 -2
  176. package/lib/clients/mp_web/mpay/openPayCodePage.js +0 -3
  177. package/lib/clients/mp_web/mpay/openScanPage.d.ts +0 -2
  178. package/lib/clients/mp_web/mpay/openScanPage.js +0 -3
  179. package/lib/clients/mp_web/mpay/openURL.d.ts +0 -2
  180. package/lib/clients/mp_web/mpay/openURL.js +0 -3
  181. package/lib/clients/mp_web/mpay/openWebURL.d.ts +0 -2
  182. package/lib/clients/mp_web/mpay/openWebURL.js +0 -3
  183. package/lib/clients/mp_web/mpay/popWindow.d.ts +0 -2
  184. package/lib/clients/mp_web/mpay/popWindow.js +0 -3
  185. package/lib/clients/mp_web/mpay/rpcWithAuth.d.ts +0 -2
  186. package/lib/clients/mp_web/mpay/rpcWithAuth.js +0 -3
  187. package/lib/clients/mp_web/tngd/createWithoutAuthRpc.d.ts +0 -2
  188. package/lib/clients/mp_web/tngd/createWithoutAuthRpc.js +0 -3
  189. package/lib/clients/mp_web/tngd/defineRuntimeConfig.d.ts +0 -2
  190. package/lib/clients/mp_web/tngd/defineRuntimeConfig.js +0 -3
  191. package/lib/clients/mp_web/tngd/getCurrentLanguage.d.ts +0 -2
  192. package/lib/clients/mp_web/tngd/getCurrentLanguage.js +0 -3
  193. package/lib/clients/mp_web/tngd/openApPayCodePage.d.ts +0 -2
  194. package/lib/clients/mp_web/tngd/openApPayCodePage.js +0 -3
  195. package/lib/clients/mp_web/tngd/openInApp.d.ts +0 -2
  196. package/lib/clients/mp_web/tngd/openInApp.js +0 -3
  197. package/lib/clients/mp_web/tngd/openInBrowser.d.ts +0 -2
  198. package/lib/clients/mp_web/tngd/openInBrowser.js +0 -3
  199. package/lib/clients/mp_web/tngd/openOtherApp.d.ts +0 -2
  200. package/lib/clients/mp_web/tngd/openOtherApp.js +0 -3
  201. package/lib/clients/mp_web/tngd/openPayCodePage.d.ts +0 -2
  202. package/lib/clients/mp_web/tngd/openPayCodePage.js +0 -3
  203. package/lib/clients/mp_web/tngd/openScanPage.d.ts +0 -2
  204. package/lib/clients/mp_web/tngd/openScanPage.js +0 -3
  205. package/lib/clients/mp_web/tngd/openURL.d.ts +0 -2
  206. package/lib/clients/mp_web/tngd/openURL.js +0 -3
  207. package/lib/clients/mp_web/tngd/openWebURL.d.ts +0 -2
  208. package/lib/clients/mp_web/tngd/openWebURL.js +0 -3
  209. package/lib/clients/mp_web/tngd/popWindow.d.ts +0 -2
  210. package/lib/clients/mp_web/tngd/popWindow.js +0 -3
  211. package/lib/clients/mp_web/tngd/rpcWithAuth.d.ts +0 -2
  212. package/lib/clients/mp_web/tngd/rpcWithAuth.js +0 -3
  213. package/lib/clients/mp_web/toss/createWithoutAuthRpc.d.ts +0 -2
  214. package/lib/clients/mp_web/toss/createWithoutAuthRpc.js +0 -3
  215. package/lib/clients/mp_web/toss/defineRuntimeConfig.d.ts +0 -2
  216. package/lib/clients/mp_web/toss/defineRuntimeConfig.js +0 -3
  217. package/lib/clients/mp_web/toss/openApPayCodePage.d.ts +0 -2
  218. package/lib/clients/mp_web/toss/openApPayCodePage.js +0 -3
  219. package/lib/clients/mp_web/toss/openInApp.d.ts +0 -2
  220. package/lib/clients/mp_web/toss/openInApp.js +0 -3
  221. package/lib/clients/mp_web/toss/openInBrowser.d.ts +0 -2
  222. package/lib/clients/mp_web/toss/openInBrowser.js +0 -3
  223. package/lib/clients/mp_web/toss/openOtherApp.d.ts +0 -2
  224. package/lib/clients/mp_web/toss/openOtherApp.js +0 -3
  225. package/lib/clients/mp_web/toss/openPayCodePage.d.ts +0 -2
  226. package/lib/clients/mp_web/toss/openPayCodePage.js +0 -3
  227. package/lib/clients/mp_web/toss/openScanPage.d.ts +0 -2
  228. package/lib/clients/mp_web/toss/openScanPage.js +0 -3
  229. package/lib/clients/mp_web/toss/openURL.d.ts +0 -2
  230. package/lib/clients/mp_web/toss/openURL.js +0 -3
  231. package/lib/clients/mp_web/toss/openWebURL.d.ts +0 -2
  232. package/lib/clients/mp_web/toss/openWebURL.js +0 -3
  233. package/lib/clients/mp_web/toss/popWindow.d.ts +0 -2
  234. package/lib/clients/mp_web/toss/popWindow.js +0 -3
  235. package/lib/clients/mp_web/toss/rpcWithAuth.d.ts +0 -2
  236. package/lib/clients/mp_web/toss/rpcWithAuth.js +0 -3
  237. package/lib/clients/mp_web/truemoney/createWithoutAuthRpc.d.ts +0 -2
  238. package/lib/clients/mp_web/truemoney/createWithoutAuthRpc.js +0 -3
  239. package/lib/clients/mp_web/truemoney/defineRuntimeConfig.d.ts +0 -2
  240. package/lib/clients/mp_web/truemoney/defineRuntimeConfig.js +0 -3
  241. package/lib/clients/mp_web/truemoney/getCurrentLanguage.d.ts +0 -2
  242. package/lib/clients/mp_web/truemoney/getCurrentLanguage.js +0 -3
  243. package/lib/clients/mp_web/truemoney/openApPayCodePage.d.ts +0 -2
  244. package/lib/clients/mp_web/truemoney/openApPayCodePage.js +0 -3
  245. package/lib/clients/mp_web/truemoney/openInApp.d.ts +0 -2
  246. package/lib/clients/mp_web/truemoney/openInApp.js +0 -3
  247. package/lib/clients/mp_web/truemoney/openInBrowser.d.ts +0 -2
  248. package/lib/clients/mp_web/truemoney/openInBrowser.js +0 -3
  249. package/lib/clients/mp_web/truemoney/openOtherApp.d.ts +0 -2
  250. package/lib/clients/mp_web/truemoney/openOtherApp.js +0 -3
  251. package/lib/clients/mp_web/truemoney/openPayCodePage.d.ts +0 -2
  252. package/lib/clients/mp_web/truemoney/openPayCodePage.js +0 -3
  253. package/lib/clients/mp_web/truemoney/openScanPage.d.ts +0 -2
  254. package/lib/clients/mp_web/truemoney/openScanPage.js +0 -3
  255. package/lib/clients/mp_web/truemoney/openURL.d.ts +0 -2
  256. package/lib/clients/mp_web/truemoney/openURL.js +0 -3
  257. package/lib/clients/mp_web/truemoney/openWebURL.d.ts +0 -2
  258. package/lib/clients/mp_web/truemoney/openWebURL.js +0 -3
  259. package/lib/clients/mp_web/truemoney/popWindow.d.ts +0 -2
  260. package/lib/clients/mp_web/truemoney/popWindow.js +0 -3
  261. package/lib/clients/mp_web/truemoney/rpcWithAuth.d.ts +0 -2
  262. package/lib/clients/mp_web/truemoney/rpcWithAuth.js +0 -3
  263. package/lib/clients/web/alipay/addNotifyListener.d.ts +0 -2
  264. package/lib/clients/web/alipay/addNotifyListener.js +0 -3
  265. package/lib/clients/web/alipay/chooseDistrict.d.ts +0 -2
  266. package/lib/clients/web/alipay/chooseDistrict.js +0 -3
  267. package/lib/clients/web/alipay/createWithoutAuthRpc.d.ts +0 -2
  268. package/lib/clients/web/alipay/createWithoutAuthRpc.js +0 -3
  269. package/lib/clients/web/alipay/defineRuntimeConfig.d.ts +0 -2
  270. package/lib/clients/web/alipay/defineRuntimeConfig.js +0 -3
  271. package/lib/clients/web/alipay/easyShare.d.ts +0 -2
  272. package/lib/clients/web/alipay/easyShare.js +0 -3
  273. package/lib/clients/web/alipay/getCurrentLanguage.d.ts +0 -2
  274. package/lib/clients/web/alipay/getCurrentLanguage.js +0 -3
  275. package/lib/clients/web/alipay/getMainSelectedCity.d.ts +0 -2
  276. package/lib/clients/web/alipay/getMainSelectedCity.js +0 -3
  277. package/lib/clients/web/alipay/homeAddAppToMyApps.d.ts +0 -2
  278. package/lib/clients/web/alipay/homeAddAppToMyApps.js +0 -3
  279. package/lib/clients/web/alipay/homeCanAddAppToMyApps.d.ts +0 -2
  280. package/lib/clients/web/alipay/homeCanAddAppToMyApps.js +0 -3
  281. package/lib/clients/web/alipay/openApPayCodePage.d.ts +0 -2
  282. package/lib/clients/web/alipay/openApPayCodePage.js +0 -3
  283. package/lib/clients/web/alipay/openInApp.d.ts +0 -2
  284. package/lib/clients/web/alipay/openInApp.js +0 -3
  285. package/lib/clients/web/alipay/openInBrowser.d.ts +0 -2
  286. package/lib/clients/web/alipay/openInBrowser.js +0 -3
  287. package/lib/clients/web/alipay/openOtherApp.d.ts +0 -2
  288. package/lib/clients/web/alipay/openOtherApp.js +0 -3
  289. package/lib/clients/web/alipay/openPayCodePage.d.ts +0 -2
  290. package/lib/clients/web/alipay/openPayCodePage.js +0 -3
  291. package/lib/clients/web/alipay/openScanPage.d.ts +0 -2
  292. package/lib/clients/web/alipay/openScanPage.js +0 -3
  293. package/lib/clients/web/alipay/openURL.d.ts +0 -2
  294. package/lib/clients/web/alipay/openURL.js +0 -3
  295. package/lib/clients/web/alipay/openWebURL.d.ts +0 -2
  296. package/lib/clients/web/alipay/openWebURL.js +0 -3
  297. package/lib/clients/web/alipay/popWindow.d.ts +0 -2
  298. package/lib/clients/web/alipay/popWindow.js +0 -3
  299. package/lib/clients/web/alipay/postNotification.d.ts +0 -2
  300. package/lib/clients/web/alipay/postNotification.js +0 -3
  301. package/lib/clients/web/alipay/removeNotifyListener.d.ts +0 -2
  302. package/lib/clients/web/alipay/removeNotifyListener.js +0 -3
  303. package/lib/clients/web/alipay/rpcWithAuth.d.ts +0 -2
  304. package/lib/clients/web/alipay/rpcWithAuth.js +0 -3
  305. package/lib/clients/web/alipay/rpcWithAuthAPlus.d.ts +0 -2
  306. package/lib/clients/web/alipay/rpcWithAuthAPlus.js +0 -3
  307. package/lib/clients/web/demo/getCurrentLanguage.d.ts +0 -2
  308. package/lib/clients/web/demo/getCurrentLanguage.js +0 -3
  309. package/lib/clients/web/h5/createWithoutAuthRpc.d.ts +0 -2
  310. package/lib/clients/web/h5/createWithoutAuthRpc.js +0 -3
  311. package/lib/clients/web/h5/defineRuntimeConfig.d.ts +0 -2
  312. package/lib/clients/web/h5/defineRuntimeConfig.js +0 -3
  313. package/lib/clients/web/h5/getCurrentLanguage.d.ts +0 -2
  314. package/lib/clients/web/h5/getCurrentLanguage.js +0 -3
  315. package/lib/clients/web/h5/openURL.d.ts +0 -2
  316. package/lib/clients/web/h5/openURL.js +0 -3
  317. package/lib/clients/web/h5/popWindow.d.ts +0 -2
  318. package/lib/clients/web/h5/popWindow.js +0 -3
  319. package/lib/clients/web/h5/rpcWithAuth.d.ts +0 -2
  320. package/lib/clients/web/h5/rpcWithAuth.js +0 -3
  321. package/lib/clients/web/tngdh5ng/getCurrentLanguage.d.ts +0 -2
  322. package/lib/clients/web/tngdh5ng/getCurrentLanguage.js +0 -3
  323. package/lib/common/apis/generated/mp_web/createWithoutAuthRpc.d.ts +0 -27
  324. package/lib/common/apis/generated/mp_web/createWithoutAuthRpc.js +0 -7
  325. package/lib/common/apis/generated/mp_web/defineRuntimeConfig.d.ts +0 -2
  326. package/lib/common/apis/generated/mp_web/defineRuntimeConfig.js +0 -7
  327. package/lib/common/apis/generated/web/chooseDistrict.d.ts +0 -41
  328. package/lib/common/apis/generated/web/chooseDistrict.js +0 -8
  329. package/lib/common/apis/generated/web/easyShare.d.ts +0 -32
  330. package/lib/common/apis/generated/web/easyShare.js +0 -8
  331. package/lib/common/apis/generated/web/getMainSelectedCity.d.ts +0 -27
  332. package/lib/common/apis/generated/web/getMainSelectedCity.js +0 -8
  333. package/lib/common/apis/generated/web/homeAddAppToMyApps.d.ts +0 -5
  334. package/lib/common/apis/generated/web/homeAddAppToMyApps.js +0 -8
  335. package/lib/common/apis/generated/web/homeCanAddAppToMyApps.d.ts +0 -13
  336. package/lib/common/apis/generated/web/homeCanAddAppToMyApps.js +0 -8
  337. package/lib/common/apis/generated/web/postNotification.d.ts +0 -9
  338. package/lib/common/apis/generated/web/postNotification.js +0 -8
  339. package/lib/internal/apis/custom/mp_web/alipayhk/openApPayCodePage.d.ts +0 -3
  340. package/lib/internal/apis/custom/mp_web/alipayhk/openApPayCodePage.js +0 -3
  341. package/lib/internal/apis/custom/mp_web/alipayhk/openInApp.d.ts +0 -3
  342. package/lib/internal/apis/custom/mp_web/alipayhk/openInApp.js +0 -3
  343. package/lib/internal/apis/custom/mp_web/alipayhk/openInBrowser.d.ts +0 -3
  344. package/lib/internal/apis/custom/mp_web/alipayhk/openInBrowser.js +0 -3
  345. package/lib/internal/apis/custom/mp_web/alipayhk/openOtherApp.d.ts +0 -3
  346. package/lib/internal/apis/custom/mp_web/alipayhk/openOtherApp.js +0 -3
  347. package/lib/internal/apis/custom/mp_web/alipayhk/openPayCodePage.d.ts +0 -3
  348. package/lib/internal/apis/custom/mp_web/alipayhk/openPayCodePage.js +0 -3
  349. package/lib/internal/apis/custom/mp_web/alipayhk/openScanPage.d.ts +0 -3
  350. package/lib/internal/apis/custom/mp_web/alipayhk/openScanPage.js +0 -3
  351. package/lib/internal/apis/custom/mp_web/alipayhk/openURL.d.ts +0 -2
  352. package/lib/internal/apis/custom/mp_web/alipayhk/openURL.js +0 -26
  353. package/lib/internal/apis/custom/mp_web/alipayhk/openWebURL.d.ts +0 -3
  354. package/lib/internal/apis/custom/mp_web/alipayhk/openWebURL.js +0 -3
  355. package/lib/internal/apis/custom/mp_web/alipayhk/popWindow.d.ts +0 -2
  356. package/lib/internal/apis/custom/mp_web/alipayhk/popWindow.js +0 -4
  357. package/lib/internal/apis/custom/mp_web/alipayhk/rpcWithAuth.d.ts +0 -3
  358. package/lib/internal/apis/custom/mp_web/alipayhk/rpcWithAuth.js +0 -32
  359. package/lib/internal/apis/custom/mp_web/mpay/openApPayCodePage.d.ts +0 -3
  360. package/lib/internal/apis/custom/mp_web/mpay/openApPayCodePage.js +0 -3
  361. package/lib/internal/apis/custom/mp_web/mpay/openInApp.d.ts +0 -3
  362. package/lib/internal/apis/custom/mp_web/mpay/openInApp.js +0 -3
  363. package/lib/internal/apis/custom/mp_web/mpay/openInBrowser.d.ts +0 -3
  364. package/lib/internal/apis/custom/mp_web/mpay/openInBrowser.js +0 -3
  365. package/lib/internal/apis/custom/mp_web/mpay/openOtherApp.d.ts +0 -3
  366. package/lib/internal/apis/custom/mp_web/mpay/openOtherApp.js +0 -3
  367. package/lib/internal/apis/custom/mp_web/mpay/openPayCodePage.d.ts +0 -3
  368. package/lib/internal/apis/custom/mp_web/mpay/openPayCodePage.js +0 -3
  369. package/lib/internal/apis/custom/mp_web/mpay/openScanPage.d.ts +0 -3
  370. package/lib/internal/apis/custom/mp_web/mpay/openScanPage.js +0 -3
  371. package/lib/internal/apis/custom/mp_web/mpay/openURL.d.ts +0 -2
  372. package/lib/internal/apis/custom/mp_web/mpay/openURL.js +0 -26
  373. package/lib/internal/apis/custom/mp_web/mpay/openWebURL.d.ts +0 -3
  374. package/lib/internal/apis/custom/mp_web/mpay/openWebURL.js +0 -3
  375. package/lib/internal/apis/custom/mp_web/mpay/rpcWithAuth.d.ts +0 -3
  376. package/lib/internal/apis/custom/mp_web/mpay/rpcWithAuth.js +0 -27
  377. package/lib/internal/apis/custom/mp_web/tngd/openApPayCodePage.d.ts +0 -3
  378. package/lib/internal/apis/custom/mp_web/tngd/openApPayCodePage.js +0 -3
  379. package/lib/internal/apis/custom/mp_web/tngd/openInApp.d.ts +0 -3
  380. package/lib/internal/apis/custom/mp_web/tngd/openInApp.js +0 -3
  381. package/lib/internal/apis/custom/mp_web/tngd/openInBrowser.d.ts +0 -3
  382. package/lib/internal/apis/custom/mp_web/tngd/openInBrowser.js +0 -3
  383. package/lib/internal/apis/custom/mp_web/tngd/openOtherApp.d.ts +0 -3
  384. package/lib/internal/apis/custom/mp_web/tngd/openOtherApp.js +0 -3
  385. package/lib/internal/apis/custom/mp_web/tngd/openPayCodePage.d.ts +0 -3
  386. package/lib/internal/apis/custom/mp_web/tngd/openPayCodePage.js +0 -3
  387. package/lib/internal/apis/custom/mp_web/tngd/openScanPage.d.ts +0 -3
  388. package/lib/internal/apis/custom/mp_web/tngd/openScanPage.js +0 -3
  389. package/lib/internal/apis/custom/mp_web/tngd/openURL.d.ts +0 -6
  390. package/lib/internal/apis/custom/mp_web/tngd/openURL.js +0 -30
  391. package/lib/internal/apis/custom/mp_web/tngd/openWebURL.d.ts +0 -3
  392. package/lib/internal/apis/custom/mp_web/tngd/openWebURL.js +0 -3
  393. package/lib/internal/apis/custom/mp_web/toss/rpcWithAuth.d.ts +0 -3
  394. package/lib/internal/apis/custom/mp_web/toss/rpcWithAuth.js +0 -27
  395. package/lib/internal/apis/custom/mp_web/truemoney/openApPayCodePage.d.ts +0 -3
  396. package/lib/internal/apis/custom/mp_web/truemoney/openApPayCodePage.js +0 -12
  397. package/lib/internal/apis/custom/mp_web/truemoney/openInApp.d.ts +0 -3
  398. package/lib/internal/apis/custom/mp_web/truemoney/openInApp.js +0 -3
  399. package/lib/internal/apis/custom/mp_web/truemoney/openInBrowser.d.ts +0 -3
  400. package/lib/internal/apis/custom/mp_web/truemoney/openInBrowser.js +0 -3
  401. package/lib/internal/apis/custom/mp_web/truemoney/openOtherApp.d.ts +0 -3
  402. package/lib/internal/apis/custom/mp_web/truemoney/openOtherApp.js +0 -3
  403. package/lib/internal/apis/custom/mp_web/truemoney/openPayCodePage.d.ts +0 -3
  404. package/lib/internal/apis/custom/mp_web/truemoney/openPayCodePage.js +0 -12
  405. package/lib/internal/apis/custom/mp_web/truemoney/openScanPage.d.ts +0 -3
  406. package/lib/internal/apis/custom/mp_web/truemoney/openScanPage.js +0 -12
  407. package/lib/internal/apis/custom/mp_web/truemoney/openURL.d.ts +0 -6
  408. package/lib/internal/apis/custom/mp_web/truemoney/openURL.js +0 -30
  409. package/lib/internal/apis/custom/mp_web/truemoney/openWebURL.d.ts +0 -3
  410. package/lib/internal/apis/custom/mp_web/truemoney/openWebURL.js +0 -3
  411. package/lib/internal/apis/custom/web/addNotifyListener.d.ts +0 -6
  412. package/lib/internal/apis/custom/web/addNotifyListener.js +0 -170
  413. package/lib/internal/apis/custom/web/alipay/openApPayCodePage.d.ts +0 -3
  414. package/lib/internal/apis/custom/web/alipay/openApPayCodePage.js +0 -3
  415. package/lib/internal/apis/custom/web/alipay/openInApp.d.ts +0 -3
  416. package/lib/internal/apis/custom/web/alipay/openInApp.js +0 -3
  417. package/lib/internal/apis/custom/web/alipay/openInBrowser.d.ts +0 -3
  418. package/lib/internal/apis/custom/web/alipay/openInBrowser.js +0 -3
  419. package/lib/internal/apis/custom/web/alipay/openOtherApp.d.ts +0 -3
  420. package/lib/internal/apis/custom/web/alipay/openOtherApp.js +0 -3
  421. package/lib/internal/apis/custom/web/alipay/openPayCodePage.d.ts +0 -3
  422. package/lib/internal/apis/custom/web/alipay/openPayCodePage.js +0 -3
  423. package/lib/internal/apis/custom/web/alipay/openScanPage.d.ts +0 -3
  424. package/lib/internal/apis/custom/web/alipay/openScanPage.js +0 -3
  425. package/lib/internal/apis/custom/web/alipay/openURL.d.ts +0 -2
  426. package/lib/internal/apis/custom/web/alipay/openURL.js +0 -26
  427. package/lib/internal/apis/custom/web/alipay/openWebURL.d.ts +0 -3
  428. package/lib/internal/apis/custom/web/alipay/openWebURL.js +0 -3
  429. package/lib/internal/apis/custom/web/alipay/popWindow.d.ts +0 -2
  430. package/lib/internal/apis/custom/web/alipay/popWindow.js +0 -4
  431. package/lib/internal/apis/custom/web/createWithoutAuthRpc.d.ts +0 -3
  432. package/lib/internal/apis/custom/web/createWithoutAuthRpc.js +0 -51
  433. package/lib/internal/apis/custom/web/defineRuntimeConfig.d.ts +0 -3
  434. package/lib/internal/apis/custom/web/defineRuntimeConfig.js +0 -7
  435. package/lib/internal/apis/custom/web/getCurrentLanguage.d.ts +0 -2
  436. package/lib/internal/apis/custom/web/getCurrentLanguage.js +0 -12
  437. package/lib/internal/apis/custom/web/h5/openURL.d.ts +0 -2
  438. package/lib/internal/apis/custom/web/h5/openURL.js +0 -15
  439. package/lib/internal/apis/custom/web/h5/popWindow.d.ts +0 -2
  440. package/lib/internal/apis/custom/web/h5/popWindow.js +0 -3
  441. package/lib/internal/apis/custom/web/removeNotifyListener.d.ts +0 -4
  442. package/lib/internal/apis/custom/web/removeNotifyListener.js +0 -27
  443. package/lib/internal/apis/custom/web/rpcWithAuthAPlus.d.ts +0 -3
  444. package/lib/internal/apis/custom/web/rpcWithAuthAPlus.js +0 -31
  445. package/lib/internal/utils/baseOpenUrl.d.ts +0 -15
  446. package/lib/internal/utils/baseOpenUrl.js +0 -125
  447. package/lib/internal/utils/index.d.ts +0 -9
  448. package/lib/internal/utils/index.js +0 -71
  449. package/lib/internal/utils/language.d.ts +0 -4
  450. package/lib/internal/utils/language.js +0 -46
  451. package/lib/internal/utils/network/authLogin.d.ts +0 -8
  452. package/lib/internal/utils/network/authLogin.js +0 -564
  453. package/lib/internal/utils/network/index.d.ts +0 -7
  454. package/lib/internal/utils/network/index.js +0 -246
  455. package/lib/internal/utils/router.d.ts +0 -35
  456. package/lib/internal/utils/router.js +0 -157
  457. package/lib/umd/mp_web_mpay.js.LICENSE.txt +0 -1
  458. package/lib/umd/mp_web_toss.js.LICENSE.txt +0 -1
  459. package/lib/umd/web_alipay.js.LICENSE.txt +0 -1
package/README.md CHANGED
@@ -208,31 +208,9 @@ The following table lists the latest JSAPIs that are supported in JS bridge, and
208
208
  |getStorageInfoSync|✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
209
209
  |showSharePanel|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
210
210
  |hideOptionButton|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
211
- |getCurrentLanguage|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
212
- |openURL|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
213
- |openWebURL|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
214
- |openInApp|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
215
- |openOtherApp|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
216
- |openInBrowser|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
217
- |openPayCodePage|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
218
- |openApPayCodePage|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
219
- |openScanPage|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
220
- |createWithoutAuthRpc|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
221
- |rpcWithAuth|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
222
211
  |getAppId|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
223
212
  |getCurrentPages|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
224
213
  |getSDKVersion|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
225
- |defineRuntimeConfig|❌ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ❌ |
226
- |rpcWithAuthAPlus|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
227
- |easyShare|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
228
- |homeAddAppToMyApps|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
229
- |homeCanAddAppToMyApps|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
230
- |postNotification|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
231
- |addNotifyListener|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
232
- |removeNotifyListener|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
233
- |getMainSelectedCity|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
234
- |chooseDistrict|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
235
- |popWindow|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
236
214
  |setTransparentTitle|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
237
215
  ### HTML5
238
216
  | API | demo | gcash | tngd | alipay | chope | alipayhk | dana | truemoney | mpay | toss |
@@ -387,31 +365,9 @@ The following table lists the latest JSAPIs that are supported in JS bridge, and
387
365
  |getStorageInfoSync|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
388
366
  |showSharePanel|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
389
367
  |hideOptionButton|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
390
- |getCurrentLanguage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
391
- |openURL|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
392
- |openWebURL|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
393
- |openInApp|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
394
- |openOtherApp|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
395
- |openInBrowser|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
396
- |openPayCodePage|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
397
- |openApPayCodePage|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
398
- |openScanPage|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
399
- |createWithoutAuthRpc|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
400
- |rpcWithAuth|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
401
368
  |getAppId|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
402
369
  |getCurrentPages|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
403
370
  |getSDKVersion|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
404
- |defineRuntimeConfig|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
405
- |rpcWithAuthAPlus|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
406
- |easyShare|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
407
- |homeAddAppToMyApps|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
408
- |homeCanAddAppToMyApps|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
409
- |postNotification|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
410
- |addNotifyListener|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
411
- |removeNotifyListener|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
412
- |getMainSelectedCity|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
413
- |chooseDistrict|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
414
- |popWindow|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
415
371
  |setTransparentTitle|❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
416
372
  ### Web
417
373
  | API | demo | alipay | h5 | tngdh5ng |
@@ -566,31 +522,9 @@ The following table lists the latest JSAPIs that are supported in JS bridge, and
566
522
  |getStorageInfoSync|❌ | ❌ | ❌ | ❌ |
567
523
  |showSharePanel|❌ | ❌ | ❌ | ❌ |
568
524
  |hideOptionButton|❌ | ❌ | ❌ | ❌ |
569
- |getCurrentLanguage|✅ | ✅ | ✅ | ✅ |
570
- |openURL|❌ | ✅ | ✅ | ❌ |
571
- |openWebURL|❌ | ✅ | ❌ | ❌ |
572
- |openInApp|❌ | ✅ | ❌ | ❌ |
573
- |openOtherApp|❌ | ✅ | ❌ | ❌ |
574
- |openInBrowser|❌ | ✅ | ❌ | ❌ |
575
- |openPayCodePage|❌ | ✅ | ❌ | ❌ |
576
- |openApPayCodePage|❌ | ✅ | ❌ | ❌ |
577
- |openScanPage|❌ | ✅ | ❌ | ❌ |
578
- |createWithoutAuthRpc|❌ | ✅ | ✅ | ❌ |
579
- |rpcWithAuth|❌ | ✅ | ✅ | ❌ |
580
525
  |getAppId|❌ | ❌ | ❌ | ❌ |
581
526
  |getCurrentPages|❌ | ❌ | ❌ | ❌ |
582
527
  |getSDKVersion|❌ | ❌ | ❌ | ❌ |
583
- |defineRuntimeConfig|❌ | ✅ | ✅ | ❌ |
584
- |rpcWithAuthAPlus|❌ | ✅ | ❌ | ❌ |
585
- |easyShare|❌ | ✅ | ❌ | ❌ |
586
- |homeAddAppToMyApps|❌ | ✅ | ❌ | ❌ |
587
- |homeCanAddAppToMyApps|❌ | ✅ | ❌ | ❌ |
588
- |postNotification|❌ | ✅ | ❌ | ❌ |
589
- |addNotifyListener|❌ | ✅ | ❌ | ❌ |
590
- |removeNotifyListener|❌ | ✅ | ❌ | ❌ |
591
- |getMainSelectedCity|❌ | ✅ | ❌ | ❌ |
592
- |chooseDistrict|❌ | ✅ | ❌ | ❌ |
593
- |popWindow|❌ | ✅ | ✅ | ❌ |
594
528
  |setTransparentTitle|❌ | ✅ | ❌ | ❌ |
595
529
 
596
530
  ## License
package/lib/bridges.d.ts CHANGED
@@ -1893,7 +1893,7 @@ export declare const requestAsync: (args?: ({
1893
1893
  headers?: {
1894
1894
  [key: string]: string;
1895
1895
  } | undefined;
1896
- method?: "POST" | "GET" | undefined;
1896
+ method?: "GET" | "POST" | undefined;
1897
1897
  data?: any;
1898
1898
  timeout?: number | undefined;
1899
1899
  dataType?: "json" | "text" | "base64" | "arraybuffer" | undefined;
@@ -2708,120 +2708,6 @@ export declare const hideOptionButton: PickMPAttr<'hideOptionButton'>;
2708
2708
  * | mp_web | demo |
2709
2709
  */
2710
2710
  export declare const hideOptionButtonAsync: (args?: any) => Promise<unknown>;
2711
- /**
2712
- * @support
2713
- * | Platform | Apps |
2714
- * | ------------- | -------- |
2715
- * | mp | |
2716
- * | mp_web | alipay,alipayhk,chope,dana,demo,gcash,tngd,truemoney |
2717
- * | web | alipay,demo,tngdh5ng,h5 |
2718
- */
2719
- export declare const getCurrentLanguage: PickMPAttr<'getCurrentLanguage'>;
2720
- /**
2721
- * @support
2722
- * | Platform | Apps |
2723
- * | ------------- | -------- |
2724
- * | mp | |
2725
- * | mp_web | alipayhk,dana,gcash,tngd,truemoney,toss,mpay |
2726
- * | web | alipay,h5 |
2727
- */
2728
- export declare const openURL: PickMPAttr<'openURL'>;
2729
- /**
2730
- * @support
2731
- * | Platform | Apps |
2732
- * | ------------- | -------- |
2733
- * | mp | |
2734
- * | mp_web | alipayhk,dana,gcash,tngd,truemoney,toss,mpay |
2735
- * | web | alipay |
2736
- */
2737
- export declare const openWebURL: PickMPAttr<'openWebURL'>;
2738
- /**
2739
- * @support
2740
- * | Platform | Apps |
2741
- * | ------------- | -------- |
2742
- * | mp | |
2743
- * | mp_web | alipayhk,dana,gcash,tngd,truemoney,toss,mpay |
2744
- * | web | alipay |
2745
- */
2746
- export declare const openInApp: PickMPAttr<'openInApp'>;
2747
- /**
2748
- * @support
2749
- * | Platform | Apps |
2750
- * | ------------- | -------- |
2751
- * | mp | |
2752
- * | mp_web | alipayhk,dana,gcash,tngd,truemoney,toss,mpay |
2753
- * | web | alipay |
2754
- */
2755
- export declare const openOtherApp: PickMPAttr<'openOtherApp'>;
2756
- /**
2757
- * @support
2758
- * | Platform | Apps |
2759
- * | ------------- | -------- |
2760
- * | mp | |
2761
- * | mp_web | alipayhk,dana,gcash,tngd,truemoney,toss,mpay |
2762
- * | web | alipay |
2763
- */
2764
- export declare const openInBrowser: PickMPAttr<'openInBrowser'>;
2765
- /**
2766
- * @support
2767
- * | Platform | Apps |
2768
- * | ------------- | -------- |
2769
- * | mp | |
2770
- * | mp_web | alipayhk,dana,gcash,tngd,truemoney,toss,mpay |
2771
- * | web | alipay |
2772
- */
2773
- export declare const openPayCodePage: PickMPAttr<'openPayCodePage'>;
2774
- /**
2775
- * @support
2776
- * | Platform | Apps |
2777
- * | ------------- | -------- |
2778
- * | mp | |
2779
- * | mp_web | alipayhk,dana,gcash,tngd,truemoney,toss,mpay |
2780
- * | web | alipay |
2781
- */
2782
- export declare const openApPayCodePage: PickMPAttr<'openApPayCodePage'>;
2783
- /**
2784
- * @support
2785
- * | Platform | Apps |
2786
- * | ------------- | -------- |
2787
- * | mp | |
2788
- * | mp_web | alipayhk,dana,gcash,tngd,truemoney,toss,mpay |
2789
- * | web | alipay |
2790
- */
2791
- export declare const openScanPage: PickMPAttr<'openScanPage'>;
2792
- /**
2793
- * @support
2794
- * | Platform | Apps |
2795
- * | ------------- | -------- |
2796
- * | mp | |
2797
- * | mp_web | alipayhk,dana,gcash,tngd,truemoney,toss,mpay |
2798
- * | web | alipay,h5 |
2799
- */
2800
- export declare const createWithoutAuthRpc: PickMPAttr<'createWithoutAuthRpc'>;
2801
- /**
2802
- * @support
2803
- * | Platform | Apps |
2804
- * | ------------- | -------- |
2805
- * | mp | |
2806
- * | mp_web | toss,mpay,alipayhk,gcash,dana,tngd,truemoney |
2807
- * | web | alipay,h5 |
2808
- */
2809
- export declare const rpcWithAuth: PickMPAttr<'rpcWithAuth'>;
2810
- /**
2811
- * @support
2812
- * | Platform | Apps |
2813
- * | ------------- | -------- |
2814
- * | mp | |
2815
- * | mp_web | toss,mpay,alipayhk,gcash,dana,tngd,truemoney |
2816
- * | web | alipay,h5 |
2817
- */
2818
- export declare const rpcWithAuthAsync: (args?: (import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
2819
- headers: Record<string, string>;
2820
- resData: object;
2821
- }>) | undefined) => Promise<{
2822
- headers: Record<string, string>;
2823
- resData: object;
2824
- }>;
2825
2711
  /**
2826
2712
  * @support
2827
2713
  * | Platform | Apps |
@@ -2876,269 +2762,6 @@ export declare const getSDKVersion: PickMPAttr<'getSDKVersion'>;
2876
2762
  * | mp_web | alipay,alipayhk,chope,dana,demo,gcash,mpay,tngd,truemoney,toss,mpay |
2877
2763
  */
2878
2764
  export declare const getSDKVersionAsync: (args?: import("@hylid/types").AsyncCallback<string> | undefined) => Promise<string>;
2879
- /**
2880
- * @support
2881
- * | Platform | Apps |
2882
- * | ------------- | -------- |
2883
- * | mp | gcash,tngd,alipay,alipayhk,dana,truemoney |
2884
- * | mp_web | alipayhk,dana,gcash,tngd,truemoney,toss,mpay |
2885
- * | web | alipay,h5 |
2886
- */
2887
- export declare const defineRuntimeConfig: PickMPAttr<'defineRuntimeConfig'>;
2888
- /**
2889
- * @support
2890
- * | Platform | Apps |
2891
- * | ------------- | -------- |
2892
- * | mp | |
2893
- * | mp_web | |
2894
- * | web | alipay |
2895
- */
2896
- export declare const rpcWithAuthAPlus: PickMPAttr<'rpcWithAuthAPlus'>;
2897
- /**
2898
- * @support
2899
- * | Platform | Apps |
2900
- * | ------------- | -------- |
2901
- * | mp | |
2902
- * | mp_web | |
2903
- * | web | alipay |
2904
- */
2905
- export declare const rpcWithAuthAPlusAsync: (args?: (import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
2906
- headers: Record<string, string>;
2907
- resData: object;
2908
- }>) | undefined) => Promise<{
2909
- headers: Record<string, string>;
2910
- resData: object;
2911
- }>;
2912
- /**
2913
- * @support
2914
- * | Platform | Apps |
2915
- * | ------------- | -------- |
2916
- * | mp | |
2917
- * | mp_web | |
2918
- * | web | alipay |
2919
- */
2920
- export declare const easyShare: PickMPAttr<'easyShare'>;
2921
- /**
2922
- * @support
2923
- * | Platform | Apps |
2924
- * | ------------- | -------- |
2925
- * | mp | |
2926
- * | mp_web | |
2927
- * | web | alipay |
2928
- */
2929
- export declare const easyShareAsync: (args?: ({
2930
- bizType: string;
2931
- title: string;
2932
- desc: string;
2933
- searchTips?: string | undefined;
2934
- iconUrl?: string | undefined;
2935
- icon?: string | undefined;
2936
- imageUrl?: string | undefined;
2937
- image?: string | undefined;
2938
- url: string;
2939
- } & import("@hylid/types").AsyncCallback<{
2940
- succeed: boolean;
2941
- channelName: string;
2942
- }>) | undefined) => Promise<{
2943
- succeed: boolean;
2944
- channelName: string;
2945
- }>;
2946
- /**
2947
- * @support
2948
- * | Platform | Apps |
2949
- * | ------------- | -------- |
2950
- * | mp | |
2951
- * | mp_web | |
2952
- * | web | alipay |
2953
- */
2954
- export declare const homeAddAppToMyApps: PickMPAttr<'homeAddAppToMyApps'>;
2955
- /**
2956
- * @support
2957
- * | Platform | Apps |
2958
- * | ------------- | -------- |
2959
- * | mp | |
2960
- * | mp_web | |
2961
- * | web | alipay |
2962
- */
2963
- export declare const homeAddAppToMyAppsAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
2964
- /**
2965
- * @support
2966
- * | Platform | Apps |
2967
- * | ------------- | -------- |
2968
- * | mp | |
2969
- * | mp_web | |
2970
- * | web | alipay |
2971
- */
2972
- export declare const homeCanAddAppToMyApps: PickMPAttr<'homeCanAddAppToMyApps'>;
2973
- /**
2974
- * @support
2975
- * | Platform | Apps |
2976
- * | ------------- | -------- |
2977
- * | mp | |
2978
- * | mp_web | |
2979
- * | web | alipay |
2980
- */
2981
- export declare const homeCanAddAppToMyAppsAsync: (args?: ({
2982
- appId: string;
2983
- } & import("@hylid/types").AsyncCallback<{
2984
- canAddAppToMyApps: boolean;
2985
- }>) | undefined) => Promise<{
2986
- canAddAppToMyApps: boolean;
2987
- }>;
2988
- /**
2989
- * @support
2990
- * | Platform | Apps |
2991
- * | ------------- | -------- |
2992
- * | mp | |
2993
- * | mp_web | |
2994
- * | web | alipay |
2995
- */
2996
- export declare const postNotification: PickMPAttr<'postNotification'>;
2997
- /**
2998
- * @support
2999
- * | Platform | Apps |
3000
- * | ------------- | -------- |
3001
- * | mp | |
3002
- * | mp_web | |
3003
- * | web | alipay |
3004
- */
3005
- export declare const postNotificationAsync: (args?: ({
3006
- name: string;
3007
- data: object;
3008
- } & import("@hylid/types").AsyncCallback<void>) | undefined) => Promise<void>;
3009
- /**
3010
- * @support
3011
- * | Platform | Apps |
3012
- * | ------------- | -------- |
3013
- * | mp | |
3014
- * | mp_web | |
3015
- * | web | alipay |
3016
- */
3017
- export declare const addNotifyListener: PickMPAttr<'addNotifyListener'>;
3018
- /**
3019
- * @support
3020
- * | Platform | Apps |
3021
- * | ------------- | -------- |
3022
- * | mp | |
3023
- * | mp_web | |
3024
- * | web | alipay |
3025
- */
3026
- export declare const addNotifyListenerAsync: (args?: ({
3027
- name: string;
3028
- keep?: boolean | undefined;
3029
- callback?: ((res: any) => void) | undefined;
3030
- } & import("@hylid/types").AsyncCallback<any>) | undefined) => Promise<any>;
3031
- /**
3032
- * @support
3033
- * | Platform | Apps |
3034
- * | ------------- | -------- |
3035
- * | mp | |
3036
- * | mp_web | |
3037
- * | web | alipay |
3038
- */
3039
- export declare const removeNotifyListener: PickMPAttr<'removeNotifyListener'>;
3040
- /**
3041
- * @support
3042
- * | Platform | Apps |
3043
- * | ------------- | -------- |
3044
- * | mp | |
3045
- * | mp_web | |
3046
- * | web | alipay |
3047
- */
3048
- export declare const removeNotifyListenerAsync: (args?: ({
3049
- name: string;
3050
- } & import("@hylid/types").AsyncCallback<void>) | undefined) => Promise<void>;
3051
- /**
3052
- * @support
3053
- * | Platform | Apps |
3054
- * | ------------- | -------- |
3055
- * | mp | |
3056
- * | mp_web | |
3057
- * | web | alipay |
3058
- */
3059
- export declare const getMainSelectedCity: PickMPAttr<'getMainSelectedCity'>;
3060
- /**
3061
- * @support
3062
- * | Platform | Apps |
3063
- * | ------------- | -------- |
3064
- * | mp | |
3065
- * | mp_web | |
3066
- * | web | alipay |
3067
- */
3068
- export declare const getMainSelectedCityAsync: (args?: import("@hylid/types").AsyncCallback<{
3069
- fullName: string;
3070
- enName: string;
3071
- name: string;
3072
- code: string;
3073
- chineseMainLand: boolean;
3074
- isManualSelected: boolean;
3075
- settingTime: number;
3076
- }> | undefined) => Promise<{
3077
- fullName: string;
3078
- enName: string;
3079
- name: string;
3080
- code: string;
3081
- chineseMainLand: boolean;
3082
- isManualSelected: boolean;
3083
- settingTime: number;
3084
- }>;
3085
- /**
3086
- * @support
3087
- * | Platform | Apps |
3088
- * | ------------- | -------- |
3089
- * | mp | |
3090
- * | mp_web | |
3091
- * | web | alipay |
3092
- */
3093
- export declare const chooseDistrict: PickMPAttr<'chooseDistrict'>;
3094
- /**
3095
- * @support
3096
- * | Platform | Apps |
3097
- * | ------------- | -------- |
3098
- * | mp | |
3099
- * | mp_web | |
3100
- * | web | alipay |
3101
- */
3102
- export declare const chooseDistrictAsync: (args?: ({
3103
- mode?: 0 | 1 | 2 | undefined;
3104
- src?: string | undefined;
3105
- mainTitle?: string | undefined;
3106
- mainHeadList?: import("@hylid/types").HeadModel[] | undefined;
3107
- mainNormalList?: import("@hylid/types").ItemModel[] | undefined;
3108
- mainMergeOptions?: Record<string, string> | undefined;
3109
- seniorTitle?: string | undefined;
3110
- seniorPageList?: {
3111
- title: string;
3112
- headList?: import("@hylid/types").HeadModel[] | undefined;
3113
- normalList?: import("@hylid/types").ItemModel[] | undefined;
3114
- }[] | undefined;
3115
- } & import("@hylid/types").AsyncCallback<{
3116
- name: string;
3117
- adCode: string;
3118
- ext: string;
3119
- }>) | undefined) => Promise<{
3120
- name: string;
3121
- adCode: string;
3122
- ext: string;
3123
- }>;
3124
- /**
3125
- * @support
3126
- * | Platform | Apps |
3127
- * | ------------- | -------- |
3128
- * | mp | |
3129
- * | mp_web | alipayhk,dana,gcash,mpay,truemoney,tngd,toss |
3130
- * | web | alipay,h5 |
3131
- */
3132
- export declare const popWindow: PickMPAttr<'popWindow'>;
3133
- /**
3134
- * @support
3135
- * | Platform | Apps |
3136
- * | ------------- | -------- |
3137
- * | mp | |
3138
- * | mp_web | alipayhk,dana,gcash,mpay,truemoney,tngd,toss |
3139
- * | web | alipay,h5 |
3140
- */
3141
- export declare const popWindowAsync: (args?: import("@hylid/call/lib/promisify").Options | undefined) => Promise<any>;
3142
2765
  /**
3143
2766
  * @support
3144
2767
  * | Platform | Apps |