@azure/communication-phone-numbers 1.3.0-alpha.20240821.1 → 1.3.0-alpha.20240823.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
@@ -118,7 +118,7 @@ The [`@azure/identity`][azure_identity] package provides a variety of credential
|
|
118
118
|
import { DefaultAzureCredential } from "@azure/identity";
|
119
119
|
import { PhoneNumbersClient } from "@azure/communication-phone-numbers";
|
120
120
|
|
121
|
-
|
121
|
+
const credential = new DefaultAzureCredential();
|
122
122
|
const client = new PhoneNumbersClient("<endpoint-from-resource>", credential);
|
123
123
|
```
|
124
124
|
|
@@ -126,7 +126,7 @@ const client = new PhoneNumbersClient("<endpoint-from-resource>", credential);
|
|
126
126
|
import { DefaultAzureCredential } from "@azure/identity";
|
127
127
|
import { SipRoutingClient } from "@azure/communication-phone-numbers";
|
128
128
|
|
129
|
-
|
129
|
+
const credential = new DefaultAzureCredential();
|
130
130
|
const client = new SipRoutingClient("<endpoint-from-resource>", credential);
|
131
131
|
```
|
132
132
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/communication-phone-numbers",
|
3
|
-
"version": "1.3.0-alpha.
|
3
|
+
"version": "1.3.0-alpha.20240823.1",
|
4
4
|
"description": "SDK for Azure Communication service which facilitates phone number management.",
|
5
5
|
"sdk-type": "client",
|
6
6
|
"main": "dist/index.js",
|
@@ -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 README.md src test --
|
26
|
-
"lint": "eslint package.json api-extractor.json README.md src test
|
25
|
+
"lint:fix": "eslint package.json api-extractor.json README.md src test --fix --fix-type [problem,suggestion]",
|
26
|
+
"lint": "eslint package.json api-extractor.json README.md src test",
|
27
27
|
"pack": "npm pack 2>&1",
|
28
28
|
"test": "rimraf --glob dist-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",
|