Skip to content

Commit

Permalink
remove dist-browser and update bundle instructions (Azure#14194)
Browse files Browse the repository at this point in the history
  • Loading branch information
beltr0n authored Mar 9, 2021
1 parent ecce9ed commit 26d13fc
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 2 deletions.
6 changes: 6 additions & 0 deletions sdk/communication/communication-chat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ Read more about Azure Communication Services [here](https://docs.microsoft.com/a
npm install @azure/communication-chat
```

### Browser support

#### JavaScript Bundle

To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts

A chat conversation is represented by a thread. Each user in the thread is called a chat participant. Chat participants can chat with one another privately in a 1:1 chat or huddle up in a 1:N group chat. Users also get near-real time updates for when others are typing and when they have read the messages.
Expand Down
6 changes: 6 additions & 0 deletions sdk/communication/communication-common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ This package contains common code for Azure Communication Service libraries.
npm install @azure/communication-common
```

### Browser support

#### JavaScript Bundle

To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts

### CommunicationTokenCredential and AzureCommunicationTokenCredential
Expand Down
1 change: 1 addition & 0 deletions sdk/communication/communication-identity/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- `CommunicationIdentityClient` method `createUserWithToken` renamed to `createUserAndToken`.
- Renamed `CommunicationIdentityOptions` to `CommunicationIdentityClientOptions`.
- Removed `_response` from returned models.
- Removed `dist-browser` from the output folders. To bundle the Azure SDK libraries, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md).

## 1.0.0-beta.4 (2021-02-09)

Expand Down
6 changes: 6 additions & 0 deletions sdk/communication/communication-identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ The identity library is used for managing users and tokens for Azure Communicati
npm install @azure/communication-identity
```

### Browser support

#### JavaScript Bundle

To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts

### Clients
Expand Down
1 change: 0 additions & 1 deletion sdk/communication/communication-identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
},
"files": [
"dist/",
"dist-browser/",
"dist-esm/src/",
"types/communication-identity.d.ts",
"README.md",
Expand Down
4 changes: 4 additions & 0 deletions sdk/communication/communication-phone-numbers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
## 1.0.0-beta.4 (Unreleased)

The Azure Communication Phone Numbers Client library contains code which facilitates phone number management.

### Breaking Changes

- Removed `dist-browser` from the output folders. To bundle the Azure SDK libraries, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md)
6 changes: 6 additions & 0 deletions sdk/communication/communication-phone-numbers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ Acquired phone numbers can come with many capabilities, depending on the country
npm install @azure/communication-phone-numbers
```

### Browser support

#### JavaScript Bundle

To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts

The phone numbers package exposes the `PhoneNumbersClient` which provides methods to manage phone numbers.
Expand Down
1 change: 0 additions & 1 deletion sdk/communication/communication-phone-numbers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
},
"files": [
"dist/",
"dist-browser/",
"dist-esm/src/",
"types/communication-phone-numbers.d.ts",
"README.md",
Expand Down
6 changes: 6 additions & 0 deletions sdk/communication/communication-sms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ Phone numbers can be acquired and assigned to a Communication Services resource

You may also get a phone number by using the [`@azure/communication-administration`][azure_communication_admin] package. Instructions on how to use the package can be found in the [package's README][azure_communication_admin_readme].

### Browser support

#### JavaScript Bundle

To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts

### SmsClient
Expand Down

0 comments on commit 26d13fc

Please sign in to comment.