Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions sdk/communication/communication-network-traversal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Release History

## 1.1.0-beta.1 (2022-03-10)

### Features Added

- Adding optional parameter to GetRelayConfiguration to choose credential Time-To-Live in seconds of max 48 hours.
The default value will be used if given value exceeds it.

### Breaking Changes
Comment thread
AriZavala2 marked this conversation as resolved.

- Making User, RouteType and Ttl part of the options parameter
- getRelayConfiguration can be called without parameters or passing the GetRelayConfigurationOptions parameter

## 1.0.0 (2022-02-04) (Deprecated)

### Other Changes
Expand Down
6 changes: 3 additions & 3 deletions sdk/communication/communication-network-traversal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,19 @@ const user = await client.createUser();
Use the `getConfigurationRelay` method to get new TURN credentials providing a user

```typescript
const config = relayClient.getRelayConfiguration(user);
const config = await relayClient.getRelayConfiguration(user);
```

Also you can call the `getConfigurationRelay` method without providing a user

```typescript
const config = relayClient.getRelayConfiguration();
const config = await relayClient.getRelayConfiguration();
```

You can specify a RouteType when calling `getConfigurationRelay`

```typescript
const config = relayClient.getRelayConfiguration(user, "nearest");
const config = await relayClient.getRelayConfiguration(user, "nearest");
```

## Troubleshooting
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/communication-network-traversal",
"version": "1.0.0",
"version": "1.1.0-beta.1",
"description": "SDK for Azure Communication service which facilitates user token administration.",
"sdk-type": "client",
"main": "dist/index.js",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading