hart-estate-widget 0.0.15 → 0.0.16

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.
@@ -44,6 +44,12 @@ class ApiStore {
44
44
  return await response.json();
45
45
  });
46
46
 
47
+ _defineProperty(this, "loadEditorData", async (planId, token) => {
48
+ const path = "".concat(this.API_URL, "/api/plans/").concat(planId, "/editor?token=").concat(token);
49
+ const response = await fetch(path);
50
+ return await response.json();
51
+ });
52
+
47
53
  _defineProperty(this, "loadPanoramaData", async planId => {
48
54
  const path = "".concat(this.API_URL, "/api/plans/").concat(planId, "/panorama");
49
55
  const response = await fetch(path);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "HART Estate widget",
4
4
  "author": "HART",
5
5
  "keywords": [],
6
- "version": "0.0.15",
6
+ "version": "0.0.16",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "module": "build/index.js",