@twilio/conversations 2.6.1-rc.1 → 2.6.2

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/README.md CHANGED
@@ -77,7 +77,7 @@ To consume securely use the following script snippet format:
77
77
 
78
78
  ```html
79
79
  <script
80
- src="https://sdk.twilio.com/js/conversations/releases/2.6.1/twilio-conversations.min.js"
80
+ src="https://sdk.twilio.com/js/conversations/releases/2.6.2/twilio-conversations.min.js"
81
81
  integrity="sha256-<HASH FROM THE CHANGELOGS PAGE>"
82
82
  crossorigin="anonymous"
83
83
  ></script>
@@ -6819,6 +6819,7 @@ var Conversations = /*#__PURE__*/function (_ReplayEventEmitter) {
6819
6819
  return this.services.commandExecutor.mutateResource("post", this.configuration.links.conversations, {
6820
6820
  friendly_name: options.friendlyName,
6821
6821
  unique_name: options.uniqueName,
6822
+ access: options.access,
6822
6823
  attributes: typeof attributes !== "undefined" ? JSON.stringify(attributes) : undefined
6823
6824
  });
6824
6825
 
@@ -8029,7 +8030,7 @@ function PushNotification(data) {
8029
8030
  this.data = data.data || {};
8030
8031
  });
8031
8032
 
8032
- var version = "2.6.1-rc.1";
8033
+ var version = "2.6.2";
8033
8034
 
8034
8035
  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; }
8035
8036
 
@@ -10439,6 +10440,7 @@ var Client = Client_1 = (_class = /*#__PURE__*/function (_ReplayEventEmitter) {
10439
10440
  this._conversationsPromise = this._conversationsEntity.fetchConversations().then(function () {
10440
10441
  return _this3._conversationsEntity;
10441
10442
  }).catch(function (error) {
10443
+ console.error("Failed to fetch conversations _conversationsPromise -> client.ts", error);
10442
10444
  throw error;
10443
10445
  });
10444
10446
  _context17.next = 30;