@widget-js/core 0.10.31 → 0.11.4
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 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +19 -2
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2115,6 +2115,15 @@ var FileApiImpl = class extends BaseApi {
|
|
|
2115
2115
|
readDirectory(path, options) {
|
|
2116
2116
|
return this.invokeMethod("readDirectory", path, options);
|
|
2117
2117
|
}
|
|
2118
|
+
delete(filePath) {
|
|
2119
|
+
return this.invokeMethod("delete", filePath);
|
|
2120
|
+
}
|
|
2121
|
+
downloadUrl(url) {
|
|
2122
|
+
return this.invokeMethod("downloadUrl", url);
|
|
2123
|
+
}
|
|
2124
|
+
exists(filePath) {
|
|
2125
|
+
return this.invokeMethod("exists", filePath);
|
|
2126
|
+
}
|
|
2118
2127
|
};
|
|
2119
2128
|
var FileApi = new FileApiImpl();
|
|
2120
2129
|
// Annotate the CommonJS export names for ESM import in node:
|