@wevu/api 0.2.12 → 0.2.14
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/README.md +5 -5
- package/dist/index.d.mts +9 -9
- package/dist/index.mjs +40 -28
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
|
|
37
37
|
| 平台 | 可调用 API 数 | 语义对齐 API 数 | fallback API 数 | API 总数 | 可调用覆盖率 | 语义对齐覆盖率 |
|
|
38
38
|
| --- | --- | --- | --- | --- | --- | --- |
|
|
39
|
-
| 微信小程序 (`wx`) |
|
|
40
|
-
| 支付宝小程序 (`my`) | 201 | 201 | 0 |
|
|
41
|
-
| 抖音小程序 (`tt`) | 133 | 133 | 0 |
|
|
42
|
-
| 三端可调用完全对齐 (wx/my/tt) | 117 | - | - |
|
|
43
|
-
| 三端语义完全对齐 (wx/my/tt) | - | 117 | - |
|
|
39
|
+
| 微信小程序 (`wx`) | 495 | 495 | 0 | 495 | 100.00% | 100.00% |
|
|
40
|
+
| 支付宝小程序 (`my`) | 201 | 201 | 0 | 495 | 40.61% | 40.61% |
|
|
41
|
+
| 抖音小程序 (`tt`) | 133 | 133 | 0 | 495 | 26.87% | 26.87% |
|
|
42
|
+
| 三端可调用完全对齐 (wx/my/tt) | 117 | - | - | 495 | 23.64% | - |
|
|
43
|
+
| 三端语义完全对齐 (wx/my/tt) | - | 117 | - | 495 | - | 23.64% |
|
|
44
44
|
|
|
45
45
|
> 该报告由 `WEAPI_METHOD_SUPPORT_MATRIX` 与映射规则自动计算生成。
|
|
46
46
|
|
package/dist/index.d.mts
CHANGED
|
@@ -8306,11 +8306,11 @@ declare function createWeapi<TAdapter extends WeapiAdapter = WeapiCrossPlatformR
|
|
|
8306
8306
|
declare const WEAPI_TYPE_SOURCES: {
|
|
8307
8307
|
readonly default: {
|
|
8308
8308
|
readonly package: "miniprogram-api-typings";
|
|
8309
|
-
readonly version: "5.2.
|
|
8309
|
+
readonly version: "5.2.2";
|
|
8310
8310
|
};
|
|
8311
8311
|
readonly wechat: {
|
|
8312
8312
|
readonly package: "miniprogram-api-typings";
|
|
8313
|
-
readonly version: "5.2.
|
|
8313
|
+
readonly version: "5.2.2";
|
|
8314
8314
|
};
|
|
8315
8315
|
readonly alipay: {
|
|
8316
8316
|
readonly package: "@mini-types/alipay";
|
|
@@ -8322,7 +8322,7 @@ declare const WEAPI_TYPE_SOURCES: {
|
|
|
8322
8322
|
};
|
|
8323
8323
|
readonly wx: {
|
|
8324
8324
|
readonly package: "miniprogram-api-typings";
|
|
8325
|
-
readonly version: "5.2.
|
|
8325
|
+
readonly version: "5.2.2";
|
|
8326
8326
|
};
|
|
8327
8327
|
readonly my: {
|
|
8328
8328
|
readonly package: "@mini-types/alipay";
|
|
@@ -8336,11 +8336,11 @@ declare const WEAPI_TYPE_SOURCES: {
|
|
|
8336
8336
|
declare const WEAPI_PLATFORM_TYPE_SOURCES: {
|
|
8337
8337
|
readonly default: {
|
|
8338
8338
|
readonly package: "miniprogram-api-typings";
|
|
8339
|
-
readonly version: "5.2.
|
|
8339
|
+
readonly version: "5.2.2";
|
|
8340
8340
|
};
|
|
8341
8341
|
readonly wechat: {
|
|
8342
8342
|
readonly package: "miniprogram-api-typings";
|
|
8343
|
-
readonly version: "5.2.
|
|
8343
|
+
readonly version: "5.2.2";
|
|
8344
8344
|
};
|
|
8345
8345
|
readonly alipay: {
|
|
8346
8346
|
readonly package: "@mini-types/alipay";
|
|
@@ -8354,7 +8354,7 @@ declare const WEAPI_PLATFORM_TYPE_SOURCES: {
|
|
|
8354
8354
|
declare const WEAPI_RUNTIME_TYPE_SOURCES: {
|
|
8355
8355
|
readonly wx: {
|
|
8356
8356
|
readonly package: "miniprogram-api-typings";
|
|
8357
|
-
readonly version: "5.2.
|
|
8357
|
+
readonly version: "5.2.2";
|
|
8358
8358
|
};
|
|
8359
8359
|
readonly my: {
|
|
8360
8360
|
readonly package: "@mini-types/alipay";
|
|
@@ -8367,11 +8367,11 @@ declare const WEAPI_RUNTIME_TYPE_SOURCES: {
|
|
|
8367
8367
|
};
|
|
8368
8368
|
//#endregion
|
|
8369
8369
|
//#region src/core/apiCatalog/index.d.ts
|
|
8370
|
-
declare const WEAPI_WECHAT_METHODS: readonly ["addCard", "addFileToFavorites", "addPaymentPassFinish", "addPaymentPassGetCertificateData", "addPhoneCalendar", "addPhoneContact", "addPhoneRepeatCalendar", "addVideoToFavorites", "arrayBufferToBase64", "authorize", "authorizeForMiniProgram", "authPrivateMessage", "base64ToArrayBuffer", "batchGetStorage", "batchGetStorageSync", "batchSetStorage", "batchSetStorageSync", "bindEmployeeRelation", "canAddSecureElementPass", "cancelIdleCallback", "canIUse", "canvasGetImageData", "canvasPutImageData", "canvasToTempFilePath", "checkDeviceSupportHevc", "checkEmployeeRelation", "checkIsAddedToMyMiniProgram", "checkIsOpenAccessibility", "checkIsPictureInPictureActive", "checkIsSoterEnrolledInDevice", "checkIsSupportFacialRecognition", "checkIsSupportSoterAuthentication", "checkSession", "chooseAddress", "chooseContact", "chooseImage", "chooseInvoice", "chooseInvoiceTitle", "chooseLicensePlate", "chooseLocation", "chooseMedia", "chooseMessageFile", "choosePoi", "chooseVideo", "clearStorage", "clearStorageSync", "closeBLEConnection", "closeBluetoothAdapter", "closeSocket", "compressImage", "compressVideo", "connectSocket", "connectWifi", "createAnimation", "createAudioContext", "createBLEConnection", "createBLEPeripheralServer", "createBufferURL", "createCacheManager", "createCameraContext", "createCanvasContext", "createGlobalPayment", "createInferenceSession", "createInnerAudioContext", "createIntersectionObserver", "createInterstitialAd", "createLivePlayerContext", "createLivePusherContext", "createMapContext", "createMediaAudioPlayer", "createMediaContainer", "createMediaRecorder", "createOffscreenCanvas", "createRewardedVideoAd", "createSelectorQuery", "createTCPSocket", "createUDPSocket", "createVideoContext", "createVideoDecoder", "createVKSession", "createWebAudioContext", "createWorker", "cropImage", "disableAlertBeforeUnload", "downloadFile", "editImage", "enableAlertBeforeUnload", "enterChatToolMode", "exitMiniProgram", "exitVoIPChat", "faceDetect", "getAccountInfoSync", "getApiCategory", "getAppAuthorizeSetting", "getAppBaseInfo", "getAvailableAudioSources", "getBackgroundAudioManager", "getBackgroundAudioPlayerState", "getBackgroundFetchData", "getBackgroundFetchToken", "getBatteryInfo", "getBatteryInfoSync", "getBeacons", "getBLEDeviceCharacteristics", "getBLEDeviceRSSI", "getBLEDeviceServices", "getBLEMTU", "getBluetoothAdapterState", "getBluetoothDevices", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getChannelsShareKey", "getChatToolInfo", "getClipboardData", "getCommonConfig", "getConnectedBluetoothDevices", "getConnectedWifi", "getDeviceBenchmarkInfo", "getDeviceInfo", "getDeviceVoIPList", "getEnterOptionsSync", "getExptInfoSync", "getExtConfig", "getExtConfigSync", "getFileSystemManager", "getFuzzyLocation", "getGroupEnterInfo", "getHCEState", "getImageInfo", "getInferenceEnvInfo", "getLaunchOptionsSync", "getLocalIPAddress", "getLocation", "getLogManager", "getMenuButtonBoundingClientRect", "getNetworkType", "getNFCAdapter", "getPerformance", "getPrivacySetting", "getRandomValues", "getRealtimeLogManager", "getRecorderManager", "getRendererUserAgent", "getScreenBrightness", "getScreenRecordingState", "getSecureElementPasses", "getSelectedTextRange", "getSetting", "getShareInfo", "getShowSplashAdStatus", "getSkylineInfo", "getSkylineInfoSync", "getStorage", "getStorageInfo", "getStorageInfoSync", "getStorageSync", "getSystemInfo", "getSystemInfoAsync", "getSystemInfoSync", "getSystemSetting", "getUpdateManager", "getUserCryptoManager", "getUserInfo", "getUserProfile", "getVideoInfo", "getWeRunData", "getWifiList", "getWindowInfo", "getXrFrameSystem", "hideHomeButton", "hideKeyboard", "hideLoading", "hideNavigationBarLoading", "hideShareMenu", "hideTabBar", "hideTabBarRedDot", "hideToast", "initFaceDetect", "isBluetoothDevicePaired", "isVKSupport", "join1v1Chat", "joinVoIPChat", "loadBuiltInFontFace", "loadFontFace", "login", "makeBluetoothPair", "makePhoneCall", "navigateBack", "navigateBackMiniProgram", "navigateTo", "navigateToMiniProgram", "nextTick", "notifyBLECharacteristicValueChange", "notifyGroupMembers", "offAccelerometerChange", "offAfterPageLoad", "offAfterPageUnload", "offApiCategoryChange", "offAppHide", "offAppRoute", "offAppRouteDone", "offAppShow", "offAudioInterruptionBegin", "offAudioInterruptionEnd", "offBatteryInfoChange", "offBeaconServiceChange", "offBeaconUpdate", "offBeforeAppRoute", "offBeforePageLoad", "offBeforePageUnload", "offBLECharacteristicValueChange", "offBLEConnectionStateChange", "offBLEMTUChange", "offBLEPeripheralConnectionStateChanged", "offBluetoothAdapterStateChange", "offBluetoothDeviceFound", "offCompassChange", "offCopyUrl", "offDeviceMotionChange", "offEmbeddedMiniProgramHeightChange", "offError", "offGeneratePoster", "offGetWifiList", "offGyroscopeChange", "offHCEMessage", "offKeyboardHeightChange", "offKeyDown", "offKeyUp", "offLazyLoadError", "offLocalServiceDiscoveryStop", "offLocalServiceFound", "offLocalServiceLost", "offLocalServiceResolveFail", "offLocationChange", "offLocationChangeError", "offMemoryWarning", "offMenuButtonBoundingClientRectWeightChange", "offNetworkStatusChange", "offNetworkWeakChange", "offPageNotFound", "offParallelStateChange", "offScreenRecordingStateChanged", "offThemeChange", "offUnhandledRejection", "offUserCaptureScreen", "offUserOffTranslation", "offUserTriggerTranslation", "offVoIPChatInterrupted", "offVoIPChatMembersChanged", "offVoIPChatSpeakersChanged", "offVoIPChatStateChanged", "offVoIPVideoMembersChanged", "offWifiConnected", "offWifiConnectedWithPartialInfo", "offWindowResize", "offWindowStateChange", "onAccelerometerChange", "onAfterPageLoad", "onAfterPageUnload", "onApiCategoryChange", "onAppHide", "onAppRoute", "onAppRouteDone", "onAppShow", "onAudioInterruptionBegin", "onAudioInterruptionEnd", "onBackgroundAudioPause", "onBackgroundAudioPlay", "onBackgroundAudioStop", "onBackgroundFetchData", "onBatteryInfoChange", "onBeaconServiceChange", "onBeaconUpdate", "onBeforeAppRoute", "onBeforePageLoad", "onBeforePageUnload", "onBLECharacteristicValueChange", "onBLEConnectionStateChange", "onBLEMTUChange", "onBLEPeripheralConnectionStateChanged", "onBluetoothAdapterStateChange", "onBluetoothDeviceFound", "onCompassChange", "onCopyUrl", "onDeviceMotionChange", "onEmbeddedMiniProgramHeightChange", "onError", "onGeneratePoster", "onGetWifiList", "onGyroscopeChange", "onHCEMessage", "onKeyboardHeightChange", "onKeyDown", "onKeyUp", "onLazyLoadError", "onLocalServiceDiscoveryStop", "onLocalServiceFound", "onLocalServiceLost", "onLocalServiceResolveFail", "onLocationChange", "onLocationChangeError", "onMemoryWarning", "onMenuButtonBoundingClientRectWeightChange", "onNeedPrivacyAuthorization", "onNetworkStatusChange", "onNetworkWeakChange", "onPageNotFound", "onParallelStateChange", "onScreenRecordingStateChanged", "onSocketClose", "onSocketError", "onSocketMessage", "onSocketOpen", "onThemeChange", "onUnhandledRejection", "onUserCaptureScreen", "onUserOffTranslation", "onUserTriggerTranslation", "onVoIPChatInterrupted", "onVoIPChatMembersChanged", "onVoIPChatSpeakersChanged", "onVoIPChatStateChanged", "onVoIPVideoMembersChanged", "onWifiConnected", "onWifiConnectedWithPartialInfo", "onWindowResize", "onWindowStateChange", "openAppAuthorizeSetting", "openBluetoothAdapter", "openCard", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsLiveNoticeInfo", "openChannelsUserProfile", "openChatTool", "openCustomerServiceChat", "openDocument", "openEmbeddedMiniProgram", "openHKOfflinePayView", "openInquiriesTopic", "openLocation", "openOfficialAccountArticle", "openOfficialAccountChat", "openOfficialAccountProfile", "openPrivacyContract", "openSetting", "openSingleStickerView", "openStickerIPView", "openStickerSetView", "openStoreCouponDetail", "openStoreOrderDetail", "openSystemBluetoothSetting", "openVideoEditor", "pageScrollTo", "pauseBackgroundAudio", "pauseVoice", "playBackgroundAudio", "playVoice", "pluginLogin", "postMessageToReferrerMiniProgram", "postMessageToReferrerPage", "preDownloadSubpackage", "preloadAssets", "preloadSkylineView", "preloadWebview", "previewImage", "previewMedia", "readBLECharacteristicValue", "redirectTo", "reLaunch", "removeSecureElementPass", "removeStorage", "removeStorageSync", "removeTabBarBadge", "reportAnalytics", "reportEvent", "reportMonitor", "reportPerformance", "request", "requestCommonPayment", "requestDeviceVoIP", "requestFacialVerify", "requestIdleCallback", "requestMerchantTransfer", "requestOrderPayment", "requestPayment", "requestPluginPayment", "requestSubscribeDeviceMessage", "requestSubscribeEmployeeMessage", "requestSubscribeMessage", "requestVirtualPayment", "requirePrivacyAuthorize", "reserveChannelsLive", "restartMiniProgram", "revokeBufferURL", "rewriteRoute", "saveFileToDisk", "saveImageToPhotosAlbum", "saveVideoToPhotosAlbum", "scanCode", "seekBackgroundAudio", "selectGroupMembers", "sendHCEMessage", "sendSms", "sendSocketMessage", "setBackgroundColor", "setBackgroundFetchToken", "setBackgroundTextStyle", "setBLEMTU", "setClipboardData", "setEnable1v1Chat", "setEnableDebug", "setInnerAudioOption", "setKeepScreenOn", "setNavigationBarColor", "setNavigationBarTitle", "setScreenBrightness", "setStorage", "setStorageSync", "setTabBarBadge", "setTabBarItem", "setTabBarStyle", "setTopBarText", "setVisualEffectOnCapture", "setWifiList", "setWindowSize", "shareAppMessageToGroup", "shareEmojiToGroup", "shareFileMessage", "shareFileToGroup", "shareImageToGroup", "shareToOfficialAccount", "shareToWeRun", "shareVideoMessage", "shareVideoToGroup", "showActionSheet", "showLoading", "showModal", "showNavigationBarLoading", "showRedPackage", "showShareImageMenu", "showShareMenu", "showTabBar", "showTabBarRedDot", "showToast", "startAccelerometer", "startBeaconDiscovery", "startBluetoothDevicesDiscovery", "startCompass", "startDeviceMotionListening", "startGyroscope", "startHCE", "startLocalServiceDiscovery", "startLocationUpdate", "startLocationUpdateBackground", "startPullDownRefresh", "startRecord", "startSoterAuthentication", "startWifi", "stopAccelerometer", "stopBackgroundAudio", "stopBeaconDiscovery", "stopBluetoothDevicesDiscovery", "stopCompass", "stopDeviceMotionListening", "stopFaceDetect", "stopGyroscope", "stopHCE", "stopLocalServiceDiscovery", "stopLocationUpdate", "stopPullDownRefresh", "stopRecord", "stopVoice", "stopWifi", "subscribeVoIPVideoMembers", "switchTab", "updateShareMenu", "updateVoIPChatMuteConfig", "updateWeChatApp", "uploadFile", "vibrateLong", "vibrateShort", "writeBLECharacteristicValue"];
|
|
8370
|
+
declare const WEAPI_WECHAT_METHODS: readonly ["addCard", "addFileToFavorites", "addPaymentPassFinish", "addPaymentPassGetCertificateData", "addPhoneCalendar", "addPhoneContact", "addPhoneRepeatCalendar", "addVideoToFavorites", "arrayBufferToBase64", "authorize", "authorizeForMiniProgram", "authPrivateMessage", "base64ToArrayBuffer", "batchGetStorage", "batchGetStorageSync", "batchSetStorage", "batchSetStorageSync", "bindEmployeeRelation", "canAddSecureElementPass", "cancelIdleCallback", "canIUse", "canvasGetImageData", "canvasPutImageData", "canvasToTempFilePath", "checkDeviceSupportHevc", "checkEmployeeRelation", "checkIsAddedToMyMiniProgram", "checkIsOpenAccessibility", "checkIsPictureInPictureActive", "checkIsSoterEnrolledInDevice", "checkIsSupportFacialRecognition", "checkIsSupportSoterAuthentication", "checkSession", "checkTransitCardSupport", "chooseAddress", "chooseContact", "chooseImage", "chooseInvoice", "chooseInvoiceTitle", "chooseLicensePlate", "chooseLocation", "chooseMedia", "chooseMessageFile", "choosePoi", "chooseVideo", "clearStorage", "clearStorageSync", "closeBLEConnection", "closeBluetoothAdapter", "closeSocket", "compressImage", "compressVideo", "connectSocket", "connectWifi", "createAnimation", "createAudioContext", "createBLEConnection", "createBLEPeripheralServer", "createBufferURL", "createCacheManager", "createCameraContext", "createCanvasContext", "createGlobalPayment", "createInferenceSession", "createInnerAudioContext", "createIntersectionObserver", "createInterstitialAd", "createLivePlayerContext", "createLivePusherContext", "createMapContext", "createMediaAudioPlayer", "createMediaContainer", "createMediaRecorder", "createOffscreenCanvas", "createRewardedVideoAd", "createSelectorQuery", "createTCPSocket", "createUDPSocket", "createVideoContext", "createVideoDecoder", "createVKSession", "createWebAudioContext", "createWorker", "cropImage", "deleteTransitCard", "disableAlertBeforeUnload", "downloadFile", "editImage", "enableAlertBeforeUnload", "enterChatToolMode", "exitMiniProgram", "exitVoIPChat", "faceDetect", "getAccountInfoSync", "getApiCategory", "getAppAuthorizeSetting", "getAppBaseInfo", "getAvailableAudioSources", "getBackgroundAudioManager", "getBackgroundAudioPlayerState", "getBackgroundFetchData", "getBackgroundFetchToken", "getBatteryInfo", "getBatteryInfoSync", "getBeacons", "getBLEDeviceCharacteristics", "getBLEDeviceRSSI", "getBLEDeviceServices", "getBLEMTU", "getBluetoothAdapterState", "getBluetoothDevices", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getChannelsShareKey", "getChatToolInfo", "getClipboardData", "getCommonConfig", "getConnectedBluetoothDevices", "getConnectedWifi", "getDeviceBenchmarkInfo", "getDeviceInfo", "getDeviceVoIPList", "getEnterOptionsSync", "getExptInfoSync", "getExtConfig", "getExtConfigSync", "getFileSystemManager", "getFuzzyLocation", "getGroupEnterInfo", "getHCEState", "getImageInfo", "getInferenceEnvInfo", "getLaunchOptionsSync", "getLocalIPAddress", "getLocation", "getLogManager", "getMenuButtonBoundingClientRect", "getNetworkType", "getNFCAdapter", "getPerformance", "getPluginUpdateManager", "getPrivacySetting", "getRandomValues", "getRealtimeLogManager", "getRecorderManager", "getRendererUserAgent", "getScreenBrightness", "getScreenRecordingState", "getSecureElementPasses", "getSelectedTextRange", "getSetting", "getShareInfo", "getShowSplashAdStatus", "getSkylineInfo", "getSkylineInfoSync", "getStorage", "getStorageInfo", "getStorageInfoSync", "getStorageSync", "getSystemInfo", "getSystemInfoAsync", "getSystemInfoSync", "getSystemSetting", "getTransitCardCPLC", "getTransitCardInfo", "getTransitCardList", "getUpdateManager", "getUserCryptoManager", "getUserInfo", "getUserProfile", "getVideoInfo", "getWeRunData", "getWifiList", "getWindowInfo", "getXrFrameSystem", "hideHomeButton", "hideKeyboard", "hideLoading", "hideNavigationBarLoading", "hideShareMenu", "hideTabBar", "hideTabBarRedDot", "hideToast", "initFaceDetect", "isBluetoothDevicePaired", "issueTransitCard", "isVKSupport", "join1v1Chat", "joinVoIPChat", "jumpToOfflinePay", "loadBuiltInFontFace", "loadFontFace", "login", "makeBluetoothPair", "makePhoneCall", "navigateBack", "navigateBackMiniProgram", "navigateTo", "navigateToMiniProgram", "nextTick", "notifyBLECharacteristicValueChange", "notifyGroupMembers", "offAccelerometerChange", "offAfterPageLoad", "offAfterPageUnload", "offApiCategoryChange", "offAppHide", "offAppRoute", "offAppRouteDone", "offAppShow", "offAudioInterruptionBegin", "offAudioInterruptionEnd", "offBatteryInfoChange", "offBeaconServiceChange", "offBeaconUpdate", "offBeforeAppRoute", "offBeforePageLoad", "offBeforePageUnload", "offBLECharacteristicValueChange", "offBLEConnectionStateChange", "offBLEMTUChange", "offBLEPeripheralConnectionStateChanged", "offBluetoothAdapterStateChange", "offBluetoothDeviceFound", "offCompassChange", "offCopyUrl", "offDeviceMotionChange", "offEmbeddedMiniProgramHeightChange", "offError", "offGeneratePoster", "offGetWifiList", "offGyroscopeChange", "offHCEMessage", "offKeyboardHeightChange", "offKeyDown", "offKeyUp", "offLazyLoadError", "offLocalServiceDiscoveryStop", "offLocalServiceFound", "offLocalServiceLost", "offLocalServiceResolveFail", "offLocationChange", "offLocationChangeError", "offMemoryWarning", "offMenuButtonBoundingClientRectWeightChange", "offNetworkStatusChange", "offNetworkWeakChange", "offPageNotFound", "offParallelStateChange", "offScreenRecordingStateChanged", "offThemeChange", "offUnhandledRejection", "offUserCaptureScreen", "offUserOffTranslation", "offUserTriggerTranslation", "offVoIPChatInterrupted", "offVoIPChatMembersChanged", "offVoIPChatSpeakersChanged", "offVoIPChatStateChanged", "offVoIPVideoMembersChanged", "offWifiConnected", "offWifiConnectedWithPartialInfo", "offWindowResize", "offWindowStateChange", "onAccelerometerChange", "onAfterPageLoad", "onAfterPageUnload", "onApiCategoryChange", "onAppHide", "onAppRoute", "onAppRouteDone", "onAppShow", "onAudioInterruptionBegin", "onAudioInterruptionEnd", "onBackgroundAudioPause", "onBackgroundAudioPlay", "onBackgroundAudioStop", "onBackgroundFetchData", "onBatteryInfoChange", "onBeaconServiceChange", "onBeaconUpdate", "onBeforeAppRoute", "onBeforePageLoad", "onBeforePageUnload", "onBLECharacteristicValueChange", "onBLEConnectionStateChange", "onBLEMTUChange", "onBLEPeripheralConnectionStateChanged", "onBluetoothAdapterStateChange", "onBluetoothDeviceFound", "onCompassChange", "onCopyUrl", "onDeviceMotionChange", "onEmbeddedMiniProgramHeightChange", "onError", "onGeneratePoster", "onGetWifiList", "onGyroscopeChange", "onHCEMessage", "onKeyboardHeightChange", "onKeyDown", "onKeyUp", "onLazyLoadError", "onLocalServiceDiscoveryStop", "onLocalServiceFound", "onLocalServiceLost", "onLocalServiceResolveFail", "onLocationChange", "onLocationChangeError", "onMemoryWarning", "onMenuButtonBoundingClientRectWeightChange", "onNeedPrivacyAuthorization", "onNetworkStatusChange", "onNetworkWeakChange", "onPageNotFound", "onParallelStateChange", "onScreenRecordingStateChanged", "onSocketClose", "onSocketError", "onSocketMessage", "onSocketOpen", "onThemeChange", "onUnhandledRejection", "onUserCaptureScreen", "onUserOffTranslation", "onUserTriggerTranslation", "onVoIPChatInterrupted", "onVoIPChatMembersChanged", "onVoIPChatSpeakersChanged", "onVoIPChatStateChanged", "onVoIPVideoMembersChanged", "onWifiConnected", "onWifiConnectedWithPartialInfo", "onWindowResize", "onWindowStateChange", "openAppAuthorizeSetting", "openBluetoothAdapter", "openCard", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsLiveNoticeInfo", "openChannelsUserProfile", "openChatTool", "openCustomerServiceChat", "openDesignerProfile", "openDocument", "openEmbeddedMiniProgram", "openHKOfflinePayView", "openInquiriesTopic", "openLocation", "openOfficialAccountArticle", "openOfficialAccountChat", "openOfficialAccountProfile", "openPrivacyContract", "openSetting", "openSingleStickerView", "openStickerIPView", "openStickerSetView", "openStoreCouponDetail", "openStoreOrderDetail", "openSystemBluetoothSetting", "openVideoEditor", "pageScrollTo", "pauseBackgroundAudio", "pauseVoice", "playBackgroundAudio", "playVoice", "pluginLogin", "postMessageToReferrerMiniProgram", "postMessageToReferrerPage", "preDownloadSubpackage", "preloadAssets", "preloadSkylineView", "preloadWebview", "previewImage", "previewMedia", "readBLECharacteristicValue", "rechargeTransitCard", "redirectTo", "reLaunch", "removeSecureElementPass", "removeStorage", "removeStorageSync", "removeTabBarBadge", "reportAnalytics", "reportEvent", "reportMonitor", "reportPerformance", "request", "requestAppleSubscribeSign", "requestCommonPayment", "requestDeviceVoIP", "requestFacialVerify", "requestIdleCallback", "requestMerchantTransfer", "requestOrderPayment", "requestPayment", "requestPluginPayment", "requestSubscribeDeviceMessage", "requestSubscribeEmployeeMessage", "requestSubscribeMessage", "requestVirtualPayment", "requirePrivacyAuthorize", "reserveChannelsLive", "restartMiniProgram", "revokeBufferURL", "rewriteRoute", "saveFileToDisk", "saveImageToPhotosAlbum", "saveVideoToPhotosAlbum", "scanCode", "seekBackgroundAudio", "selectGroupMembers", "sendHCEMessage", "sendSms", "sendSocketMessage", "setBackgroundColor", "setBackgroundFetchToken", "setBackgroundTextStyle", "setBLEMTU", "setClipboardData", "setEnable1v1Chat", "setEnableDebug", "setInnerAudioOption", "setKeepScreenOn", "setNavigationBarColor", "setNavigationBarTitle", "setScreenBrightness", "setStorage", "setStorageSync", "setTabBarBadge", "setTabBarItem", "setTabBarStyle", "setTopBarText", "setVisualEffectOnCapture", "setWifiList", "setWindowSize", "shareAppMessageToGroup", "shareEmojiToGroup", "shareFileMessage", "shareFileToGroup", "shareImageToGroup", "shareToOfficialAccount", "shareToWeRun", "shareVideoMessage", "shareVideoToGroup", "showActionSheet", "showLoading", "showModal", "showNavigationBarLoading", "showRedPackage", "showShareImageMenu", "showShareMenu", "showTabBar", "showTabBarRedDot", "showToast", "startAccelerometer", "startBeaconDiscovery", "startBluetoothDevicesDiscovery", "startCompass", "startDeviceMotionListening", "startGyroscope", "startHCE", "startLocalServiceDiscovery", "startLocationUpdate", "startLocationUpdateBackground", "startPullDownRefresh", "startRecord", "startSoterAuthentication", "startWifi", "stopAccelerometer", "stopBackgroundAudio", "stopBeaconDiscovery", "stopBluetoothDevicesDiscovery", "stopCompass", "stopDeviceMotionListening", "stopFaceDetect", "stopGyroscope", "stopHCE", "stopLocalServiceDiscovery", "stopLocationUpdate", "stopPullDownRefresh", "stopRecord", "stopVoice", "stopWifi", "subscribeVoIPVideoMembers", "switchTab", "updateShareMenu", "updateVoIPChatMuteConfig", "updateWeChatApp", "uploadFile", "vibrateLong", "vibrateShort", "writeBLECharacteristicValue"];
|
|
8371
8371
|
declare const WEAPI_ALIPAY_METHODS: readonly ["addPhoneContact", "alert", "arrayBufferToBase64", "base64ToArrayBuffer", "calculateRoute", "call", "cancelBluetoothPair", "canIUse", "canvasToTempFilePath", "checkBeforeAddOrder", "checkIsIfaaEnrolledInDevice", "checkIsSupportIfaaAuthentication", "chooseAlipayContact", "chooseCity", "chooseContact", "chooseDistrict", "chooseImage", "chooseLocation", "choosePhoneContact", "chooseVideo", "clearStorage", "clearStorageSync", "closeBluetoothAdapter", "closeSocket", "compressImage", "confirm", "connectBLEDevice", "connectSocket", "connectWifi", "createAnimation", "createCanvasContext", "createInnerAudioContext", "createIntersectionObserver", "createLottieContext", "createMapContext", "createOffscreenCanvas", "createRewardedAd", "createSelectorQuery", "createVideoContext", "createWebViewContext", "createWorker", "datePicker", "detectFileType", "disableAlertBeforeUnload", "disconnectBLEDevice", "downloadFile", "enableAlertBeforeUnload", "exitMiniProgram", "generateImageFromCode", "getAccessibilityManager", "getAccountInfoSync", "getAddress", "getAppAuthorizeSetting", "getAppBaseInfo", "getAppIdSync", "getAuthCode", "getAvailableAudioSources", "getBackgroundAudioManager", "getBackgroundFetchData", "getBatteryInfo", "getBatteryInfoSync", "getBeacons", "getBLEDeviceCharacteristics", "getBLEDeviceRSSI", "getBLEDeviceServices", "getBLEDeviceStatus", "getBLEMTU", "getBluetoothAdapterState", "getBluetoothDevices", "getBluetoothPairs", "getClipboard", "getConnectedBluetoothDevices", "getConnectedWifi", "getEnterOptionsSync", "getExtConfig", "getExtConfigSync", "getFileInfo", "getFileSystemManager", "getGeocoder", "getImageInfo", "getLaunchOptionsSync", "getLeftButtonsBoundingClientRect", "getLocalIPAddress", "getLocation", "getMapInfo", "getMenuButtonBoundingClientRect", "getNetworkType", "getOpenUserInfo", "getParentAppId", "getParentAppIdSync", "getPhoneNumber", "getPluginIdSync", "getRecorderManager", "getRunData", "getRunScene", "getSavedFileInfo", "getSavedFileList", "getScreenBrightness", "getServerTime", "getSetting", "getStorage", "getStorageInfo", "getStorageInfoSync", "getStorageSync", "getSystemInfo", "getSystemInfoSync", "getSystemSetting", "getTitleColor", "getUpdateManager", "getVideoInfo", "getWifiList", "getWindowInfo", "hideAddToDesktopMenu", "hideAllAddToDesktopMenu", "hideBackHome", "hideKeyboard", "hideLoading", "hideNavigationBarLoading", "hideShareMenu", "hideTabBar", "hideTabBarRedDot", "hideToast", "isScreenReaderEnabled", "loadFontFace", "loadPlugin", "makeBluetoothPair", "makePhoneCall", "multiLevelSelect", "navigateBack", "navigateBackMiniProgram", "navigateTo", "navigateToMiniProgram", "notifyBLECharacteristicValueChange", "off", "offAccelerometerChange", "offAppHide", "offAppShow", "offAudioInterruptionBegin", "offAudioInterruptionEnd", "offBeaconServiceChange", "offBeaconUpdate", "offBLECharacteristicValueChange", "offBLEConnectionStateChanged", "offBluetoothAdapterStateChange", "offBluetoothDeviceFound", "offCompassChange", "offComponentError", "offDeviceMotionChange", "offError", "offGetWifiList", "offGyroscopeChange", "offLocatedComplete", "offMemoryWarning", "offNetworkStatusChange", "offPageNotFound", "offSocketClose", "offSocketError", "offSocketMessage", "offSocketOpen", "offUnhandledRejection", "offUserCaptureScreen", "offWifiConnected", "on", "onAccelerometerChange", "onAppHide", "onAppShow", "onAudioInterruptionBegin", "onAudioInterruptionEnd", "onBeaconServiceChange", "onBeaconUpdate", "onBLECharacteristicValueChange", "onBLEConnectionStateChanged", "onBluetoothAdapterStateChange", "onBluetoothDeviceFound", "onCompassChange", "onComponentError", "onDeviceMotionChange", "onError", "onGetWifiList", "onGyroscopeChange", "onLocatedComplete", "onMemoryWarning", "onNetworkStatusChange", "onPageNotFound", "onSocketClose", "onSocketError", "onSocketMessage", "onSocketOpen", "onUnhandledRejection", "onUserCaptureScreen", "onWifiConnected", "openBluetoothAdapter", "openDocument", "openKBVoucherDetail", "openLocation", "openMerchantTicketList", "openMerchantVoucherList", "openOtherApp", "openSetting", "openTicketDetail", "openTicketList", "openVoucherDetail", "openVoucherList", "optionsSelect", "pageScrollTo", "paySignCenter", "previewImage", "prompt", "readBLECharacteristicValue", "redirectTo", "regionPicker", "registerSSID", "reLaunch", "removeSavedFile", "removeStorage", "removeStorageSync", "removeTabBarBadge", "request", "requestSubscribeMessage", "rsa", "saveFile", "saveFileToDisk", "saveImage", "saveImageToPhotosAlbum", "saveVideoToPhotosAlbum", "scan", "sendSocketMessage", "setBackgroundColor", "setBackgroundTextStyle", "setBLEMTU", "setCanPullDown", "setClipboard", "setKeepScreenOn", "setLocatedCity", "setNavigationBar", "setNavigationBarBottomLineColor", "setNavigationBarColor", "setNavigationBarTitle", "setScreenBrightness", "setStorage", "setStorageSync", "setTabBarBadge", "setTabBarItem", "setTabBarStyle", "setVisualEffectOnCapture", "setWifiList", "showActionSheet", "showAuthGuide", "showBLEPermissionGuide", "showLoading", "showModal", "showNavigationBarLoading", "showShareMenu", "showSharePanel", "showTabBar", "showTabBarRedDot", "showToast", "startAccelerometer", "startAPVerify", "startBeaconDiscovery", "startBluetoothDevicesDiscovery", "startCompass", "startGyroscope", "startIfaaAuthentication", "startPullDownRefresh", "startWifi", "stopAccelerometer", "stopBeaconDiscovery", "stopBluetoothDevicesDiscovery", "stopCompass", "stopGyroscope", "stopPullDownRefresh", "stopWifi", "switchTab", "tradePay", "unregisterSSID", "unsubscribeMessage", "uploadFile", "vibrate", "vibrateLong", "vibrateShort", "watchShake", "writeBLECharacteristicValue"];
|
|
8372
8372
|
declare const WEAPI_DOUYIN_METHODS: readonly ["applyEcCoupon", "applyRefund", "arrayBufferToBase64", "authorize", "base64ToArrayBuffer", "canIPutStuffOverComponent", "canIUse", "canvasToTempFilePath", "checkFollowAwemeState", "checkFollowState", "checkSession", "chooseAddress", "chooseImage", "chooseLocation", "chooseMedia", "clearStorage", "clearStorageSync", "completePaySync", "completeRefundSync", "compressImage", "connectSocket", "continueToPay", "createAnimation", "createBytennEngineContext", "createCanvasContext", "createCloud", "createInnerAudioContext", "createIntersectionObserver", "createInterstitialAd", "createLivePlayerContext", "createMapContext", "createMediaRecorder", "createMerchantOrder", "createOffscreenCanvas", "createOrder", "createRefundOrder", "createRewardedVideoAd", "createRtcRoomContext", "createSelectorQuery", "createStickerManager", "createVideoContext", "createWorker", "downloadFile", "exitMiniProgram", "followAwemeUser", "followOfficialAccount", "getAnalysisInfo", "getBackgroundAudioManager", "getClipboardData", "getConnectedWifi", "getCustomButtonBoundingClientRect", "getEnvInfoSync", "getExtConfig", "getExtConfigSync", "getFileInfo", "getFileSystemManager", "getImageInfo", "getLaunchOptionsSync", "getLiveUserInfo", "getLocation", "getMenuButtonBoundingClientRect", "getMenuButtonLayout", "getMicroappInfo", "getRecorderManager", "getRefundOrder", "getRoomInfo", "getSavedFileList", "getScreenBrightness", "getSelfCommentCountDuringPluginRunning", "getSetting", "getShopRecordToken", "getSidebarActivity", "getStorage", "getStorageInfo", "getStorageInfoSync", "getStorageSync", "getSystemInfo", "getSystemInfoSync", "getUpdateManager", "getUserInfo", "getUserProfile", "getWifiList", "hideHomeButton", "hideInteractionBar", "hideKeyboard", "hideLoading", "hideNavigationBarLoading", "hideShareMenu", "hideTabBar", "hideTabBarRedDot", "hideToast", "isFollowingAnchor", "login", "makePhoneCall", "navigateBack", "navigateBackMiniProgram", "navigateTo", "navigateToMiniProgram", "navigateToScene", "navigateToVideoView", "offAppHide", "offAppShow", "offCompassChange", "offError", "offGetWifiList", "offLazyLoadError", "offNetworkStatusChange", "offPageNotFound", "offUnhandledRejection", "offUserCaptureScreen", "offWindowResize", "onAccelerometerChange", "onAppHide", "onAppShow", "onCompassChange", "onError", "onGetWifiList", "onLazyLoadError", "onMemoryWarning", "onNetworkStatusChange", "onPageNotFound", "onReceiveAudiencesFollowAction", "onReceiveSpecifiedComment", "onUnhandledRejection", "onUserCaptureScreen", "onWindowResize", "openAwemeUserProfile", "openLocation", "openSetting", "pageScrollTo", "pay", "preloadDrawAd", "prerenderVideo", "previewImage", "redirectTo", "reLaunch", "removeSavedFile", "removeStorage", "removeStorageSync", "removeTabBarBadge", "reportAnalytics", "request", "requestSubscribeMessage", "saveFile", "saveImageToPhotosAlbum", "scanCode", "setClipboardData", "setKeepScreenOn", "setNavigationBarColor", "setNavigationBarTitle", "setScreenBrightness", "setStorage", "setStorageSync", "setTabBarBadge", "setTabBarItem", "setTabBarStyle", "showActionSheet", "showDouyinOpenAuth", "showFavoriteGuide", "showInteractionBar", "showLoading", "showModal", "showNavigationBarLoading", "showShareMenu", "showTabBar", "showTabBarRedDot", "showToast", "startAccelerometer", "startCompass", "startPullDownRefresh", "stopAccelerometer", "stopCompass", "stopPullDownRefresh", "submitEcCustomGoods", "subscribeAudiencesFollowAction", "subscribeSpecifiedContentComment", "subscribeSpecifiedUserComment", "switchTab", "unsubscribeAllSpecifiedContentComment", "unsubscribeAllSpecifiedUserComment", "unsubscribeAudiencesFollowAction", "updateExitGuideWindowInfo", "updateShopMemberPoints", "updateSidebarActivity", "uploadFile", "vibrateLong", "vibrateShort"];
|
|
8373
|
-
declare const WEAPI_MINIPROGRAM_METHODS: readonly ["addCard", "addFileToFavorites", "addPaymentPassFinish", "addPaymentPassGetCertificateData", "addPhoneCalendar", "addPhoneContact", "addPhoneRepeatCalendar", "addVideoToFavorites", "arrayBufferToBase64", "authorize", "authorizeForMiniProgram", "authPrivateMessage", "base64ToArrayBuffer", "batchGetStorage", "batchGetStorageSync", "batchSetStorage", "batchSetStorageSync", "bindEmployeeRelation", "canAddSecureElementPass", "cancelIdleCallback", "canIUse", "canvasGetImageData", "canvasPutImageData", "canvasToTempFilePath", "checkDeviceSupportHevc", "checkEmployeeRelation", "checkIsAddedToMyMiniProgram", "checkIsOpenAccessibility", "checkIsPictureInPictureActive", "checkIsSoterEnrolledInDevice", "checkIsSupportFacialRecognition", "checkIsSupportSoterAuthentication", "checkSession", "chooseAddress", "chooseContact", "chooseImage", "chooseInvoice", "chooseInvoiceTitle", "chooseLicensePlate", "chooseLocation", "chooseMedia", "chooseMessageFile", "choosePoi", "chooseVideo", "clearStorage", "clearStorageSync", "closeBLEConnection", "closeBluetoothAdapter", "closeSocket", "compressImage", "compressVideo", "connectSocket", "connectWifi", "createAnimation", "createAudioContext", "createBLEConnection", "createBLEPeripheralServer", "createBufferURL", "createCacheManager", "createCameraContext", "createCanvasContext", "createGlobalPayment", "createInferenceSession", "createInnerAudioContext", "createIntersectionObserver", "createInterstitialAd", "createLivePlayerContext", "createLivePusherContext", "createMapContext", "createMediaAudioPlayer", "createMediaContainer", "createMediaRecorder", "createOffscreenCanvas", "createRewardedVideoAd", "createSelectorQuery", "createTCPSocket", "createUDPSocket", "createVideoContext", "createVideoDecoder", "createVKSession", "createWebAudioContext", "createWorker", "cropImage", "disableAlertBeforeUnload", "downloadFile", "editImage", "enableAlertBeforeUnload", "enterChatToolMode", "exitMiniProgram", "exitVoIPChat", "faceDetect", "getAccountInfoSync", "getApiCategory", "getAppAuthorizeSetting", "getAppBaseInfo", "getAvailableAudioSources", "getBackgroundAudioManager", "getBackgroundAudioPlayerState", "getBackgroundFetchData", "getBackgroundFetchToken", "getBatteryInfo", "getBatteryInfoSync", "getBeacons", "getBLEDeviceCharacteristics", "getBLEDeviceRSSI", "getBLEDeviceServices", "getBLEMTU", "getBluetoothAdapterState", "getBluetoothDevices", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getChannelsShareKey", "getChatToolInfo", "getClipboardData", "getCommonConfig", "getConnectedBluetoothDevices", "getConnectedWifi", "getDeviceBenchmarkInfo", "getDeviceInfo", "getDeviceVoIPList", "getEnterOptionsSync", "getExptInfoSync", "getExtConfig", "getExtConfigSync", "getFileSystemManager", "getFuzzyLocation", "getGroupEnterInfo", "getHCEState", "getImageInfo", "getInferenceEnvInfo", "getLaunchOptionsSync", "getLocalIPAddress", "getLocation", "getLogManager", "getMenuButtonBoundingClientRect", "getNetworkType", "getNFCAdapter", "getPerformance", "getPrivacySetting", "getRandomValues", "getRealtimeLogManager", "getRecorderManager", "getRendererUserAgent", "getScreenBrightness", "getScreenRecordingState", "getSecureElementPasses", "getSelectedTextRange", "getSetting", "getShareInfo", "getShowSplashAdStatus", "getSkylineInfo", "getSkylineInfoSync", "getStorage", "getStorageInfo", "getStorageInfoSync", "getStorageSync", "getSystemInfo", "getSystemInfoAsync", "getSystemInfoSync", "getSystemSetting", "getUpdateManager", "getUserCryptoManager", "getUserInfo", "getUserProfile", "getVideoInfo", "getWeRunData", "getWifiList", "getWindowInfo", "getXrFrameSystem", "hideHomeButton", "hideKeyboard", "hideLoading", "hideNavigationBarLoading", "hideShareMenu", "hideTabBar", "hideTabBarRedDot", "hideToast", "initFaceDetect", "isBluetoothDevicePaired", "isVKSupport", "join1v1Chat", "joinVoIPChat", "loadBuiltInFontFace", "loadFontFace", "login", "makeBluetoothPair", "makePhoneCall", "navigateBack", "navigateBackMiniProgram", "navigateTo", "navigateToMiniProgram", "nextTick", "notifyBLECharacteristicValueChange", "notifyGroupMembers", "offAccelerometerChange", "offAfterPageLoad", "offAfterPageUnload", "offApiCategoryChange", "offAppHide", "offAppRoute", "offAppRouteDone", "offAppShow", "offAudioInterruptionBegin", "offAudioInterruptionEnd", "offBatteryInfoChange", "offBeaconServiceChange", "offBeaconUpdate", "offBeforeAppRoute", "offBeforePageLoad", "offBeforePageUnload", "offBLECharacteristicValueChange", "offBLEConnectionStateChange", "offBLEMTUChange", "offBLEPeripheralConnectionStateChanged", "offBluetoothAdapterStateChange", "offBluetoothDeviceFound", "offCompassChange", "offCopyUrl", "offDeviceMotionChange", "offEmbeddedMiniProgramHeightChange", "offError", "offGeneratePoster", "offGetWifiList", "offGyroscopeChange", "offHCEMessage", "offKeyboardHeightChange", "offKeyDown", "offKeyUp", "offLazyLoadError", "offLocalServiceDiscoveryStop", "offLocalServiceFound", "offLocalServiceLost", "offLocalServiceResolveFail", "offLocationChange", "offLocationChangeError", "offMemoryWarning", "offMenuButtonBoundingClientRectWeightChange", "offNetworkStatusChange", "offNetworkWeakChange", "offPageNotFound", "offParallelStateChange", "offScreenRecordingStateChanged", "offThemeChange", "offUnhandledRejection", "offUserCaptureScreen", "offUserOffTranslation", "offUserTriggerTranslation", "offVoIPChatInterrupted", "offVoIPChatMembersChanged", "offVoIPChatSpeakersChanged", "offVoIPChatStateChanged", "offVoIPVideoMembersChanged", "offWifiConnected", "offWifiConnectedWithPartialInfo", "offWindowResize", "offWindowStateChange", "onAccelerometerChange", "onAfterPageLoad", "onAfterPageUnload", "onApiCategoryChange", "onAppHide", "onAppRoute", "onAppRouteDone", "onAppShow", "onAudioInterruptionBegin", "onAudioInterruptionEnd", "onBackgroundAudioPause", "onBackgroundAudioPlay", "onBackgroundAudioStop", "onBackgroundFetchData", "onBatteryInfoChange", "onBeaconServiceChange", "onBeaconUpdate", "onBeforeAppRoute", "onBeforePageLoad", "onBeforePageUnload", "onBLECharacteristicValueChange", "onBLEConnectionStateChange", "onBLEMTUChange", "onBLEPeripheralConnectionStateChanged", "onBluetoothAdapterStateChange", "onBluetoothDeviceFound", "onCompassChange", "onCopyUrl", "onDeviceMotionChange", "onEmbeddedMiniProgramHeightChange", "onError", "onGeneratePoster", "onGetWifiList", "onGyroscopeChange", "onHCEMessage", "onKeyboardHeightChange", "onKeyDown", "onKeyUp", "onLazyLoadError", "onLocalServiceDiscoveryStop", "onLocalServiceFound", "onLocalServiceLost", "onLocalServiceResolveFail", "onLocationChange", "onLocationChangeError", "onMemoryWarning", "onMenuButtonBoundingClientRectWeightChange", "onNeedPrivacyAuthorization", "onNetworkStatusChange", "onNetworkWeakChange", "onPageNotFound", "onParallelStateChange", "onScreenRecordingStateChanged", "onSocketClose", "onSocketError", "onSocketMessage", "onSocketOpen", "onThemeChange", "onUnhandledRejection", "onUserCaptureScreen", "onUserOffTranslation", "onUserTriggerTranslation", "onVoIPChatInterrupted", "onVoIPChatMembersChanged", "onVoIPChatSpeakersChanged", "onVoIPChatStateChanged", "onVoIPVideoMembersChanged", "onWifiConnected", "onWifiConnectedWithPartialInfo", "onWindowResize", "onWindowStateChange", "openAppAuthorizeSetting", "openBluetoothAdapter", "openCard", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsLiveNoticeInfo", "openChannelsUserProfile", "openChatTool", "openCustomerServiceChat", "openDocument", "openEmbeddedMiniProgram", "openHKOfflinePayView", "openInquiriesTopic", "openLocation", "openOfficialAccountArticle", "openOfficialAccountChat", "openOfficialAccountProfile", "openPrivacyContract", "openSetting", "openSingleStickerView", "openStickerIPView", "openStickerSetView", "openStoreCouponDetail", "openStoreOrderDetail", "openSystemBluetoothSetting", "openVideoEditor", "pageScrollTo", "pauseBackgroundAudio", "pauseVoice", "playBackgroundAudio", "playVoice", "pluginLogin", "postMessageToReferrerMiniProgram", "postMessageToReferrerPage", "preDownloadSubpackage", "preloadAssets", "preloadSkylineView", "preloadWebview", "previewImage", "previewMedia", "readBLECharacteristicValue", "redirectTo", "reLaunch", "removeSecureElementPass", "removeStorage", "removeStorageSync", "removeTabBarBadge", "reportAnalytics", "reportEvent", "reportMonitor", "reportPerformance", "request", "requestCommonPayment", "requestDeviceVoIP", "requestFacialVerify", "requestIdleCallback", "requestMerchantTransfer", "requestOrderPayment", "requestPayment", "requestPluginPayment", "requestSubscribeDeviceMessage", "requestSubscribeEmployeeMessage", "requestSubscribeMessage", "requestVirtualPayment", "requirePrivacyAuthorize", "reserveChannelsLive", "restartMiniProgram", "revokeBufferURL", "rewriteRoute", "saveFileToDisk", "saveImageToPhotosAlbum", "saveVideoToPhotosAlbum", "scanCode", "seekBackgroundAudio", "selectGroupMembers", "sendHCEMessage", "sendSms", "sendSocketMessage", "setBackgroundColor", "setBackgroundFetchToken", "setBackgroundTextStyle", "setBLEMTU", "setClipboardData", "setEnable1v1Chat", "setEnableDebug", "setInnerAudioOption", "setKeepScreenOn", "setNavigationBarColor", "setNavigationBarTitle", "setScreenBrightness", "setStorage", "setStorageSync", "setTabBarBadge", "setTabBarItem", "setTabBarStyle", "setTopBarText", "setVisualEffectOnCapture", "setWifiList", "setWindowSize", "shareAppMessageToGroup", "shareEmojiToGroup", "shareFileMessage", "shareFileToGroup", "shareImageToGroup", "shareToOfficialAccount", "shareToWeRun", "shareVideoMessage", "shareVideoToGroup", "showActionSheet", "showLoading", "showModal", "showNavigationBarLoading", "showRedPackage", "showShareImageMenu", "showShareMenu", "showTabBar", "showTabBarRedDot", "showToast", "startAccelerometer", "startBeaconDiscovery", "startBluetoothDevicesDiscovery", "startCompass", "startDeviceMotionListening", "startGyroscope", "startHCE", "startLocalServiceDiscovery", "startLocationUpdate", "startLocationUpdateBackground", "startPullDownRefresh", "startRecord", "startSoterAuthentication", "startWifi", "stopAccelerometer", "stopBackgroundAudio", "stopBeaconDiscovery", "stopBluetoothDevicesDiscovery", "stopCompass", "stopDeviceMotionListening", "stopFaceDetect", "stopGyroscope", "stopHCE", "stopLocalServiceDiscovery", "stopLocationUpdate", "stopPullDownRefresh", "stopRecord", "stopVoice", "stopWifi", "subscribeVoIPVideoMembers", "switchTab", "updateShareMenu", "updateVoIPChatMuteConfig", "updateWeChatApp", "uploadFile", "vibrateLong", "vibrateShort", "writeBLECharacteristicValue"];
|
|
8374
|
-
declare const WEAPI_MINIPROGRAM_WECHAT_METHODS: readonly ["addCard", "addFileToFavorites", "addPaymentPassFinish", "addPaymentPassGetCertificateData", "addPhoneCalendar", "addPhoneContact", "addPhoneRepeatCalendar", "addVideoToFavorites", "arrayBufferToBase64", "authorize", "authorizeForMiniProgram", "authPrivateMessage", "base64ToArrayBuffer", "batchGetStorage", "batchGetStorageSync", "batchSetStorage", "batchSetStorageSync", "bindEmployeeRelation", "canAddSecureElementPass", "cancelIdleCallback", "canIUse", "canvasGetImageData", "canvasPutImageData", "canvasToTempFilePath", "checkDeviceSupportHevc", "checkEmployeeRelation", "checkIsAddedToMyMiniProgram", "checkIsOpenAccessibility", "checkIsPictureInPictureActive", "checkIsSoterEnrolledInDevice", "checkIsSupportFacialRecognition", "checkIsSupportSoterAuthentication", "checkSession", "chooseAddress", "chooseContact", "chooseImage", "chooseInvoice", "chooseInvoiceTitle", "chooseLicensePlate", "chooseLocation", "chooseMedia", "chooseMessageFile", "choosePoi", "chooseVideo", "clearStorage", "clearStorageSync", "closeBLEConnection", "closeBluetoothAdapter", "closeSocket", "compressImage", "compressVideo", "connectSocket", "connectWifi", "createAnimation", "createAudioContext", "createBLEConnection", "createBLEPeripheralServer", "createBufferURL", "createCacheManager", "createCameraContext", "createCanvasContext", "createGlobalPayment", "createInferenceSession", "createInnerAudioContext", "createIntersectionObserver", "createInterstitialAd", "createLivePlayerContext", "createLivePusherContext", "createMapContext", "createMediaAudioPlayer", "createMediaContainer", "createMediaRecorder", "createOffscreenCanvas", "createRewardedVideoAd", "createSelectorQuery", "createTCPSocket", "createUDPSocket", "createVideoContext", "createVideoDecoder", "createVKSession", "createWebAudioContext", "createWorker", "cropImage", "disableAlertBeforeUnload", "downloadFile", "editImage", "enableAlertBeforeUnload", "enterChatToolMode", "exitMiniProgram", "exitVoIPChat", "faceDetect", "getAccountInfoSync", "getApiCategory", "getAppAuthorizeSetting", "getAppBaseInfo", "getAvailableAudioSources", "getBackgroundAudioManager", "getBackgroundAudioPlayerState", "getBackgroundFetchData", "getBackgroundFetchToken", "getBatteryInfo", "getBatteryInfoSync", "getBeacons", "getBLEDeviceCharacteristics", "getBLEDeviceRSSI", "getBLEDeviceServices", "getBLEMTU", "getBluetoothAdapterState", "getBluetoothDevices", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getChannelsShareKey", "getChatToolInfo", "getClipboardData", "getCommonConfig", "getConnectedBluetoothDevices", "getConnectedWifi", "getDeviceBenchmarkInfo", "getDeviceInfo", "getDeviceVoIPList", "getEnterOptionsSync", "getExptInfoSync", "getExtConfig", "getExtConfigSync", "getFileSystemManager", "getFuzzyLocation", "getGroupEnterInfo", "getHCEState", "getImageInfo", "getInferenceEnvInfo", "getLaunchOptionsSync", "getLocalIPAddress", "getLocation", "getLogManager", "getMenuButtonBoundingClientRect", "getNetworkType", "getNFCAdapter", "getPerformance", "getPrivacySetting", "getRandomValues", "getRealtimeLogManager", "getRecorderManager", "getRendererUserAgent", "getScreenBrightness", "getScreenRecordingState", "getSecureElementPasses", "getSelectedTextRange", "getSetting", "getShareInfo", "getShowSplashAdStatus", "getSkylineInfo", "getSkylineInfoSync", "getStorage", "getStorageInfo", "getStorageInfoSync", "getStorageSync", "getSystemInfo", "getSystemInfoAsync", "getSystemInfoSync", "getSystemSetting", "getUpdateManager", "getUserCryptoManager", "getUserInfo", "getUserProfile", "getVideoInfo", "getWeRunData", "getWifiList", "getWindowInfo", "getXrFrameSystem", "hideHomeButton", "hideKeyboard", "hideLoading", "hideNavigationBarLoading", "hideShareMenu", "hideTabBar", "hideTabBarRedDot", "hideToast", "initFaceDetect", "isBluetoothDevicePaired", "isVKSupport", "join1v1Chat", "joinVoIPChat", "loadBuiltInFontFace", "loadFontFace", "login", "makeBluetoothPair", "makePhoneCall", "navigateBack", "navigateBackMiniProgram", "navigateTo", "navigateToMiniProgram", "nextTick", "notifyBLECharacteristicValueChange", "notifyGroupMembers", "offAccelerometerChange", "offAfterPageLoad", "offAfterPageUnload", "offApiCategoryChange", "offAppHide", "offAppRoute", "offAppRouteDone", "offAppShow", "offAudioInterruptionBegin", "offAudioInterruptionEnd", "offBatteryInfoChange", "offBeaconServiceChange", "offBeaconUpdate", "offBeforeAppRoute", "offBeforePageLoad", "offBeforePageUnload", "offBLECharacteristicValueChange", "offBLEConnectionStateChange", "offBLEMTUChange", "offBLEPeripheralConnectionStateChanged", "offBluetoothAdapterStateChange", "offBluetoothDeviceFound", "offCompassChange", "offCopyUrl", "offDeviceMotionChange", "offEmbeddedMiniProgramHeightChange", "offError", "offGeneratePoster", "offGetWifiList", "offGyroscopeChange", "offHCEMessage", "offKeyboardHeightChange", "offKeyDown", "offKeyUp", "offLazyLoadError", "offLocalServiceDiscoveryStop", "offLocalServiceFound", "offLocalServiceLost", "offLocalServiceResolveFail", "offLocationChange", "offLocationChangeError", "offMemoryWarning", "offMenuButtonBoundingClientRectWeightChange", "offNetworkStatusChange", "offNetworkWeakChange", "offPageNotFound", "offParallelStateChange", "offScreenRecordingStateChanged", "offThemeChange", "offUnhandledRejection", "offUserCaptureScreen", "offUserOffTranslation", "offUserTriggerTranslation", "offVoIPChatInterrupted", "offVoIPChatMembersChanged", "offVoIPChatSpeakersChanged", "offVoIPChatStateChanged", "offVoIPVideoMembersChanged", "offWifiConnected", "offWifiConnectedWithPartialInfo", "offWindowResize", "offWindowStateChange", "onAccelerometerChange", "onAfterPageLoad", "onAfterPageUnload", "onApiCategoryChange", "onAppHide", "onAppRoute", "onAppRouteDone", "onAppShow", "onAudioInterruptionBegin", "onAudioInterruptionEnd", "onBackgroundAudioPause", "onBackgroundAudioPlay", "onBackgroundAudioStop", "onBackgroundFetchData", "onBatteryInfoChange", "onBeaconServiceChange", "onBeaconUpdate", "onBeforeAppRoute", "onBeforePageLoad", "onBeforePageUnload", "onBLECharacteristicValueChange", "onBLEConnectionStateChange", "onBLEMTUChange", "onBLEPeripheralConnectionStateChanged", "onBluetoothAdapterStateChange", "onBluetoothDeviceFound", "onCompassChange", "onCopyUrl", "onDeviceMotionChange", "onEmbeddedMiniProgramHeightChange", "onError", "onGeneratePoster", "onGetWifiList", "onGyroscopeChange", "onHCEMessage", "onKeyboardHeightChange", "onKeyDown", "onKeyUp", "onLazyLoadError", "onLocalServiceDiscoveryStop", "onLocalServiceFound", "onLocalServiceLost", "onLocalServiceResolveFail", "onLocationChange", "onLocationChangeError", "onMemoryWarning", "onMenuButtonBoundingClientRectWeightChange", "onNeedPrivacyAuthorization", "onNetworkStatusChange", "onNetworkWeakChange", "onPageNotFound", "onParallelStateChange", "onScreenRecordingStateChanged", "onSocketClose", "onSocketError", "onSocketMessage", "onSocketOpen", "onThemeChange", "onUnhandledRejection", "onUserCaptureScreen", "onUserOffTranslation", "onUserTriggerTranslation", "onVoIPChatInterrupted", "onVoIPChatMembersChanged", "onVoIPChatSpeakersChanged", "onVoIPChatStateChanged", "onVoIPVideoMembersChanged", "onWifiConnected", "onWifiConnectedWithPartialInfo", "onWindowResize", "onWindowStateChange", "openAppAuthorizeSetting", "openBluetoothAdapter", "openCard", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsLiveNoticeInfo", "openChannelsUserProfile", "openChatTool", "openCustomerServiceChat", "openDocument", "openEmbeddedMiniProgram", "openHKOfflinePayView", "openInquiriesTopic", "openLocation", "openOfficialAccountArticle", "openOfficialAccountChat", "openOfficialAccountProfile", "openPrivacyContract", "openSetting", "openSingleStickerView", "openStickerIPView", "openStickerSetView", "openStoreCouponDetail", "openStoreOrderDetail", "openSystemBluetoothSetting", "openVideoEditor", "pageScrollTo", "pauseBackgroundAudio", "pauseVoice", "playBackgroundAudio", "playVoice", "pluginLogin", "postMessageToReferrerMiniProgram", "postMessageToReferrerPage", "preDownloadSubpackage", "preloadAssets", "preloadSkylineView", "preloadWebview", "previewImage", "previewMedia", "readBLECharacteristicValue", "redirectTo", "reLaunch", "removeSecureElementPass", "removeStorage", "removeStorageSync", "removeTabBarBadge", "reportAnalytics", "reportEvent", "reportMonitor", "reportPerformance", "request", "requestCommonPayment", "requestDeviceVoIP", "requestFacialVerify", "requestIdleCallback", "requestMerchantTransfer", "requestOrderPayment", "requestPayment", "requestPluginPayment", "requestSubscribeDeviceMessage", "requestSubscribeEmployeeMessage", "requestSubscribeMessage", "requestVirtualPayment", "requirePrivacyAuthorize", "reserveChannelsLive", "restartMiniProgram", "revokeBufferURL", "rewriteRoute", "saveFileToDisk", "saveImageToPhotosAlbum", "saveVideoToPhotosAlbum", "scanCode", "seekBackgroundAudio", "selectGroupMembers", "sendHCEMessage", "sendSms", "sendSocketMessage", "setBackgroundColor", "setBackgroundFetchToken", "setBackgroundTextStyle", "setBLEMTU", "setClipboardData", "setEnable1v1Chat", "setEnableDebug", "setInnerAudioOption", "setKeepScreenOn", "setNavigationBarColor", "setNavigationBarTitle", "setScreenBrightness", "setStorage", "setStorageSync", "setTabBarBadge", "setTabBarItem", "setTabBarStyle", "setTopBarText", "setVisualEffectOnCapture", "setWifiList", "setWindowSize", "shareAppMessageToGroup", "shareEmojiToGroup", "shareFileMessage", "shareFileToGroup", "shareImageToGroup", "shareToOfficialAccount", "shareToWeRun", "shareVideoMessage", "shareVideoToGroup", "showActionSheet", "showLoading", "showModal", "showNavigationBarLoading", "showRedPackage", "showShareImageMenu", "showShareMenu", "showTabBar", "showTabBarRedDot", "showToast", "startAccelerometer", "startBeaconDiscovery", "startBluetoothDevicesDiscovery", "startCompass", "startDeviceMotionListening", "startGyroscope", "startHCE", "startLocalServiceDiscovery", "startLocationUpdate", "startLocationUpdateBackground", "startPullDownRefresh", "startRecord", "startSoterAuthentication", "startWifi", "stopAccelerometer", "stopBackgroundAudio", "stopBeaconDiscovery", "stopBluetoothDevicesDiscovery", "stopCompass", "stopDeviceMotionListening", "stopFaceDetect", "stopGyroscope", "stopHCE", "stopLocalServiceDiscovery", "stopLocationUpdate", "stopPullDownRefresh", "stopRecord", "stopVoice", "stopWifi", "subscribeVoIPVideoMembers", "switchTab", "updateShareMenu", "updateVoIPChatMuteConfig", "updateWeChatApp", "uploadFile", "vibrateLong", "vibrateShort", "writeBLECharacteristicValue"];
|
|
8373
|
+
declare const WEAPI_MINIPROGRAM_METHODS: readonly ["addCard", "addFileToFavorites", "addPaymentPassFinish", "addPaymentPassGetCertificateData", "addPhoneCalendar", "addPhoneContact", "addPhoneRepeatCalendar", "addVideoToFavorites", "arrayBufferToBase64", "authorize", "authorizeForMiniProgram", "authPrivateMessage", "base64ToArrayBuffer", "batchGetStorage", "batchGetStorageSync", "batchSetStorage", "batchSetStorageSync", "bindEmployeeRelation", "canAddSecureElementPass", "cancelIdleCallback", "canIUse", "canvasGetImageData", "canvasPutImageData", "canvasToTempFilePath", "checkDeviceSupportHevc", "checkEmployeeRelation", "checkIsAddedToMyMiniProgram", "checkIsOpenAccessibility", "checkIsPictureInPictureActive", "checkIsSoterEnrolledInDevice", "checkIsSupportFacialRecognition", "checkIsSupportSoterAuthentication", "checkSession", "checkTransitCardSupport", "chooseAddress", "chooseContact", "chooseImage", "chooseInvoice", "chooseInvoiceTitle", "chooseLicensePlate", "chooseLocation", "chooseMedia", "chooseMessageFile", "choosePoi", "chooseVideo", "clearStorage", "clearStorageSync", "closeBLEConnection", "closeBluetoothAdapter", "closeSocket", "compressImage", "compressVideo", "connectSocket", "connectWifi", "createAnimation", "createAudioContext", "createBLEConnection", "createBLEPeripheralServer", "createBufferURL", "createCacheManager", "createCameraContext", "createCanvasContext", "createGlobalPayment", "createInferenceSession", "createInnerAudioContext", "createIntersectionObserver", "createInterstitialAd", "createLivePlayerContext", "createLivePusherContext", "createMapContext", "createMediaAudioPlayer", "createMediaContainer", "createMediaRecorder", "createOffscreenCanvas", "createRewardedVideoAd", "createSelectorQuery", "createTCPSocket", "createUDPSocket", "createVideoContext", "createVideoDecoder", "createVKSession", "createWebAudioContext", "createWorker", "cropImage", "deleteTransitCard", "disableAlertBeforeUnload", "downloadFile", "editImage", "enableAlertBeforeUnload", "enterChatToolMode", "exitMiniProgram", "exitVoIPChat", "faceDetect", "getAccountInfoSync", "getApiCategory", "getAppAuthorizeSetting", "getAppBaseInfo", "getAvailableAudioSources", "getBackgroundAudioManager", "getBackgroundAudioPlayerState", "getBackgroundFetchData", "getBackgroundFetchToken", "getBatteryInfo", "getBatteryInfoSync", "getBeacons", "getBLEDeviceCharacteristics", "getBLEDeviceRSSI", "getBLEDeviceServices", "getBLEMTU", "getBluetoothAdapterState", "getBluetoothDevices", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getChannelsShareKey", "getChatToolInfo", "getClipboardData", "getCommonConfig", "getConnectedBluetoothDevices", "getConnectedWifi", "getDeviceBenchmarkInfo", "getDeviceInfo", "getDeviceVoIPList", "getEnterOptionsSync", "getExptInfoSync", "getExtConfig", "getExtConfigSync", "getFileSystemManager", "getFuzzyLocation", "getGroupEnterInfo", "getHCEState", "getImageInfo", "getInferenceEnvInfo", "getLaunchOptionsSync", "getLocalIPAddress", "getLocation", "getLogManager", "getMenuButtonBoundingClientRect", "getNetworkType", "getNFCAdapter", "getPerformance", "getPluginUpdateManager", "getPrivacySetting", "getRandomValues", "getRealtimeLogManager", "getRecorderManager", "getRendererUserAgent", "getScreenBrightness", "getScreenRecordingState", "getSecureElementPasses", "getSelectedTextRange", "getSetting", "getShareInfo", "getShowSplashAdStatus", "getSkylineInfo", "getSkylineInfoSync", "getStorage", "getStorageInfo", "getStorageInfoSync", "getStorageSync", "getSystemInfo", "getSystemInfoAsync", "getSystemInfoSync", "getSystemSetting", "getTransitCardCPLC", "getTransitCardInfo", "getTransitCardList", "getUpdateManager", "getUserCryptoManager", "getUserInfo", "getUserProfile", "getVideoInfo", "getWeRunData", "getWifiList", "getWindowInfo", "getXrFrameSystem", "hideHomeButton", "hideKeyboard", "hideLoading", "hideNavigationBarLoading", "hideShareMenu", "hideTabBar", "hideTabBarRedDot", "hideToast", "initFaceDetect", "isBluetoothDevicePaired", "issueTransitCard", "isVKSupport", "join1v1Chat", "joinVoIPChat", "jumpToOfflinePay", "loadBuiltInFontFace", "loadFontFace", "login", "makeBluetoothPair", "makePhoneCall", "navigateBack", "navigateBackMiniProgram", "navigateTo", "navigateToMiniProgram", "nextTick", "notifyBLECharacteristicValueChange", "notifyGroupMembers", "offAccelerometerChange", "offAfterPageLoad", "offAfterPageUnload", "offApiCategoryChange", "offAppHide", "offAppRoute", "offAppRouteDone", "offAppShow", "offAudioInterruptionBegin", "offAudioInterruptionEnd", "offBatteryInfoChange", "offBeaconServiceChange", "offBeaconUpdate", "offBeforeAppRoute", "offBeforePageLoad", "offBeforePageUnload", "offBLECharacteristicValueChange", "offBLEConnectionStateChange", "offBLEMTUChange", "offBLEPeripheralConnectionStateChanged", "offBluetoothAdapterStateChange", "offBluetoothDeviceFound", "offCompassChange", "offCopyUrl", "offDeviceMotionChange", "offEmbeddedMiniProgramHeightChange", "offError", "offGeneratePoster", "offGetWifiList", "offGyroscopeChange", "offHCEMessage", "offKeyboardHeightChange", "offKeyDown", "offKeyUp", "offLazyLoadError", "offLocalServiceDiscoveryStop", "offLocalServiceFound", "offLocalServiceLost", "offLocalServiceResolveFail", "offLocationChange", "offLocationChangeError", "offMemoryWarning", "offMenuButtonBoundingClientRectWeightChange", "offNetworkStatusChange", "offNetworkWeakChange", "offPageNotFound", "offParallelStateChange", "offScreenRecordingStateChanged", "offThemeChange", "offUnhandledRejection", "offUserCaptureScreen", "offUserOffTranslation", "offUserTriggerTranslation", "offVoIPChatInterrupted", "offVoIPChatMembersChanged", "offVoIPChatSpeakersChanged", "offVoIPChatStateChanged", "offVoIPVideoMembersChanged", "offWifiConnected", "offWifiConnectedWithPartialInfo", "offWindowResize", "offWindowStateChange", "onAccelerometerChange", "onAfterPageLoad", "onAfterPageUnload", "onApiCategoryChange", "onAppHide", "onAppRoute", "onAppRouteDone", "onAppShow", "onAudioInterruptionBegin", "onAudioInterruptionEnd", "onBackgroundAudioPause", "onBackgroundAudioPlay", "onBackgroundAudioStop", "onBackgroundFetchData", "onBatteryInfoChange", "onBeaconServiceChange", "onBeaconUpdate", "onBeforeAppRoute", "onBeforePageLoad", "onBeforePageUnload", "onBLECharacteristicValueChange", "onBLEConnectionStateChange", "onBLEMTUChange", "onBLEPeripheralConnectionStateChanged", "onBluetoothAdapterStateChange", "onBluetoothDeviceFound", "onCompassChange", "onCopyUrl", "onDeviceMotionChange", "onEmbeddedMiniProgramHeightChange", "onError", "onGeneratePoster", "onGetWifiList", "onGyroscopeChange", "onHCEMessage", "onKeyboardHeightChange", "onKeyDown", "onKeyUp", "onLazyLoadError", "onLocalServiceDiscoveryStop", "onLocalServiceFound", "onLocalServiceLost", "onLocalServiceResolveFail", "onLocationChange", "onLocationChangeError", "onMemoryWarning", "onMenuButtonBoundingClientRectWeightChange", "onNeedPrivacyAuthorization", "onNetworkStatusChange", "onNetworkWeakChange", "onPageNotFound", "onParallelStateChange", "onScreenRecordingStateChanged", "onSocketClose", "onSocketError", "onSocketMessage", "onSocketOpen", "onThemeChange", "onUnhandledRejection", "onUserCaptureScreen", "onUserOffTranslation", "onUserTriggerTranslation", "onVoIPChatInterrupted", "onVoIPChatMembersChanged", "onVoIPChatSpeakersChanged", "onVoIPChatStateChanged", "onVoIPVideoMembersChanged", "onWifiConnected", "onWifiConnectedWithPartialInfo", "onWindowResize", "onWindowStateChange", "openAppAuthorizeSetting", "openBluetoothAdapter", "openCard", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsLiveNoticeInfo", "openChannelsUserProfile", "openChatTool", "openCustomerServiceChat", "openDesignerProfile", "openDocument", "openEmbeddedMiniProgram", "openHKOfflinePayView", "openInquiriesTopic", "openLocation", "openOfficialAccountArticle", "openOfficialAccountChat", "openOfficialAccountProfile", "openPrivacyContract", "openSetting", "openSingleStickerView", "openStickerIPView", "openStickerSetView", "openStoreCouponDetail", "openStoreOrderDetail", "openSystemBluetoothSetting", "openVideoEditor", "pageScrollTo", "pauseBackgroundAudio", "pauseVoice", "playBackgroundAudio", "playVoice", "pluginLogin", "postMessageToReferrerMiniProgram", "postMessageToReferrerPage", "preDownloadSubpackage", "preloadAssets", "preloadSkylineView", "preloadWebview", "previewImage", "previewMedia", "readBLECharacteristicValue", "rechargeTransitCard", "redirectTo", "reLaunch", "removeSecureElementPass", "removeStorage", "removeStorageSync", "removeTabBarBadge", "reportAnalytics", "reportEvent", "reportMonitor", "reportPerformance", "request", "requestAppleSubscribeSign", "requestCommonPayment", "requestDeviceVoIP", "requestFacialVerify", "requestIdleCallback", "requestMerchantTransfer", "requestOrderPayment", "requestPayment", "requestPluginPayment", "requestSubscribeDeviceMessage", "requestSubscribeEmployeeMessage", "requestSubscribeMessage", "requestVirtualPayment", "requirePrivacyAuthorize", "reserveChannelsLive", "restartMiniProgram", "revokeBufferURL", "rewriteRoute", "saveFileToDisk", "saveImageToPhotosAlbum", "saveVideoToPhotosAlbum", "scanCode", "seekBackgroundAudio", "selectGroupMembers", "sendHCEMessage", "sendSms", "sendSocketMessage", "setBackgroundColor", "setBackgroundFetchToken", "setBackgroundTextStyle", "setBLEMTU", "setClipboardData", "setEnable1v1Chat", "setEnableDebug", "setInnerAudioOption", "setKeepScreenOn", "setNavigationBarColor", "setNavigationBarTitle", "setScreenBrightness", "setStorage", "setStorageSync", "setTabBarBadge", "setTabBarItem", "setTabBarStyle", "setTopBarText", "setVisualEffectOnCapture", "setWifiList", "setWindowSize", "shareAppMessageToGroup", "shareEmojiToGroup", "shareFileMessage", "shareFileToGroup", "shareImageToGroup", "shareToOfficialAccount", "shareToWeRun", "shareVideoMessage", "shareVideoToGroup", "showActionSheet", "showLoading", "showModal", "showNavigationBarLoading", "showRedPackage", "showShareImageMenu", "showShareMenu", "showTabBar", "showTabBarRedDot", "showToast", "startAccelerometer", "startBeaconDiscovery", "startBluetoothDevicesDiscovery", "startCompass", "startDeviceMotionListening", "startGyroscope", "startHCE", "startLocalServiceDiscovery", "startLocationUpdate", "startLocationUpdateBackground", "startPullDownRefresh", "startRecord", "startSoterAuthentication", "startWifi", "stopAccelerometer", "stopBackgroundAudio", "stopBeaconDiscovery", "stopBluetoothDevicesDiscovery", "stopCompass", "stopDeviceMotionListening", "stopFaceDetect", "stopGyroscope", "stopHCE", "stopLocalServiceDiscovery", "stopLocationUpdate", "stopPullDownRefresh", "stopRecord", "stopVoice", "stopWifi", "subscribeVoIPVideoMembers", "switchTab", "updateShareMenu", "updateVoIPChatMuteConfig", "updateWeChatApp", "uploadFile", "vibrateLong", "vibrateShort", "writeBLECharacteristicValue"];
|
|
8374
|
+
declare const WEAPI_MINIPROGRAM_WECHAT_METHODS: readonly ["addCard", "addFileToFavorites", "addPaymentPassFinish", "addPaymentPassGetCertificateData", "addPhoneCalendar", "addPhoneContact", "addPhoneRepeatCalendar", "addVideoToFavorites", "arrayBufferToBase64", "authorize", "authorizeForMiniProgram", "authPrivateMessage", "base64ToArrayBuffer", "batchGetStorage", "batchGetStorageSync", "batchSetStorage", "batchSetStorageSync", "bindEmployeeRelation", "canAddSecureElementPass", "cancelIdleCallback", "canIUse", "canvasGetImageData", "canvasPutImageData", "canvasToTempFilePath", "checkDeviceSupportHevc", "checkEmployeeRelation", "checkIsAddedToMyMiniProgram", "checkIsOpenAccessibility", "checkIsPictureInPictureActive", "checkIsSoterEnrolledInDevice", "checkIsSupportFacialRecognition", "checkIsSupportSoterAuthentication", "checkSession", "checkTransitCardSupport", "chooseAddress", "chooseContact", "chooseImage", "chooseInvoice", "chooseInvoiceTitle", "chooseLicensePlate", "chooseLocation", "chooseMedia", "chooseMessageFile", "choosePoi", "chooseVideo", "clearStorage", "clearStorageSync", "closeBLEConnection", "closeBluetoothAdapter", "closeSocket", "compressImage", "compressVideo", "connectSocket", "connectWifi", "createAnimation", "createAudioContext", "createBLEConnection", "createBLEPeripheralServer", "createBufferURL", "createCacheManager", "createCameraContext", "createCanvasContext", "createGlobalPayment", "createInferenceSession", "createInnerAudioContext", "createIntersectionObserver", "createInterstitialAd", "createLivePlayerContext", "createLivePusherContext", "createMapContext", "createMediaAudioPlayer", "createMediaContainer", "createMediaRecorder", "createOffscreenCanvas", "createRewardedVideoAd", "createSelectorQuery", "createTCPSocket", "createUDPSocket", "createVideoContext", "createVideoDecoder", "createVKSession", "createWebAudioContext", "createWorker", "cropImage", "deleteTransitCard", "disableAlertBeforeUnload", "downloadFile", "editImage", "enableAlertBeforeUnload", "enterChatToolMode", "exitMiniProgram", "exitVoIPChat", "faceDetect", "getAccountInfoSync", "getApiCategory", "getAppAuthorizeSetting", "getAppBaseInfo", "getAvailableAudioSources", "getBackgroundAudioManager", "getBackgroundAudioPlayerState", "getBackgroundFetchData", "getBackgroundFetchToken", "getBatteryInfo", "getBatteryInfoSync", "getBeacons", "getBLEDeviceCharacteristics", "getBLEDeviceRSSI", "getBLEDeviceServices", "getBLEMTU", "getBluetoothAdapterState", "getBluetoothDevices", "getChannelsLiveInfo", "getChannelsLiveNoticeInfo", "getChannelsShareKey", "getChatToolInfo", "getClipboardData", "getCommonConfig", "getConnectedBluetoothDevices", "getConnectedWifi", "getDeviceBenchmarkInfo", "getDeviceInfo", "getDeviceVoIPList", "getEnterOptionsSync", "getExptInfoSync", "getExtConfig", "getExtConfigSync", "getFileSystemManager", "getFuzzyLocation", "getGroupEnterInfo", "getHCEState", "getImageInfo", "getInferenceEnvInfo", "getLaunchOptionsSync", "getLocalIPAddress", "getLocation", "getLogManager", "getMenuButtonBoundingClientRect", "getNetworkType", "getNFCAdapter", "getPerformance", "getPluginUpdateManager", "getPrivacySetting", "getRandomValues", "getRealtimeLogManager", "getRecorderManager", "getRendererUserAgent", "getScreenBrightness", "getScreenRecordingState", "getSecureElementPasses", "getSelectedTextRange", "getSetting", "getShareInfo", "getShowSplashAdStatus", "getSkylineInfo", "getSkylineInfoSync", "getStorage", "getStorageInfo", "getStorageInfoSync", "getStorageSync", "getSystemInfo", "getSystemInfoAsync", "getSystemInfoSync", "getSystemSetting", "getTransitCardCPLC", "getTransitCardInfo", "getTransitCardList", "getUpdateManager", "getUserCryptoManager", "getUserInfo", "getUserProfile", "getVideoInfo", "getWeRunData", "getWifiList", "getWindowInfo", "getXrFrameSystem", "hideHomeButton", "hideKeyboard", "hideLoading", "hideNavigationBarLoading", "hideShareMenu", "hideTabBar", "hideTabBarRedDot", "hideToast", "initFaceDetect", "isBluetoothDevicePaired", "issueTransitCard", "isVKSupport", "join1v1Chat", "joinVoIPChat", "jumpToOfflinePay", "loadBuiltInFontFace", "loadFontFace", "login", "makeBluetoothPair", "makePhoneCall", "navigateBack", "navigateBackMiniProgram", "navigateTo", "navigateToMiniProgram", "nextTick", "notifyBLECharacteristicValueChange", "notifyGroupMembers", "offAccelerometerChange", "offAfterPageLoad", "offAfterPageUnload", "offApiCategoryChange", "offAppHide", "offAppRoute", "offAppRouteDone", "offAppShow", "offAudioInterruptionBegin", "offAudioInterruptionEnd", "offBatteryInfoChange", "offBeaconServiceChange", "offBeaconUpdate", "offBeforeAppRoute", "offBeforePageLoad", "offBeforePageUnload", "offBLECharacteristicValueChange", "offBLEConnectionStateChange", "offBLEMTUChange", "offBLEPeripheralConnectionStateChanged", "offBluetoothAdapterStateChange", "offBluetoothDeviceFound", "offCompassChange", "offCopyUrl", "offDeviceMotionChange", "offEmbeddedMiniProgramHeightChange", "offError", "offGeneratePoster", "offGetWifiList", "offGyroscopeChange", "offHCEMessage", "offKeyboardHeightChange", "offKeyDown", "offKeyUp", "offLazyLoadError", "offLocalServiceDiscoveryStop", "offLocalServiceFound", "offLocalServiceLost", "offLocalServiceResolveFail", "offLocationChange", "offLocationChangeError", "offMemoryWarning", "offMenuButtonBoundingClientRectWeightChange", "offNetworkStatusChange", "offNetworkWeakChange", "offPageNotFound", "offParallelStateChange", "offScreenRecordingStateChanged", "offThemeChange", "offUnhandledRejection", "offUserCaptureScreen", "offUserOffTranslation", "offUserTriggerTranslation", "offVoIPChatInterrupted", "offVoIPChatMembersChanged", "offVoIPChatSpeakersChanged", "offVoIPChatStateChanged", "offVoIPVideoMembersChanged", "offWifiConnected", "offWifiConnectedWithPartialInfo", "offWindowResize", "offWindowStateChange", "onAccelerometerChange", "onAfterPageLoad", "onAfterPageUnload", "onApiCategoryChange", "onAppHide", "onAppRoute", "onAppRouteDone", "onAppShow", "onAudioInterruptionBegin", "onAudioInterruptionEnd", "onBackgroundAudioPause", "onBackgroundAudioPlay", "onBackgroundAudioStop", "onBackgroundFetchData", "onBatteryInfoChange", "onBeaconServiceChange", "onBeaconUpdate", "onBeforeAppRoute", "onBeforePageLoad", "onBeforePageUnload", "onBLECharacteristicValueChange", "onBLEConnectionStateChange", "onBLEMTUChange", "onBLEPeripheralConnectionStateChanged", "onBluetoothAdapterStateChange", "onBluetoothDeviceFound", "onCompassChange", "onCopyUrl", "onDeviceMotionChange", "onEmbeddedMiniProgramHeightChange", "onError", "onGeneratePoster", "onGetWifiList", "onGyroscopeChange", "onHCEMessage", "onKeyboardHeightChange", "onKeyDown", "onKeyUp", "onLazyLoadError", "onLocalServiceDiscoveryStop", "onLocalServiceFound", "onLocalServiceLost", "onLocalServiceResolveFail", "onLocationChange", "onLocationChangeError", "onMemoryWarning", "onMenuButtonBoundingClientRectWeightChange", "onNeedPrivacyAuthorization", "onNetworkStatusChange", "onNetworkWeakChange", "onPageNotFound", "onParallelStateChange", "onScreenRecordingStateChanged", "onSocketClose", "onSocketError", "onSocketMessage", "onSocketOpen", "onThemeChange", "onUnhandledRejection", "onUserCaptureScreen", "onUserOffTranslation", "onUserTriggerTranslation", "onVoIPChatInterrupted", "onVoIPChatMembersChanged", "onVoIPChatSpeakersChanged", "onVoIPChatStateChanged", "onVoIPVideoMembersChanged", "onWifiConnected", "onWifiConnectedWithPartialInfo", "onWindowResize", "onWindowStateChange", "openAppAuthorizeSetting", "openBluetoothAdapter", "openCard", "openChannelsActivity", "openChannelsEvent", "openChannelsLive", "openChannelsLiveNoticeInfo", "openChannelsUserProfile", "openChatTool", "openCustomerServiceChat", "openDesignerProfile", "openDocument", "openEmbeddedMiniProgram", "openHKOfflinePayView", "openInquiriesTopic", "openLocation", "openOfficialAccountArticle", "openOfficialAccountChat", "openOfficialAccountProfile", "openPrivacyContract", "openSetting", "openSingleStickerView", "openStickerIPView", "openStickerSetView", "openStoreCouponDetail", "openStoreOrderDetail", "openSystemBluetoothSetting", "openVideoEditor", "pageScrollTo", "pauseBackgroundAudio", "pauseVoice", "playBackgroundAudio", "playVoice", "pluginLogin", "postMessageToReferrerMiniProgram", "postMessageToReferrerPage", "preDownloadSubpackage", "preloadAssets", "preloadSkylineView", "preloadWebview", "previewImage", "previewMedia", "readBLECharacteristicValue", "rechargeTransitCard", "redirectTo", "reLaunch", "removeSecureElementPass", "removeStorage", "removeStorageSync", "removeTabBarBadge", "reportAnalytics", "reportEvent", "reportMonitor", "reportPerformance", "request", "requestAppleSubscribeSign", "requestCommonPayment", "requestDeviceVoIP", "requestFacialVerify", "requestIdleCallback", "requestMerchantTransfer", "requestOrderPayment", "requestPayment", "requestPluginPayment", "requestSubscribeDeviceMessage", "requestSubscribeEmployeeMessage", "requestSubscribeMessage", "requestVirtualPayment", "requirePrivacyAuthorize", "reserveChannelsLive", "restartMiniProgram", "revokeBufferURL", "rewriteRoute", "saveFileToDisk", "saveImageToPhotosAlbum", "saveVideoToPhotosAlbum", "scanCode", "seekBackgroundAudio", "selectGroupMembers", "sendHCEMessage", "sendSms", "sendSocketMessage", "setBackgroundColor", "setBackgroundFetchToken", "setBackgroundTextStyle", "setBLEMTU", "setClipboardData", "setEnable1v1Chat", "setEnableDebug", "setInnerAudioOption", "setKeepScreenOn", "setNavigationBarColor", "setNavigationBarTitle", "setScreenBrightness", "setStorage", "setStorageSync", "setTabBarBadge", "setTabBarItem", "setTabBarStyle", "setTopBarText", "setVisualEffectOnCapture", "setWifiList", "setWindowSize", "shareAppMessageToGroup", "shareEmojiToGroup", "shareFileMessage", "shareFileToGroup", "shareImageToGroup", "shareToOfficialAccount", "shareToWeRun", "shareVideoMessage", "shareVideoToGroup", "showActionSheet", "showLoading", "showModal", "showNavigationBarLoading", "showRedPackage", "showShareImageMenu", "showShareMenu", "showTabBar", "showTabBarRedDot", "showToast", "startAccelerometer", "startBeaconDiscovery", "startBluetoothDevicesDiscovery", "startCompass", "startDeviceMotionListening", "startGyroscope", "startHCE", "startLocalServiceDiscovery", "startLocationUpdate", "startLocationUpdateBackground", "startPullDownRefresh", "startRecord", "startSoterAuthentication", "startWifi", "stopAccelerometer", "stopBackgroundAudio", "stopBeaconDiscovery", "stopBluetoothDevicesDiscovery", "stopCompass", "stopDeviceMotionListening", "stopFaceDetect", "stopGyroscope", "stopHCE", "stopLocalServiceDiscovery", "stopLocationUpdate", "stopPullDownRefresh", "stopRecord", "stopVoice", "stopWifi", "subscribeVoIPVideoMembers", "switchTab", "updateShareMenu", "updateVoIPChatMuteConfig", "updateWeChatApp", "uploadFile", "vibrateLong", "vibrateShort", "writeBLECharacteristicValue"];
|
|
8375
8375
|
type WeapiMiniProgramMethodName = (typeof WEAPI_MINIPROGRAM_METHODS)[number];
|
|
8376
8376
|
type WeapiPlatformTypeSourceName = 'default' | 'wechat' | 'alipay' | 'douyin';
|
|
8377
8377
|
type WeapiRuntimeTypeSourceName = 'wx' | 'my' | 'tt';
|
package/dist/index.mjs
CHANGED
|
@@ -776,11 +776,11 @@ const WEAPI_TT_METHODS = [...WEAPI_TT_METHODS_APPLY_EC_COUPON_TO_UNSUBSCRIBE_ALL
|
|
|
776
776
|
const WEAPI_TYPE_SOURCES = {
|
|
777
777
|
default: {
|
|
778
778
|
package: "miniprogram-api-typings",
|
|
779
|
-
version: "5.2.
|
|
779
|
+
version: "5.2.2"
|
|
780
780
|
},
|
|
781
781
|
wechat: {
|
|
782
782
|
package: "miniprogram-api-typings",
|
|
783
|
-
version: "5.2.
|
|
783
|
+
version: "5.2.2"
|
|
784
784
|
},
|
|
785
785
|
alipay: {
|
|
786
786
|
package: "@mini-types/alipay",
|
|
@@ -792,7 +792,7 @@ const WEAPI_TYPE_SOURCES = {
|
|
|
792
792
|
},
|
|
793
793
|
wx: {
|
|
794
794
|
package: "miniprogram-api-typings",
|
|
795
|
-
version: "5.2.
|
|
795
|
+
version: "5.2.2"
|
|
796
796
|
},
|
|
797
797
|
my: {
|
|
798
798
|
package: "@mini-types/alipay",
|
|
@@ -815,12 +815,12 @@ const WEAPI_RUNTIME_TYPE_SOURCES = {
|
|
|
815
815
|
tt: WEAPI_TYPE_SOURCES.tt
|
|
816
816
|
};
|
|
817
817
|
//#endregion
|
|
818
|
-
//#region src/core/apiCatalog/
|
|
818
|
+
//#region src/core/apiCatalog/wxMethodsAddCardToHideShareMenu.ts
|
|
819
819
|
/**
|
|
820
820
|
* @description 三端 API 名单(由 typings 自动提取,请勿手工修改)
|
|
821
821
|
* @generated by scripts/sync-api-catalog.mjs
|
|
822
822
|
*/
|
|
823
|
-
const
|
|
823
|
+
const WEAPI_WX_METHODS_ADD_CARD_TO_HIDE_SHARE_MENU = [
|
|
824
824
|
"addCard",
|
|
825
825
|
"addFileToFavorites",
|
|
826
826
|
"addPaymentPassFinish",
|
|
@@ -854,6 +854,7 @@ const WEAPI_WX_METHODS_ADD_CARD_TO_IS_VKSUPPORT = [
|
|
|
854
854
|
"checkIsSupportFacialRecognition",
|
|
855
855
|
"checkIsSupportSoterAuthentication",
|
|
856
856
|
"checkSession",
|
|
857
|
+
"checkTransitCardSupport",
|
|
857
858
|
"chooseAddress",
|
|
858
859
|
"chooseContact",
|
|
859
860
|
"chooseImage",
|
|
@@ -904,6 +905,7 @@ const WEAPI_WX_METHODS_ADD_CARD_TO_IS_VKSUPPORT = [
|
|
|
904
905
|
"createWebAudioContext",
|
|
905
906
|
"createWorker",
|
|
906
907
|
"cropImage",
|
|
908
|
+
"deleteTransitCard",
|
|
907
909
|
"disableAlertBeforeUnload",
|
|
908
910
|
"downloadFile",
|
|
909
911
|
"editImage",
|
|
@@ -959,6 +961,7 @@ const WEAPI_WX_METHODS_ADD_CARD_TO_IS_VKSUPPORT = [
|
|
|
959
961
|
"getNetworkType",
|
|
960
962
|
"getNFCAdapter",
|
|
961
963
|
"getPerformance",
|
|
964
|
+
"getPluginUpdateManager",
|
|
962
965
|
"getPrivacySetting",
|
|
963
966
|
"getRandomValues",
|
|
964
967
|
"getRealtimeLogManager",
|
|
@@ -981,6 +984,9 @@ const WEAPI_WX_METHODS_ADD_CARD_TO_IS_VKSUPPORT = [
|
|
|
981
984
|
"getSystemInfoAsync",
|
|
982
985
|
"getSystemInfoSync",
|
|
983
986
|
"getSystemSetting",
|
|
987
|
+
"getTransitCardCPLC",
|
|
988
|
+
"getTransitCardInfo",
|
|
989
|
+
"getTransitCardList",
|
|
984
990
|
"getUpdateManager",
|
|
985
991
|
"getUserCryptoManager",
|
|
986
992
|
"getUserInfo",
|
|
@@ -994,23 +1000,25 @@ const WEAPI_WX_METHODS_ADD_CARD_TO_IS_VKSUPPORT = [
|
|
|
994
1000
|
"hideKeyboard",
|
|
995
1001
|
"hideLoading",
|
|
996
1002
|
"hideNavigationBarLoading",
|
|
997
|
-
"hideShareMenu"
|
|
998
|
-
"hideTabBar",
|
|
999
|
-
"hideTabBarRedDot",
|
|
1000
|
-
"hideToast",
|
|
1001
|
-
"initFaceDetect",
|
|
1002
|
-
"isBluetoothDevicePaired",
|
|
1003
|
-
"isVKSupport"
|
|
1003
|
+
"hideShareMenu"
|
|
1004
1004
|
];
|
|
1005
1005
|
//#endregion
|
|
1006
|
-
//#region src/core/apiCatalog/
|
|
1006
|
+
//#region src/core/apiCatalog/wxMethodsHideTabBarToOpenStoreCouponDetail.ts
|
|
1007
1007
|
/**
|
|
1008
1008
|
* @description 三端 API 名单(由 typings 自动提取,请勿手工修改)
|
|
1009
1009
|
* @generated by scripts/sync-api-catalog.mjs
|
|
1010
1010
|
*/
|
|
1011
|
-
const
|
|
1011
|
+
const WEAPI_WX_METHODS_HIDE_TAB_BAR_TO_OPEN_STORE_COUPON_DETAIL = [
|
|
1012
|
+
"hideTabBar",
|
|
1013
|
+
"hideTabBarRedDot",
|
|
1014
|
+
"hideToast",
|
|
1015
|
+
"initFaceDetect",
|
|
1016
|
+
"isBluetoothDevicePaired",
|
|
1017
|
+
"issueTransitCard",
|
|
1018
|
+
"isVKSupport",
|
|
1012
1019
|
"join1v1Chat",
|
|
1013
1020
|
"joinVoIPChat",
|
|
1021
|
+
"jumpToOfflinePay",
|
|
1014
1022
|
"loadBuiltInFontFace",
|
|
1015
1023
|
"loadFontFace",
|
|
1016
1024
|
"login",
|
|
@@ -1166,6 +1174,7 @@ const WEAPI_WX_METHODS_JOIN1V1_CHAT_TO_PLUGIN_LOGIN = [
|
|
|
1166
1174
|
"openChannelsUserProfile",
|
|
1167
1175
|
"openChatTool",
|
|
1168
1176
|
"openCustomerServiceChat",
|
|
1177
|
+
"openDesignerProfile",
|
|
1169
1178
|
"openDocument",
|
|
1170
1179
|
"openEmbeddedMiniProgram",
|
|
1171
1180
|
"openHKOfflinePayView",
|
|
@@ -1179,7 +1188,15 @@ const WEAPI_WX_METHODS_JOIN1V1_CHAT_TO_PLUGIN_LOGIN = [
|
|
|
1179
1188
|
"openSingleStickerView",
|
|
1180
1189
|
"openStickerIPView",
|
|
1181
1190
|
"openStickerSetView",
|
|
1182
|
-
"openStoreCouponDetail"
|
|
1191
|
+
"openStoreCouponDetail"
|
|
1192
|
+
];
|
|
1193
|
+
//#endregion
|
|
1194
|
+
//#region src/core/apiCatalog/wxMethodsOpenStoreOrderDetailToWriteBLECharacteristicValue.ts
|
|
1195
|
+
/**
|
|
1196
|
+
* @description 三端 API 名单(由 typings 自动提取,请勿手工修改)
|
|
1197
|
+
* @generated by scripts/sync-api-catalog.mjs
|
|
1198
|
+
*/
|
|
1199
|
+
const WEAPI_WX_METHODS_OPEN_STORE_ORDER_DETAIL_TO_WRITE_BLECHARACTERISTIC_VALUE = [
|
|
1183
1200
|
"openStoreOrderDetail",
|
|
1184
1201
|
"openSystemBluetoothSetting",
|
|
1185
1202
|
"openVideoEditor",
|
|
@@ -1188,15 +1205,7 @@ const WEAPI_WX_METHODS_JOIN1V1_CHAT_TO_PLUGIN_LOGIN = [
|
|
|
1188
1205
|
"pauseVoice",
|
|
1189
1206
|
"playBackgroundAudio",
|
|
1190
1207
|
"playVoice",
|
|
1191
|
-
"pluginLogin"
|
|
1192
|
-
];
|
|
1193
|
-
//#endregion
|
|
1194
|
-
//#region src/core/apiCatalog/wxMethodsPostMessageToReferrerMiniProgramToWriteBLECharacteristicValue.ts
|
|
1195
|
-
/**
|
|
1196
|
-
* @description 三端 API 名单(由 typings 自动提取,请勿手工修改)
|
|
1197
|
-
* @generated by scripts/sync-api-catalog.mjs
|
|
1198
|
-
*/
|
|
1199
|
-
const WEAPI_WX_METHODS_POST_MESSAGE_TO_REFERRER_MINI_PROGRAM_TO_WRITE_BLECHARACTERISTIC_VALUE = [
|
|
1208
|
+
"pluginLogin",
|
|
1200
1209
|
"postMessageToReferrerMiniProgram",
|
|
1201
1210
|
"postMessageToReferrerPage",
|
|
1202
1211
|
"preDownloadSubpackage",
|
|
@@ -1206,6 +1215,7 @@ const WEAPI_WX_METHODS_POST_MESSAGE_TO_REFERRER_MINI_PROGRAM_TO_WRITE_BLECHARACT
|
|
|
1206
1215
|
"previewImage",
|
|
1207
1216
|
"previewMedia",
|
|
1208
1217
|
"readBLECharacteristicValue",
|
|
1218
|
+
"rechargeTransitCard",
|
|
1209
1219
|
"redirectTo",
|
|
1210
1220
|
"reLaunch",
|
|
1211
1221
|
"removeSecureElementPass",
|
|
@@ -1217,6 +1227,7 @@ const WEAPI_WX_METHODS_POST_MESSAGE_TO_REFERRER_MINI_PROGRAM_TO_WRITE_BLECHARACT
|
|
|
1217
1227
|
"reportMonitor",
|
|
1218
1228
|
"reportPerformance",
|
|
1219
1229
|
"request",
|
|
1230
|
+
"requestAppleSubscribeSign",
|
|
1220
1231
|
"requestCommonPayment",
|
|
1221
1232
|
"requestDeviceVoIP",
|
|
1222
1233
|
"requestFacialVerify",
|
|
@@ -1325,9 +1336,9 @@ const WEAPI_WX_METHODS_POST_MESSAGE_TO_REFERRER_MINI_PROGRAM_TO_WRITE_BLECHARACT
|
|
|
1325
1336
|
//#endregion
|
|
1326
1337
|
//#region src/core/apiCatalog/index.ts
|
|
1327
1338
|
const WEAPI_WECHAT_METHODS = [
|
|
1328
|
-
...
|
|
1329
|
-
...
|
|
1330
|
-
...
|
|
1339
|
+
...WEAPI_WX_METHODS_ADD_CARD_TO_HIDE_SHARE_MENU,
|
|
1340
|
+
...WEAPI_WX_METHODS_HIDE_TAB_BAR_TO_OPEN_STORE_COUPON_DETAIL,
|
|
1341
|
+
...WEAPI_WX_METHODS_OPEN_STORE_ORDER_DETAIL_TO_WRITE_BLECHARACTERISTIC_VALUE
|
|
1331
1342
|
];
|
|
1332
1343
|
const WEAPI_ALIPAY_METHODS = WEAPI_MY_METHODS;
|
|
1333
1344
|
const WEAPI_DOUYIN_METHODS = WEAPI_TT_METHODS;
|
|
@@ -2245,7 +2256,8 @@ function resolveCurrentMiniProgramHostConfig() {
|
|
|
2245
2256
|
const runtimeRoot = resolveRuntimeRoot();
|
|
2246
2257
|
for (const globalKey of getMiniProgramRuntimeGlobalKeys()) {
|
|
2247
2258
|
if (!resolveRuntimeGlobalValue(globalKey, runtimeRoot)) continue;
|
|
2248
|
-
const
|
|
2259
|
+
const platform = getMiniProgramPlatformByRuntimeGlobalKey(globalKey);
|
|
2260
|
+
const hostConfig = resolveRuntimeGlobalValue(getMiniProgramRuntimeHostConfigKey(platform), runtimeRoot);
|
|
2249
2261
|
return isPlainObject(hostConfig) ? hostConfig : void 0;
|
|
2250
2262
|
}
|
|
2251
2263
|
const defaultHostConfig = resolveRuntimeGlobalValue(getMiniProgramRuntimeHostConfigKey(void 0), runtimeRoot);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wevu/api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.14",
|
|
5
5
|
"description": "tsdown bundler template",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@douyin-microapp/typings": "^1.3.1",
|
|
36
36
|
"@mini-types/alipay": "^3.0.14",
|
|
37
|
-
"miniprogram-api-typings": "^5.2.
|
|
38
|
-
"@weapp-core/shared": "3.0
|
|
37
|
+
"miniprogram-api-typings": "^5.2.2",
|
|
38
|
+
"@weapp-core/shared": "3.1.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|