@azure/communication-identity 1.3.2-alpha.20250519.1 → 1.3.2-alpha.20250605.6

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
@@ -94,7 +94,7 @@ const user = await client.createUser();
94
94
 
95
95
  Use the `createUser` method to create a new user with `customId`. This `customId` can be used to map your application's user identities with Azure Communication Services identities. If you call the `CreateUser` method again with the same `customId`, it will return the same `user.Id`. Therefore, you do not need to store this mapping yourself.
96
96
 
97
- ```ts snippet:ReadmeSampleCreateUser
97
+ ```ts snippet:ReadmeSampleCreateUser_CustomId
98
98
  import { DefaultAzureCredential } from "@azure/identity";
99
99
  import { CommunicationIdentityClient } from "@azure/communication-identity";
100
100
 
@@ -103,7 +103,7 @@ const endpoint = "https://contoso.eastus.communications.azure.net";
103
103
  const credential = new DefaultAzureCredential();
104
104
  const client = new CommunicationIdentityClient(endpoint, credential);
105
105
 
106
- const user = await client.createUser( { customId: "alice@contoso.com"});
106
+ const user = await client.createUser({ customId: "alice@contoso.com" });
107
107
  const getResult = await client.getUser(user);
108
108
  ```
109
109
 
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.7"
8
+ "packageVersion": "7.52.8"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/communication-identity",
3
- "version": "1.3.2-alpha.20250519.1",
3
+ "version": "1.3.2-alpha.20250605.6",
4
4
  "description": "SDK for Azure Communication service which facilitates user token administration.",
5
5
  "sdk-type": "client",
6
6
  "main": "./dist/commonjs/index.js",
@@ -17,8 +17,8 @@
17
17
  "extract-api": "dev-tool run build-package && dev-tool run extract-api",
18
18
  "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
19
19
  "generate:client": "autorest --typescript ./swagger/README.md",
20
- "lint": "eslint package.json api-extractor.json README.md src test",
21
- "lint:fix": "eslint package.json api-extractor.json README.md src test --fix --fix-type [problem,suggestion]",
20
+ "lint": "eslint package.json api-extractor.json src test",
21
+ "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
22
22
  "pack": "npm pack 2>&1",
23
23
  "test": "npm run test:node && npm run test:browser",
24
24
  "test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",