@opendaw/lib-dom 0.0.82 → 0.0.84

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.
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../src/files.ts"],"names":[],"mappings":"AAGA,yBAAiB,KAAK,CAAC;IACZ,MAAM,IAAI,GAAU,aAAa,WAAW,EAAE,UAAU,qBAAqB,KAAG,OAAO,CAAC,MAAM,CA8BpG,CAAA;IAaM,MAAM,IAAI,GAAU,UAAU,qBAAqB,KAAG,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAgCvF,CAAA;CACJ"}
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../src/files.ts"],"names":[],"mappings":"AAGA,yBAAiB,KAAK,CAAC;IACZ,MAAM,IAAI,GAAU,aAAa,WAAW,EAAE,UAAU,qBAAqB,KAAG,OAAO,CAAC,MAAM,CA4BpG,CAAA;IAaM,MAAM,IAAI,GAAU,UAAU,qBAAqB,KAAG,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAgCvF,CAAA;CACJ"}
package/dist/files.js CHANGED
@@ -22,10 +22,8 @@ export var Files;
22
22
  };
23
23
  const { status: writeStatus, error: writeError } = await Promises.tryCatch(writeFile());
24
24
  if (writeStatus === "rejected") {
25
- await RuntimeNotifier.info({
26
- headline: "Could not save file",
27
- message: String(writeError)
28
- });
25
+ console.warn(writeError);
26
+ RuntimeNotifier.notify({ message: "Could not save file.", icon: "Warning" });
29
27
  return Promise.reject(writeError);
30
28
  }
31
29
  return handle.name ?? "unknown";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendaw/lib-dom",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "sideEffects": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -23,13 +23,13 @@
23
23
  "test": "vitest run"
24
24
  },
25
25
  "dependencies": {
26
- "@opendaw/lib-runtime": "^0.0.78",
27
- "@opendaw/lib-std": "^0.0.77",
26
+ "@opendaw/lib-runtime": "^0.0.80",
27
+ "@opendaw/lib-std": "^0.0.79",
28
28
  "@types/wicg-file-system-access": "^2023.10.6"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@opendaw/eslint-config": "^0.0.28",
32
- "@opendaw/typescript-config": "^0.0.31"
32
+ "@opendaw/typescript-config": "^0.0.32"
33
33
  },
34
- "gitHead": "df20edf139f65d8d3146ae44e0e800054550bf12"
34
+ "gitHead": "ca740027dffcf87e27e7cc30930cf14c474574a5"
35
35
  }