desktopr 1.2.3 → 1.3.0

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.
@@ -3,3 +3,4 @@ export declare const APP_VERSION: string;
3
3
  export declare const COMAPNION_WINDOW_LABEL_PREFIX: string;
4
4
  export declare const READY_EVENT_NAME: string;
5
5
  export declare const WINDOWS_LABELS_TRACKER_VARIABLE_NAME: string;
6
+ export declare const BROWSER_STORAGE_NAMESPACE: string;
@@ -3,10 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.WINDOWS_LABELS_TRACKER_VARIABLE_NAME = exports.READY_EVENT_NAME = exports.COMAPNION_WINDOW_LABEL_PREFIX = exports.APP_VERSION = exports.APP_URL = void 0;
6
+ exports.BROWSER_STORAGE_NAMESPACE = exports.WINDOWS_LABELS_TRACKER_VARIABLE_NAME = exports.READY_EVENT_NAME = exports.COMAPNION_WINDOW_LABEL_PREFIX = exports.APP_VERSION = exports.APP_URL = void 0;
7
7
  const bridge_constants_json_1 = __importDefault(require("./bridge.constants.json"));
8
8
  exports.APP_URL = bridge_constants_json_1.default.appUrl;
9
9
  exports.APP_VERSION = bridge_constants_json_1.default.appVersion;
10
10
  exports.COMAPNION_WINDOW_LABEL_PREFIX = bridge_constants_json_1.default.companionWindowLabelPrefix;
11
11
  exports.READY_EVENT_NAME = "dtrReady";
12
12
  exports.WINDOWS_LABELS_TRACKER_VARIABLE_NAME = "open-windows-labels-tracker-rpkw6kjzxn8bfhj5u74q";
13
+ exports.BROWSER_STORAGE_NAMESPACE = "dtr_xam8wknpz1vf";
@@ -60,6 +60,6 @@ const closeWindow = async (core, label) => {
60
60
  catch (error) {
61
61
  console.warn("Could not update used windows labels tracker");
62
62
  }
63
- core.invoke("dtr_win_close", { _label });
63
+ core.invoke("dtr_win_close", { label: _label });
64
64
  };
65
65
  exports.closeWindow = closeWindow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "desktopr",
3
- "version": "1.2.3",
3
+ "version": "1.3.0",
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",