desktopr 2.0.0 → 2.0.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.
@@ -6,11 +6,6 @@ const _helpers_2 = require("./_helpers");
6
6
  function buildWindow(core) {
7
7
  const randomWindowLabel = `w_${Math.random().toString(36).substring(2, 2 + 8)}`;
8
8
  return {
9
- devTools: {
10
- toggle: (label) => core.invoke("dtr_toggle_devtools", { label: label ?? "main" }),
11
- open: (label) => core.invoke("dtr_open_devtools", { label: label ?? "main" }),
12
- close: (label) => core.invoke("dtr_close_devtools", { label: label ?? "main" }),
13
- },
14
9
  minimize: (label) => core.invoke("dtr_win_minimize", { label: label ?? "main" }),
15
10
  maximizeToggle: (label) => core.invoke("dtr_win_maximize", { label: label ?? "main" }),
16
11
  fullscreen: (enable, label) => core.invoke("dtr_win_fullscreen", { enable, label: label ?? "main" }),
@@ -1,11 +1,6 @@
1
1
  import { CompanionState } from "../../../_companion_context";
2
2
  export type _WindowTypesPlaceholder = unknown;
3
3
  export interface WindowInterface {
4
- devTools: {
5
- toggle: (label?: string) => Promise<void>;
6
- open: (label?: string) => Promise<void>;
7
- close: (label?: string) => Promise<void>;
8
- };
9
4
  new: (options?: NewWindowOptions) => Promise<void>;
10
5
  close: (label: string) => Promise<void>;
11
6
  minimize: () => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "desktopr",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Official JS/TS SDK for the Desktopr native bridge",
5
5
  "main": "dist-sdk/sdk/index.js",
6
6
  "types": "dist-sdk/sdk/index.d.ts",