@azure/communication-identity 1.3.2-alpha.20250519.1 → 1.3.2-alpha.20250604.4
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 +1 -2
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -103,8 +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(
|
|
107
|
-
const getResult = await client.getUser(user);
|
|
106
|
+
const user = await client.createUser();
|
|
108
107
|
```
|
|
109
108
|
|
|
110
109
|
### Creating and refreshing a user token
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/communication-identity",
|
|
3
|
-
"version": "1.3.2-alpha.
|
|
3
|
+
"version": "1.3.2-alpha.20250604.4",
|
|
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
|
|
21
|
-
"lint:fix": "eslint package.json api-extractor.json
|
|
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",
|