@widget-js/core 0.11.6 → 0.11.7
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1534,7 +1534,7 @@ interface IFileApi {
|
|
|
1534
1534
|
readDirectory(path: string, options?: ReadDirOptions): Promise<SystemFile[]>;
|
|
1535
1535
|
isDirectory(filePath: string): Promise<boolean>;
|
|
1536
1536
|
getFileType(filePath: string): Promise<FileTypeResult>;
|
|
1537
|
-
downloadUrl(url: string, savePath: string): Promise<string>;
|
|
1537
|
+
downloadUrl(url: string, savePath: string, fileName: string): Promise<string>;
|
|
1538
1538
|
exists(filePath: string): Promise<boolean>;
|
|
1539
1539
|
delete(filePath: string): Promise<boolean>;
|
|
1540
1540
|
getDocumentFolder(filePath?: string): Promise<string>;
|
package/dist/index.js
CHANGED
|
@@ -2034,8 +2034,8 @@ var FileApiImpl = class extends BaseApi {
|
|
|
2034
2034
|
delete(filePath) {
|
|
2035
2035
|
return this.invokeMethod("delete", filePath);
|
|
2036
2036
|
}
|
|
2037
|
-
downloadUrl(url, savePath) {
|
|
2038
|
-
return this.invokeMethod("downloadUrl", url, savePath);
|
|
2037
|
+
downloadUrl(url, savePath, fileName) {
|
|
2038
|
+
return this.invokeMethod("downloadUrl", url, savePath, fileName);
|
|
2039
2039
|
}
|
|
2040
2040
|
exists(filePath) {
|
|
2041
2041
|
return this.invokeMethod("exists", filePath);
|