@twilio/conversations 3.0.0-rc.6 → 3.0.0-rc.9
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/CHANGELOG.md +24 -0
- package/README.md +2 -2
- package/builds/browser.js +10 -8
- package/builds/browser.js.map +1 -1
- package/builds/lib.d.ts +1 -1
- package/builds/lib.js +10 -8
- package/builds/lib.js.map +1 -1
- package/builds/twilio-conversations.js +13 -11
- package/builds/twilio-conversations.min.js +1 -1
- package/dist/client.js +8 -5
- package/dist/client.js.map +1 -1
- package/dist/data/participants.js +1 -1
- package/dist/data/participants.js.map +1 -1
- package/dist/packages/conversations/package.json.js +1 -1
- package/dist/push-notification.js.map +1 -1
- package/docs/index.html +3 -3
- package/docs/interfaces/PushNotificationData.html +1 -1
- package/docs/modules.html +2 -2
- package/package.json +9 -9
@@ -15780,7 +15780,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
15780
15780
|
}();
|
15781
15781
|
|
15782
15782
|
var logInstance = new Logger("");
|
15783
|
-
var version = "0.13.0-rc.
|
15783
|
+
var version = "0.13.0-rc.3";
|
15784
15784
|
/**
|
15785
15785
|
* Settings container for the Twilsock client library
|
15786
15786
|
*/
|
@@ -29699,7 +29699,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
29699
29699
|
|
29700
29700
|
__decorate([declarativeTypeValidator.validateTypes(declarativeTypeValidator.nonEmptyString), __metadata("design:type", Function), __metadata("design:paramtypes", [String]), __metadata("design:returntype", void 0)], InstantQuery.prototype, "updateIndexName", null);
|
29701
29701
|
|
29702
|
-
var version$1 = "
|
29702
|
+
var version$1 = "4.0.0-rc.1";
|
29703
29703
|
|
29704
29704
|
function _createSuper$9(Derived) {
|
29705
29705
|
var hasNativeReflectConstruct = _isNativeReflectConstruct$a();
|
@@ -33923,7 +33923,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
33923
33923
|
return Network;
|
33924
33924
|
}();
|
33925
33925
|
|
33926
|
-
var version = "0.6.0-rc.
|
33926
|
+
var version = "0.6.0-rc.5";
|
33927
33927
|
|
33928
33928
|
var _class;
|
33929
33929
|
|
@@ -34842,7 +34842,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
34842
34842
|
sid = data.sid, responseAttributes = data.attributes, dateCreated = data.date_created, dateUpdated = data.date_updated, responseIdentity = data.identity, roleSid = data.role_sid, messagingBinding = data.messaging_binding;
|
34843
34843
|
_context2.next = 3;
|
34844
34844
|
return this.upsertParticipant(sid, {
|
34845
|
-
attributes:
|
34845
|
+
attributes: responseAttributes,
|
34846
34846
|
dateCreated: new Date(dateCreated),
|
34847
34847
|
dateUpdated: new Date(dateUpdated),
|
34848
34848
|
identity: responseIdentity,
|
@@ -40383,7 +40383,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
40383
40383
|
this.data = data.data || {};
|
40384
40384
|
});
|
40385
40385
|
|
40386
|
-
var version = "3.0.0-rc.
|
40386
|
+
var version = "3.0.0-rc.9";
|
40387
40387
|
|
40388
40388
|
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; }
|
40389
40389
|
|
@@ -40972,14 +40972,16 @@ this.Twilio.Conversations = (function (exports) {
|
|
40972
40972
|
});
|
40973
40973
|
};
|
40974
40974
|
|
40975
|
-
|
40976
|
-
|
40977
|
-
_this._services.twilsockClient.onceWithReplay("disconnected", function () {
|
40978
|
-
return emitFailed({
|
40975
|
+
var emitDisconnected = function emitDisconnected() {
|
40976
|
+
emitFailed({
|
40979
40977
|
terminal: true,
|
40980
40978
|
message: "Twilsock has disconnected."
|
40981
40979
|
});
|
40982
|
-
}
|
40980
|
+
};
|
40981
|
+
|
40982
|
+
_this._services.twilsockClient.onceWithReplay("connectionError", emitFailed);
|
40983
|
+
|
40984
|
+
_this._services.twilsockClient.onceWithReplay("disconnected", emitDisconnected);
|
40983
40985
|
|
40984
40986
|
_this._services.twilsockClient.onceWithReplay("connected", /*#__PURE__*/_asyncToGenerator$1( /*#__PURE__*/_regeneratorRuntime$1.mark(function _callee() {
|
40985
40987
|
var startupEvent, connectionError;
|
@@ -40991,7 +40993,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
40991
40993
|
|
40992
40994
|
_this._services.twilsockClient.off("connectionError", emitFailed);
|
40993
40995
|
|
40994
|
-
_this._services.twilsockClient.off("disconnected",
|
40996
|
+
_this._services.twilsockClient.off("disconnected", emitDisconnected);
|
40995
40997
|
|
40996
40998
|
_context.prev = 3;
|
40997
40999
|
startupEvent = "conversations.client.startup";
|