@forge/confluence-bridge 3.1.0-next.2 → 3.1.1-experimental-04cc2b9
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 +29 -0
- package/LICENSE.txt +1 -1
- package/out/bridge.d.ts +1 -1
- package/out/bridge.js +1 -1
- package/out/content/getEditorContent.js +1 -2
- package/out/content/getMacroContent.js +1 -2
- package/out/content/setMacroViewportHeight.js +2 -2
- package/out/content/updateBylineProperties.js +1 -2
- package/out/content/updateMacro.js +1 -2
- package/package.json +12 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @forge/confluence-bridge
|
|
2
2
|
|
|
3
|
+
## 3.1.1-experimental-04cc2b9
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- d9ef926: Adds support for TypeScript 5
|
|
8
|
+
|
|
9
|
+
## 3.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 0b7cde8: replace window with globalThis to ensure the bridge packages can work in both browser and worker environment
|
|
14
|
+
|
|
15
|
+
## 3.1.1-next.0
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 0b7cde8: replace window with globalThis to ensure the bridge packages can work in both browser and worker environment
|
|
20
|
+
|
|
21
|
+
## 3.1.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- 6617110: Added updateBylineProperties bridge method
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- 4454464: Add setMacroViewportHeight function to confluence-bridge
|
|
30
|
+
- aa6fe6a: Remove bad import
|
|
31
|
+
|
|
3
32
|
## 3.1.0-next.2
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
package/LICENSE.txt
CHANGED
package/out/bridge.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const getCallBridge: () => Window[
|
|
1
|
+
export declare const getCallBridge: () => Window["__bridge"]["callBridge"];
|
|
2
2
|
//# sourceMappingURL=bridge.d.ts.map
|
package/out/bridge.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getEditorContent =
|
|
3
|
+
exports.getEditorContent = getEditorContent;
|
|
4
4
|
const errors_1 = require("../errors");
|
|
5
5
|
const bridge_1 = require("../bridge");
|
|
6
6
|
async function getEditorContent() {
|
|
@@ -16,4 +16,3 @@ async function getEditorContent() {
|
|
|
16
16
|
throw new errors_1.BridgeAPIError('Unable to get editor content: ' + err.message);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
exports.getEditorContent = getEditorContent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getMacroContent =
|
|
3
|
+
exports.getMacroContent = getMacroContent;
|
|
4
4
|
const errors_1 = require("../errors");
|
|
5
5
|
const bridge_1 = require("../bridge");
|
|
6
6
|
async function getMacroContent() {
|
|
@@ -16,4 +16,3 @@ async function getMacroContent() {
|
|
|
16
16
|
throw new errors_1.BridgeAPIError('Unable to get macro content: ' + err.message);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
exports.getMacroContent = getMacroContent;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.INVALID_HEIGHT_ERROR_MESSAGE = void 0;
|
|
4
|
+
exports.setMacroViewportHeight = setMacroViewportHeight;
|
|
4
5
|
const errors_1 = require("../errors");
|
|
5
6
|
const bridge_1 = require("../bridge");
|
|
6
7
|
exports.INVALID_HEIGHT_ERROR_MESSAGE = 'Height argument must be a positive integer and greater than 0';
|
|
@@ -18,4 +19,3 @@ async function setMacroViewportHeight(height) {
|
|
|
18
19
|
throw new errors_1.BridgeAPIError('Unable to set macro viewport height: ' + err.message);
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
|
-
exports.setMacroViewportHeight = setMacroViewportHeight;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateBylineProperties =
|
|
3
|
+
exports.updateBylineProperties = updateBylineProperties;
|
|
4
4
|
const errors_1 = require("../errors");
|
|
5
5
|
const bridge_1 = require("../bridge");
|
|
6
6
|
async function updateBylineProperties(payload) {
|
|
@@ -12,4 +12,3 @@ async function updateBylineProperties(payload) {
|
|
|
12
12
|
throw new errors_1.BridgeAPIError('Unable to update byline properties: ' + err.message);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
exports.updateBylineProperties = updateBylineProperties;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateMacro =
|
|
3
|
+
exports.updateMacro = updateMacro;
|
|
4
4
|
const errors_1 = require("../errors");
|
|
5
5
|
const bridge_1 = require("../bridge");
|
|
6
6
|
async function updateMacro(macroContent) {
|
|
@@ -13,4 +13,3 @@ async function updateMacro(macroContent) {
|
|
|
13
13
|
throw new errors_1.BridgeAPIError('Unable to update macro: ' + err.message);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
exports.updateMacro = updateMacro;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/confluence-bridge",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1-experimental-04cc2b9",
|
|
4
4
|
"description": "Forge Confluence custom bridge API",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -13,5 +13,16 @@
|
|
|
13
13
|
},
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"registry": "https://packages.atlassian.com/api/npm/npm-public/"
|
|
16
|
+
},
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"typescript": ">=5.0.0"
|
|
19
|
+
},
|
|
20
|
+
"peerDependenciesMeta": {
|
|
21
|
+
"typescript": {
|
|
22
|
+
"optional": true
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"typescript": "5.9.2"
|
|
16
27
|
}
|
|
17
28
|
}
|