hylid-bridge 4.0.0 → 4.0.1
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 +3 -3
- package/canIUse.json +1 -1
- package/lib/bridges.d.ts +5 -3
- package/lib/bridges.js +34 -5
- package/lib/clients/mp/alipay/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/alipay/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/alipay/index.d.ts +3 -1
- package/lib/clients/mp/alipay/index.js +4 -2
- package/lib/clients/mp/alipayhk/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/alipayhk/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/alipayhk/index.d.ts +3 -1
- package/lib/clients/mp/alipayhk/index.js +4 -2
- package/lib/clients/mp/dana/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/dana/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/dana/index.d.ts +3 -1
- package/lib/clients/mp/dana/index.js +4 -2
- package/lib/clients/mp/gcash/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/gcash/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/gcash/index.d.ts +3 -1
- package/lib/clients/mp/gcash/index.js +4 -2
- package/lib/clients/mp/tngd/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/tngd/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/tngd/index.d.ts +3 -1
- package/lib/clients/mp/tngd/index.js +4 -2
- package/lib/clients/mp/truemoney/defineRuntimeConfig.d.ts +2 -0
- package/lib/clients/mp/truemoney/defineRuntimeConfig.js +3 -0
- package/lib/clients/mp/truemoney/index.d.ts +3 -1
- package/lib/clients/mp/truemoney/index.js +4 -2
- package/lib/clients/mp_web/alipayhk/index.d.ts +6 -1
- package/lib/clients/mp_web/alipayhk/index.js +3 -1
- package/lib/clients/mp_web/alipayhk/rpcWithAuth.d.ts +2 -0
- package/lib/clients/mp_web/alipayhk/rpcWithAuth.js +3 -0
- package/lib/clients/mp_web/dana/index.d.ts +6 -1
- package/lib/clients/mp_web/dana/index.js +3 -1
- package/lib/clients/mp_web/dana/rpcWithAuth.d.ts +2 -0
- package/lib/clients/mp_web/dana/rpcWithAuth.js +3 -0
- package/lib/clients/mp_web/gcash/index.d.ts +6 -1
- package/lib/clients/mp_web/gcash/index.js +3 -1
- package/lib/clients/mp_web/gcash/rpcWithAuth.d.ts +2 -0
- package/lib/clients/mp_web/gcash/rpcWithAuth.js +3 -0
- package/lib/clients/mp_web/tngd/index.d.ts +6 -1
- package/lib/clients/mp_web/tngd/index.js +3 -1
- package/lib/clients/mp_web/tngd/rpcWithAuth.d.ts +2 -0
- package/lib/clients/mp_web/tngd/rpcWithAuth.js +3 -0
- package/lib/clients/mp_web/truemoney/index.d.ts +6 -1
- package/lib/clients/mp_web/truemoney/index.js +3 -1
- package/lib/clients/mp_web/truemoney/rpcWithAuth.d.ts +2 -0
- package/lib/clients/mp_web/truemoney/rpcWithAuth.js +3 -0
- package/lib/clients/web/alipay/index.d.ts +9 -4
- package/lib/clients/web/alipay/index.js +6 -4
- package/lib/clients/web/alipay/rpcWithAuth.d.ts +2 -0
- package/lib/clients/web/alipay/rpcWithAuth.js +3 -0
- package/lib/clients/web/alipay/tradePay.d.ts +1 -1
- package/lib/clients/web/alipay/tradePay.js +1 -1
- package/lib/clients/web/h5/index.d.ts +6 -1
- package/lib/clients/web/h5/index.js +3 -1
- package/lib/clients/web/h5/rpcWithAuth.d.ts +2 -0
- package/lib/clients/web/h5/rpcWithAuth.js +3 -0
- package/lib/common/apis/custom/mp/alipay/tradePay.js +1 -1
- package/lib/common/apis/custom/web/showToast.js +14 -2
- package/lib/dsl.d.ts +9 -0
- package/lib/dsl.js +28 -1
- package/lib/internal/apis/custom/mp_web/alipayhk/rpcWithAuth.d.ts +3 -0
- package/lib/internal/apis/custom/mp_web/alipayhk/rpcWithAuth.js +32 -0
- package/lib/internal/apis/custom/web/defineRuntimeConfig.js +4 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/mp_web_alipay.js +1 -1
- package/lib/umd/mp_web_alipayhk.js +1 -1
- package/lib/umd/mp_web_dana.js +1 -1
- package/lib/umd/mp_web_gcash.js +1 -1
- package/lib/umd/mp_web_tngd.js +1 -1
- package/lib/umd/mp_web_truemoney.js +1 -1
- package/lib/umd/web_alipay.js +1 -1
- package/lib/umd/web_demo.js +1 -1
- package/lib/umd/web_h5.js +1 -1
- package/lib/umd/web_tngdh5ng.js +1 -1
- package/package.json +6 -6
|
@@ -122,6 +122,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
122
122
|
import openApPayCodePage from './openApPayCodePage';
|
|
123
123
|
import openScanPage from './openScanPage';
|
|
124
124
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
125
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
125
126
|
import getAppId from './getAppId';
|
|
126
127
|
import getCurrentPages from './getCurrentPages';
|
|
127
128
|
import getSDKVersion from './getSDKVersion';
|
|
@@ -400,6 +401,10 @@ declare const _default: {
|
|
|
400
401
|
headers: Record<string, string>;
|
|
401
402
|
resData: object;
|
|
402
403
|
}>;
|
|
404
|
+
rpcWithAuth: (args: import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
|
|
405
|
+
headers: Record<string, string>;
|
|
406
|
+
resData: object;
|
|
407
|
+
}>) => void;
|
|
403
408
|
getAppId: (args: import("@hylid/types").AsyncCallback<{
|
|
404
409
|
appId: string;
|
|
405
410
|
}>) => void;
|
|
@@ -409,5 +414,5 @@ declare const _default: {
|
|
|
409
414
|
popWindow: () => void;
|
|
410
415
|
};
|
|
411
416
|
export default _default;
|
|
412
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow, };
|
|
417
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow, };
|
|
413
418
|
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync, };
|
|
@@ -123,6 +123,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
123
123
|
import openApPayCodePage from './openApPayCodePage';
|
|
124
124
|
import openScanPage from './openScanPage';
|
|
125
125
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
126
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
126
127
|
import getAppId from './getAppId';
|
|
127
128
|
import getCurrentPages from './getCurrentPages';
|
|
128
129
|
import getSDKVersion from './getSDKVersion';
|
|
@@ -253,11 +254,12 @@ export default {
|
|
|
253
254
|
openApPayCodePage: openApPayCodePage,
|
|
254
255
|
openScanPage: openScanPage,
|
|
255
256
|
createWithoutAuthRpc: createWithoutAuthRpc,
|
|
257
|
+
rpcWithAuth: rpcWithAuth,
|
|
256
258
|
getAppId: getAppId,
|
|
257
259
|
getCurrentPages: getCurrentPages,
|
|
258
260
|
getSDKVersion: getSDKVersion,
|
|
259
261
|
defineRuntimeConfig: defineRuntimeConfig,
|
|
260
262
|
popWindow: popWindow
|
|
261
263
|
};
|
|
262
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow };
|
|
264
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow };
|
|
263
265
|
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync };
|
|
@@ -122,6 +122,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
122
122
|
import openApPayCodePage from './openApPayCodePage';
|
|
123
123
|
import openScanPage from './openScanPage';
|
|
124
124
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
125
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
125
126
|
import getAppId from './getAppId';
|
|
126
127
|
import getCurrentPages from './getCurrentPages';
|
|
127
128
|
import getSDKVersion from './getSDKVersion';
|
|
@@ -400,6 +401,10 @@ declare const _default: {
|
|
|
400
401
|
headers: Record<string, string>;
|
|
401
402
|
resData: object;
|
|
402
403
|
}>;
|
|
404
|
+
rpcWithAuth: (args: import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
|
|
405
|
+
headers: Record<string, string>;
|
|
406
|
+
resData: object;
|
|
407
|
+
}>) => void;
|
|
403
408
|
getAppId: (args: import("@hylid/types").AsyncCallback<{
|
|
404
409
|
appId: string;
|
|
405
410
|
}>) => void;
|
|
@@ -409,5 +414,5 @@ declare const _default: {
|
|
|
409
414
|
popWindow: () => void;
|
|
410
415
|
};
|
|
411
416
|
export default _default;
|
|
412
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow, };
|
|
417
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow, };
|
|
413
418
|
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync, };
|
|
@@ -123,6 +123,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
123
123
|
import openApPayCodePage from './openApPayCodePage';
|
|
124
124
|
import openScanPage from './openScanPage';
|
|
125
125
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
126
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
126
127
|
import getAppId from './getAppId';
|
|
127
128
|
import getCurrentPages from './getCurrentPages';
|
|
128
129
|
import getSDKVersion from './getSDKVersion';
|
|
@@ -253,11 +254,12 @@ export default {
|
|
|
253
254
|
openApPayCodePage: openApPayCodePage,
|
|
254
255
|
openScanPage: openScanPage,
|
|
255
256
|
createWithoutAuthRpc: createWithoutAuthRpc,
|
|
257
|
+
rpcWithAuth: rpcWithAuth,
|
|
256
258
|
getAppId: getAppId,
|
|
257
259
|
getCurrentPages: getCurrentPages,
|
|
258
260
|
getSDKVersion: getSDKVersion,
|
|
259
261
|
defineRuntimeConfig: defineRuntimeConfig,
|
|
260
262
|
popWindow: popWindow
|
|
261
263
|
};
|
|
262
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow };
|
|
264
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow };
|
|
263
265
|
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync };
|
|
@@ -122,6 +122,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
122
122
|
import openApPayCodePage from './openApPayCodePage';
|
|
123
123
|
import openScanPage from './openScanPage';
|
|
124
124
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
125
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
125
126
|
import getAppId from './getAppId';
|
|
126
127
|
import getCurrentPages from './getCurrentPages';
|
|
127
128
|
import getSDKVersion from './getSDKVersion';
|
|
@@ -400,6 +401,10 @@ declare const _default: {
|
|
|
400
401
|
headers: Record<string, string>;
|
|
401
402
|
resData: object;
|
|
402
403
|
}>;
|
|
404
|
+
rpcWithAuth: (args: import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
|
|
405
|
+
headers: Record<string, string>;
|
|
406
|
+
resData: object;
|
|
407
|
+
}>) => void;
|
|
403
408
|
getAppId: (args: import("@hylid/types").AsyncCallback<{
|
|
404
409
|
appId: string;
|
|
405
410
|
}>) => void;
|
|
@@ -409,5 +414,5 @@ declare const _default: {
|
|
|
409
414
|
popWindow: () => void;
|
|
410
415
|
};
|
|
411
416
|
export default _default;
|
|
412
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow, };
|
|
417
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow, };
|
|
413
418
|
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync, };
|
|
@@ -123,6 +123,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
123
123
|
import openApPayCodePage from './openApPayCodePage';
|
|
124
124
|
import openScanPage from './openScanPage';
|
|
125
125
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
126
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
126
127
|
import getAppId from './getAppId';
|
|
127
128
|
import getCurrentPages from './getCurrentPages';
|
|
128
129
|
import getSDKVersion from './getSDKVersion';
|
|
@@ -253,11 +254,12 @@ export default {
|
|
|
253
254
|
openApPayCodePage: openApPayCodePage,
|
|
254
255
|
openScanPage: openScanPage,
|
|
255
256
|
createWithoutAuthRpc: createWithoutAuthRpc,
|
|
257
|
+
rpcWithAuth: rpcWithAuth,
|
|
256
258
|
getAppId: getAppId,
|
|
257
259
|
getCurrentPages: getCurrentPages,
|
|
258
260
|
getSDKVersion: getSDKVersion,
|
|
259
261
|
defineRuntimeConfig: defineRuntimeConfig,
|
|
260
262
|
popWindow: popWindow
|
|
261
263
|
};
|
|
262
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow };
|
|
264
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow };
|
|
263
265
|
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync };
|
|
@@ -122,6 +122,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
122
122
|
import openApPayCodePage from './openApPayCodePage';
|
|
123
123
|
import openScanPage from './openScanPage';
|
|
124
124
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
125
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
125
126
|
import getAppId from './getAppId';
|
|
126
127
|
import getCurrentPages from './getCurrentPages';
|
|
127
128
|
import getSDKVersion from './getSDKVersion';
|
|
@@ -400,6 +401,10 @@ declare const _default: {
|
|
|
400
401
|
headers: Record<string, string>;
|
|
401
402
|
resData: object;
|
|
402
403
|
}>;
|
|
404
|
+
rpcWithAuth: (args: import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
|
|
405
|
+
headers: Record<string, string>;
|
|
406
|
+
resData: object;
|
|
407
|
+
}>) => void;
|
|
403
408
|
getAppId: (args: import("@hylid/types").AsyncCallback<{
|
|
404
409
|
appId: string;
|
|
405
410
|
}>) => void;
|
|
@@ -409,5 +414,5 @@ declare const _default: {
|
|
|
409
414
|
popWindow: () => void;
|
|
410
415
|
};
|
|
411
416
|
export default _default;
|
|
412
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow, };
|
|
417
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow, };
|
|
413
418
|
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync, };
|
|
@@ -123,6 +123,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
123
123
|
import openApPayCodePage from './openApPayCodePage';
|
|
124
124
|
import openScanPage from './openScanPage';
|
|
125
125
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
126
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
126
127
|
import getAppId from './getAppId';
|
|
127
128
|
import getCurrentPages from './getCurrentPages';
|
|
128
129
|
import getSDKVersion from './getSDKVersion';
|
|
@@ -253,11 +254,12 @@ export default {
|
|
|
253
254
|
openApPayCodePage: openApPayCodePage,
|
|
254
255
|
openScanPage: openScanPage,
|
|
255
256
|
createWithoutAuthRpc: createWithoutAuthRpc,
|
|
257
|
+
rpcWithAuth: rpcWithAuth,
|
|
256
258
|
getAppId: getAppId,
|
|
257
259
|
getCurrentPages: getCurrentPages,
|
|
258
260
|
getSDKVersion: getSDKVersion,
|
|
259
261
|
defineRuntimeConfig: defineRuntimeConfig,
|
|
260
262
|
popWindow: popWindow
|
|
261
263
|
};
|
|
262
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow };
|
|
264
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow };
|
|
263
265
|
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync };
|
|
@@ -122,6 +122,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
122
122
|
import openApPayCodePage from './openApPayCodePage';
|
|
123
123
|
import openScanPage from './openScanPage';
|
|
124
124
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
125
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
125
126
|
import getAppId from './getAppId';
|
|
126
127
|
import getCurrentPages from './getCurrentPages';
|
|
127
128
|
import getSDKVersion from './getSDKVersion';
|
|
@@ -400,6 +401,10 @@ declare const _default: {
|
|
|
400
401
|
headers: Record<string, string>;
|
|
401
402
|
resData: object;
|
|
402
403
|
}>;
|
|
404
|
+
rpcWithAuth: (args: import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
|
|
405
|
+
headers: Record<string, string>;
|
|
406
|
+
resData: object;
|
|
407
|
+
}>) => void;
|
|
403
408
|
getAppId: (args: import("@hylid/types").AsyncCallback<{
|
|
404
409
|
appId: string;
|
|
405
410
|
}>) => void;
|
|
@@ -409,5 +414,5 @@ declare const _default: {
|
|
|
409
414
|
popWindow: () => void;
|
|
410
415
|
};
|
|
411
416
|
export default _default;
|
|
412
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow, };
|
|
417
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow, };
|
|
413
418
|
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync, };
|
|
@@ -123,6 +123,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
123
123
|
import openApPayCodePage from './openApPayCodePage';
|
|
124
124
|
import openScanPage from './openScanPage';
|
|
125
125
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
126
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
126
127
|
import getAppId from './getAppId';
|
|
127
128
|
import getCurrentPages from './getCurrentPages';
|
|
128
129
|
import getSDKVersion from './getSDKVersion';
|
|
@@ -253,11 +254,12 @@ export default {
|
|
|
253
254
|
openApPayCodePage: openApPayCodePage,
|
|
254
255
|
openScanPage: openScanPage,
|
|
255
256
|
createWithoutAuthRpc: createWithoutAuthRpc,
|
|
257
|
+
rpcWithAuth: rpcWithAuth,
|
|
256
258
|
getAppId: getAppId,
|
|
257
259
|
getCurrentPages: getCurrentPages,
|
|
258
260
|
getSDKVersion: getSDKVersion,
|
|
259
261
|
defineRuntimeConfig: defineRuntimeConfig,
|
|
260
262
|
popWindow: popWindow
|
|
261
263
|
};
|
|
262
|
-
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow };
|
|
264
|
+
export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, getAppId, getCurrentPages, getSDKVersion, defineRuntimeConfig, popWindow };
|
|
263
265
|
export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync };
|
|
@@ -32,7 +32,6 @@ import { setScreenBrightness, setScreenBrightnessAsync } from '../../../common/a
|
|
|
32
32
|
import { showLoading, showLoadingAsync } from '../../../common/apis/generated/web/showLoading';
|
|
33
33
|
import { signContract, signContractAsync } from '../../../common/apis/generated/web/signContract';
|
|
34
34
|
import { startApp, startAppAsync } from '../../../common/apis/generated/web/startApp';
|
|
35
|
-
import { tradePay, tradePayAsync } from '../../../common/apis/generated/web/tradePay';
|
|
36
35
|
import { crossPay, crossPayAsync } from '../../../common/apis/generated/web/crossPay';
|
|
37
36
|
import { vibrate, vibrateAsync } from '../../../common/apis/generated/web/vibrate';
|
|
38
37
|
import { easyShare, easyShareAsync } from '../../../common/apis/generated/web/easyShare';
|
|
@@ -68,6 +67,7 @@ import showActionSheet from './showActionSheet';
|
|
|
68
67
|
import showAuthGuide from './showAuthGuide';
|
|
69
68
|
import showNavigationBarLoading from './showNavigationBarLoading';
|
|
70
69
|
import showToast from './showToast';
|
|
70
|
+
import tradePay from './tradePay';
|
|
71
71
|
import uploadFile from './uploadFile';
|
|
72
72
|
import getCurrentLanguage from './getCurrentLanguage';
|
|
73
73
|
import openURL from './openURL';
|
|
@@ -79,6 +79,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
79
79
|
import openApPayCodePage from './openApPayCodePage';
|
|
80
80
|
import openScanPage from './openScanPage';
|
|
81
81
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
82
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
82
83
|
import defineRuntimeConfig from './defineRuntimeConfig';
|
|
83
84
|
import rpcWithAuthAPlus from './rpcWithAuthAPlus';
|
|
84
85
|
import addNotifyListener from './addNotifyListener';
|
|
@@ -150,7 +151,6 @@ declare const _default: {
|
|
|
150
151
|
showLoading: (args?: ShowLoadingArgs | undefined) => void;
|
|
151
152
|
signContract: (args: SignContractArgs) => void;
|
|
152
153
|
startApp: (args?: any) => void;
|
|
153
|
-
tradePay: (args: TradePayArgs) => void;
|
|
154
154
|
crossPay: (args?: TradePayArgs | undefined) => void;
|
|
155
155
|
vibrate: (args: AsyncCallback<void>) => void;
|
|
156
156
|
easyShare: (args: {
|
|
@@ -263,6 +263,7 @@ declare const _default: {
|
|
|
263
263
|
}) => void;
|
|
264
264
|
showNavigationBarLoading: () => void;
|
|
265
265
|
showToast: (args?: ShowToastArgs | undefined) => void;
|
|
266
|
+
tradePay: (args: TradePayArgs) => void;
|
|
266
267
|
uploadFile: (args: UploadFileArgs) => void;
|
|
267
268
|
getCurrentLanguage: () => string;
|
|
268
269
|
openURL: (args: any) => Promise<any>;
|
|
@@ -299,6 +300,10 @@ declare const _default: {
|
|
|
299
300
|
headers: Record<string, string>;
|
|
300
301
|
resData: object;
|
|
301
302
|
}>;
|
|
303
|
+
rpcWithAuth: (args: import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
|
|
304
|
+
headers: Record<string, string>;
|
|
305
|
+
resData: object;
|
|
306
|
+
}>) => void;
|
|
302
307
|
defineRuntimeConfig: (args: Record<string, any>) => Record<string, any>;
|
|
303
308
|
rpcWithAuthAPlus: (args: import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
|
|
304
309
|
headers: Record<string, string>;
|
|
@@ -315,5 +320,5 @@ declare const _default: {
|
|
|
315
320
|
popWindow: () => void;
|
|
316
321
|
};
|
|
317
322
|
export default _default;
|
|
318
|
-
export { addPhoneContact, chooseImage, exitApp, getAppToken, getBatteryInfo, getClipboard, getFileInfo, getImageInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSystemInfo, hideKeyboard, hideLoading, hideToast, makePhoneCall, navigateBackMiniProgram, navigateToMiniProgram, openDocument, openSetting, prompt, removeSavedFile, rpc, saveFile, saveImage, scan, setClipboard, setKeepScreenOn, setScreenBrightness, showLoading, signContract, startApp,
|
|
319
|
-
export { addPhoneContactAsync, chooseImageAsync, exitAppAsync, getAppTokenAsync, getBatteryInfoAsync, getClipboardAsync, getFileInfoAsync, getImageInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSystemInfoAsync, hideKeyboardAsync, hideLoadingAsync, hideToastAsync, makePhoneCallAsync, navigateBackMiniProgramAsync, navigateToMiniProgramAsync, openDocumentAsync, openSettingAsync, promptAsync, removeSavedFileAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, setClipboardAsync, setKeepScreenOnAsync, setScreenBrightnessAsync, showLoadingAsync, signContractAsync, startAppAsync,
|
|
323
|
+
export { addPhoneContact, chooseImage, exitApp, getAppToken, getBatteryInfo, getClipboard, getFileInfo, getImageInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSystemInfo, hideKeyboard, hideLoading, hideToast, makePhoneCall, navigateBackMiniProgram, navigateToMiniProgram, openDocument, openSetting, prompt, removeSavedFile, rpc, saveFile, saveImage, scan, setClipboard, setKeepScreenOn, setScreenBrightness, showLoading, signContract, startApp, crossPay, vibrate, easyShare, homeAddAppToMyApps, homeCanAddAppToMyApps, postNotification, getMainSelectedCity, chooseDistrict, setTransparentTitle, alert, choosePhoneContact, clearStorage, confirm, datePicker, downloadFile, getAuthCode, getLocation, getNetworkType, getPhoneNumber, getSiteInfo, getStorage, hideNavigationBarLoading, multiLevelSelect, navigateBack, navigateTo, previewImage, redirectTo, removeStorage, request, setNavigationBar, setStorage, showActionSheet, showAuthGuide, showNavigationBarLoading, showToast, tradePay, uploadFile, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, defineRuntimeConfig, rpcWithAuthAPlus, addNotifyListener, removeNotifyListener, popWindow, };
|
|
324
|
+
export { addPhoneContactAsync, chooseImageAsync, exitAppAsync, getAppTokenAsync, getBatteryInfoAsync, getClipboardAsync, getFileInfoAsync, getImageInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSystemInfoAsync, hideKeyboardAsync, hideLoadingAsync, hideToastAsync, makePhoneCallAsync, navigateBackMiniProgramAsync, navigateToMiniProgramAsync, openDocumentAsync, openSettingAsync, promptAsync, removeSavedFileAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, setClipboardAsync, setKeepScreenOnAsync, setScreenBrightnessAsync, showLoadingAsync, signContractAsync, startAppAsync, crossPayAsync, vibrateAsync, easyShareAsync, homeAddAppToMyAppsAsync, homeCanAddAppToMyAppsAsync, postNotificationAsync, getMainSelectedCityAsync, chooseDistrictAsync, setTransparentTitleAsync, };
|
|
@@ -33,7 +33,6 @@ import { setScreenBrightness, setScreenBrightnessAsync } from '../../../common/a
|
|
|
33
33
|
import { showLoading, showLoadingAsync } from '../../../common/apis/generated/web/showLoading';
|
|
34
34
|
import { signContract, signContractAsync } from '../../../common/apis/generated/web/signContract';
|
|
35
35
|
import { startApp, startAppAsync } from '../../../common/apis/generated/web/startApp';
|
|
36
|
-
import { tradePay, tradePayAsync } from '../../../common/apis/generated/web/tradePay';
|
|
37
36
|
import { crossPay, crossPayAsync } from '../../../common/apis/generated/web/crossPay';
|
|
38
37
|
import { vibrate, vibrateAsync } from '../../../common/apis/generated/web/vibrate';
|
|
39
38
|
import { easyShare, easyShareAsync } from '../../../common/apis/generated/web/easyShare';
|
|
@@ -69,6 +68,7 @@ import showActionSheet from './showActionSheet';
|
|
|
69
68
|
import showAuthGuide from './showAuthGuide';
|
|
70
69
|
import showNavigationBarLoading from './showNavigationBarLoading';
|
|
71
70
|
import showToast from './showToast';
|
|
71
|
+
import tradePay from './tradePay';
|
|
72
72
|
import uploadFile from './uploadFile';
|
|
73
73
|
import getCurrentLanguage from './getCurrentLanguage';
|
|
74
74
|
import openURL from './openURL';
|
|
@@ -80,6 +80,7 @@ import openPayCodePage from './openPayCodePage';
|
|
|
80
80
|
import openApPayCodePage from './openApPayCodePage';
|
|
81
81
|
import openScanPage from './openScanPage';
|
|
82
82
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
83
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
83
84
|
import defineRuntimeConfig from './defineRuntimeConfig';
|
|
84
85
|
import rpcWithAuthAPlus from './rpcWithAuthAPlus';
|
|
85
86
|
import addNotifyListener from './addNotifyListener';
|
|
@@ -120,7 +121,6 @@ export default {
|
|
|
120
121
|
showLoading: showLoading,
|
|
121
122
|
signContract: signContract,
|
|
122
123
|
startApp: startApp,
|
|
123
|
-
tradePay: tradePay,
|
|
124
124
|
crossPay: crossPay,
|
|
125
125
|
vibrate: vibrate,
|
|
126
126
|
easyShare: easyShare,
|
|
@@ -156,6 +156,7 @@ export default {
|
|
|
156
156
|
showAuthGuide: showAuthGuide,
|
|
157
157
|
showNavigationBarLoading: showNavigationBarLoading,
|
|
158
158
|
showToast: showToast,
|
|
159
|
+
tradePay: tradePay,
|
|
159
160
|
uploadFile: uploadFile,
|
|
160
161
|
getCurrentLanguage: getCurrentLanguage,
|
|
161
162
|
openURL: openURL,
|
|
@@ -167,11 +168,12 @@ export default {
|
|
|
167
168
|
openApPayCodePage: openApPayCodePage,
|
|
168
169
|
openScanPage: openScanPage,
|
|
169
170
|
createWithoutAuthRpc: createWithoutAuthRpc,
|
|
171
|
+
rpcWithAuth: rpcWithAuth,
|
|
170
172
|
defineRuntimeConfig: defineRuntimeConfig,
|
|
171
173
|
rpcWithAuthAPlus: rpcWithAuthAPlus,
|
|
172
174
|
addNotifyListener: addNotifyListener,
|
|
173
175
|
removeNotifyListener: removeNotifyListener,
|
|
174
176
|
popWindow: popWindow
|
|
175
177
|
};
|
|
176
|
-
export { addPhoneContact, chooseImage, exitApp, getAppToken, getBatteryInfo, getClipboard, getFileInfo, getImageInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSystemInfo, hideKeyboard, hideLoading, hideToast, makePhoneCall, navigateBackMiniProgram, navigateToMiniProgram, openDocument, openSetting, prompt, removeSavedFile, rpc, saveFile, saveImage, scan, setClipboard, setKeepScreenOn, setScreenBrightness, showLoading, signContract, startApp,
|
|
177
|
-
export { addPhoneContactAsync, chooseImageAsync, exitAppAsync, getAppTokenAsync, getBatteryInfoAsync, getClipboardAsync, getFileInfoAsync, getImageInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSystemInfoAsync, hideKeyboardAsync, hideLoadingAsync, hideToastAsync, makePhoneCallAsync, navigateBackMiniProgramAsync, navigateToMiniProgramAsync, openDocumentAsync, openSettingAsync, promptAsync, removeSavedFileAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, setClipboardAsync, setKeepScreenOnAsync, setScreenBrightnessAsync, showLoadingAsync, signContractAsync, startAppAsync,
|
|
178
|
+
export { addPhoneContact, chooseImage, exitApp, getAppToken, getBatteryInfo, getClipboard, getFileInfo, getImageInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSystemInfo, hideKeyboard, hideLoading, hideToast, makePhoneCall, navigateBackMiniProgram, navigateToMiniProgram, openDocument, openSetting, prompt, removeSavedFile, rpc, saveFile, saveImage, scan, setClipboard, setKeepScreenOn, setScreenBrightness, showLoading, signContract, startApp, crossPay, vibrate, easyShare, homeAddAppToMyApps, homeCanAddAppToMyApps, postNotification, getMainSelectedCity, chooseDistrict, setTransparentTitle, alert, choosePhoneContact, clearStorage, confirm, datePicker, downloadFile, getAuthCode, getLocation, getNetworkType, getPhoneNumber, getSiteInfo, getStorage, hideNavigationBarLoading, multiLevelSelect, navigateBack, navigateTo, previewImage, redirectTo, removeStorage, request, setNavigationBar, setStorage, showActionSheet, showAuthGuide, showNavigationBarLoading, showToast, tradePay, uploadFile, getCurrentLanguage, openURL, openWebURL, openInApp, openOtherApp, openInBrowser, openPayCodePage, openApPayCodePage, openScanPage, createWithoutAuthRpc, rpcWithAuth, defineRuntimeConfig, rpcWithAuthAPlus, addNotifyListener, removeNotifyListener, popWindow };
|
|
179
|
+
export { addPhoneContactAsync, chooseImageAsync, exitAppAsync, getAppTokenAsync, getBatteryInfoAsync, getClipboardAsync, getFileInfoAsync, getImageInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSystemInfoAsync, hideKeyboardAsync, hideLoadingAsync, hideToastAsync, makePhoneCallAsync, navigateBackMiniProgramAsync, navigateToMiniProgramAsync, openDocumentAsync, openSettingAsync, promptAsync, removeSavedFileAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, setClipboardAsync, setKeepScreenOnAsync, setScreenBrightnessAsync, showLoadingAsync, signContractAsync, startAppAsync, crossPayAsync, vibrateAsync, easyShareAsync, homeAddAppToMyAppsAsync, homeCanAddAppToMyAppsAsync, postNotificationAsync, getMainSelectedCityAsync, chooseDistrictAsync, setTransparentTitleAsync };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import fill from '../../../common/apis/
|
|
1
|
+
import fill from '../../../common/apis/custom/mp/alipay/tradePay';
|
|
2
2
|
export default fill;
|
|
@@ -35,6 +35,7 @@ import createSelectorQuery from './createSelectorQuery';
|
|
|
35
35
|
import getCurrentLanguage from './getCurrentLanguage';
|
|
36
36
|
import openURL from './openURL';
|
|
37
37
|
import createWithoutAuthRpc from './createWithoutAuthRpc';
|
|
38
|
+
import rpcWithAuth from './rpcWithAuth';
|
|
38
39
|
import defineRuntimeConfig from './defineRuntimeConfig';
|
|
39
40
|
import popWindow from './popWindow';
|
|
40
41
|
declare const _default: {
|
|
@@ -122,9 +123,13 @@ declare const _default: {
|
|
|
122
123
|
headers: Record<string, string>;
|
|
123
124
|
resData: object;
|
|
124
125
|
}>;
|
|
126
|
+
rpcWithAuth: (args: import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
|
|
127
|
+
headers: Record<string, string>;
|
|
128
|
+
resData: object;
|
|
129
|
+
}>) => void;
|
|
125
130
|
defineRuntimeConfig: (args: Record<string, any>) => Record<string, any>;
|
|
126
131
|
popWindow: () => void;
|
|
127
132
|
};
|
|
128
133
|
export default _default;
|
|
129
|
-
export { getSiteInfo, navigateToBizScene, navigateToMiniProgram, alert, clearStorage, clearStorageSync, confirm, exitApp, getClipboard, getLocation, getNetworkType, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideLoading, hideToast, makePhoneCall, navigateBack, navigateTo, pageScrollTo, redirectTo, removeStorage, removeStorageSync, request, rpc, setClipboard, setNavigationBar, setStorage, setStorageSync, showLoading, showToast, getLaunchOptionsSync, createSelectorQuery, getCurrentLanguage, openURL, createWithoutAuthRpc, defineRuntimeConfig, popWindow, };
|
|
134
|
+
export { getSiteInfo, navigateToBizScene, navigateToMiniProgram, alert, clearStorage, clearStorageSync, confirm, exitApp, getClipboard, getLocation, getNetworkType, getStorage, getStorageSync, getSystemInfo, getSystemInfoSync, hideLoading, hideToast, makePhoneCall, navigateBack, navigateTo, pageScrollTo, redirectTo, removeStorage, removeStorageSync, request, rpc, setClipboard, setNavigationBar, setStorage, setStorageSync, showLoading, showToast, getLaunchOptionsSync, createSelectorQuery, getCurrentLanguage, openURL, createWithoutAuthRpc, rpcWithAuth, defineRuntimeConfig, popWindow, };
|
|
130
135
|
export { getSiteInfoAsync, navigateToBizSceneAsync, navigateToMiniProgramAsync };
|