@azure/arm-appinsights 5.0.0-alpha.20220922.1 → 5.0.0-alpha.20220930.2

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,6 +1,6 @@
1
1
  # Release History
2
2
 
3
- ## 5.0.0-beta.5 (Unreleased)
3
+ ## 5.0.0-beta.6 (Unreleased)
4
4
 
5
5
  ### Features Added
6
6
 
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### Other Changes
12
12
 
13
+ ## 5.0.0-beta.5 (2022-09-30)
14
+
15
+ **Bugs Fixed**
16
+
17
+ - fix better user experience of credential scopes in government cloud
18
+
13
19
  ## 5.0.0-beta.4 (2022-06-01)
14
20
 
15
21
  The package of @azure/arm-appinsights is using our next generation design principles since version 5.0.0-beta.4, which contains breaking changes.
package/dist/index.js CHANGED
@@ -7688,13 +7688,10 @@ class ApplicationInsightsManagementClient extends coreClient__namespace.ServiceC
7688
7688
  requestContentType: "application/json; charset=utf-8",
7689
7689
  credential: credentials
7690
7690
  };
7691
- const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.5`;
7691
+ const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.6`;
7692
7692
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
7693
7693
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
7694
7694
  : `${packageDetails}`;
7695
- if (!options.credentialScopes) {
7696
- options.credentialScopes = ["https://management.azure.com/.default"];
7697
- }
7698
7695
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
7699
7696
  userAgentPrefix
7700
7697
  }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });