@azure-rest/defender-easm 1.0.0-alpha.20250203.1 → 1.0.0-alpha.20250205.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/LICENSE +4 -4
- package/README.md +3 -3
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MIT License
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ To use an [Azure Active Directory (AAD) token credential](https://github.com/Azu
|
|
|
34
34
|
provide an instance of the desired credential type obtained from the
|
|
35
35
|
[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.
|
|
36
36
|
|
|
37
|
-
To authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity)
|
|
37
|
+
To authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity)
|
|
38
38
|
|
|
39
39
|
After setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.
|
|
40
40
|
As an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)
|
|
@@ -46,8 +46,8 @@ can be used to authenticate the client.
|
|
|
46
46
|
|
|
47
47
|
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
|
|
48
48
|
|
|
49
|
-
```
|
|
50
|
-
|
|
49
|
+
```ts snippet:SetLogLevel
|
|
50
|
+
import { setLogLevel } from "@azure/logger";
|
|
51
51
|
|
|
52
52
|
setLogLevel("info");
|
|
53
53
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-rest/defender-easm",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20250205.1",
|
|
4
4
|
"description": "A generated SDK for EasmClient.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@vitest/coverage-istanbul": "^3.0.3",
|
|
75
75
|
"dotenv": "^16.0.0",
|
|
76
76
|
"eslint": "^9.9.0",
|
|
77
|
-
"playwright": "^1.
|
|
77
|
+
"playwright": "^1.50.1",
|
|
78
78
|
"typescript": "~5.7.2",
|
|
79
79
|
"vitest": "^3.0.3"
|
|
80
80
|
},
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
102
102
|
"unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
|
|
103
103
|
"unit-test:node": "dev-tool run test:vitest",
|
|
104
|
-
"update-snippets": "
|
|
104
|
+
"update-snippets": "dev-tool run update-snippets"
|
|
105
105
|
},
|
|
106
106
|
"//sampleConfiguration": {
|
|
107
107
|
"productName": "Defender EASM Client",
|