@twilio/conversations 2.2.0 → 2.2.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/CHANGELOG.md +18 -0
- package/README.md +2 -2
- package/builds/browser.js +7 -4
- package/builds/browser.js.map +1 -1
- package/builds/lib.d.ts +1 -1
- package/builds/lib.js +7 -4
- package/builds/lib.js.map +1 -1
- package/builds/twilio-conversations.js +7 -4
- package/builds/twilio-conversations.min.js +1 -1
- package/dist/client.js +3 -1
- package/dist/client.js.map +1 -1
- package/dist/packages/conversations/package.json.js +1 -1
- package/docs/index.html +3 -3
- package/docs/modules.html +2 -2
- package/package.json +2 -2
@@ -41541,7 +41541,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
41541
41541
|
this.data = data.data || {};
|
41542
41542
|
});
|
41543
41543
|
|
41544
|
-
var version = "2.2.
|
41544
|
+
var version = "2.2.1";
|
41545
41545
|
|
41546
41546
|
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
41547
41547
|
|
@@ -42398,13 +42398,16 @@ this.Twilio.Conversations = (function (exports) {
|
|
42398
42398
|
break;
|
42399
42399
|
}
|
42400
42400
|
|
42401
|
-
|
42402
|
-
_context4.next = 11;
|
42401
|
+
_context4.next = 10;
|
42403
42402
|
return this.peekConversationBySid(conversationSid);
|
42404
42403
|
|
42405
|
-
case
|
42404
|
+
case 10:
|
42406
42405
|
conversation = _context4.sent;
|
42407
42406
|
|
42407
|
+
if (conversation) {
|
42408
|
+
deprecationWarning_1("The method getConversationBySid is deprecated to retrieve conversations you're not part of. Use peekConversationBySid instead.");
|
42409
|
+
}
|
42410
|
+
|
42408
42411
|
case 12:
|
42409
42412
|
if (conversation) {
|
42410
42413
|
_context4.next = 14;
|