@twilio/conversations 2.2.0-rc.11 → 2.2.0-rc.12

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/lib.d.ts CHANGED
@@ -2421,7 +2421,7 @@ declare class Client extends ReplayEventEmitter<ClientEvents> {
2421
2421
  * @param conversationSid Conversation sid
2422
2422
  * @internal
2423
2423
  */
2424
- peekConversationBySid(conversationSid: string): Promise<Conversation>;
2424
+ private peekConversationBySid;
2425
2425
  /**
2426
2426
  * Get a known conversation by its unique identifier name.
2427
2427
  * @param uniqueName The unique identifier name of the conversation.
package/builds/lib.js CHANGED
@@ -7326,7 +7326,7 @@ function PushNotification(data) {
7326
7326
  this.data = data.data || {};
7327
7327
  });
7328
7328
 
7329
- var version = "2.2.0-rc.11";
7329
+ var version = "2.2.0-rc.12";
7330
7330
 
7331
7331
  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; }
7332
7332
 
@@ -7939,11 +7939,11 @@ exports.Client = Client_1 = (_class = /*#__PURE__*/function (_ReplayEventEmitter
7939
7939
  });
7940
7940
  };
7941
7941
 
7942
- _this._services.twilsockClient.on("connectionError", emitFailed);
7942
+ _this._services.twilsockClient.once("connectionError", emitFailed);
7943
7943
 
7944
- _this._services.twilsockClient.on("disconnected", emitDisconnected);
7944
+ _this._services.twilsockClient.once("disconnected", emitDisconnected);
7945
7945
 
7946
- _this._services.twilsockClient.on("connected", /*#__PURE__*/_asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
7946
+ _this._services.twilsockClient.once("connected", /*#__PURE__*/_asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
7947
7947
  var startupEvent, connectionError;
7948
7948
  return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
7949
7949
  while (1) {