@widget-js/core 0.10.31 → 0.11.5
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 +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +25 -2
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2115,6 +2115,18 @@ 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
|
+
}
|
|
2127
|
+
readFile(filePath) {
|
|
2128
|
+
return this.invokeMethod("readFile", filePath);
|
|
2129
|
+
}
|
|
2118
2130
|
};
|
|
2119
2131
|
var FileApi = new FileApiImpl();
|
|
2120
2132
|
// Annotate the CommonJS export names for ESM import in node:
|