zmp-sdk 2.25.7 → 2.26.0-rc.0
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/apis/apis/index.js +1 -1
- package/apis/apis/minimizeApp.js +1 -0
- package/apis/apis/openMiniApp.js +1 -1
- package/apis/common/apis/general/minimizeApp.js +1 -0
- package/apis/common/apis/general/openMiniApp.js +1 -1
- package/apis/common/apis/general/storage/index.js +1 -1
- package/apis/common/apis/general/view.js +1 -1
- package/apis/constants.js +1 -1
- package/apis/index.d.ts +6 -1
- package/apis/index.es.js +1 -1
- package/apis/index.js +1 -1
- package/apis/package.json.js +1 -1
- package/browser.min.js +1 -1
- package/index.d.ts +7 -1
- package/index.es.js +1 -1
- package/index.js +1 -1
- package/index.umd.js +2 -2
- package/package.json +1 -1
- package/zmp-sdk-v2.25.7.tgz +0 -0
- package/zmp-sdk-v2.25.6.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -2003,11 +2003,14 @@ declare function saveImageToGallery(args: AsyncVoidCallback & TypeOf<typeof save
|
|
|
2003
2003
|
|
|
2004
2004
|
declare const openMiniAppArgs: ZodObject<{
|
|
2005
2005
|
appId: ZodString;
|
|
2006
|
+
path: ZodOptional<ZodString>;
|
|
2006
2007
|
params: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
2007
2008
|
}, "strip", ZodTypeAny, {
|
|
2009
|
+
path?: string | undefined;
|
|
2008
2010
|
params?: Record<string, string> | undefined;
|
|
2009
2011
|
appId: string;
|
|
2010
2012
|
}, {
|
|
2013
|
+
path?: string | undefined;
|
|
2011
2014
|
params?: Record<string, string> | undefined;
|
|
2012
2015
|
appId: string;
|
|
2013
2016
|
}>[];
|
|
@@ -2313,6 +2316,8 @@ declare const createOrderIAPArgs: ZodObject<{
|
|
|
2313
2316
|
}>[];
|
|
2314
2317
|
declare function createOrderIAP(args: AsyncCallback<CreateOrderIAPReturns> & TypeOf<typeof createOrderIAPArgs[0]>): Promise<CreateOrderIAPReturns>;
|
|
2315
2318
|
|
|
2319
|
+
declare function minimizeApp(args?: AsyncVoidCallback): Promise<void>;
|
|
2320
|
+
|
|
2316
2321
|
declare const otherApis: {
|
|
2317
2322
|
login: typeof login;
|
|
2318
2323
|
getAccessToken: typeof getAccessToken;
|
|
@@ -2384,6 +2389,7 @@ declare const otherApis: {
|
|
|
2384
2389
|
setIOSBottomSafeArea: typeof setIOSBottomSafeArea;
|
|
2385
2390
|
setStatusBar: typeof setStatusBar;
|
|
2386
2391
|
configAppView: typeof configAppView;
|
|
2392
|
+
minimizeApp: typeof minimizeApp;
|
|
2387
2393
|
};
|
|
2388
2394
|
|
|
2389
2395
|
declare const payment: {
|
|
@@ -2392,4 +2398,4 @@ declare const payment: {
|
|
|
2392
2398
|
createOrderIAP: typeof createOrderIAP;
|
|
2393
2399
|
};
|
|
2394
2400
|
|
|
2395
|
-
export { Action, AndroidBottomNavigationBarType, AsyncCallback, AsyncCallbackFailObject, AsyncVoidCallback, ChatType, CheckStateBioAuthenticationReturns, CheckTransactionReturns, ChooseImageReturns, Common, ContextInfo, CreateOrderIAPReturns, CreateOrderReturns, Events, GetAppInfoReturns, GetAuthCodeReturns, GetBeaconDiscoveryReturns, GetLocationReturns, GetNetworkTypeReturns, GetPhoneNumberReturns, GetStorageReturns, GetUserInfoReturns, GetZPITokenReturns, IAPMethodType, IAPPayType, IAPPayTypeType, IOSSafeAreaBottomType, JumpStatus, KeepScreenReturns, MediaPickerType, NativeCallBackData, NetworkType, OpenBioAuthenticationReturns, OpenMediaPickerReturns, OpenPostFeedReturns, OpenProfilePickerReturns, OpenShareSheetReturns, OpenWebviewReturns, OrientationType, payment as Payment, PickAttr, PlatformType, PostFeedType, ProfileType, ProrationMode, ProrationModeType, RemoveStorageReturns, RequestCameraPermissionReturns, ScanQRCodeReturns, SetStorageReturns, ShareSheetType, StatusBarType, StorageInfo, SystemInfo, VibrateType, checkStateBioAuthentication, checkTransaction, chooseImage, clearStorage, closeApp, closeLoading, configAppView, connectWifi, createOrder, createOrderIAP, createShortcut, otherApis as default, events, followOA, getAccessToken, getAppInfo, getAuthCode, getBeacons, getContext, getContextAsync, getDeviceId, getDeviceIdAsync, getLocation, getNetworkType, getPhoneNumber, getRouteParams, getShareableLink, getStorage, getStorageInfo, getSystemInfo, getUserInfo, getVersion, getZPIToken, hideKeyboard, iBeaconInfo, keepScreen, login, offConfirmToExit, offKeepScreen, onCallbackData, onConfirmToExit, onKeepScreen, onNetworkStatusChange, openBioAuthentication, openChat, openMediaPicker, openMiniApp, openOutApp, openPhone, openPostFeed, openProfile, openProfilePicker, openSMS, openShareSheet, openWebview, removeStorage, requestCameraPermission, requestUpdateZalo, saveImageToGallery, scanQRCode, sendDataToPreviousMiniApp, setAccessToken, setAndroidBottomNavigationBar, setIOSBottomSafeArea, setNavigationBarColor, setNavigationBarLeftButton, setNavigationBarTitle, setStatusBar, setStorage, showToast, startBeaconDiscovery, stopBeaconDiscovery, unfollowOA, vibrate, viewOAQr };
|
|
2401
|
+
export { Action, AndroidBottomNavigationBarType, AsyncCallback, AsyncCallbackFailObject, AsyncVoidCallback, ChatType, CheckStateBioAuthenticationReturns, CheckTransactionReturns, ChooseImageReturns, Common, ContextInfo, CreateOrderIAPReturns, CreateOrderReturns, Events, GetAppInfoReturns, GetAuthCodeReturns, GetBeaconDiscoveryReturns, GetLocationReturns, GetNetworkTypeReturns, GetPhoneNumberReturns, GetStorageReturns, GetUserInfoReturns, GetZPITokenReturns, IAPMethodType, IAPPayType, IAPPayTypeType, IOSSafeAreaBottomType, JumpStatus, KeepScreenReturns, MediaPickerType, NativeCallBackData, NetworkType, OpenBioAuthenticationReturns, OpenMediaPickerReturns, OpenPostFeedReturns, OpenProfilePickerReturns, OpenShareSheetReturns, OpenWebviewReturns, OrientationType, payment as Payment, PickAttr, PlatformType, PostFeedType, ProfileType, ProrationMode, ProrationModeType, RemoveStorageReturns, RequestCameraPermissionReturns, ScanQRCodeReturns, SetStorageReturns, ShareSheetType, StatusBarType, StorageInfo, SystemInfo, VibrateType, checkStateBioAuthentication, checkTransaction, chooseImage, clearStorage, closeApp, closeLoading, configAppView, connectWifi, createOrder, createOrderIAP, createShortcut, otherApis as default, events, followOA, getAccessToken, getAppInfo, getAuthCode, getBeacons, getContext, getContextAsync, getDeviceId, getDeviceIdAsync, getLocation, getNetworkType, getPhoneNumber, getRouteParams, getShareableLink, getStorage, getStorageInfo, getSystemInfo, getUserInfo, getVersion, getZPIToken, hideKeyboard, iBeaconInfo, keepScreen, login, minimizeApp, offConfirmToExit, offKeepScreen, onCallbackData, onConfirmToExit, onKeepScreen, onNetworkStatusChange, openBioAuthentication, openChat, openMediaPicker, openMiniApp, openOutApp, openPhone, openPostFeed, openProfile, openProfilePicker, openSMS, openShareSheet, openWebview, removeStorage, requestCameraPermission, requestUpdateZalo, saveImageToGallery, scanQRCode, sendDataToPreviousMiniApp, setAccessToken, setAndroidBottomNavigationBar, setIOSBottomSafeArea, setNavigationBarColor, setNavigationBarLeftButton, setNavigationBarTitle, setStatusBar, setStorage, showToast, startBeaconDiscovery, stopBeaconDiscovery, unfollowOA, vibrate, viewOAQr };
|