@twilio/mcs-client 0.6.5 → 0.6.6-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/builds/browser.js CHANGED
@@ -714,6 +714,24 @@ var Media = /*#__PURE__*/function () {
714
714
  isMultipartUpstream: (_data$is_multipart_up = data.is_multipart_upstream) !== null && _data$is_multipart_up !== void 0 ? _data$is_multipart_up : false
715
715
  };
716
716
  }
717
+ /**
718
+ * @internal
719
+ * This payload is compatible with Conversations' media object _state().
720
+ */
721
+
722
+ }, {
723
+ key: "_state",
724
+ value: function _state() {
725
+ var _this$state$filename;
726
+
727
+ return {
728
+ sid: this.state.sid,
729
+ category: this.state.category,
730
+ filename: (_this$state$filename = this.state.filename) !== null && _this$state$filename !== void 0 ? _this$state$filename : null,
731
+ contentType: this.state.contentType,
732
+ size: this.state.size
733
+ };
734
+ }
717
735
  }]);
718
736
 
719
737
  return Media;
@@ -1120,7 +1138,7 @@ var Network = /*#__PURE__*/function () {
1120
1138
  return Network;
1121
1139
  }();
1122
1140
 
1123
- var version = "0.6.5";
1141
+ var version = "0.6.6-rc.1";
1124
1142
 
1125
1143
  var _class;
1126
1144
  var log = Logger.scope("");