@widget-js/core 0.11.4 → 0.11.6

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 CHANGED
@@ -2118,12 +2118,18 @@ var FileApiImpl = class extends BaseApi {
2118
2118
  delete(filePath) {
2119
2119
  return this.invokeMethod("delete", filePath);
2120
2120
  }
2121
- downloadUrl(url) {
2122
- return this.invokeMethod("downloadUrl", url);
2121
+ downloadUrl(url, savePath) {
2122
+ return this.invokeMethod("downloadUrl", url, savePath);
2123
2123
  }
2124
2124
  exists(filePath) {
2125
2125
  return this.invokeMethod("exists", filePath);
2126
2126
  }
2127
+ readFile(filePath) {
2128
+ return this.invokeMethod("readFile", filePath);
2129
+ }
2130
+ getDocumentFolder(filePath) {
2131
+ return this.invokeMethod("getDocumentFolder", filePath);
2132
+ }
2127
2133
  };
2128
2134
  var FileApi = new FileApiImpl();
2129
2135
  // Annotate the CommonJS export names for ESM import in node: