@forge/api 7.0.0-next.3 → 7.0.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.
- package/CHANGELOG.md +33 -0
- package/out/webTrigger.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @forge/api
|
|
2
2
|
|
|
3
|
+
## 7.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 8f24ce1: Updated webtrigger APIs for query and deletion
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- 69e97f1:
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [6b7a4ef]
|
|
16
|
+
- Updated dependencies [dfa2aa6]
|
|
17
|
+
- Updated dependencies [ea28254]
|
|
18
|
+
- Updated dependencies [e21f32f]
|
|
19
|
+
- Updated dependencies [545ecc1]
|
|
20
|
+
- Updated dependencies [eadb4a6]
|
|
21
|
+
- Updated dependencies [8db2311]
|
|
22
|
+
- Updated dependencies [9418d29]
|
|
23
|
+
- @forge/manifest@12.0.0
|
|
24
|
+
|
|
25
|
+
## 7.0.0-next.4
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- 69e97f1:
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [ea28254]
|
|
34
|
+
- @forge/manifest@12.0.0-next.5
|
|
35
|
+
|
|
3
36
|
## 7.0.0-next.3
|
|
4
37
|
|
|
5
38
|
### Major Changes
|
package/out/webTrigger.js
CHANGED
|
@@ -39,10 +39,10 @@ const proxyGetWebTriggerURL = (0, runtime_1.wrapInMetrics)('api.getWebTriggerUrl
|
|
|
39
39
|
const proxyDeleteWebTriggerURL = (0, runtime_1.wrapInMetrics)('api.deleteWebTriggerUrl', async (webTriggerUrl) => {
|
|
40
40
|
const webTriggerUrlIdRegexGroupMatch = /\/x1\/([^\/\?\#]+)/;
|
|
41
41
|
const matches = webTriggerUrl.match(webTriggerUrlIdRegexGroupMatch);
|
|
42
|
-
if (!matches || matches.length <
|
|
42
|
+
if (!matches || matches.length < 2) {
|
|
43
43
|
throw new Error('Internal error occurred: Failed to parse web trigger URL for ID');
|
|
44
44
|
}
|
|
45
|
-
const id = matches[
|
|
45
|
+
const id = matches[1];
|
|
46
46
|
const response = await (0, fetch_1.__requestAtlassianAsApp)('/graphql', {
|
|
47
47
|
method: 'POST',
|
|
48
48
|
headers: { 'Content-Type': 'application/json' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/api",
|
|
3
|
-
"version": "7.0.0
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Forge API methods",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@forge/auth": "0.0.9",
|
|
29
29
|
"@forge/egress": "2.3.1",
|
|
30
30
|
"@forge/i18n": "0.0.7",
|
|
31
|
-
"@forge/manifest": "^12.0.0
|
|
31
|
+
"@forge/manifest": "^12.0.0",
|
|
32
32
|
"@forge/storage": "2.0.3",
|
|
33
33
|
"headers-utils": "^3.0.2"
|
|
34
34
|
},
|