@twilio/conversations 2.2.1 → 3.0.0-canary.100
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 +2 -2
- package/builds/browser.js +888 -2159
- package/builds/browser.js.map +1 -1
- package/builds/lib.d.ts +18 -100
- package/builds/lib.js +888 -2159
- package/builds/lib.js.map +1 -1
- package/builds/twilio-conversations.js +24296 -26232
- package/builds/twilio-conversations.min.js +1 -1
- package/dist/client.js +56 -90
- package/dist/client.js.map +1 -1
- package/dist/command-executor.js +30 -12
- package/dist/command-executor.js.map +1 -1
- package/dist/conversation.js +44 -6
- package/dist/conversation.js.map +1 -1
- package/dist/data/conversations.js +4 -1
- package/dist/data/conversations.js.map +1 -1
- package/dist/data/messages.js +3 -13
- package/dist/data/messages.js.map +1 -1
- package/dist/data/participants.js +4 -2
- package/dist/data/participants.js.map +1 -1
- package/dist/data/users.js +4 -2
- package/dist/data/users.js.map +1 -1
- package/dist/message-builder.js.map +1 -1
- package/dist/message.js +1 -41
- package/dist/message.js.map +1 -1
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/packages/conversations/package.json.js +1 -1
- package/dist/participant.js.map +1 -1
- package/dist/services/network.js +38 -15
- package/dist/services/network.js.map +1 -1
- package/dist/services/typing-indicator.js +7 -5
- package/dist/services/typing-indicator.js.map +1 -1
- package/dist/unsent-message.js.map +1 -1
- package/dist/user.js.map +1 -1
- package/dist/util/index.js.map +1 -1
- package/package.json +15 -13
- package/CHANGELOG.md +0 -713
- package/docs/assets/css/main.css +0 -2660
- package/docs/assets/images/icons.png +0 -0
- package/docs/assets/images/icons@2x.png +0 -0
- package/docs/assets/images/widgets.png +0 -0
- package/docs/assets/images/widgets@2x.png +0 -0
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
- package/docs/classes/AggregatedDeliveryReceipt.html +0 -3184
- package/docs/classes/CancellablePromise.html +0 -3213
- package/docs/classes/Client.html +0 -4254
- package/docs/classes/Conversation.html +0 -4359
- package/docs/classes/DetailedDeliveryReceipt.html +0 -3163
- package/docs/classes/Media.html +0 -3167
- package/docs/classes/Message.html +0 -3732
- package/docs/classes/MessageBuilder.html +0 -3277
- package/docs/classes/Participant.html +0 -3444
- package/docs/classes/PushNotification.html +0 -3130
- package/docs/classes/RestPaginator.html +0 -3160
- package/docs/classes/UnsentMessage.html +0 -3042
- package/docs/classes/User.html +0 -3349
- package/docs/index.html +0 -3513
- package/docs/interfaces/ClientOptions.html +0 -3034
- package/docs/interfaces/ConversationBindings.html +0 -3001
- package/docs/interfaces/ConversationEmailBinding.html +0 -3001
- package/docs/interfaces/ConversationLimits.html +0 -3098
- package/docs/interfaces/ConversationState.html +0 -3050
- package/docs/interfaces/ConversationUpdatedEventArgs.html +0 -3001
- package/docs/interfaces/CreateConversationOptions.html +0 -3066
- package/docs/interfaces/LastMessage.html +0 -3050
- package/docs/interfaces/Paginator.html +0 -3141
- package/docs/interfaces/ParticipantBindings.html +0 -3001
- package/docs/interfaces/ParticipantEmailBinding.html +0 -3001
- package/docs/interfaces/PushNotificationData.html +0 -3114
- package/docs/interfaces/SendEmailOptions.html +0 -3034
- package/docs/interfaces/SendMediaOptions.html +0 -3068
- package/docs/modules.html +0 -3514
package/README.md
CHANGED
@@ -24,7 +24,7 @@ const client = new Client(token);
|
|
24
24
|
// Before you use the client, subscribe to the `'initialized'` event.
|
25
25
|
client.on('initialized', () => {
|
26
26
|
// Use the client.
|
27
|
-
}
|
27
|
+
}
|
28
28
|
|
29
29
|
// To catch client initialization errors, subscribe to the `'initFailed'` event.
|
30
30
|
client.on('initFailed', ({ error }) => {
|
@@ -41,7 +41,7 @@ const client = new Client(token);
|
|
41
41
|
// Before you use the client, subscribe to the `'initialized'` event.
|
42
42
|
client.on('initialized', () => {
|
43
43
|
// Use the client.
|
44
|
-
}
|
44
|
+
}
|
45
45
|
|
46
46
|
// To catch client initialization errors, subscribe to the `'initFailed'` event.
|
47
47
|
client.on('initFailed', ({ error }) => {
|