Skip to content

Commit 26d13fc

Browse files
authored
remove dist-browser and update bundle instructions (Azure#14194)
1 parent ecce9ed commit 26d13fc

File tree

9 files changed

+35
-2
lines changed

9 files changed

+35
-2
lines changed

sdk/communication/communication-chat/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ Read more about Azure Communication Services [here](https://docs.microsoft.com/a
1818
npm install @azure/communication-chat
1919
```
2020

21+
### Browser support
22+
23+
#### JavaScript Bundle
24+
25+
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).
26+
2127
## Key concepts
2228

2329
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.

sdk/communication/communication-common/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ This package contains common code for Azure Communication Service libraries.
1515
npm install @azure/communication-common
1616
```
1717

18+
### Browser support
19+
20+
#### JavaScript Bundle
21+
22+
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).
23+
1824
## Key concepts
1925

2026
### CommunicationTokenCredential and AzureCommunicationTokenCredential

sdk/communication/communication-identity/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- `CommunicationIdentityClient` method `createUserWithToken` renamed to `createUserAndToken`.
99
- Renamed `CommunicationIdentityOptions` to `CommunicationIdentityClientOptions`.
1010
- Removed `_response` from returned models.
11+
- 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).
1112

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

sdk/communication/communication-identity/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ The identity library is used for managing users and tokens for Azure Communicati
1515
npm install @azure/communication-identity
1616
```
1717

18+
### Browser support
19+
20+
#### JavaScript Bundle
21+
22+
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).
23+
1824
## Key concepts
1925

2026
### Clients

sdk/communication/communication-identity/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
},
4242
"files": [
4343
"dist/",
44-
"dist-browser/",
4544
"dist-esm/src/",
4645
"types/communication-identity.d.ts",
4746
"README.md",

sdk/communication/communication-phone-numbers/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
## 1.0.0-beta.4 (Unreleased)
44

55
The Azure Communication Phone Numbers Client library contains code which facilitates phone number management.
6+
7+
### Breaking Changes
8+
9+
- 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)

sdk/communication/communication-phone-numbers/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ Acquired phone numbers can come with many capabilities, depending on the country
1717
npm install @azure/communication-phone-numbers
1818
```
1919

20+
### Browser support
21+
22+
#### JavaScript Bundle
23+
24+
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).
25+
2026
## Key concepts
2127

2228
The phone numbers package exposes the `PhoneNumbersClient` which provides methods to manage phone numbers.

sdk/communication/communication-phone-numbers/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
},
4242
"files": [
4343
"dist/",
44-
"dist-browser/",
4544
"dist-esm/src/",
4645
"types/communication-phone-numbers.d.ts",
4746
"README.md",

sdk/communication/communication-sms/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ Phone numbers can be acquired and assigned to a Communication Services resource
2222

2323
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].
2424

25+
### Browser support
26+
27+
#### JavaScript Bundle
28+
29+
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).
30+
2531
## Key concepts
2632

2733
### SmsClient

0 commit comments

Comments
 (0)