@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.
- package/dist/api/ad/index.d.ts +3 -2
- package/dist/api/ad/index.js +7 -3
- package/dist/api/ad/index.js.map +1 -0
- package/dist/api/ai/facial.d.ts +4 -3
- package/dist/api/ai/facial.js +8 -4
- package/dist/api/ai/facial.js.map +1 -0
- package/dist/api/ai/index.d.ts +2 -2
- package/dist/api/ai/index.js +3 -2
- package/dist/api/ai/index.js.map +1 -0
- package/dist/api/ai/visual.d.ts +3 -2
- package/dist/api/ai/visual.js +7 -3
- package/dist/api/ai/visual.js.map +1 -0
- package/dist/api/alipay/index.d.ts +2 -1
- package/dist/api/alipay/index.js +6 -2
- package/dist/api/alipay/index.js.map +1 -0
- package/dist/api/base/crypto.d.ts +2 -1
- package/dist/api/base/crypto.js +6 -2
- package/dist/api/base/crypto.js.map +1 -0
- package/dist/api/base/debug.d.ts +4 -3
- package/dist/api/base/debug.js +8 -4
- package/dist/api/base/debug.js.map +1 -0
- package/dist/api/base/index.d.ts +16 -10
- package/dist/api/base/index.js +20 -12
- package/dist/api/base/index.js.map +1 -0
- package/dist/api/base/performance.d.ts +3 -2
- package/dist/api/base/performance.js +7 -3
- package/dist/api/base/performance.js.map +1 -0
- package/dist/api/base/system.d.ts +11 -10
- package/dist/api/base/system.js +22 -22
- package/dist/api/base/system.js.map +1 -0
- package/dist/api/base/update.d.ts +3 -2
- package/dist/api/base/update.js +7 -3
- package/dist/api/base/update.js.map +1 -0
- package/dist/api/base/weapp/app-event.d.ts +17 -16
- package/dist/api/base/weapp/app-event.js +22 -18
- package/dist/api/base/weapp/app-event.js.map +1 -0
- package/dist/api/base/weapp/life-cycle.d.ts +3 -2
- package/dist/api/base/weapp/life-cycle.js +6 -2
- package/dist/api/base/weapp/life-cycle.js.map +1 -0
- package/dist/api/canvas/CanvasContext.d.ts +7 -2
- package/dist/api/canvas/CanvasContext.js +6 -10
- package/dist/api/canvas/CanvasContext.js.map +1 -0
- package/dist/api/canvas/canvasGetImageData.d.ts +2 -1
- package/dist/api/canvas/canvasGetImageData.js +7 -3
- package/dist/api/canvas/canvasGetImageData.js.map +1 -0
- package/dist/api/canvas/canvasPutImageData.d.ts +2 -1
- package/dist/api/canvas/canvasPutImageData.js +7 -3
- package/dist/api/canvas/canvasPutImageData.js.map +1 -0
- package/dist/api/canvas/canvasToTempFilePath.d.ts +2 -1
- package/dist/api/canvas/canvasToTempFilePath.js +7 -3
- package/dist/api/canvas/canvasToTempFilePath.js.map +1 -0
- package/dist/api/canvas/createCanvasContext.d.ts +2 -1
- package/dist/api/canvas/createCanvasContext.js +7 -3
- package/dist/api/canvas/createCanvasContext.js.map +1 -0
- package/dist/api/canvas/index.d.ts +6 -5
- package/dist/api/canvas/index.js +10 -10
- package/dist/api/canvas/index.js.map +1 -0
- package/dist/api/cloud/index.d.ts +2 -1
- package/dist/api/cloud/index.js +6 -2
- package/dist/api/cloud/index.js.map +1 -0
- package/dist/api/data-analysis/index.d.ts +5 -4
- package/dist/api/data-analysis/index.js +9 -5
- package/dist/api/data-analysis/index.js.map +1 -0
- package/dist/api/device/accelerometer.d.ts +5 -4
- package/dist/api/device/accelerometer.js +11 -6
- package/dist/api/device/accelerometer.js.map +1 -0
- package/dist/api/device/accessibility.d.ts +2 -1
- package/dist/api/device/accessibility.js +6 -2
- package/dist/api/device/accessibility.js.map +1 -0
- package/dist/api/device/battery.d.ts +3 -2
- package/dist/api/device/battery.js +9 -13
- package/dist/api/device/battery.js.map +1 -0
- package/dist/api/device/bluetooth-ble.d.ts +17 -16
- package/dist/api/device/bluetooth-ble.js +21 -17
- package/dist/api/device/bluetooth-ble.js.map +1 -0
- package/dist/api/device/bluetooth-peripheral.d.ts +4 -3
- package/dist/api/device/bluetooth-peripheral.js +8 -4
- package/dist/api/device/bluetooth-peripheral.js.map +1 -0
- package/dist/api/device/bluetooth.d.ts +14 -13
- package/dist/api/device/bluetooth.js +18 -14
- package/dist/api/device/bluetooth.js.map +1 -0
- package/dist/api/device/calendar.d.ts +3 -2
- package/dist/api/device/calendar.js +7 -3
- package/dist/api/device/calendar.js.map +1 -0
- package/dist/api/device/clipboard.d.ts +3 -2
- package/dist/api/device/clipboard.js +10 -14
- package/dist/api/device/clipboard.js.map +1 -0
- package/dist/api/device/compass.d.ts +5 -4
- package/dist/api/device/compass.js +12 -7
- package/dist/api/device/compass.js.map +1 -0
- package/dist/api/device/contact.d.ts +3 -2
- package/dist/api/device/contact.js +7 -3
- package/dist/api/device/contact.js.map +1 -0
- package/dist/api/device/crypto.d.ts +2 -1
- package/dist/api/device/crypto.js +6 -2
- package/dist/api/device/crypto.js.map +1 -0
- package/dist/api/device/gyroscope.d.ts +5 -4
- package/dist/api/device/gyroscope.js +9 -5
- package/dist/api/device/gyroscope.js.map +1 -0
- package/dist/api/device/iBeacon.d.ts +8 -7
- package/dist/api/device/iBeacon.js +12 -8
- package/dist/api/device/iBeacon.js.map +1 -0
- package/dist/api/device/index.d.ts +23 -23
- package/dist/api/device/index.js +24 -23
- package/dist/api/device/index.js.map +1 -0
- package/dist/api/device/keyboard.d.ts +5 -4
- package/dist/api/device/keyboard.js +9 -5
- package/dist/api/device/keyboard.js.map +1 -0
- package/dist/api/device/memory.d.ts +3 -2
- package/dist/api/device/memory.js +7 -3
- package/dist/api/device/memory.js.map +1 -0
- package/dist/api/device/motion.d.ts +5 -4
- package/dist/api/device/motion.js +11 -6
- package/dist/api/device/motion.js.map +1 -0
- package/dist/api/device/network.d.ts +7 -6
- package/dist/api/device/network.js +13 -17
- package/dist/api/device/network.js.map +1 -0
- package/dist/api/device/nfc.d.ts +8 -7
- package/dist/api/device/nfc.js +12 -8
- package/dist/api/device/nfc.js.map +1 -0
- package/dist/api/device/phone.d.ts +2 -1
- package/dist/api/device/phone.js +7 -3
- package/dist/api/device/phone.js.map +1 -0
- package/dist/api/device/scan.d.ts +2 -1
- package/dist/api/device/scan.js +6 -2
- package/dist/api/device/scan.js.map +1 -0
- package/dist/api/device/screen.d.ts +7 -6
- package/dist/api/device/screen.js +11 -7
- package/dist/api/device/screen.js.map +1 -0
- package/dist/api/device/vibrate.d.ts +3 -2
- package/dist/api/device/vibrate.js +7 -3
- package/dist/api/device/vibrate.js.map +1 -0
- package/dist/api/device/wifi.d.ts +12 -11
- package/dist/api/device/wifi.js +16 -12
- package/dist/api/device/wifi.js.map +1 -0
- package/dist/api/ext/index.d.ts +3 -2
- package/dist/api/ext/index.js +7 -3
- package/dist/api/ext/index.js.map +1 -0
- package/dist/api/files/index.d.ts +9 -8
- package/dist/api/files/index.js +13 -9
- package/dist/api/files/index.js.map +1 -0
- package/dist/api/framework/index.d.ts +3 -2
- package/dist/api/framework/index.js +7 -3
- package/dist/api/framework/index.js.map +1 -0
- package/dist/api/index.d.ts +24 -24
- package/dist/api/index.js +117 -24
- package/dist/api/index.js.map +1 -0
- package/dist/api/location/chooseLocation.d.ts +2 -2
- package/dist/api/location/chooseLocation.js +8 -14
- package/dist/api/location/chooseLocation.js.map +1 -0
- package/dist/api/location/getLocation.d.ts +2 -1
- package/dist/api/location/getLocation.js +7 -3
- package/dist/api/location/getLocation.js.map +1 -0
- package/dist/api/location/index.d.ts +13 -12
- package/dist/api/location/index.js +17 -13
- package/dist/api/location/index.js.map +1 -0
- package/dist/api/location/style.scss.js +8 -0
- package/dist/api/location/style.scss.js.map +1 -0
- package/dist/api/media/audio/InnerAudioContext.d.ts +3 -2
- package/dist/api/media/audio/InnerAudioContext.js +7 -3
- package/dist/api/media/audio/InnerAudioContext.js.map +1 -0
- package/dist/api/media/audio/index.d.ts +10 -9
- package/dist/api/media/audio/index.js +15 -11
- package/dist/api/media/audio/index.js.map +1 -0
- package/dist/api/media/background-audio/BackgroundAudioManager.d.ts +3 -2
- package/dist/api/media/background-audio/BackgroundAudioManager.js +7 -3
- package/dist/api/media/background-audio/BackgroundAudioManager.js.map +1 -0
- package/dist/api/media/background-audio/index.d.ts +11 -10
- package/dist/api/media/background-audio/index.js +15 -11
- package/dist/api/media/background-audio/index.js.map +1 -0
- package/dist/api/media/camera.d.ts +2 -1
- package/dist/api/media/camera.js +6 -2
- package/dist/api/media/camera.js.map +1 -0
- package/dist/api/media/image/chooseImage.d.ts +2 -1
- package/dist/api/media/image/chooseImage.js +7 -3
- package/dist/api/media/image/chooseImage.js.map +1 -0
- package/dist/api/media/image/getImageInfo.d.ts +2 -1
- package/dist/api/media/image/getImageInfo.js +7 -3
- package/dist/api/media/image/getImageInfo.js.map +1 -0
- package/dist/api/media/image/index.d.ts +8 -7
- package/dist/api/media/image/index.js +12 -8
- package/dist/api/media/image/index.js.map +1 -0
- package/dist/api/media/image/previewImage.d.ts +2 -1
- package/dist/api/media/image/previewImage.js +15 -12
- package/dist/api/media/image/previewImage.js.map +1 -0
- package/dist/api/media/index.d.ts +12 -12
- package/dist/api/media/index.js +13 -12
- package/dist/api/media/index.js.map +1 -0
- package/dist/api/media/live.d.ts +3 -2
- package/dist/api/media/live.js +7 -3
- package/dist/api/media/live.js.map +1 -0
- package/dist/api/media/map.d.ts +2 -1
- package/dist/api/media/map.js +6 -2
- package/dist/api/media/map.js.map +1 -0
- package/dist/api/media/media-recorder.d.ts +2 -1
- package/dist/api/media/media-recorder.js +6 -2
- package/dist/api/media/media-recorder.js.map +1 -0
- package/dist/api/media/recorder.d.ts +4 -3
- package/dist/api/media/recorder.js +8 -4
- package/dist/api/media/recorder.js.map +1 -0
- package/dist/api/media/video/index.d.ts +8 -7
- package/dist/api/media/video/index.js +13 -9
- package/dist/api/media/video/index.js.map +1 -0
- package/dist/api/media/video-decoder.d.ts +2 -1
- package/dist/api/media/video-decoder.js +6 -2
- package/dist/api/media/video-decoder.js.map +1 -0
- package/dist/api/media/video-processing.d.ts +2 -1
- package/dist/api/media/video-processing.js +6 -2
- package/dist/api/media/video-processing.js.map +1 -0
- package/dist/api/media/voip.d.ts +15 -14
- package/dist/api/media/voip.js +19 -15
- package/dist/api/media/voip.js.map +1 -0
- package/dist/api/navigate/index.d.ts +6 -5
- package/dist/api/navigate/index.js +10 -6
- package/dist/api/navigate/index.js.map +1 -0
- package/dist/api/network/download.d.ts +2 -1
- package/dist/api/network/download.js +14 -5
- package/dist/api/network/download.js.map +1 -0
- package/dist/api/network/index.d.ts +7 -7
- package/dist/api/network/index.js +8 -7
- package/dist/api/network/index.js.map +1 -0
- package/dist/api/network/mdns.d.ts +11 -10
- package/dist/api/network/mdns.js +15 -11
- package/dist/api/network/mdns.js.map +1 -0
- package/dist/api/network/request/index.d.ts +3 -3
- package/dist/api/network/request/index.js +8 -4
- package/dist/api/network/request/index.js.map +1 -0
- package/dist/api/network/tcp.d.ts +2 -1
- package/dist/api/network/tcp.js +6 -2
- package/dist/api/network/tcp.js.map +1 -0
- package/dist/api/network/udp.d.ts +2 -1
- package/dist/api/network/udp.js +6 -2
- package/dist/api/network/udp.js.map +1 -0
- package/dist/api/network/upload.d.ts +2 -1
- package/dist/api/network/upload.js +14 -5
- package/dist/api/network/upload.js.map +1 -0
- package/dist/api/network/utils.d.ts +5 -4
- package/dist/api/network/utils.js +7 -4
- package/dist/api/network/utils.js.map +1 -0
- package/dist/api/network/websocket/index.d.ts +8 -7
- package/dist/api/network/websocket/index.js +14 -10
- package/dist/api/network/websocket/index.js.map +1 -0
- package/dist/api/network/websocket/socketTask.d.ts +2 -1
- package/dist/api/network/websocket/socketTask.js +5 -1
- package/dist/api/network/websocket/socketTask.js.map +1 -0
- package/dist/api/open-api/account.d.ts +2 -1
- package/dist/api/open-api/account.js +6 -2
- package/dist/api/open-api/account.js.map +1 -0
- package/dist/api/open-api/address.d.ts +2 -1
- package/dist/api/open-api/address.js +6 -2
- package/dist/api/open-api/address.js.map +1 -0
- package/dist/api/open-api/authorize.d.ts +3 -2
- package/dist/api/open-api/authorize.js +7 -3
- package/dist/api/open-api/authorize.js.map +1 -0
- package/dist/api/open-api/card.d.ts +3 -2
- package/dist/api/open-api/card.js +7 -3
- package/dist/api/open-api/card.js.map +1 -0
- package/dist/api/open-api/channels-live.d.ts +7 -6
- package/dist/api/open-api/channels-live.js +11 -7
- package/dist/api/open-api/channels-live.js.map +1 -0
- package/dist/api/open-api/customer-service.d.ts +2 -1
- package/dist/api/open-api/customer-service.js +6 -2
- package/dist/api/open-api/customer-service.js.map +1 -0
- package/dist/api/open-api/facial.d.ts +5 -4
- package/dist/api/open-api/facial.js +9 -5
- package/dist/api/open-api/facial.js.map +1 -0
- package/dist/api/open-api/favorites.d.ts +3 -2
- package/dist/api/open-api/favorites.js +7 -3
- package/dist/api/open-api/favorites.js.map +1 -0
- package/dist/api/open-api/group.d.ts +2 -1
- package/dist/api/open-api/group.js +6 -2
- package/dist/api/open-api/group.js.map +1 -0
- package/dist/api/open-api/index.d.ts +18 -18
- package/dist/api/open-api/index.js +19 -18
- package/dist/api/open-api/index.js.map +1 -0
- package/dist/api/open-api/invoice.d.ts +3 -2
- package/dist/api/open-api/invoice.js +7 -3
- package/dist/api/open-api/invoice.js.map +1 -0
- package/dist/api/open-api/license-plate.d.ts +2 -1
- package/dist/api/open-api/license-plate.js +6 -2
- package/dist/api/open-api/license-plate.js.map +1 -0
- package/dist/api/open-api/login.d.ts +4 -3
- package/dist/api/open-api/login.js +8 -4
- package/dist/api/open-api/login.js.map +1 -0
- package/dist/api/open-api/red-package.d.ts +2 -1
- package/dist/api/open-api/red-package.js +6 -2
- package/dist/api/open-api/red-package.js.map +1 -0
- package/dist/api/open-api/settings.d.ts +3 -2
- package/dist/api/open-api/settings.js +7 -3
- package/dist/api/open-api/settings.js.map +1 -0
- package/dist/api/open-api/soter.d.ts +4 -3
- package/dist/api/open-api/soter.js +8 -4
- package/dist/api/open-api/soter.js.map +1 -0
- package/dist/api/open-api/subscribe-message.d.ts +2 -1
- package/dist/api/open-api/subscribe-message.js +6 -2
- package/dist/api/open-api/subscribe-message.js.map +1 -0
- package/dist/api/open-api/user-info.d.ts +3 -2
- package/dist/api/open-api/user-info.js +7 -3
- package/dist/api/open-api/user-info.js.map +1 -0
- package/dist/api/open-api/werun.d.ts +3 -2
- package/dist/api/open-api/werun.js +7 -3
- package/dist/api/open-api/werun.js.map +1 -0
- package/dist/api/payment/index.d.ts +3 -2
- package/dist/api/payment/index.js +7 -3
- package/dist/api/payment/index.js.map +1 -0
- package/dist/api/route/index.js +3 -1
- package/dist/api/route/index.js.map +1 -0
- package/dist/api/share/index.d.ts +11 -10
- package/dist/api/share/index.js +15 -11
- package/dist/api/share/index.js.map +1 -0
- package/dist/api/storage/background-fetch.d.ts +5 -4
- package/dist/api/storage/background-fetch.js +9 -5
- package/dist/api/storage/background-fetch.js.map +1 -0
- package/dist/api/storage/index.d.ts +14 -13
- package/dist/api/storage/index.js +19 -15
- package/dist/api/storage/index.js.map +1 -0
- package/dist/api/swan/index.d.ts +22 -21
- package/dist/api/swan/index.js +26 -22
- package/dist/api/swan/index.js.map +1 -0
- package/dist/api/taro.d.ts +1 -2
- package/dist/api/taro.js +17 -12
- package/dist/api/taro.js.map +1 -0
- package/dist/api/ui/animation/index.d.ts +2 -1
- package/dist/api/ui/animation/index.js +4 -1
- package/dist/api/ui/animation/index.js.map +1 -0
- package/dist/api/ui/background.d.ts +3 -2
- package/dist/api/ui/background.js +7 -3
- package/dist/api/ui/background.js.map +1 -0
- package/dist/api/ui/custom-component.d.ts +2 -1
- package/dist/api/ui/custom-component.js +5 -1
- package/dist/api/ui/custom-component.js.map +1 -0
- package/dist/api/ui/fonts.d.ts +2 -1
- package/dist/api/ui/fonts.js +7 -11
- package/dist/api/ui/fonts.js.map +1 -0
- package/dist/api/ui/index.d.ts +12 -12
- package/dist/api/ui/index.js +13 -12
- package/dist/api/ui/index.js.map +1 -0
- package/dist/api/ui/interaction/actionSheet.d.ts +2 -1
- package/dist/api/ui/interaction/actionSheet.js +6 -2
- package/dist/api/ui/interaction/actionSheet.js.map +1 -0
- package/dist/api/ui/interaction/index.js +9 -14
- package/dist/api/ui/interaction/index.js.map +1 -0
- package/dist/api/ui/interaction/modal.d.ts +2 -1
- package/dist/api/ui/interaction/modal.js +6 -2
- package/dist/api/ui/interaction/modal.js.map +1 -0
- package/dist/api/ui/interaction/toast.d.ts +2 -1
- package/dist/api/ui/interaction/toast.js +6 -2
- package/dist/api/ui/interaction/toast.js.map +1 -0
- package/dist/api/ui/menu.d.ts +2 -1
- package/dist/api/ui/menu.js +6 -2
- package/dist/api/ui/menu.js.map +1 -0
- package/dist/api/ui/navigation-bar/index.d.ts +6 -5
- package/dist/api/ui/navigation-bar/index.js +11 -7
- package/dist/api/ui/navigation-bar/index.js.map +1 -0
- package/dist/api/ui/pull-down-refresh.d.ts +3 -2
- package/dist/api/ui/pull-down-refresh.js +7 -3
- package/dist/api/ui/pull-down-refresh.js.map +1 -0
- package/dist/api/ui/scroll/index.d.ts +2 -1
- package/dist/api/ui/scroll/index.js +8 -3
- package/dist/api/ui/scroll/index.js.map +1 -0
- package/dist/api/ui/sticky.d.ts +2 -1
- package/dist/api/ui/sticky.js +6 -2
- package/dist/api/ui/sticky.js.map +1 -0
- package/dist/api/ui/tab-bar.d.ts +12 -10
- package/dist/api/ui/tab-bar.js +16 -11
- package/dist/api/ui/tab-bar.js.map +1 -0
- package/dist/api/ui/window.d.ts +4 -3
- package/dist/api/ui/window.js +9 -5
- package/dist/api/ui/window.js.map +1 -0
- package/dist/api/worker/index.d.ts +2 -1
- package/dist/api/worker/index.js +6 -2
- package/dist/api/worker/index.js.map +1 -0
- package/dist/api/wxml/IntersectionObserver.d.ts +3 -3
- package/dist/api/wxml/IntersectionObserver.js +6 -2
- package/dist/api/wxml/IntersectionObserver.js.map +1 -0
- package/dist/api/wxml/MediaQueryObserver.d.ts +4 -1
- package/dist/api/wxml/MediaQueryObserver.js +6 -2
- package/dist/api/wxml/MediaQueryObserver.js.map +1 -0
- package/dist/api/wxml/index.d.ts +4 -3
- package/dist/api/wxml/index.js +10 -6
- package/dist/api/wxml/index.js.map +1 -0
- package/dist/api/wxml/nodesRef.d.ts +3 -2
- package/dist/api/wxml/nodesRef.js +4 -1
- package/dist/api/wxml/nodesRef.js.map +1 -0
- package/dist/api/wxml/selectorQuery.d.ts +4 -4
- package/dist/api/wxml/selectorQuery.js +8 -4
- package/dist/api/wxml/selectorQuery.js.map +1 -0
- package/dist/index.cjs.d.ts +8 -4
- package/dist/index.cjs.js +14289 -84
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.esm.d.ts +8 -4
- package/dist/index.esm.js +14288 -84
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +113 -4
- package/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/registry.npmjs.org_@stencil_core@2.22.2/node_modules/@stencil/core/internal/app-data/index.js +89 -0
- 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
- package/dist/node_modules/.pnpm/registry.npmjs.org_@stencil_core@2.22.2/node_modules/@stencil/core/internal/client/index.js +3371 -0
- package/dist/node_modules/.pnpm/registry.npmjs.org_@stencil_core@2.22.2/node_modules/@stencil/core/internal/client/index.js.map +1 -0
- package/dist/node_modules/.pnpm/registry.npmjs.org_@stencil_core@2.22.2/node_modules/@stencil/core/internal/client/shadow-css.js +388 -0
- 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
- package/dist/node_modules/.pnpm/registry.npmjs.org_style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +29 -0
- 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
- package/dist/node_modules/.pnpm/registry.npmjs.org_tslib@1.14.1/node_modules/tslib/tslib.es6.js +221 -0
- package/dist/node_modules/.pnpm/registry.npmjs.org_tslib@1.14.1/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/packages/taro-components/dist/components/index2.js +77 -0
- package/dist/packages/taro-components/dist/components/index2.js.map +1 -0
- package/dist/packages/taro-components/dist/components/index3.js +35 -0
- package/dist/packages/taro-components/dist/components/index3.js.map +1 -0
- package/dist/packages/taro-components/dist/components/taro-swiper-core.js +10171 -0
- package/dist/packages/taro-components/dist/components/taro-swiper-core.js.map +1 -0
- package/dist/packages/taro-components/dist/components/taro-swiper-item-core.js +69 -0
- package/dist/packages/taro-components/dist/components/taro-swiper-item-core.js.map +1 -0
- package/dist/utils/animation.d.ts +3 -2
- package/dist/utils/animation.js +5 -2
- package/dist/utils/animation.js.map +1 -0
- package/dist/utils/handler.d.ts +7 -7
- package/dist/utils/handler.js +7 -4
- package/dist/utils/handler.js.map +1 -0
- package/dist/utils/index.d.ts +16 -16
- package/dist/utils/index.js +26 -23
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/lodash.d.ts +3 -2
- package/dist/utils/lodash.js +5 -2
- package/dist/utils/lodash.js.map +1 -0
- package/dist/utils/valid.d.ts +2 -1
- package/dist/utils/valid.js +4 -1
- package/dist/utils/valid.js.map +1 -0
- package/package.json +10 -10
- package/types/define.d.ts +2 -0
- package/dist/api/location/style.css +0 -79
- package/dist/api/media/EditorContext.d.ts +0 -16
- package/dist/api/media/EditorContext.js +0 -19
- package/dist/taroApis.d.ts +0 -754
- package/dist/taroApis.js +0 -2
- package/dist/taroApis.js.map +0 -1
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
7
|
+
function sendSocketMessage() {
|
|
7
8
|
console.warn('Deprecated.Please use socketTask.send instead.');
|
|
8
9
|
}
|
|
9
|
-
|
|
10
|
+
function onSocketOpen() {
|
|
10
11
|
console.warn('Deprecated.Please use socketTask.onOpen instead.');
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
+
function onSocketMessage() {
|
|
13
14
|
console.warn('Deprecated.Please use socketTask.onMessage instead.');
|
|
14
15
|
}
|
|
15
|
-
|
|
16
|
+
function onSocketError() {
|
|
16
17
|
console.warn('Deprecated.Please use socketTask.onError instead.');
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
+
function onSocketClose() {
|
|
19
20
|
console.warn('Deprecated.Please use socketTask.onClose instead.');
|
|
20
21
|
}
|
|
21
|
-
|
|
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
|
-
|
|
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":";;;;AAIA,IAAI,WAAW,GAAiB,EAAE,CAAA;AAClC,IAAI,cAAc,GAAG,CAAC,CAAA;SAEN,iBAAiB,GAAA;AAC/B,IAAA,OAAO,CAAC,IAAI,CAAC,gDAAgD,CAAC,CAAA;AAChE,CAAC;SAEe,YAAY,GAAA;AAC1B,IAAA,OAAO,CAAC,IAAI,CAAC,kDAAkD,CAAC,CAAA;AAClE,CAAC;SAEe,eAAe,GAAA;AAC7B,IAAA,OAAO,CAAC,IAAI,CAAC,qDAAqD,CAAC,CAAA;AACrE,CAAC;SAEe,aAAa,GAAA;AAC3B,IAAA,OAAO,CAAC,IAAI,CAAC,mDAAmD,CAAC,CAAA;AACnE,CAAC;SAEe,aAAa,GAAA;AAC3B,IAAA,OAAO,CAAC,IAAI,CAAC,mDAAmD,CAAC,CAAA;AACnE,CAAC;AAEK,SAAU,aAAa,CAAE,OAAmC,EAAA;IAChE,MAAM,IAAI,GAAG,eAAe,CAAA;IAE5B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,KAAI;;AAErC,QAAA,MAAM,QAAQ,GAAG,cAAc,CAAC,OAAO,CAAC,CAAA;AACxC,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE;AAClB,YAAA,MAAM,GAAG,GAAG,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAA,MAAA,EAAS,QAAQ,CAAC,GAAG,CAAA,CAAE,EAAE,CAAA;AACtD,YAAA,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AACzB,YAAA,OAAO,MAAM,CAAC,GAAG,CAAC,CAAA;AACnB,SAAA;AACD,QAAA,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,OAA6C,CAAA;AACjG,QAAA,MAAM,MAAM,GAAG,IAAI,aAAa,CAE7B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAA;;AAGrC,QAAA,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;YAC3B,OAAO,MAAM,CAAC,IAAI,CAAC;gBACjB,MAAM,EAAE,iBAAiB,CAAC;AACxB,oBAAA,IAAI,EAAE,KAAK;AACX,oBAAA,OAAO,EAAE,QAAQ;AACjB,oBAAA,KAAK,EAAE,GAAG;iBACX,CAAC;AACH,aAAA,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAA;AACxB,SAAA;;AAGD,QAAA,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;YACzD,OAAO,MAAM,CAAC,IAAI,CAAC;gBACjB,MAAM,EAAE,CAA6B,0BAAA,EAAA,GAAG,CAAG,CAAA,CAAA;AAC5C,aAAA,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAA;AACxB,SAAA;;AAGD,QAAA,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAA;;AAG9D,QAAA,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE;YAC1B,OAAO,MAAM,CAAC,IAAI,CAAC;AACjB,gBAAA,MAAM,EAAE,+BAA+B;AACxC,aAAA,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAA;AACxB,SAAA;QAED,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC5C,IAAI,CAAC,iBAAiB,GAAG,YAAA;AACvB,YAAA,WAAW,GAAG,WAAW,CAAC,MAAM,CAAC,UAAU,IAAI,UAAU,KAAK,IAAI,CAAC,CAAA;AACrE,SAAC,CAAA;AACD,QAAA,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAEtB,MAAM,CAAC,OAAO,CAAC;YACb,YAAY,EAAE,cAAc,EAAE;AAC/B,SAAA,CAAC,CAAA;AAEF,QAAA,OAAO,OAAO,CAAC,IAAI,CAAC,CAAA;AACtB,KAAC,CAAC,CAAA;AACJ,CAAC;SAEe,WAAW,GAAA;AACzB,IAAA,OAAO,CAAC,IAAI,CAAC,iDAAiD,CAAC,CAAA;AACjE;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Taro from '@tarojs/api';
|
|
2
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2
|
-
|
|
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
|
-
|
|
4
|
-
|
|
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
|
-
|
|
2
|
-
|
|
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
|
-
|
|
4
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
2
|
-
|
|
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
|
-
|
|
4
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
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
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
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
|
-
|
|
2
|
-
|
|
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
|
-
|
|
4
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2
|
-
|
|
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
|
-
|
|
4
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4
|
+
const requestSubscribeMessage = temporarilyNotSupport('requestSubscribeMessage');
|
|
5
|
+
|
|
6
|
+
export { requestSubscribeMessage };
|
|
7
|
+
//# sourceMappingURL=subscribe-message.js.map
|