@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 +1 -1
- package/builds/browser.esm.js +3 -1
- package/builds/browser.esm.js.map +1 -1
- package/builds/browser.js +3 -1
- package/builds/browser.js.map +1 -1
- package/builds/lib.d.ts +5 -0
- package/builds/lib.esm.d.ts +5 -0
- package/builds/lib.esm.js +3 -1
- package/builds/lib.js +3 -1
- package/builds/lib.js.map +1 -1
- package/builds/twilio-conversations.js +154 -322
- package/builds/twilio-conversations.js.map +1 -1
- package/builds/twilio-conversations.min.js +1 -1
- package/builds/twilio-conversations.min.js.map +1 -1
- package/dist/client.js +1 -0
- package/dist/client.js.map +1 -1
- package/dist/data/conversations.js +1 -0
- package/dist/data/conversations.js.map +1 -1
- package/dist/packages/conversations/package.json.js +1 -1
- package/docs/assets/js/search.js +1 -1
- package/docs/classes/CancellablePromise.html +3213 -0
- package/docs/classes/Client.html +4 -4
- package/docs/classes/Media.html +2 -2
- package/docs/classes/Message.html +8 -8
- package/docs/classes/MessageBuilder.html +2 -2
- package/docs/classes/UnsentMessage.html +2 -2
- package/docs/index.html +6 -2
- package/docs/interfaces/CreateConversationOptions.html +17 -0
- package/docs/modules.html +5 -1
- package/package.json +7 -7
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.
|
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>
|
package/builds/browser.esm.js
CHANGED
@@ -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.
|
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;
|