@twilio/conversations 2.0.0-rc.3 → 2.0.0-rc.4

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.
@@ -37406,7 +37406,7 @@ this.Twilio.Conversations = (function (exports) {
37406
37406
  while (1) {
37407
37407
  switch (_context5.prev = _context5.next) {
37408
37408
  case 0:
37409
- return _context5.abrupt("return", this.participantsEntity.addNonChatParticipant(proxyAddress, address, attributes !== null && attributes !== void 0 ? attributes : {}));
37409
+ return _context5.abrupt("return", this.participantsEntity.addNonChatParticipant(proxyAddress, address, attributes));
37410
37410
 
37411
37411
  case 1:
37412
37412
  case "end":
@@ -39642,7 +39642,7 @@ this.Twilio.Conversations = (function (exports) {
39642
39642
  this.data = data.data || {};
39643
39643
  };
39644
39644
 
39645
- var version = "2.0.0-rc.3";
39645
+ var version = "2.0.0-rc.4";
39646
39646
 
39647
39647
  function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
39648
39648
 
@@ -40726,6 +40726,13 @@ this.Twilio.Conversations = (function (exports) {
40726
40726
  * The factory method will automatically trigger connection.
40727
40727
  * Do not use it if you need finer-grained control.
40728
40728
  *
40729
+ * Since this method returns an already-initialized client, some of the events
40730
+ * will be lost because they happen *before* the initialization. It is
40731
+ * recommended that `client.onWithReplay` is used as opposed to `client.on`
40732
+ * for subscribing to client events. The `client.onWithReplay` will re-emit
40733
+ * the most recent value for a given event if it emitted before the
40734
+ * subscription.
40735
+ *
40729
40736
  * @param token Access token.
40730
40737
  * @param options Options to customize the client.
40731
40738
  * @returns Returns a fully initialized client.