@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 +19 -1
- package/builds/browser.js.map +1 -1
- package/builds/lib.d.ts +17 -1
- package/builds/lib.js +19 -1
- package/builds/lib.js.map +1 -1
- package/builds/twilio-mcs-client.js +19 -1
- package/builds/twilio-mcs-client.min.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/media.js +14 -0
- package/dist/media.js.map +1 -1
- package/dist/packages/mcs-client/package.json.js +1 -1
- package/package.json +5 -5
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.
|
|
1141
|
+
var version = "0.6.6-rc.1";
|
|
1124
1142
|
|
|
1125
1143
|
var _class;
|
|
1126
1144
|
var log = Logger.scope("");
|