@twilio/conversations 2.1.0-rc.5 → 2.1.0-rc.6

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/builds/browser.js +3 -5
  3. package/builds/browser.js.map +1 -1
  4. package/builds/lib.d.ts +15 -6
  5. package/builds/lib.js +3 -5
  6. package/builds/lib.js.map +1 -1
  7. package/builds/twilio-conversations.js +3 -5
  8. package/builds/twilio-conversations.min.js +1 -1
  9. package/dist/configuration.js.map +1 -1
  10. package/dist/conversation.js.map +1 -1
  11. package/dist/message-builder.js.map +1 -1
  12. package/dist/message.js +2 -3
  13. package/dist/message.js.map +1 -1
  14. package/dist/packages/conversations/package.json.js +1 -1
  15. package/docs/assets/js/search.js +1 -1
  16. package/docs/classes/AggregatedDeliveryReceipt.html +0 -117
  17. package/docs/classes/Client.html +0 -117
  18. package/docs/classes/Conversation.html +12 -129
  19. package/docs/classes/DetailedDeliveryReceipt.html +0 -117
  20. package/docs/classes/Media.html +0 -117
  21. package/docs/classes/Message.html +4 -121
  22. package/docs/classes/MessageBuilder.html +2 -119
  23. package/docs/classes/Participant.html +4 -121
  24. package/docs/classes/PushNotification.html +0 -117
  25. package/docs/classes/RestPaginator.html +0 -117
  26. package/docs/classes/UnsentMessage.html +0 -117
  27. package/docs/classes/User.html +4 -121
  28. package/docs/index.html +56 -0
  29. package/docs/interfaces/ClientOptions.html +0 -117
  30. package/docs/interfaces/ConversationBindings.html +0 -117
  31. package/docs/interfaces/ConversationEmailBinding.html +0 -117
  32. package/docs/interfaces/ConversationState.html +0 -117
  33. package/docs/interfaces/CreateConversationOptions.html +1 -118
  34. package/docs/interfaces/LastMessage.html +0 -117
  35. package/docs/interfaces/Paginator.html +0 -117
  36. package/docs/interfaces/ParticipantBindings.html +0 -117
  37. package/docs/interfaces/ParticipantEmailBinding.html +0 -117
  38. package/docs/interfaces/PushNotificationData.html +0 -117
  39. package/docs/interfaces/SendEmailOptions.html +0 -117
  40. package/docs/interfaces/SendMediaOptions.html +0 -117
  41. package/docs/modules.html +56 -0
  42. package/package.json +1 -1
@@ -36183,9 +36183,7 @@ this.Twilio.Conversations = (function (exports) {
36183
36183
  }, {
36184
36184
  key: "participantSid",
36185
36185
  get: function get() {
36186
- var _this$state$participa;
36187
-
36188
- return (_this$state$participa = this.state.participantSid) !== null && _this$state$participa !== void 0 ? _this$state$participa : "";
36186
+ return this.state.participantSid;
36189
36187
  }
36190
36188
  /**
36191
36189
  * Aggregated information about the message delivery statuses across all participants of a conversation..
@@ -36331,7 +36329,7 @@ this.Twilio.Conversations = (function (exports) {
36331
36329
  }
36332
36330
 
36333
36331
  _context.next = 4;
36334
- return this.conversation.getParticipantBySid(this.participantSid).catch(function () {
36332
+ return this.conversation.getParticipantBySid(this.state.participantSid).catch(function () {
36335
36333
  log$5.debug("Participant with sid \"".concat(_this2.participantSid, "\" not found for message ").concat(_this2.sid));
36336
36334
  return null;
36337
36335
  });
@@ -40416,7 +40414,7 @@ this.Twilio.Conversations = (function (exports) {
40416
40414
  this.data = data.data || {};
40417
40415
  };
40418
40416
 
40419
- var version = "2.1.0-rc.5";
40417
+ var version = "2.1.0-rc.6";
40420
40418
 
40421
40419
  function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
40422
40420