@backstage/integration 1.4.4-next.0 → 1.4.5-next.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 +18 -0
- package/dist/index.cjs.js +7 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/index.esm.js +7 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @backstage/integration
|
|
2
2
|
|
|
3
|
+
## 1.4.5-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b026275bcc8: Fixed a bug where the wrong credentials would be selected when using multiple GitHub app integrations.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/config@1.0.7
|
|
10
|
+
- @backstage/errors@1.1.5
|
|
11
|
+
|
|
12
|
+
## 1.4.4
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- e0c6e8b9c3c: Update peer dependencies
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @backstage/config@1.0.7
|
|
19
|
+
- @backstage/errors@1.1.5
|
|
20
|
+
|
|
3
21
|
## 1.4.4-next.0
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/index.cjs.js
CHANGED
|
@@ -1356,12 +1356,17 @@ class GithubAppCredentialsMux {
|
|
|
1356
1356
|
)
|
|
1357
1357
|
)
|
|
1358
1358
|
);
|
|
1359
|
-
const result = results.find(
|
|
1359
|
+
const result = results.find(
|
|
1360
|
+
(resultItem) => {
|
|
1361
|
+
var _a;
|
|
1362
|
+
return (_a = resultItem.credentials) == null ? void 0 : _a.accessToken;
|
|
1363
|
+
}
|
|
1364
|
+
);
|
|
1360
1365
|
if (result) {
|
|
1361
1366
|
return result.credentials.accessToken;
|
|
1362
1367
|
}
|
|
1363
1368
|
const errors = results.map((r) => r.error);
|
|
1364
|
-
const notNotFoundError = errors.find((err) => err.name !== "NotFoundError");
|
|
1369
|
+
const notNotFoundError = errors.find((err) => (err == null ? void 0 : err.name) !== "NotFoundError");
|
|
1365
1370
|
if (notNotFoundError) {
|
|
1366
1371
|
throw notNotFoundError;
|
|
1367
1372
|
}
|