@forge/dashboards-bridge 0.1.18 → 0.1.19-next.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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @forge/dashboards-bridge
2
2
 
3
+ ## 0.1.19-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0b7cde8: replace window with globalThis to ensure the bridge packages can work in both browser and worker environment
8
+ - Updated dependencies [0b7cde8]
9
+ - @forge/bridge@5.15.1-next.5
10
+
11
+ ## 0.1.19-next.0
12
+
13
+ ### Patch Changes
14
+
15
+ - @forge/bridge@5.15.1-next.0
16
+
3
17
  ## 0.1.18
4
18
 
5
19
  ### Patch Changes
package/out/bridge.js CHANGED
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getCallBridge = void 0;
4
4
  const getCallBridge = () => {
5
- return window.__bridge.callBridge;
5
+ return globalThis.__bridge.callBridge;
6
6
  };
7
7
  exports.getCallBridge = getCallBridge;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/dashboards-bridge",
3
- "version": "0.1.18",
3
+ "version": "0.1.19-next.1",
4
4
  "description": "Forge Dashboards custom bridge API",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -15,6 +15,6 @@
15
15
  "registry": "https://packages.atlassian.com/api/npm/npm-public/"
16
16
  },
17
17
  "dependencies": {
18
- "@forge/bridge": "^5.15.0"
18
+ "@forge/bridge": "^5.15.1-next.5"
19
19
  }
20
20
  }