@azure/communication-email 1.0.1-alpha.20240819.1 → 1.0.1-alpha.20240823.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
@@ -45,7 +45,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
45
45
|
import { EmailClient } from "@azure/communication-email";
|
46
46
|
|
47
47
|
const endpoint = "https://<resource-name>.communication.azure.com";
|
48
|
-
|
48
|
+
const credential = new DefaultAzureCredential();
|
49
49
|
const client = new EmailClient(endpoint, credential);
|
50
50
|
```
|
51
51
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/communication-email",
|
3
|
-
"version": "1.0.1-alpha.
|
3
|
+
"version": "1.0.1-alpha.20240823.1",
|
4
4
|
"description": "The is the JS Client SDK for email. This SDK enables users to send emails and get the status of sent email message.",
|
5
5
|
"author": "Microsoft Corporation",
|
6
6
|
"license": "MIT",
|
@@ -22,8 +22,8 @@
|
|
22
22
|
"integration-test:browser": "dev-tool run test:browser",
|
23
23
|
"integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
|
24
24
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
25
|
-
"lint:fix": "eslint package.json api-extractor.json src test --
|
26
|
-
"lint": "eslint package.json api-extractor.json src test
|
25
|
+
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
|
26
|
+
"lint": "eslint package.json api-extractor.json src test",
|
27
27
|
"pack": "npm pack 2>&1",
|
28
28
|
"test": "npm run build:test && npm run unit-test && npm run integration-test",
|
29
29
|
"test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
|