@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.1.0-rc.6](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.5...@twilio/conversations@2.1.0-rc.6) (2022-02-02)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Make message.participantSid nullable ([86a90d4](https://github.com/twilio/rtd-sdk-monorepo-js/commit/86a90d4e76334b6581d7bb3214f97417606b2c55))
12
+
13
+
14
+
6
15
  ## [2.1.0-rc.5](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.4...@twilio/conversations@2.1.0-rc.5) (2022-01-31)
7
16
 
8
17
  **Note:** Version bump only for package @twilio/conversations
package/builds/browser.js CHANGED
@@ -2646,9 +2646,7 @@ var Message = /*#__PURE__*/function (_ReplayEventEmitter) {
2646
2646
  }, {
2647
2647
  key: "participantSid",
2648
2648
  get: function get() {
2649
- var _this$state$participa;
2650
-
2651
- return (_this$state$participa = this.state.participantSid) !== null && _this$state$participa !== void 0 ? _this$state$participa : "";
2649
+ return this.state.participantSid;
2652
2650
  }
2653
2651
  /**
2654
2652
  * Aggregated information about the message delivery statuses across all participants of a conversation..
@@ -2794,7 +2792,7 @@ var Message = /*#__PURE__*/function (_ReplayEventEmitter) {
2794
2792
  }
2795
2793
 
2796
2794
  _context.next = 4;
2797
- return this.conversation.getParticipantBySid(this.participantSid).catch(function () {
2795
+ return this.conversation.getParticipantBySid(this.state.participantSid).catch(function () {
2798
2796
  log$5.debug("Participant with sid \"".concat(_this2.participantSid, "\" not found for message ").concat(_this2.sid));
2799
2797
  return null;
2800
2798
  });
@@ -6858,7 +6856,7 @@ function PushNotification(data) {
6858
6856
  this.data = data.data || {};
6859
6857
  };
6860
6858
 
6861
- var version = "2.1.0-rc.5";
6859
+ var version = "2.1.0-rc.6";
6862
6860
 
6863
6861
  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; }
6864
6862