@unbound-app/api 1.1.0 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbound-app/api",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "author": {
5
5
  "name": "Mario P.",
6
6
  "email": "contact@marioparaschiv.com",
@@ -4557,6 +4557,10 @@ export type NativePlatformDevice = {
4557
4557
  export type NativePlatformFiles = {
4558
4558
  /** Removes a file or folder tree, by path relative to the Unbound folder; returns whether anything was removed. */
4559
4559
  remove(path: string): boolean;
4560
+ /** Reads a text file, by path relative to the Unbound folder; `undefined` when it is missing. Older loaders lack it. */
4561
+ read?(path: string): string | undefined;
4562
+ /** Replaces a text file atomically, by path relative to the Unbound folder; returns whether it was written. Older loaders lack it. */
4563
+ write?(path: string, text: string): boolean;
4560
4564
  };
4561
4565
  /** The fonts the loader can apply. */
4562
4566
  export type NativePlatformFonts = {