@twilio/conversations 2.6.1-rc.1 → 2.6.1
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/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 +5 -1
- package/docs/interfaces/CreateConversationOptions.html +17 -0
- package/docs/modules.html +4 -0
- package/package.json +2 -2
package/builds/browser.js
CHANGED
@@ -6858,6 +6858,7 @@ var Conversations = /*#__PURE__*/function (_ReplayEventEmitter) {
|
|
6858
6858
|
return this.services.commandExecutor.mutateResource("post", this.configuration.links.conversations, {
|
6859
6859
|
friendly_name: options.friendlyName,
|
6860
6860
|
unique_name: options.uniqueName,
|
6861
|
+
access: options.access,
|
6861
6862
|
attributes: typeof attributes !== "undefined" ? JSON.stringify(attributes) : undefined
|
6862
6863
|
});
|
6863
6864
|
|
@@ -8068,7 +8069,7 @@ function PushNotification(data) {
|
|
8068
8069
|
this.data = data.data || {};
|
8069
8070
|
});
|
8070
8071
|
|
8071
|
-
var version = "2.6.1
|
8072
|
+
var version = "2.6.1";
|
8072
8073
|
|
8073
8074
|
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; }
|
8074
8075
|
|
@@ -10478,6 +10479,7 @@ exports.Client = Client_1 = (_class = /*#__PURE__*/function (_ReplayEventEmitter
|
|
10478
10479
|
this._conversationsPromise = this._conversationsEntity.fetchConversations().then(function () {
|
10479
10480
|
return _this3._conversationsEntity;
|
10480
10481
|
}).catch(function (error) {
|
10482
|
+
console.error("Failed to fetch conversations _conversationsPromise -> client.ts", error);
|
10481
10483
|
throw error;
|
10482
10484
|
});
|
10483
10485
|
_context17.next = 30;
|