@azure-tools/communication-recipient-verification 1.0.0-alpha.20240718.4 → 1.0.0-alpha.20240719.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/README.md CHANGED
@@ -92,7 +92,7 @@ import { RecipientVerificationClient } from "@azure-tools/communication-recipien
92
92
  const connectionString = "endpoint=<endpoint>;accessKey=<accessKey>";
93
93
  const client = new RecipientVerificationClient(connectionString);
94
94
 
95
- async main function() {
95
+ async function main() {
96
96
  // body of the request
97
97
  const VerificationRequest = {
98
98
  identity: "+11234567890",
@@ -114,7 +114,7 @@ import { RecipientVerificationClient } from "@azure-tools/communication-recipien
114
114
  const connectionString = "endpoint=<endpoint>;accessKey=<accessKey>";
115
115
  const client = new RecipientVerificationClient(connectionString);
116
116
 
117
- async main function() {
117
+ async function main() {
118
118
  // id that is used to reference users phone number
119
119
  const verificationId = "7e5dd7e1-5203-41ab-960e-65c1eb804fc6";
120
120
 
@@ -138,7 +138,7 @@ import { RecipientVerificationClient } from "@azure-tools/communication-recipien
138
138
  const connectionString = "endpoint=<endpoint>;accessKey=<accessKey>";
139
139
  const client = new RecipientVerificationClient(connectionString);
140
140
 
141
- async main function() {
141
+ async function main() {
142
142
  // id that is used to reference users phone number
143
143
  const verificationId = "4d313ff0-3aeb-477e-8c15-7c9a893e8999";
144
144
 
@@ -156,7 +156,7 @@ import { RecipientVerificationClient } from "@azure-tools/communication-recipien
156
156
  const connectionString = "endpoint=<endpoint>;accessKey=<accessKey>";
157
157
  const client = new RecipientVerificationClient(connectionString);
158
158
 
159
- async main function() {
159
+ async function main() {
160
160
  // get all verifications for a resource
161
161
  var verifications = await client.getVerifications();
162
162
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/communication-recipient-verification",
3
- "version": "1.0.0-alpha.20240718.4",
3
+ "version": "1.0.0-alpha.20240719.1",
4
4
  "description": "Test",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.js",
@@ -31,7 +31,7 @@
31
31
  "test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
32
32
  "test:watch": "npm run test -- --watch --reporter min",
33
33
  "unit-test:browser": "dev-tool run test:browser",
34
- "unit-test:node": "dev-tool run test:node-ts-input -- --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
34
+ "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
35
35
  "unit-test": "npm run unit-test:node && npm run unit-test:browser"
36
36
  },
37
37
  "files": [
@@ -78,7 +78,7 @@
78
78
  "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
79
79
  "@azure/identity": "^4.0.1",
80
80
  "@azure/core-util": "^1.9.0",
81
- "@azure-tools/test-utils": "^1.0.0",
81
+ "@azure-tools/test-utils": "^1.0.1",
82
82
  "@microsoft/api-extractor": "^7.31.1",
83
83
  "@types/chai": "^4.1.6",
84
84
  "@types/mocha": "^10.0.0",
@@ -100,10 +100,10 @@
100
100
  "karma-mocha-reporter": "^2.2.5",
101
101
  "karma-sourcemap-loader": "^0.3.8",
102
102
  "mocha": "^10.0.0",
103
- "nyc": "^15.1.0",
103
+ "nyc": "^17.0.0",
104
104
  "rimraf": "^5.0.5",
105
105
  "sinon": "^17.0.0",
106
- "typescript": "~5.4.5",
106
+ "typescript": "~5.5.3",
107
107
  "ts-node": "^10.0.0"
108
108
  },
109
109
  "//metadata": {
@@ -1,5 +1,3 @@
1
- /// <reference lib="esnext.asynciterable" />
2
-
3
1
  import { CommonClientOptions } from '@azure/core-client';
4
2
  import * as coreClient from '@azure/core-client';
5
3
  import { KeyCredential } from '@azure/core-auth';