@twilio/conversations 2.6.0-rc.1 → 2.6.1-rc.1
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 -1
- package/builds/browser.esm.js +9 -5
- package/builds/browser.esm.js.map +1 -1
- package/builds/browser.js +9 -5
- package/builds/browser.js.map +1 -1
- package/builds/lib.esm.js +9 -5
- package/builds/lib.js +9 -5
- package/builds/lib.js.map +1 -1
- package/builds/twilio-conversations.js +10 -5
- package/builds/twilio-conversations.js.map +1 -0
- package/builds/twilio-conversations.min.js +2 -1
- package/builds/twilio-conversations.min.js.map +1 -0
- package/dist/aggregated-delivery-receipt.js +0 -2
- package/dist/aggregated-delivery-receipt.js.map +1 -1
- package/dist/channel-metadata-client.js +0 -3
- package/dist/channel-metadata-client.js.map +1 -1
- package/dist/client.js +0 -37
- package/dist/client.js.map +1 -1
- package/dist/command-executor.js +0 -5
- package/dist/command-executor.js.map +1 -1
- package/dist/configuration.js +0 -7
- package/dist/configuration.js.map +1 -1
- package/dist/content-client.js +0 -7
- package/dist/content-client.js.map +1 -1
- package/dist/content-template.js +0 -4
- package/dist/content-template.js.map +1 -1
- package/dist/conversation.js +0 -34
- package/dist/conversation.js.map +1 -1
- package/dist/data/conversations.js +8 -13
- package/dist/data/conversations.js.map +1 -1
- package/dist/data/participants.js +0 -6
- package/dist/data/participants.js.map +1 -1
- package/dist/data/users.js +0 -6
- package/dist/data/users.js.map +1 -1
- package/dist/detailed-delivery-receipt.js +0 -2
- package/dist/detailed-delivery-receipt.js.map +1 -1
- package/dist/interfaces/rules.js +0 -9
- package/dist/interfaces/rules.js.map +1 -1
- package/dist/logger.js +0 -23
- package/dist/logger.js.map +1 -1
- package/dist/media.js +0 -7
- package/dist/media.js.map +1 -1
- package/dist/message-builder.js +0 -12
- package/dist/message-builder.js.map +1 -1
- package/dist/message-recipients-client.js +0 -4
- package/dist/message-recipients-client.js.map +1 -1
- package/dist/message.js +0 -21
- package/dist/message.js.map +1 -1
- package/dist/packages/conversations/package.json.js +1 -1
- package/dist/participant.js +0 -13
- package/dist/participant.js.map +1 -1
- package/dist/push-notification.js +0 -5
- package/dist/push-notification.js.map +1 -1
- package/dist/rest-paginator.js +0 -6
- package/dist/rest-paginator.js.map +1 -1
- package/dist/services/typing-indicator.js +2 -8
- package/dist/services/typing-indicator.js.map +1 -1
- package/dist/unsent-message.js +0 -5
- package/dist/unsent-message.js.map +1 -1
- package/dist/user.js +0 -11
- package/dist/user.js.map +1 -1
- package/dist/util/deferred.js +0 -6
- package/dist/util/deferred.js.map +1 -1
- package/docs/index.html +2 -2
- package/docs/modules.html +1 -1
- package/package.json +2 -2
@@ -41469,6 +41469,8 @@ this.Twilio.Conversations = (function (exports) {
|
|
41469
41469
|
createdBy: body.created_by,
|
41470
41470
|
attributes: body.attributes,
|
41471
41471
|
channel: body.sync_objects.conversation,
|
41472
|
+
roster: body.sync_objects.participants,
|
41473
|
+
messages: body.sync_objects.messages,
|
41472
41474
|
notificationLevel: body === null || body === void 0 ? void 0 : body.notification_level,
|
41473
41475
|
sid: sid
|
41474
41476
|
};
|
@@ -41514,8 +41516,10 @@ this.Twilio.Conversations = (function (exports) {
|
|
41514
41516
|
uniqueName: body.unique_name,
|
41515
41517
|
createdBy: body.created_by,
|
41516
41518
|
attributes: body.attributes,
|
41517
|
-
channel: "".concat(sid, ".channel"),
|
41518
|
-
|
41519
|
+
channel: body.sync_objects.conversation || "".concat(sid, ".channel"),
|
41520
|
+
roster: body.sync_objects.participants,
|
41521
|
+
messages: body.sync_objects.messages,
|
41522
|
+
notificationLevel: body === null || body === void 0 ? void 0 : body.notification_level,
|
41519
41523
|
sid: sid
|
41520
41524
|
};
|
41521
41525
|
return _context6.abrupt("return", this._upsertConversation("sync", sid, data));
|
@@ -41852,7 +41856,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
41852
41856
|
status: conversationDescriptor.status,
|
41853
41857
|
channel: conversationDescriptor.sync_objects.conversation,
|
41854
41858
|
messages: conversationDescriptor.sync_objects.messages,
|
41855
|
-
roster: "".concat(conversationDescriptor.conversation_sid, ".roster"),
|
41859
|
+
roster: conversationDescriptor.sync_objects.participants || "".concat(conversationDescriptor.conversation_sid, ".roster"),
|
41856
41860
|
lastConsumedMessageIndex: conversationDescriptor.last_read_message_index,
|
41857
41861
|
notificationLevel: conversationDescriptor.notification_level
|
41858
41862
|
};
|
@@ -42296,7 +42300,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
42296
42300
|
}
|
42297
42301
|
|
42298
42302
|
conversation._participants.forEach(function (participant) {
|
42299
|
-
if (participant.identity !== message.identity) {
|
42303
|
+
if (participant.identity !== message.identity && participant.type !== "apple") {
|
42300
42304
|
return;
|
42301
42305
|
}
|
42302
42306
|
|
@@ -42412,7 +42416,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
42412
42416
|
this.data = data.data || {};
|
42413
42417
|
});
|
42414
42418
|
|
42415
|
-
var version = "2.6.
|
42419
|
+
var version = "2.6.1-rc.1";
|
42416
42420
|
|
42417
42421
|
function _isNativeFunction(fn) {
|
42418
42422
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
@@ -45223,3 +45227,4 @@ this.Twilio.Conversations = (function (exports) {
|
|
45223
45227
|
return exports;
|
45224
45228
|
|
45225
45229
|
})({});
|
45230
|
+
//# sourceMappingURL=twilio-conversations.js.map
|