@azure/app-configuration 1.9.1-alpha.20250416.1 → 1.9.1-alpha.20250417.1

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/README.md CHANGED
@@ -80,19 +80,15 @@ More information about `@azure/identity` can be found [here](https://github.com/
80
80
  To authenticate with a resource in a [Sovereign Cloud](https://learn.microsoft.com/azure/active-directory/develop/authentication-national-cloud), you will need to set the `audience` in the `AppConfigurationClient` constructor options.
81
81
 
82
82
  ```ts snippet:AuthenticatingWithAzureSovereignCloud
83
- import { AppConfigurationClient } from "@azure/app-configuration";
83
+ import { AppConfigurationClient, KnownAppConfigAudience } from "@azure/app-configuration";
84
84
  import { DefaultAzureCredential } from "@azure/identity";
85
85
 
86
86
  // The endpoint for your App Configuration resource
87
87
  const endpoint = "https://example.azconfig.azure.cn";
88
88
  // Create an AppConfigurationClient that will authenticate through AAD in the China cloud
89
- const client = new AppConfigurationClient(
90
- endpoint,
91
- new DefaultAzureCredential(),
92
- {
93
- audience: KnownAppConfigurationAudience.AzureChina
94
- }
95
- );
89
+ const client = new AppConfigurationClient(endpoint, new DefaultAzureCredential(), {
90
+ audience: KnownAppConfigAudience.AzureChina,
91
+ });
96
92
  ```
97
93
 
98
94
  Note: When `audience` property is not defined, the SDK will default to Azure Public Cloud.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.3"
8
+ "packageVersion": "7.52.4"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@azure/app-configuration",
3
3
  "author": "Microsoft Corporation",
4
4
  "description": "An isomorphic client library for the Azure App Configuration service.",
5
- "version": "1.9.1-alpha.20250416.1",
5
+ "version": "1.9.1-alpha.20250417.1",
6
6
  "sdk-type": "client",
7
7
  "keywords": [
8
8
  "node",