@vtj/utils 0.8.72 → 0.8.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +9 -9
- package/dist/index.iife.js +28 -28
- package/dist/index.mjs +284 -279
- package/dist/index.umd.js +17 -17
- package/package.json +1 -1
- package/types/download.d.ts +3 -2
- package/types/version.d.ts +2 -2
package/package.json
CHANGED
package/types/download.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare function downloadUrl(url: string, filename?: string): void;
|
|
2
|
-
export declare function downloadBlob(data: any, filename?: string): void;
|
|
3
|
-
export declare function downloadRemoteFile(url: string, filename?: string): Promise<Blob>;
|
|
2
|
+
export declare function downloadBlob(data: any, filename?: string, type?: string): void;
|
|
3
|
+
export declare function downloadRemoteFile(url: string, filename?: string, type?: string): Promise<Blob>;
|
|
4
|
+
export declare function downloadJson(data: any, filename?: string): void;
|
package/types/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
|
3
3
|
* @name @vtj/utils
|
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
5
|
-
* @version 0.8.
|
|
5
|
+
* @version 0.8.73
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.8.
|
|
8
|
+
export declare const version = "0.8.73";
|