zmp-sdk 2.38.1 → 2.38.2
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/createCameraContext.js +1 -0
- package/apis/apis/downloadFile.js +1 -0
- package/apis/apis/getFileInfo.js +1 -0
- package/apis/apis/getSavedFileList.js +1 -0
- package/apis/apis/getUserInfo.js +1 -1
- package/apis/apis/removeSavedFile.js +1 -0
- package/apis/apis/saveFile.js +1 -0
- package/apis/common/apis/general/getFileInfo.js +1 -0
- package/apis/common/apis/general/getSavedFileList.js +1 -0
- package/apis/common/apis/general/getUserInfo.js +1 -1
- package/apis/common/apis/general/lfsSaveFile.js +1 -0
- package/apis/common/apis/general/media/camera.js +1 -0
- package/apis/common/apis/general/removeSavedFile.js +1 -0
- package/apis/common/apis/general/saveFile.js +1 -0
- package/apis/index.d.ts +3 -0
- package/apis/media/camera.js +1 -0
- package/apis/media/zmaCamera.js +1 -0
- package/apis/package.json.js +1 -1
- package/apis/types/media.js +1 -0
- package/browser.min.js +2 -2
- package/index.d.ts +3 -0
- package/index.es.js +2 -2
- package/index.js +2 -2
- package/index.umd.js +2 -2
- package/package.json +1 -1
- package/apis/apis/openWidget.js +0 -1
package/index.d.ts
CHANGED
|
@@ -1513,10 +1513,13 @@ declare function clearStorage(args: AsyncVoidCallback & TypeOf<(typeof clearStor
|
|
|
1513
1513
|
|
|
1514
1514
|
declare const getUserInfoArgs: ZodOptional<ZodObject<{
|
|
1515
1515
|
avatarType: ZodOptional<ZodEnum<["small", "normal", "large"]>>;
|
|
1516
|
+
autoRequestPermission: ZodOptional<ZodDefault<ZodBoolean>>;
|
|
1516
1517
|
}, "strip", ZodTypeAny, {
|
|
1517
1518
|
avatarType?: "normal" | "small" | "large" | undefined;
|
|
1519
|
+
autoRequestPermission?: boolean | undefined;
|
|
1518
1520
|
}, {
|
|
1519
1521
|
avatarType?: "normal" | "small" | "large" | undefined;
|
|
1522
|
+
autoRequestPermission?: boolean | undefined;
|
|
1520
1523
|
}>>[];
|
|
1521
1524
|
declare function getUserInfo(args?: AsyncCallback<GetUserInfoReturns> & TypeOf<(typeof getUserInfoArgs)[0]>): Promise<GetUserInfoReturns>;
|
|
1522
1525
|
|