@backstage/core-app-api 1.8.0-next.1 → 1.8.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @backstage/core-app-api
2
2
 
3
+ ## 1.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c89437db899: The analytics' `navigate` event will now include the route parameters as attributes of the navigate event
8
+
9
+ ### Patch Changes
10
+
11
+ - b645d70034a: Fixed a bug in the Azure auth provider which prevented getting access tokens with multiple scopes for one resource
12
+ - 42d817e76ab: Added `FrontendHostDiscovery` for config driven discovery implementation
13
+ - Updated dependencies
14
+ - @backstage/config@1.0.7
15
+ - @backstage/core-plugin-api@1.5.1
16
+ - @backstage/types@1.0.2
17
+ - @backstage/version-bridge@1.0.4
18
+
3
19
  ## 1.8.0-next.1
4
20
 
5
21
  ### Minor Changes
package/dist/index.esm.js CHANGED
@@ -1156,7 +1156,11 @@ const _MicrosoftAuth = class {
1156
1156
  }
1157
1157
  static resourceForScopes(scope) {
1158
1158
  var _a;
1159
- const audiences = scope.split(" ").map(_MicrosoftAuth.resourceForScope).filter((aud) => aud !== "openid");
1159
+ const audiences = [
1160
+ ...new Set(
1161
+ scope.split(" ").map(_MicrosoftAuth.resourceForScope).filter((aud) => aud !== "openid")
1162
+ )
1163
+ ];
1160
1164
  if (audiences.length > 1) {
1161
1165
  return Promise.reject(
1162
1166
  new Error(