@azure/ai-form-recognizer 5.1.0-alpha.20250516.1 → 5.1.0-alpha.20250605.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/README.md +2 -2
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -144,7 +144,7 @@ const client = new DocumentAnalysisClient(
|
|
|
144
144
|
|
|
145
145
|
Connect to alternative Azure cloud environments (such as Azure China or Azure Government) by specifying the `audience` option when creating your client. Use the `KnownFormRecognizerAudience` enum to select the correct value for your environment.
|
|
146
146
|
|
|
147
|
-
```ts
|
|
147
|
+
```ts snippet:ReadmeSampleSovereignClouds
|
|
148
148
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
149
149
|
import { DocumentAnalysisClient, KnownFormRecognizerAudience } from "@azure/ai-form-recognizer";
|
|
150
150
|
|
|
@@ -154,7 +154,7 @@ const client = new DocumentAnalysisClient(
|
|
|
154
154
|
credential,
|
|
155
155
|
{
|
|
156
156
|
audience: KnownFormRecognizerAudience.AzureGovernment,
|
|
157
|
-
}
|
|
157
|
+
},
|
|
158
158
|
);
|
|
159
159
|
```
|
|
160
160
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "client",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "An isomorphic client library for the Azure Document Intelligence service.",
|
|
6
|
-
"version": "5.1.0-alpha.
|
|
6
|
+
"version": "5.1.0-alpha.20250605.2",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"node",
|
|
9
9
|
"azure",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"extract-api": "dev-tool run build-package && dev-tool run extract-api",
|
|
56
56
|
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
57
57
|
"generate:client": "autorest --typescript swagger/README.md",
|
|
58
|
-
"lint": "eslint package.json api-extractor.json
|
|
59
|
-
"lint:fix": "eslint package.json api-extractor.json
|
|
58
|
+
"lint": "eslint package.json api-extractor.json src test",
|
|
59
|
+
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
|
|
60
60
|
"pack": "npm pack 2>&1",
|
|
61
61
|
"test": "npm run test:node && npm run test:browser",
|
|
62
62
|
"test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@azure-tools/test-credential": "^2.0.0",
|
|
83
83
|
"@azure-tools/test-recorder": ">=4.1.0-alpha <4.1.0-alphb",
|
|
84
84
|
"@azure-tools/test-utils-vitest": ">=1.0.0-alpha <1.0.0-alphb",
|
|
85
|
-
"@azure/arm-cognitiveservices": "
|
|
85
|
+
"@azure/arm-cognitiveservices": "^7.6.0",
|
|
86
86
|
"@azure/arm-storage": "^18.4.0",
|
|
87
87
|
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
88
88
|
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|