@tarojs/taro-h5 3.6.0-beta.1 → 3.6.0-beta.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.
Files changed (437) hide show
  1. package/dist/api/ad/index.d.ts +3 -2
  2. package/dist/api/ad/index.js +7 -3
  3. package/dist/api/ad/index.js.map +1 -0
  4. package/dist/api/ai/facial.d.ts +4 -3
  5. package/dist/api/ai/facial.js +8 -4
  6. package/dist/api/ai/facial.js.map +1 -0
  7. package/dist/api/ai/index.d.ts +2 -2
  8. package/dist/api/ai/index.js +3 -2
  9. package/dist/api/ai/index.js.map +1 -0
  10. package/dist/api/ai/visual.d.ts +3 -2
  11. package/dist/api/ai/visual.js +7 -3
  12. package/dist/api/ai/visual.js.map +1 -0
  13. package/dist/api/alipay/index.d.ts +2 -1
  14. package/dist/api/alipay/index.js +6 -2
  15. package/dist/api/alipay/index.js.map +1 -0
  16. package/dist/api/base/crypto.d.ts +2 -1
  17. package/dist/api/base/crypto.js +6 -2
  18. package/dist/api/base/crypto.js.map +1 -0
  19. package/dist/api/base/debug.d.ts +4 -3
  20. package/dist/api/base/debug.js +8 -4
  21. package/dist/api/base/debug.js.map +1 -0
  22. package/dist/api/base/index.d.ts +16 -10
  23. package/dist/api/base/index.js +20 -12
  24. package/dist/api/base/index.js.map +1 -0
  25. package/dist/api/base/performance.d.ts +3 -2
  26. package/dist/api/base/performance.js +7 -3
  27. package/dist/api/base/performance.js.map +1 -0
  28. package/dist/api/base/system.d.ts +11 -10
  29. package/dist/api/base/system.js +22 -22
  30. package/dist/api/base/system.js.map +1 -0
  31. package/dist/api/base/update.d.ts +3 -2
  32. package/dist/api/base/update.js +7 -3
  33. package/dist/api/base/update.js.map +1 -0
  34. package/dist/api/base/weapp/app-event.d.ts +17 -16
  35. package/dist/api/base/weapp/app-event.js +22 -18
  36. package/dist/api/base/weapp/app-event.js.map +1 -0
  37. package/dist/api/base/weapp/life-cycle.d.ts +3 -2
  38. package/dist/api/base/weapp/life-cycle.js +6 -2
  39. package/dist/api/base/weapp/life-cycle.js.map +1 -0
  40. package/dist/api/canvas/CanvasContext.d.ts +7 -2
  41. package/dist/api/canvas/CanvasContext.js +6 -10
  42. package/dist/api/canvas/CanvasContext.js.map +1 -0
  43. package/dist/api/canvas/canvasGetImageData.d.ts +2 -1
  44. package/dist/api/canvas/canvasGetImageData.js +7 -3
  45. package/dist/api/canvas/canvasGetImageData.js.map +1 -0
  46. package/dist/api/canvas/canvasPutImageData.d.ts +2 -1
  47. package/dist/api/canvas/canvasPutImageData.js +7 -3
  48. package/dist/api/canvas/canvasPutImageData.js.map +1 -0
  49. package/dist/api/canvas/canvasToTempFilePath.d.ts +2 -1
  50. package/dist/api/canvas/canvasToTempFilePath.js +7 -3
  51. package/dist/api/canvas/canvasToTempFilePath.js.map +1 -0
  52. package/dist/api/canvas/createCanvasContext.d.ts +2 -1
  53. package/dist/api/canvas/createCanvasContext.js +7 -3
  54. package/dist/api/canvas/createCanvasContext.js.map +1 -0
  55. package/dist/api/canvas/index.d.ts +6 -5
  56. package/dist/api/canvas/index.js +10 -10
  57. package/dist/api/canvas/index.js.map +1 -0
  58. package/dist/api/cloud/index.d.ts +2 -1
  59. package/dist/api/cloud/index.js +6 -2
  60. package/dist/api/cloud/index.js.map +1 -0
  61. package/dist/api/data-analysis/index.d.ts +5 -4
  62. package/dist/api/data-analysis/index.js +9 -5
  63. package/dist/api/data-analysis/index.js.map +1 -0
  64. package/dist/api/device/accelerometer.d.ts +5 -4
  65. package/dist/api/device/accelerometer.js +11 -6
  66. package/dist/api/device/accelerometer.js.map +1 -0
  67. package/dist/api/device/accessibility.d.ts +2 -1
  68. package/dist/api/device/accessibility.js +6 -2
  69. package/dist/api/device/accessibility.js.map +1 -0
  70. package/dist/api/device/battery.d.ts +3 -2
  71. package/dist/api/device/battery.js +9 -13
  72. package/dist/api/device/battery.js.map +1 -0
  73. package/dist/api/device/bluetooth-ble.d.ts +17 -16
  74. package/dist/api/device/bluetooth-ble.js +21 -17
  75. package/dist/api/device/bluetooth-ble.js.map +1 -0
  76. package/dist/api/device/bluetooth-peripheral.d.ts +4 -3
  77. package/dist/api/device/bluetooth-peripheral.js +8 -4
  78. package/dist/api/device/bluetooth-peripheral.js.map +1 -0
  79. package/dist/api/device/bluetooth.d.ts +14 -13
  80. package/dist/api/device/bluetooth.js +18 -14
  81. package/dist/api/device/bluetooth.js.map +1 -0
  82. package/dist/api/device/calendar.d.ts +3 -2
  83. package/dist/api/device/calendar.js +7 -3
  84. package/dist/api/device/calendar.js.map +1 -0
  85. package/dist/api/device/clipboard.d.ts +3 -2
  86. package/dist/api/device/clipboard.js +10 -14
  87. package/dist/api/device/clipboard.js.map +1 -0
  88. package/dist/api/device/compass.d.ts +5 -4
  89. package/dist/api/device/compass.js +12 -7
  90. package/dist/api/device/compass.js.map +1 -0
  91. package/dist/api/device/contact.d.ts +3 -2
  92. package/dist/api/device/contact.js +7 -3
  93. package/dist/api/device/contact.js.map +1 -0
  94. package/dist/api/device/crypto.d.ts +2 -1
  95. package/dist/api/device/crypto.js +6 -2
  96. package/dist/api/device/crypto.js.map +1 -0
  97. package/dist/api/device/gyroscope.d.ts +5 -4
  98. package/dist/api/device/gyroscope.js +9 -5
  99. package/dist/api/device/gyroscope.js.map +1 -0
  100. package/dist/api/device/iBeacon.d.ts +8 -7
  101. package/dist/api/device/iBeacon.js +12 -8
  102. package/dist/api/device/iBeacon.js.map +1 -0
  103. package/dist/api/device/index.d.ts +23 -23
  104. package/dist/api/device/index.js +24 -23
  105. package/dist/api/device/index.js.map +1 -0
  106. package/dist/api/device/keyboard.d.ts +5 -4
  107. package/dist/api/device/keyboard.js +9 -5
  108. package/dist/api/device/keyboard.js.map +1 -0
  109. package/dist/api/device/memory.d.ts +3 -2
  110. package/dist/api/device/memory.js +7 -3
  111. package/dist/api/device/memory.js.map +1 -0
  112. package/dist/api/device/motion.d.ts +5 -4
  113. package/dist/api/device/motion.js +11 -6
  114. package/dist/api/device/motion.js.map +1 -0
  115. package/dist/api/device/network.d.ts +7 -6
  116. package/dist/api/device/network.js +13 -17
  117. package/dist/api/device/network.js.map +1 -0
  118. package/dist/api/device/nfc.d.ts +8 -7
  119. package/dist/api/device/nfc.js +12 -8
  120. package/dist/api/device/nfc.js.map +1 -0
  121. package/dist/api/device/phone.d.ts +2 -1
  122. package/dist/api/device/phone.js +7 -3
  123. package/dist/api/device/phone.js.map +1 -0
  124. package/dist/api/device/scan.d.ts +2 -1
  125. package/dist/api/device/scan.js +6 -2
  126. package/dist/api/device/scan.js.map +1 -0
  127. package/dist/api/device/screen.d.ts +7 -6
  128. package/dist/api/device/screen.js +11 -7
  129. package/dist/api/device/screen.js.map +1 -0
  130. package/dist/api/device/vibrate.d.ts +3 -2
  131. package/dist/api/device/vibrate.js +7 -3
  132. package/dist/api/device/vibrate.js.map +1 -0
  133. package/dist/api/device/wifi.d.ts +12 -11
  134. package/dist/api/device/wifi.js +16 -12
  135. package/dist/api/device/wifi.js.map +1 -0
  136. package/dist/api/ext/index.d.ts +3 -2
  137. package/dist/api/ext/index.js +7 -3
  138. package/dist/api/ext/index.js.map +1 -0
  139. package/dist/api/files/index.d.ts +9 -8
  140. package/dist/api/files/index.js +13 -9
  141. package/dist/api/files/index.js.map +1 -0
  142. package/dist/api/framework/index.d.ts +3 -2
  143. package/dist/api/framework/index.js +7 -3
  144. package/dist/api/framework/index.js.map +1 -0
  145. package/dist/api/index.d.ts +24 -24
  146. package/dist/api/index.js +117 -24
  147. package/dist/api/index.js.map +1 -0
  148. package/dist/api/location/chooseLocation.d.ts +2 -2
  149. package/dist/api/location/chooseLocation.js +8 -14
  150. package/dist/api/location/chooseLocation.js.map +1 -0
  151. package/dist/api/location/getLocation.d.ts +2 -1
  152. package/dist/api/location/getLocation.js +7 -3
  153. package/dist/api/location/getLocation.js.map +1 -0
  154. package/dist/api/location/index.d.ts +13 -12
  155. package/dist/api/location/index.js +17 -13
  156. package/dist/api/location/index.js.map +1 -0
  157. package/dist/api/location/style.scss.js +8 -0
  158. package/dist/api/location/style.scss.js.map +1 -0
  159. package/dist/api/media/audio/InnerAudioContext.d.ts +3 -2
  160. package/dist/api/media/audio/InnerAudioContext.js +7 -3
  161. package/dist/api/media/audio/InnerAudioContext.js.map +1 -0
  162. package/dist/api/media/audio/index.d.ts +10 -9
  163. package/dist/api/media/audio/index.js +15 -11
  164. package/dist/api/media/audio/index.js.map +1 -0
  165. package/dist/api/media/background-audio/BackgroundAudioManager.d.ts +3 -2
  166. package/dist/api/media/background-audio/BackgroundAudioManager.js +7 -3
  167. package/dist/api/media/background-audio/BackgroundAudioManager.js.map +1 -0
  168. package/dist/api/media/background-audio/index.d.ts +11 -10
  169. package/dist/api/media/background-audio/index.js +15 -11
  170. package/dist/api/media/background-audio/index.js.map +1 -0
  171. package/dist/api/media/camera.d.ts +2 -1
  172. package/dist/api/media/camera.js +6 -2
  173. package/dist/api/media/camera.js.map +1 -0
  174. package/dist/api/media/image/chooseImage.d.ts +2 -1
  175. package/dist/api/media/image/chooseImage.js +7 -3
  176. package/dist/api/media/image/chooseImage.js.map +1 -0
  177. package/dist/api/media/image/getImageInfo.d.ts +2 -1
  178. package/dist/api/media/image/getImageInfo.js +7 -3
  179. package/dist/api/media/image/getImageInfo.js.map +1 -0
  180. package/dist/api/media/image/index.d.ts +8 -7
  181. package/dist/api/media/image/index.js +12 -8
  182. package/dist/api/media/image/index.js.map +1 -0
  183. package/dist/api/media/image/previewImage.d.ts +2 -1
  184. package/dist/api/media/image/previewImage.js +15 -12
  185. package/dist/api/media/image/previewImage.js.map +1 -0
  186. package/dist/api/media/index.d.ts +12 -12
  187. package/dist/api/media/index.js +13 -12
  188. package/dist/api/media/index.js.map +1 -0
  189. package/dist/api/media/live.d.ts +3 -2
  190. package/dist/api/media/live.js +7 -3
  191. package/dist/api/media/live.js.map +1 -0
  192. package/dist/api/media/map.d.ts +2 -1
  193. package/dist/api/media/map.js +6 -2
  194. package/dist/api/media/map.js.map +1 -0
  195. package/dist/api/media/media-recorder.d.ts +2 -1
  196. package/dist/api/media/media-recorder.js +6 -2
  197. package/dist/api/media/media-recorder.js.map +1 -0
  198. package/dist/api/media/recorder.d.ts +4 -3
  199. package/dist/api/media/recorder.js +8 -4
  200. package/dist/api/media/recorder.js.map +1 -0
  201. package/dist/api/media/video/index.d.ts +8 -7
  202. package/dist/api/media/video/index.js +13 -9
  203. package/dist/api/media/video/index.js.map +1 -0
  204. package/dist/api/media/video-decoder.d.ts +2 -1
  205. package/dist/api/media/video-decoder.js +6 -2
  206. package/dist/api/media/video-decoder.js.map +1 -0
  207. package/dist/api/media/video-processing.d.ts +2 -1
  208. package/dist/api/media/video-processing.js +6 -2
  209. package/dist/api/media/video-processing.js.map +1 -0
  210. package/dist/api/media/voip.d.ts +15 -14
  211. package/dist/api/media/voip.js +19 -15
  212. package/dist/api/media/voip.js.map +1 -0
  213. package/dist/api/navigate/index.d.ts +6 -5
  214. package/dist/api/navigate/index.js +10 -6
  215. package/dist/api/navigate/index.js.map +1 -0
  216. package/dist/api/network/download.d.ts +2 -1
  217. package/dist/api/network/download.js +14 -5
  218. package/dist/api/network/download.js.map +1 -0
  219. package/dist/api/network/index.d.ts +7 -7
  220. package/dist/api/network/index.js +8 -7
  221. package/dist/api/network/index.js.map +1 -0
  222. package/dist/api/network/mdns.d.ts +11 -10
  223. package/dist/api/network/mdns.js +15 -11
  224. package/dist/api/network/mdns.js.map +1 -0
  225. package/dist/api/network/request/index.d.ts +3 -3
  226. package/dist/api/network/request/index.js +8 -4
  227. package/dist/api/network/request/index.js.map +1 -0
  228. package/dist/api/network/tcp.d.ts +2 -1
  229. package/dist/api/network/tcp.js +6 -2
  230. package/dist/api/network/tcp.js.map +1 -0
  231. package/dist/api/network/udp.d.ts +2 -1
  232. package/dist/api/network/udp.js +6 -2
  233. package/dist/api/network/udp.js.map +1 -0
  234. package/dist/api/network/upload.d.ts +2 -1
  235. package/dist/api/network/upload.js +14 -5
  236. package/dist/api/network/upload.js.map +1 -0
  237. package/dist/api/network/utils.d.ts +5 -4
  238. package/dist/api/network/utils.js +7 -4
  239. package/dist/api/network/utils.js.map +1 -0
  240. package/dist/api/network/websocket/index.d.ts +8 -7
  241. package/dist/api/network/websocket/index.js +14 -10
  242. package/dist/api/network/websocket/index.js.map +1 -0
  243. package/dist/api/network/websocket/socketTask.d.ts +2 -1
  244. package/dist/api/network/websocket/socketTask.js +5 -1
  245. package/dist/api/network/websocket/socketTask.js.map +1 -0
  246. package/dist/api/open-api/account.d.ts +2 -1
  247. package/dist/api/open-api/account.js +6 -2
  248. package/dist/api/open-api/account.js.map +1 -0
  249. package/dist/api/open-api/address.d.ts +2 -1
  250. package/dist/api/open-api/address.js +6 -2
  251. package/dist/api/open-api/address.js.map +1 -0
  252. package/dist/api/open-api/authorize.d.ts +3 -2
  253. package/dist/api/open-api/authorize.js +7 -3
  254. package/dist/api/open-api/authorize.js.map +1 -0
  255. package/dist/api/open-api/card.d.ts +3 -2
  256. package/dist/api/open-api/card.js +7 -3
  257. package/dist/api/open-api/card.js.map +1 -0
  258. package/dist/api/open-api/channels-live.d.ts +7 -6
  259. package/dist/api/open-api/channels-live.js +11 -7
  260. package/dist/api/open-api/channels-live.js.map +1 -0
  261. package/dist/api/open-api/customer-service.d.ts +2 -1
  262. package/dist/api/open-api/customer-service.js +6 -2
  263. package/dist/api/open-api/customer-service.js.map +1 -0
  264. package/dist/api/open-api/facial.d.ts +5 -4
  265. package/dist/api/open-api/facial.js +9 -5
  266. package/dist/api/open-api/facial.js.map +1 -0
  267. package/dist/api/open-api/favorites.d.ts +3 -2
  268. package/dist/api/open-api/favorites.js +7 -3
  269. package/dist/api/open-api/favorites.js.map +1 -0
  270. package/dist/api/open-api/group.d.ts +2 -1
  271. package/dist/api/open-api/group.js +6 -2
  272. package/dist/api/open-api/group.js.map +1 -0
  273. package/dist/api/open-api/index.d.ts +18 -18
  274. package/dist/api/open-api/index.js +19 -18
  275. package/dist/api/open-api/index.js.map +1 -0
  276. package/dist/api/open-api/invoice.d.ts +3 -2
  277. package/dist/api/open-api/invoice.js +7 -3
  278. package/dist/api/open-api/invoice.js.map +1 -0
  279. package/dist/api/open-api/license-plate.d.ts +2 -1
  280. package/dist/api/open-api/license-plate.js +6 -2
  281. package/dist/api/open-api/license-plate.js.map +1 -0
  282. package/dist/api/open-api/login.d.ts +4 -3
  283. package/dist/api/open-api/login.js +8 -4
  284. package/dist/api/open-api/login.js.map +1 -0
  285. package/dist/api/open-api/red-package.d.ts +2 -1
  286. package/dist/api/open-api/red-package.js +6 -2
  287. package/dist/api/open-api/red-package.js.map +1 -0
  288. package/dist/api/open-api/settings.d.ts +3 -2
  289. package/dist/api/open-api/settings.js +7 -3
  290. package/dist/api/open-api/settings.js.map +1 -0
  291. package/dist/api/open-api/soter.d.ts +4 -3
  292. package/dist/api/open-api/soter.js +8 -4
  293. package/dist/api/open-api/soter.js.map +1 -0
  294. package/dist/api/open-api/subscribe-message.d.ts +2 -1
  295. package/dist/api/open-api/subscribe-message.js +6 -2
  296. package/dist/api/open-api/subscribe-message.js.map +1 -0
  297. package/dist/api/open-api/user-info.d.ts +3 -2
  298. package/dist/api/open-api/user-info.js +7 -3
  299. package/dist/api/open-api/user-info.js.map +1 -0
  300. package/dist/api/open-api/werun.d.ts +3 -2
  301. package/dist/api/open-api/werun.js +7 -3
  302. package/dist/api/open-api/werun.js.map +1 -0
  303. package/dist/api/payment/index.d.ts +3 -2
  304. package/dist/api/payment/index.js +7 -3
  305. package/dist/api/payment/index.js.map +1 -0
  306. package/dist/api/route/index.js +3 -1
  307. package/dist/api/route/index.js.map +1 -0
  308. package/dist/api/share/index.d.ts +11 -10
  309. package/dist/api/share/index.js +15 -11
  310. package/dist/api/share/index.js.map +1 -0
  311. package/dist/api/storage/background-fetch.d.ts +5 -4
  312. package/dist/api/storage/background-fetch.js +9 -5
  313. package/dist/api/storage/background-fetch.js.map +1 -0
  314. package/dist/api/storage/index.d.ts +14 -13
  315. package/dist/api/storage/index.js +19 -15
  316. package/dist/api/storage/index.js.map +1 -0
  317. package/dist/api/swan/index.d.ts +22 -21
  318. package/dist/api/swan/index.js +26 -22
  319. package/dist/api/swan/index.js.map +1 -0
  320. package/dist/api/taro.d.ts +1 -2
  321. package/dist/api/taro.js +17 -12
  322. package/dist/api/taro.js.map +1 -0
  323. package/dist/api/ui/animation/index.d.ts +2 -1
  324. package/dist/api/ui/animation/index.js +4 -1
  325. package/dist/api/ui/animation/index.js.map +1 -0
  326. package/dist/api/ui/background.d.ts +3 -2
  327. package/dist/api/ui/background.js +7 -3
  328. package/dist/api/ui/background.js.map +1 -0
  329. package/dist/api/ui/custom-component.d.ts +2 -1
  330. package/dist/api/ui/custom-component.js +5 -1
  331. package/dist/api/ui/custom-component.js.map +1 -0
  332. package/dist/api/ui/fonts.d.ts +2 -1
  333. package/dist/api/ui/fonts.js +7 -11
  334. package/dist/api/ui/fonts.js.map +1 -0
  335. package/dist/api/ui/index.d.ts +12 -12
  336. package/dist/api/ui/index.js +13 -12
  337. package/dist/api/ui/index.js.map +1 -0
  338. package/dist/api/ui/interaction/actionSheet.d.ts +2 -1
  339. package/dist/api/ui/interaction/actionSheet.js +6 -2
  340. package/dist/api/ui/interaction/actionSheet.js.map +1 -0
  341. package/dist/api/ui/interaction/index.js +9 -14
  342. package/dist/api/ui/interaction/index.js.map +1 -0
  343. package/dist/api/ui/interaction/modal.d.ts +2 -1
  344. package/dist/api/ui/interaction/modal.js +6 -2
  345. package/dist/api/ui/interaction/modal.js.map +1 -0
  346. package/dist/api/ui/interaction/toast.d.ts +2 -1
  347. package/dist/api/ui/interaction/toast.js +6 -2
  348. package/dist/api/ui/interaction/toast.js.map +1 -0
  349. package/dist/api/ui/menu.d.ts +2 -1
  350. package/dist/api/ui/menu.js +6 -2
  351. package/dist/api/ui/menu.js.map +1 -0
  352. package/dist/api/ui/navigation-bar/index.d.ts +6 -5
  353. package/dist/api/ui/navigation-bar/index.js +11 -7
  354. package/dist/api/ui/navigation-bar/index.js.map +1 -0
  355. package/dist/api/ui/pull-down-refresh.d.ts +3 -2
  356. package/dist/api/ui/pull-down-refresh.js +7 -3
  357. package/dist/api/ui/pull-down-refresh.js.map +1 -0
  358. package/dist/api/ui/scroll/index.d.ts +2 -1
  359. package/dist/api/ui/scroll/index.js +8 -3
  360. package/dist/api/ui/scroll/index.js.map +1 -0
  361. package/dist/api/ui/sticky.d.ts +2 -1
  362. package/dist/api/ui/sticky.js +6 -2
  363. package/dist/api/ui/sticky.js.map +1 -0
  364. package/dist/api/ui/tab-bar.d.ts +12 -10
  365. package/dist/api/ui/tab-bar.js +16 -11
  366. package/dist/api/ui/tab-bar.js.map +1 -0
  367. package/dist/api/ui/window.d.ts +4 -3
  368. package/dist/api/ui/window.js +9 -5
  369. package/dist/api/ui/window.js.map +1 -0
  370. package/dist/api/worker/index.d.ts +2 -1
  371. package/dist/api/worker/index.js +6 -2
  372. package/dist/api/worker/index.js.map +1 -0
  373. package/dist/api/wxml/IntersectionObserver.d.ts +3 -3
  374. package/dist/api/wxml/IntersectionObserver.js +6 -2
  375. package/dist/api/wxml/IntersectionObserver.js.map +1 -0
  376. package/dist/api/wxml/MediaQueryObserver.d.ts +4 -1
  377. package/dist/api/wxml/MediaQueryObserver.js +6 -2
  378. package/dist/api/wxml/MediaQueryObserver.js.map +1 -0
  379. package/dist/api/wxml/index.d.ts +4 -3
  380. package/dist/api/wxml/index.js +10 -6
  381. package/dist/api/wxml/index.js.map +1 -0
  382. package/dist/api/wxml/nodesRef.d.ts +3 -2
  383. package/dist/api/wxml/nodesRef.js +4 -1
  384. package/dist/api/wxml/nodesRef.js.map +1 -0
  385. package/dist/api/wxml/selectorQuery.d.ts +4 -4
  386. package/dist/api/wxml/selectorQuery.js +8 -4
  387. package/dist/api/wxml/selectorQuery.js.map +1 -0
  388. package/dist/index.cjs.d.ts +8 -4
  389. package/dist/index.cjs.js +14289 -84
  390. package/dist/index.cjs.js.map +1 -1
  391. package/dist/index.d.ts +4 -4
  392. package/dist/index.esm.d.ts +8 -4
  393. package/dist/index.esm.js +14288 -84
  394. package/dist/index.esm.js.map +1 -1
  395. package/dist/index.js +113 -4
  396. package/dist/index.js.map +1 -0
  397. package/dist/node_modules/.pnpm/registry.npmjs.org_@stencil_core@2.22.2/node_modules/@stencil/core/internal/app-data/index.js +89 -0
  398. package/dist/node_modules/.pnpm/registry.npmjs.org_@stencil_core@2.22.2/node_modules/@stencil/core/internal/app-data/index.js.map +1 -0
  399. package/dist/node_modules/.pnpm/registry.npmjs.org_@stencil_core@2.22.2/node_modules/@stencil/core/internal/client/index.js +3371 -0
  400. package/dist/node_modules/.pnpm/registry.npmjs.org_@stencil_core@2.22.2/node_modules/@stencil/core/internal/client/index.js.map +1 -0
  401. package/dist/node_modules/.pnpm/registry.npmjs.org_@stencil_core@2.22.2/node_modules/@stencil/core/internal/client/shadow-css.js +388 -0
  402. package/dist/node_modules/.pnpm/registry.npmjs.org_@stencil_core@2.22.2/node_modules/@stencil/core/internal/client/shadow-css.js.map +1 -0
  403. package/dist/node_modules/.pnpm/registry.npmjs.org_style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +29 -0
  404. package/dist/node_modules/.pnpm/registry.npmjs.org_style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  405. package/dist/node_modules/.pnpm/registry.npmjs.org_tslib@1.14.1/node_modules/tslib/tslib.es6.js +221 -0
  406. package/dist/node_modules/.pnpm/registry.npmjs.org_tslib@1.14.1/node_modules/tslib/tslib.es6.js.map +1 -0
  407. package/dist/packages/taro-components/dist/components/index2.js +77 -0
  408. package/dist/packages/taro-components/dist/components/index2.js.map +1 -0
  409. package/dist/packages/taro-components/dist/components/index3.js +35 -0
  410. package/dist/packages/taro-components/dist/components/index3.js.map +1 -0
  411. package/dist/packages/taro-components/dist/components/taro-swiper-core.js +10171 -0
  412. package/dist/packages/taro-components/dist/components/taro-swiper-core.js.map +1 -0
  413. package/dist/packages/taro-components/dist/components/taro-swiper-item-core.js +69 -0
  414. package/dist/packages/taro-components/dist/components/taro-swiper-item-core.js.map +1 -0
  415. package/dist/utils/animation.d.ts +3 -2
  416. package/dist/utils/animation.js +5 -2
  417. package/dist/utils/animation.js.map +1 -0
  418. package/dist/utils/handler.d.ts +7 -7
  419. package/dist/utils/handler.js +7 -4
  420. package/dist/utils/handler.js.map +1 -0
  421. package/dist/utils/index.d.ts +16 -16
  422. package/dist/utils/index.js +26 -23
  423. package/dist/utils/index.js.map +1 -0
  424. package/dist/utils/lodash.d.ts +3 -2
  425. package/dist/utils/lodash.js +5 -2
  426. package/dist/utils/lodash.js.map +1 -0
  427. package/dist/utils/valid.d.ts +2 -1
  428. package/dist/utils/valid.js +4 -1
  429. package/dist/utils/valid.js.map +1 -0
  430. package/package.json +10 -10
  431. package/types/define.d.ts +2 -0
  432. package/dist/api/location/style.css +0 -79
  433. package/dist/api/media/EditorContext.d.ts +0 -16
  434. package/dist/api/media/EditorContext.js +0 -19
  435. package/dist/taroApis.d.ts +0 -754
  436. package/dist/taroApis.js +0 -2
  437. package/dist/taroApis.js.map +0 -1
@@ -1,24 +1,25 @@
1
- import { getParameterError, shouldBeObject } from '../../../utils';
2
- import { MethodHandler } from '../../../utils/handler';
3
- import { SocketTask } from './socketTask';
1
+ import { shouldBeObject, getParameterError } from '../../../utils/index.js';
2
+ import { MethodHandler } from '../../../utils/handler.js';
3
+ import { SocketTask } from './socketTask.js';
4
+
4
5
  let socketTasks = [];
5
6
  let socketsCounter = 1;
6
- export function sendSocketMessage() {
7
+ function sendSocketMessage() {
7
8
  console.warn('Deprecated.Please use socketTask.send instead.');
8
9
  }
9
- export function onSocketOpen() {
10
+ function onSocketOpen() {
10
11
  console.warn('Deprecated.Please use socketTask.onOpen instead.');
11
12
  }
12
- export function onSocketMessage() {
13
+ function onSocketMessage() {
13
14
  console.warn('Deprecated.Please use socketTask.onMessage instead.');
14
15
  }
15
- export function onSocketError() {
16
+ function onSocketError() {
16
17
  console.warn('Deprecated.Please use socketTask.onError instead.');
17
18
  }
18
- export function onSocketClose() {
19
+ function onSocketClose() {
19
20
  console.warn('Deprecated.Please use socketTask.onClose instead.');
20
21
  }
21
- export function connectSocket(options) {
22
+ function connectSocket(options) {
22
23
  const name = 'connectSocket';
23
24
  return new Promise((resolve, reject) => {
24
25
  // options must be an Object
@@ -65,6 +66,9 @@ export function connectSocket(options) {
65
66
  return resolve(task);
66
67
  });
67
68
  }
68
- export function closeSocket() {
69
+ function closeSocket() {
69
70
  console.warn('Deprecated.Please use socketTask.close instead.');
70
71
  }
72
+
73
+ export { closeSocket, connectSocket, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, sendSocketMessage };
74
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/api/network/websocket/index.ts"],"sourcesContent":["import { getParameterError, shouldBeObject } from '../../../utils'\nimport { MethodHandler } from '../../../utils/handler'\nimport { SocketTask } from './socketTask'\n\nlet socketTasks: SocketTask[] = []\nlet socketsCounter = 1\n\nexport function sendSocketMessage () {\n console.warn('Deprecated.Please use socketTask.send instead.')\n}\n\nexport function onSocketOpen () {\n console.warn('Deprecated.Please use socketTask.onOpen instead.')\n}\n\nexport function onSocketMessage () {\n console.warn('Deprecated.Please use socketTask.onMessage instead.')\n}\n\nexport function onSocketError () {\n console.warn('Deprecated.Please use socketTask.onError instead.')\n}\n\nexport function onSocketClose () {\n console.warn('Deprecated.Please use socketTask.onClose instead.')\n}\n\nexport function connectSocket (options?: Taro.connectSocket.Option) {\n const name = 'connectSocket'\n\n return new Promise((resolve, reject) => {\n // options must be an Object\n const isObject = shouldBeObject(options)\n if (!isObject.flag) {\n const res = { errMsg: `${name}:fail ${isObject.msg}` }\n console.error(res.errMsg)\n return reject(res)\n }\n const { url, protocols, success, fail, complete } = options as Exclude<typeof options, undefined>\n const handle = new MethodHandler<{\n socketTaskId?: number\n }>({ name, success, fail, complete })\n\n // options.url must be String\n if (typeof url !== 'string') {\n return handle.fail({\n errMsg: getParameterError({\n para: 'url',\n correct: 'String',\n wrong: url\n })\n }, { resolve, reject })\n }\n\n // options.url must be invalid\n if (!url.startsWith('ws://') && !url.startsWith('wss://')) {\n return handle.fail({\n errMsg: `request:fail invalid url \"${url}\"`\n }, { resolve, reject })\n }\n\n // protocols must be array\n const _protocols = Array.isArray(protocols) ? protocols : null\n\n // 2 connection at most\n if (socketTasks.length > 1) {\n return handle.fail({\n errMsg: '同时最多发起 2 个 socket 请求,更多请参考文档。'\n }, { resolve, reject })\n }\n\n const task = new SocketTask(url, _protocols)\n task._destroyWhenClose = function () {\n socketTasks = socketTasks.filter(socketTask => socketTask !== this)\n }\n socketTasks.push(task)\n\n handle.success({\n socketTaskId: socketsCounter++\n })\n\n return resolve(task)\n })\n}\n\nexport function closeSocket () {\n console.warn('Deprecated.Please use socketTask.close instead.')\n}\n"],"names":[],"mappings":"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"}
@@ -1,5 +1,5 @@
1
1
  import Taro from '@tarojs/api';
2
- export declare class SocketTask {
2
+ declare class SocketTask {
3
3
  ws: WebSocket;
4
4
  CONNECTING: number;
5
5
  OPEN: number;
@@ -23,3 +23,4 @@ export declare class SocketTask {
23
23
  onClose(func: any): void;
24
24
  onError(func: any): void;
25
25
  }
26
+ export { SocketTask };
@@ -1,5 +1,6 @@
1
1
  import { isFunction } from '@tarojs/shared';
2
- export class SocketTask {
2
+
3
+ class SocketTask {
3
4
  constructor(url, protocols) {
4
5
  if (protocols && protocols.length) {
5
6
  this.ws = new WebSocket(url, protocols);
@@ -62,3 +63,6 @@ export class SocketTask {
62
63
  this.ws.onerror = func;
63
64
  }
64
65
  }
66
+
67
+ export { SocketTask };
68
+ //# sourceMappingURL=socketTask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"socketTask.js","sources":["../../../../src/api/network/websocket/socketTask.ts"],"sourcesContent":["import Taro from '@tarojs/api'\nimport { isFunction } from '@tarojs/shared'\n\nexport class SocketTask {\n ws: WebSocket\n CONNECTING: number\n OPEN: number\n CLOSING: number\n CLOSED: number\n closeDetail: { code: any, reason: any }\n _destroyWhenClose?: () => void\n\n constructor (url, protocols) {\n if (protocols && protocols.length) {\n this.ws = new WebSocket(url, protocols)\n } else {\n this.ws = new WebSocket(url)\n }\n this.CONNECTING = 0\n this.OPEN = 1\n this.CLOSING = 2\n this.CLOSED = 3\n }\n\n get readyState () {\n return this.ws.readyState\n }\n\n send (opts: Partial<Taro.SocketTask.SendOption> = {}) {\n if (typeof opts !== 'object' || !opts) opts = {}\n\n const { data = '', success, fail, complete } = opts\n\n if (this.readyState !== 1) {\n const res = { errMsg: 'SocketTask.send:fail SocketTask.readState is not OPEN' }\n console.error(res.errMsg)\n isFunction(fail) && fail(res)\n isFunction(complete) && complete(res)\n return Promise.reject(res)\n }\n\n this.ws.send(data)\n\n const res = { errMsg: 'sendSocketMessage:ok' }\n isFunction(success) && success(res)\n isFunction(complete) && complete(res)\n return Promise.resolve(res)\n }\n\n close (opts: Partial<Taro.SocketTask.CloseOption> = {}) {\n if (typeof opts !== 'object' || !opts) opts = {}\n\n const {\n code = 1000,\n reason = 'server complete,close',\n success,\n complete\n } = opts\n\n this.closeDetail = { code, reason }\n // 主动断开时需要重置链接数\n this._destroyWhenClose && this._destroyWhenClose()\n this.ws.close()\n\n const res = { errMsg: 'closeSocket:ok' }\n isFunction(success) && success(res)\n isFunction(complete) && complete(res)\n return Promise.resolve(res)\n }\n\n onOpen (func) {\n this.ws.onopen = func\n }\n\n onMessage (func) {\n this.ws.onmessage = func\n }\n\n onClose (func) {\n this.ws.onclose = () => {\n // 若服务器方断掉也需要重置链接数\n this._destroyWhenClose && this._destroyWhenClose()\n func(this.closeDetail || { code: 1006, reason: 'abnormal closure' })\n }\n }\n\n onError (func) {\n this.ws.onerror = func\n }\n}\n"],"names":[],"mappings":"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"}
@@ -1 +1,2 @@
1
- export declare const getAccountInfoSync: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const getAccountInfoSync: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ export { getAccountInfoSync };
@@ -1,3 +1,7 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 帐号信息
3
- export const getAccountInfoSync = temporarilyNotSupport('getAccountInfoSync');
4
+ const getAccountInfoSync = temporarilyNotSupport('getAccountInfoSync');
5
+
6
+ export { getAccountInfoSync };
7
+ //# sourceMappingURL=account.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.js","sources":["../../../src/api/open-api/account.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 帐号信息\nexport const getAccountInfoSync = temporarilyNotSupport('getAccountInfoSync')\n"],"names":[],"mappings":";;AAEA;MACa,kBAAkB,GAAG,qBAAqB,CAAC,oBAAoB;;;;"}
@@ -1 +1,2 @@
1
- export declare const chooseAddress: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const chooseAddress: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ export { chooseAddress };
@@ -1,3 +1,7 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 收货地址
3
- export const chooseAddress = temporarilyNotSupport('chooseAddress');
4
+ const chooseAddress = temporarilyNotSupport('chooseAddress');
5
+
6
+ export { chooseAddress };
7
+ //# sourceMappingURL=address.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"address.js","sources":["../../../src/api/open-api/address.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 收货地址\nexport const chooseAddress = temporarilyNotSupport('chooseAddress')\n"],"names":[],"mappings":";;AAEA;MACa,aAAa,GAAG,qBAAqB,CAAC,eAAe;;;;"}
@@ -1,2 +1,3 @@
1
- export declare const authorizeForMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
- export declare const authorize: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const authorizeForMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ declare const authorize: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
+ export { authorizeForMiniProgram, authorize };
@@ -1,4 +1,8 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 授权
3
- export const authorizeForMiniProgram = temporarilyNotSupport('authorizeForMiniProgram');
4
- export const authorize = temporarilyNotSupport('authorize');
4
+ const authorizeForMiniProgram = temporarilyNotSupport('authorizeForMiniProgram');
5
+ const authorize = temporarilyNotSupport('authorize');
6
+
7
+ export { authorize, authorizeForMiniProgram };
8
+ //# sourceMappingURL=authorize.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorize.js","sources":["../../../src/api/open-api/authorize.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 授权\nexport const authorizeForMiniProgram = temporarilyNotSupport('authorizeForMiniProgram')\nexport const authorize = temporarilyNotSupport('authorize')\n"],"names":[],"mappings":";;AAEA;MACa,uBAAuB,GAAG,qBAAqB,CAAC,yBAAyB,EAAC;MAC1E,SAAS,GAAG,qBAAqB,CAAC,WAAW;;;;"}
@@ -1,2 +1,3 @@
1
- export declare const openCard: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
- export declare const addCard: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const openCard: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ declare const addCard: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
+ export { openCard, addCard };
@@ -1,4 +1,8 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 卡券
3
- export const openCard = temporarilyNotSupport('openCard');
4
- export const addCard = temporarilyNotSupport('addCard');
4
+ const openCard = temporarilyNotSupport('openCard');
5
+ const addCard = temporarilyNotSupport('addCard');
6
+
7
+ export { addCard, openCard };
8
+ //# sourceMappingURL=card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.js","sources":["../../../src/api/open-api/card.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 卡券\nexport const openCard = temporarilyNotSupport('openCard')\nexport const addCard = temporarilyNotSupport('addCard')\n"],"names":[],"mappings":";;AAEA;MACa,QAAQ,GAAG,qBAAqB,CAAC,UAAU,EAAC;MAC5C,OAAO,GAAG,qBAAqB,CAAC,SAAS;;;;"}
@@ -1,6 +1,7 @@
1
- export declare const reserveChannelsLive: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
- export declare const openChannelsLive: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
- export declare const openChannelsEvent: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
4
- export declare const openChannelsActivity: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
5
- export declare const getChannelsLiveNoticeInfo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
6
- export declare const getChannelsLiveInfo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const reserveChannelsLive: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ declare const openChannelsLive: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
+ declare const openChannelsEvent: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
4
+ declare const openChannelsActivity: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
5
+ declare const getChannelsLiveNoticeInfo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
6
+ declare const getChannelsLiveInfo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
7
+ export { reserveChannelsLive, openChannelsLive, openChannelsEvent, openChannelsActivity, getChannelsLiveNoticeInfo, getChannelsLiveInfo };
@@ -1,8 +1,12 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 视频号
3
- export const reserveChannelsLive = temporarilyNotSupport('reserveChannelsLive');
4
- export const openChannelsLive = temporarilyNotSupport('openChannelsLive');
5
- export const openChannelsEvent = temporarilyNotSupport('openChannelsEvent');
6
- export const openChannelsActivity = temporarilyNotSupport('openChannelsActivity');
7
- export const getChannelsLiveNoticeInfo = temporarilyNotSupport('getChannelsLiveNoticeInfo');
8
- export const getChannelsLiveInfo = temporarilyNotSupport('getChannelsLiveInfo');
4
+ const reserveChannelsLive = temporarilyNotSupport('reserveChannelsLive');
5
+ const openChannelsLive = temporarilyNotSupport('openChannelsLive');
6
+ const openChannelsEvent = temporarilyNotSupport('openChannelsEvent');
7
+ const openChannelsActivity = temporarilyNotSupport('openChannelsActivity');
8
+ const getChannelsLiveNoticeInfo = temporarilyNotSupport('getChannelsLiveNoticeInfo');
9
+ const getChannelsLiveInfo = temporarilyNotSupport('getChannelsLiveInfo');
10
+
11
+ export { getChannelsLiveInfo, getChannelsLiveNoticeInfo, openChannelsActivity, openChannelsEvent, openChannelsLive, reserveChannelsLive };
12
+ //# sourceMappingURL=channels-live.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channels-live.js","sources":["../../../src/api/open-api/channels-live.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 视频号\nexport const reserveChannelsLive = temporarilyNotSupport('reserveChannelsLive')\nexport const openChannelsLive = temporarilyNotSupport('openChannelsLive')\nexport const openChannelsEvent = temporarilyNotSupport('openChannelsEvent')\nexport const openChannelsActivity = temporarilyNotSupport('openChannelsActivity')\nexport const getChannelsLiveNoticeInfo = temporarilyNotSupport('getChannelsLiveNoticeInfo')\nexport const getChannelsLiveInfo = temporarilyNotSupport('getChannelsLiveInfo')\n"],"names":[],"mappings":";;AAEA;MACa,mBAAmB,GAAG,qBAAqB,CAAC,qBAAqB,EAAC;MAClE,gBAAgB,GAAG,qBAAqB,CAAC,kBAAkB,EAAC;MAC5D,iBAAiB,GAAG,qBAAqB,CAAC,mBAAmB,EAAC;MAC9D,oBAAoB,GAAG,qBAAqB,CAAC,sBAAsB,EAAC;MACpE,yBAAyB,GAAG,qBAAqB,CAAC,2BAA2B,EAAC;MAC9E,mBAAmB,GAAG,qBAAqB,CAAC,qBAAqB;;;;"}
@@ -1 +1,2 @@
1
- export declare const openCustomerServiceChat: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const openCustomerServiceChat: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ export { openCustomerServiceChat };
@@ -1,3 +1,7 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 微信客服
3
- export const openCustomerServiceChat = temporarilyNotSupport('openCustomerServiceChat');
4
+ const openCustomerServiceChat = temporarilyNotSupport('openCustomerServiceChat');
5
+
6
+ export { openCustomerServiceChat };
7
+ //# sourceMappingURL=customer-service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customer-service.js","sources":["../../../src/api/open-api/customer-service.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 微信客服\nexport const openCustomerServiceChat = temporarilyNotSupport('openCustomerServiceChat')\n"],"names":[],"mappings":";;AAEA;MACa,uBAAuB,GAAG,qBAAqB,CAAC,yBAAyB;;;;"}
@@ -1,4 +1,5 @@
1
- export declare const checkIsSupportFacialRecognition: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
- export declare const startFacialRecognitionVerify: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
- export declare const startFacialRecognitionVerifyAndUploadVideo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
4
- export declare const faceVerifyForPay: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const checkIsSupportFacialRecognition: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ declare const startFacialRecognitionVerify: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
+ declare const startFacialRecognitionVerifyAndUploadVideo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
4
+ declare const faceVerifyForPay: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
5
+ export { checkIsSupportFacialRecognition, startFacialRecognitionVerify, startFacialRecognitionVerifyAndUploadVideo, faceVerifyForPay };
@@ -1,6 +1,10 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 过往接口
3
- export const checkIsSupportFacialRecognition = temporarilyNotSupport('checkIsSupportFacialRecognition');
4
- export const startFacialRecognitionVerify = temporarilyNotSupport('startFacialRecognitionVerify');
5
- export const startFacialRecognitionVerifyAndUploadVideo = temporarilyNotSupport('startFacialRecognitionVerifyAndUploadVideo');
6
- export const faceVerifyForPay = temporarilyNotSupport('faceVerifyForPay');
4
+ const checkIsSupportFacialRecognition = temporarilyNotSupport('checkIsSupportFacialRecognition');
5
+ const startFacialRecognitionVerify = temporarilyNotSupport('startFacialRecognitionVerify');
6
+ const startFacialRecognitionVerifyAndUploadVideo = temporarilyNotSupport('startFacialRecognitionVerifyAndUploadVideo');
7
+ const faceVerifyForPay = temporarilyNotSupport('faceVerifyForPay');
8
+
9
+ export { checkIsSupportFacialRecognition, faceVerifyForPay, startFacialRecognitionVerify, startFacialRecognitionVerifyAndUploadVideo };
10
+ //# sourceMappingURL=facial.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"facial.js","sources":["../../../src/api/open-api/facial.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 过往接口\nexport const checkIsSupportFacialRecognition = temporarilyNotSupport('checkIsSupportFacialRecognition')\nexport const startFacialRecognitionVerify = temporarilyNotSupport('startFacialRecognitionVerify')\nexport const startFacialRecognitionVerifyAndUploadVideo = temporarilyNotSupport('startFacialRecognitionVerifyAndUploadVideo')\nexport const faceVerifyForPay = temporarilyNotSupport('faceVerifyForPay')\n"],"names":[],"mappings":";;AAEA;MACa,+BAA+B,GAAG,qBAAqB,CAAC,iCAAiC,EAAC;MAC1F,4BAA4B,GAAG,qBAAqB,CAAC,8BAA8B,EAAC;MACpF,0CAA0C,GAAG,qBAAqB,CAAC,4CAA4C,EAAC;MAChH,gBAAgB,GAAG,qBAAqB,CAAC,kBAAkB;;;;"}
@@ -1,2 +1,3 @@
1
- export declare const addVideoToFavorites: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
- export declare const addFileToFavorites: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const addVideoToFavorites: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ declare const addFileToFavorites: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
+ export { addVideoToFavorites, addFileToFavorites };
@@ -1,4 +1,8 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 收藏
3
- export const addVideoToFavorites = temporarilyNotSupport('addVideoToFavorites');
4
- export const addFileToFavorites = temporarilyNotSupport('addFileToFavorites');
4
+ const addVideoToFavorites = temporarilyNotSupport('addVideoToFavorites');
5
+ const addFileToFavorites = temporarilyNotSupport('addFileToFavorites');
6
+
7
+ export { addFileToFavorites, addVideoToFavorites };
8
+ //# sourceMappingURL=favorites.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"favorites.js","sources":["../../../src/api/open-api/favorites.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 收藏\nexport const addVideoToFavorites = temporarilyNotSupport('addVideoToFavorites')\nexport const addFileToFavorites = temporarilyNotSupport('addFileToFavorites')\n"],"names":[],"mappings":";;AAEA;MACa,mBAAmB,GAAG,qBAAqB,CAAC,qBAAqB,EAAC;MAClE,kBAAkB,GAAG,qBAAqB,CAAC,oBAAoB;;;;"}
@@ -1 +1,2 @@
1
- export declare const getGroupEnterInfo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const getGroupEnterInfo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ export { getGroupEnterInfo };
@@ -1,3 +1,7 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 微信群
3
- export const getGroupEnterInfo = temporarilyNotSupport('getGroupEnterInfo');
4
+ const getGroupEnterInfo = temporarilyNotSupport('getGroupEnterInfo');
5
+
6
+ export { getGroupEnterInfo };
7
+ //# sourceMappingURL=group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.js","sources":["../../../src/api/open-api/group.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 微信群\nexport const getGroupEnterInfo = temporarilyNotSupport('getGroupEnterInfo')\n"],"names":[],"mappings":";;AAEA;MACa,iBAAiB,GAAG,qBAAqB,CAAC,mBAAmB;;;;"}
@@ -1,18 +1,18 @@
1
- export * from './account';
2
- export * from './address';
3
- export * from './authorize';
4
- export * from './card';
5
- export * from './channels-live';
6
- export * from './customer-service';
7
- export * from './facial';
8
- export * from './favorites';
9
- export * from './group';
10
- export * from './invoice';
11
- export * from './license-plate';
12
- export * from './login';
13
- export * from './red-package';
14
- export * from './settings';
15
- export * from './soter';
16
- export * from './subscribe-message';
17
- export * from './user-info';
18
- export * from './werun';
1
+ export * from "./account";
2
+ export * from "./address";
3
+ export * from "./authorize";
4
+ export * from "./card";
5
+ export * from "./channels-live";
6
+ export * from "./customer-service";
7
+ export * from "./facial";
8
+ export * from "./favorites";
9
+ export * from "./group";
10
+ export * from "./invoice";
11
+ export * from "./license-plate";
12
+ export * from "./login";
13
+ export * from "./red-package";
14
+ export * from "./settings";
15
+ export * from "./soter";
16
+ export * from "./subscribe-message";
17
+ export * from "./user-info";
18
+ export * from "./werun";
@@ -1,18 +1,19 @@
1
- export * from './account';
2
- export * from './address';
3
- export * from './authorize';
4
- export * from './card';
5
- export * from './channels-live';
6
- export * from './customer-service';
7
- export * from './facial';
8
- export * from './favorites';
9
- export * from './group';
10
- export * from './invoice';
11
- export * from './license-plate';
12
- export * from './login';
13
- export * from './red-package';
14
- export * from './settings';
15
- export * from './soter';
16
- export * from './subscribe-message';
17
- export * from './user-info';
18
- export * from './werun';
1
+ export { getAccountInfoSync } from './account.js';
2
+ export { chooseAddress } from './address.js';
3
+ export { authorize, authorizeForMiniProgram } from './authorize.js';
4
+ export { addCard, openCard } from './card.js';
5
+ export { getChannelsLiveInfo, getChannelsLiveNoticeInfo, openChannelsActivity, openChannelsEvent, openChannelsLive, reserveChannelsLive } from './channels-live.js';
6
+ export { openCustomerServiceChat } from './customer-service.js';
7
+ export { checkIsSupportFacialRecognition, faceVerifyForPay, startFacialRecognitionVerify, startFacialRecognitionVerifyAndUploadVideo } from './facial.js';
8
+ export { addFileToFavorites, addVideoToFavorites } from './favorites.js';
9
+ export { getGroupEnterInfo } from './group.js';
10
+ export { chooseInvoice, chooseInvoiceTitle } from './invoice.js';
11
+ export { chooseLicensePlate } from './license-plate.js';
12
+ export { checkSession, login, pluginLogin } from './login.js';
13
+ export { showRedPackage } from './red-package.js';
14
+ export { getSetting, openSetting } from './settings.js';
15
+ export { checkIsSoterEnrolledInDevice, checkIsSupportSoterAuthentication, startSoterAuthentication } from './soter.js';
16
+ export { requestSubscribeMessage } from './subscribe-message.js';
17
+ export { getUserInfo, getUserProfile } from './user-info.js';
18
+ export { getWeRunData, shareToWeRun } from './werun.js';
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,3 @@
1
- export declare const chooseInvoiceTitle: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
- export declare const chooseInvoice: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const chooseInvoiceTitle: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ declare const chooseInvoice: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
+ export { chooseInvoiceTitle, chooseInvoice };
@@ -1,4 +1,8 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 发票
3
- export const chooseInvoiceTitle = temporarilyNotSupport('chooseInvoiceTitle');
4
- export const chooseInvoice = temporarilyNotSupport('chooseInvoice');
4
+ const chooseInvoiceTitle = temporarilyNotSupport('chooseInvoiceTitle');
5
+ const chooseInvoice = temporarilyNotSupport('chooseInvoice');
6
+
7
+ export { chooseInvoice, chooseInvoiceTitle };
8
+ //# sourceMappingURL=invoice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoice.js","sources":["../../../src/api/open-api/invoice.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 发票\nexport const chooseInvoiceTitle = temporarilyNotSupport('chooseInvoiceTitle')\nexport const chooseInvoice = temporarilyNotSupport('chooseInvoice')\n"],"names":[],"mappings":";;AAEA;MACa,kBAAkB,GAAG,qBAAqB,CAAC,oBAAoB,EAAC;MAChE,aAAa,GAAG,qBAAqB,CAAC,eAAe;;;;"}
@@ -1 +1,2 @@
1
- export declare const chooseLicensePlate: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const chooseLicensePlate: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ export { chooseLicensePlate };
@@ -1,3 +1,7 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 车牌
3
- export const chooseLicensePlate = temporarilyNotSupport('chooseLicensePlate');
4
+ const chooseLicensePlate = temporarilyNotSupport('chooseLicensePlate');
5
+
6
+ export { chooseLicensePlate };
7
+ //# sourceMappingURL=license-plate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"license-plate.js","sources":["../../../src/api/open-api/license-plate.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 车牌\nexport const chooseLicensePlate = temporarilyNotSupport('chooseLicensePlate')\n"],"names":[],"mappings":";;AAEA;MACa,kBAAkB,GAAG,qBAAqB,CAAC,oBAAoB;;;;"}
@@ -1,3 +1,4 @@
1
- export declare const pluginLogin: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
- export declare const login: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
- export declare const checkSession: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const pluginLogin: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ declare const login: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
+ declare const checkSession: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
4
+ export { pluginLogin, login, checkSession };
@@ -1,5 +1,9 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 帐号信息
3
- export const pluginLogin = temporarilyNotSupport('pluginLogin');
4
- export const login = temporarilyNotSupport('login');
5
- export const checkSession = temporarilyNotSupport('checkSession');
4
+ const pluginLogin = temporarilyNotSupport('pluginLogin');
5
+ const login = temporarilyNotSupport('login');
6
+ const checkSession = temporarilyNotSupport('checkSession');
7
+
8
+ export { checkSession, login, pluginLogin };
9
+ //# sourceMappingURL=login.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"login.js","sources":["../../../src/api/open-api/login.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 帐号信息\nexport const pluginLogin = temporarilyNotSupport('pluginLogin')\nexport const login = temporarilyNotSupport('login')\nexport const checkSession = temporarilyNotSupport('checkSession')\n"],"names":[],"mappings":";;AAEA;MACa,WAAW,GAAG,qBAAqB,CAAC,aAAa,EAAC;MAClD,KAAK,GAAG,qBAAqB,CAAC,OAAO,EAAC;MACtC,YAAY,GAAG,qBAAqB,CAAC,cAAc;;;;"}
@@ -1 +1,2 @@
1
- export declare const showRedPackage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const showRedPackage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ export { showRedPackage };
@@ -1,3 +1,7 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 微信红包
3
- export const showRedPackage = temporarilyNotSupport('showRedPackage');
4
+ const showRedPackage = temporarilyNotSupport('showRedPackage');
5
+
6
+ export { showRedPackage };
7
+ //# sourceMappingURL=red-package.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"red-package.js","sources":["../../../src/api/open-api/red-package.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 微信红包\nexport const showRedPackage = temporarilyNotSupport('showRedPackage')\n"],"names":[],"mappings":";;AAEA;MACa,cAAc,GAAG,qBAAqB,CAAC,gBAAgB;;;;"}
@@ -1,2 +1,3 @@
1
- export declare const openSetting: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
- export declare const getSetting: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const openSetting: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ declare const getSetting: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
+ export { openSetting, getSetting };
@@ -1,4 +1,8 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 设置
3
- export const openSetting = temporarilyNotSupport('openSetting');
4
- export const getSetting = temporarilyNotSupport('getSetting');
4
+ const openSetting = temporarilyNotSupport('openSetting');
5
+ const getSetting = temporarilyNotSupport('getSetting');
6
+
7
+ export { getSetting, openSetting };
8
+ //# sourceMappingURL=settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.js","sources":["../../../src/api/open-api/settings.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 设置\nexport const openSetting = temporarilyNotSupport('openSetting')\nexport const getSetting = temporarilyNotSupport('getSetting')\n"],"names":[],"mappings":";;AAEA;MACa,WAAW,GAAG,qBAAqB,CAAC,aAAa,EAAC;MAClD,UAAU,GAAG,qBAAqB,CAAC,YAAY;;;;"}
@@ -1,3 +1,4 @@
1
- export declare const startSoterAuthentication: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
- export declare const checkIsSupportSoterAuthentication: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
- export declare const checkIsSoterEnrolledInDevice: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const startSoterAuthentication: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ declare const checkIsSupportSoterAuthentication: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3
+ declare const checkIsSoterEnrolledInDevice: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
4
+ export { startSoterAuthentication, checkIsSupportSoterAuthentication, checkIsSoterEnrolledInDevice };
@@ -1,5 +1,9 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 生物认证
3
- export const startSoterAuthentication = temporarilyNotSupport('startSoterAuthentication');
4
- export const checkIsSupportSoterAuthentication = temporarilyNotSupport('checkIsSupportSoterAuthentication');
5
- export const checkIsSoterEnrolledInDevice = temporarilyNotSupport('checkIsSoterEnrolledInDevice');
4
+ const startSoterAuthentication = temporarilyNotSupport('startSoterAuthentication');
5
+ const checkIsSupportSoterAuthentication = temporarilyNotSupport('checkIsSupportSoterAuthentication');
6
+ const checkIsSoterEnrolledInDevice = temporarilyNotSupport('checkIsSoterEnrolledInDevice');
7
+
8
+ export { checkIsSoterEnrolledInDevice, checkIsSupportSoterAuthentication, startSoterAuthentication };
9
+ //# sourceMappingURL=soter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"soter.js","sources":["../../../src/api/open-api/soter.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 生物认证\nexport const startSoterAuthentication = temporarilyNotSupport('startSoterAuthentication')\nexport const checkIsSupportSoterAuthentication = temporarilyNotSupport('checkIsSupportSoterAuthentication')\nexport const checkIsSoterEnrolledInDevice = temporarilyNotSupport('checkIsSoterEnrolledInDevice')\n"],"names":[],"mappings":";;AAEA;MACa,wBAAwB,GAAG,qBAAqB,CAAC,0BAA0B,EAAC;MAC5E,iCAAiC,GAAG,qBAAqB,CAAC,mCAAmC,EAAC;MAC9F,4BAA4B,GAAG,qBAAqB,CAAC,8BAA8B;;;;"}
@@ -1 +1,2 @@
1
- export declare const requestSubscribeMessage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
1
+ declare const requestSubscribeMessage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
2
+ export { requestSubscribeMessage };
@@ -1,3 +1,7 @@
1
- import { temporarilyNotSupport } from '../../utils';
1
+ import { temporarilyNotSupport } from '../../utils/index.js';
2
+
2
3
  // 订阅消息
3
- export const requestSubscribeMessage = temporarilyNotSupport('requestSubscribeMessage');
4
+ const requestSubscribeMessage = temporarilyNotSupport('requestSubscribeMessage');
5
+
6
+ export { requestSubscribeMessage };
7
+ //# sourceMappingURL=subscribe-message.js.map