@azure-rest/ai-document-intelligence 1.1.0-alpha.20250519.1 → 1.1.0-alpha.20250522.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/CHANGELOG.md +0 -2
- package/README.md +7 -5
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -92,8 +92,10 @@ const client = DocumentIntelligence(process.env["DOCUMENT_INTELLIGENCE_ENDPOINT"
|
|
|
92
92
|
|
|
93
93
|
Connect to alternative Azure cloud environments (such as Azure China or Azure Government) by specifying the `scopes` field in the `credentials` option and use the appropriate value from `KnownDocumentIntelligenceAudience`.
|
|
94
94
|
|
|
95
|
-
```ts
|
|
96
|
-
import DocumentIntelligence, {
|
|
95
|
+
```ts snippet:ReadmeSampleCreateClient_SovereignClouds
|
|
96
|
+
import DocumentIntelligence, {
|
|
97
|
+
KnownDocumentIntelligenceAudience,
|
|
98
|
+
} from "@azure-rest/ai-document-intelligence";
|
|
97
99
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
98
100
|
|
|
99
101
|
const client = DocumentIntelligence(
|
|
@@ -102,9 +104,9 @@ const client = DocumentIntelligence(
|
|
|
102
104
|
{
|
|
103
105
|
credentials: {
|
|
104
106
|
// Use the correct audience for your cloud environment
|
|
105
|
-
scopes: [KnownDocumentIntelligenceAudience.AzureGovernment]
|
|
106
|
-
}
|
|
107
|
-
}
|
|
107
|
+
scopes: [KnownDocumentIntelligenceAudience.AzureGovernment],
|
|
108
|
+
},
|
|
109
|
+
},
|
|
108
110
|
);
|
|
109
111
|
```
|
|
110
112
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-rest/ai-document-intelligence",
|
|
3
|
-
"version": "1.1.0-alpha.
|
|
3
|
+
"version": "1.1.0-alpha.20250522.1",
|
|
4
4
|
"description": "Document Intelligence Rest Client",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@azure-tools/test-credential": "^2.0.0",
|
|
67
67
|
"@azure-tools/test-recorder": ">=4.1.0-alpha <4.1.0-alphb",
|
|
68
68
|
"@azure/abort-controller": "^2.1.2",
|
|
69
|
-
"@azure/arm-cognitiveservices": "
|
|
69
|
+
"@azure/arm-cognitiveservices": "^7.6.0",
|
|
70
70
|
"@azure/arm-storage": "^18.4.0",
|
|
71
71
|
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
72
72
|
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|