@twilio/conversations 2.2.0 → 2.2.1-rc.0
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 +10 -0
- 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/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,16 @@
|
|
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.2.1-rc.0](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.2.0...@twilio/conversations@2.2.1-rc.0) (2022-11-21)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* Fix Client.getConversationBySid displaying faulty deprecation warnings ([38c9c61](https://github.com/twilio/rtd-sdk-monorepo-js/commit/38c9c61870888d3fcaa2740e67c6110fe73edd41))
|
12
|
+
* Fix encapsulation of Client.peekConversationBySid ([424dff1](https://github.com/twilio/rtd-sdk-monorepo-js/commit/424dff12051e5b13fdb1efa94b97a28661e67a63))
|
13
|
+
|
14
|
+
|
15
|
+
|
6
16
|
## [2.2.0](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.2.0-rc.15...@twilio/conversations@2.2.0) (2022-09-22)
|
7
17
|
|
8
18
|
**Note:** Version bump only for package @twilio/conversations
|
package/builds/browser.js
CHANGED
@@ -7329,7 +7329,7 @@ function PushNotification(data) {
|
|
7329
7329
|
this.data = data.data || {};
|
7330
7330
|
});
|
7331
7331
|
|
7332
|
-
var version = "2.2.0";
|
7332
|
+
var version = "2.2.1-rc.0";
|
7333
7333
|
|
7334
7334
|
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; }
|
7335
7335
|
|
@@ -8186,13 +8186,16 @@ exports.Client = Client_1 = (_class = /*#__PURE__*/function (_ReplayEventEmitter
|
|
8186
8186
|
break;
|
8187
8187
|
}
|
8188
8188
|
|
8189
|
-
|
8190
|
-
_context4.next = 11;
|
8189
|
+
_context4.next = 10;
|
8191
8190
|
return this.peekConversationBySid(conversationSid);
|
8192
8191
|
|
8193
|
-
case
|
8192
|
+
case 10:
|
8194
8193
|
conversation = _context4.sent;
|
8195
8194
|
|
8195
|
+
if (conversation) {
|
8196
|
+
deprecationDecorator.deprecationWarning("The method getConversationBySid is deprecated to retrieve conversations you're not part of. Use peekConversationBySid instead.");
|
8197
|
+
}
|
8198
|
+
|
8196
8199
|
case 12:
|
8197
8200
|
if (conversation) {
|
8198
8201
|
_context4.next = 14;
|