@azure-tools/communication-recipient-verification 1.0.0-alpha.20240819.1 → 1.0.0-alpha.20240823.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -72,7 +72,7 @@ const {
72
72
  RecipientVerificationClient,
73
73
  } = require("@azure-tools/communication-recipient-verification");
74
74
 
75
- let credential = new DefaultAzureCredential();
75
+ const credential = new DefaultAzureCredential();
76
76
  const client = new RecipientVerificationClient("<endpoint-from-resource>", credential);
77
77
  ```
78
78
 
@@ -100,7 +100,7 @@ async function main() {
100
100
  };
101
101
 
102
102
  // get the verification status
103
- var status = await client.requestVerification(VerificationRequest);
103
+ const status = await client.requestVerification(VerificationRequest);
104
104
  console.log(status);
105
105
  }
106
106
 
@@ -158,7 +158,7 @@ const client = new RecipientVerificationClient(connectionString);
158
158
 
159
159
  async function main() {
160
160
  // get all verifications for a resource
161
- var verifications = await client.getVerifications();
161
+ const verifications = await client.getVerifications();
162
162
 
163
163
  // print all verifications
164
164
  for await (const verification of verifications) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/communication-recipient-verification",
3
- "version": "1.0.0-alpha.20240819.1",
3
+ "version": "1.0.0-alpha.20240823.1",
4
4
  "description": "Test",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.js",
@@ -23,8 +23,8 @@
23
23
  "integration-test:browser": "dev-tool run test:browser",
24
24
  "integration-test:node": "dev-tool run test:node-js-input -- --timeout 300000 'dist-esm/test/public/*.spec.js'",
25
25
  "integration-test": "npm run integration-test:node && npm run integration-test:browser",
26
- "lint:fix": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js --fix --fix-type [problem,suggestion]",
27
- "lint": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js",
26
+ "lint:fix": "eslint package.json api-extractor.json README.md src test --fix --fix-type [problem,suggestion]",
27
+ "lint": "eslint package.json api-extractor.json README.md src test",
28
28
  "pack": "npm pack 2>&1",
29
29
  "test": "rimraf --glob dist-test && npm run build:test && npm run unit-test && npm run integration-test",
30
30
  "test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser",