twilio-chat
Advanced tools
Comparing version 5.0.0-rc5 to 5.0.0-rc6
@@ -235,2 +235,3 @@ "use strict"; | ||
_this.channels.on('typingEnded', _this.emit.bind(_this, 'typingEnded')); | ||
return _this.services.users.myself._ensureFetched(); | ||
}); | ||
@@ -237,0 +238,0 @@ _this.channelsPromise = _this.configurationPromise.then(function () { |
@@ -438,3 +438,3 @@ "use strict"; | ||
__decorate([twilio_sdk_type_validator_1.validateTypesAsync(['string', 'number', 'boolean', 'object', twilio_sdk_type_validator_1.literal(null)]), __metadata("design:type", Function), __metadata("design:paramtypes", [Object]), __metadata("design:returntype", _promise2.default)], User.prototype, "updateAttributes", null); | ||
__decorate([twilio_sdk_type_validator_1.validateTypesAsync(['string']), __metadata("design:type", Function), __metadata("design:paramtypes", [Object]), __metadata("design:returntype", _promise2.default)], User.prototype, "updateFriendlyName", null); | ||
__decorate([twilio_sdk_type_validator_1.validateTypesAsync('string'), __metadata("design:type", Function), __metadata("design:paramtypes", [Object]), __metadata("design:returntype", _promise2.default)], User.prototype, "updateFriendlyName", null); | ||
exports.User = User; | ||
@@ -441,0 +441,0 @@ /** |
@@ -355,6 +355,6 @@ /// <reference types="node" /> | ||
* Update the Channel's friendlyName. | ||
* @param {String|null} friendlyName - The new Channel friendlyName | ||
* @param {String} friendlyName - The new Channel friendlyName | ||
* @returns {Promise<Channel>} | ||
*/ | ||
updateFriendlyName(friendlyName: string | null): Promise<Channel>; | ||
updateFriendlyName(friendlyName: string): Promise<Channel>; | ||
/** | ||
@@ -361,0 +361,0 @@ * Set last consumed Channel's Message index to current consumption horizon. |
@@ -673,3 +673,3 @@ "use strict"; | ||
* Update the Channel's friendlyName. | ||
* @param {String|null} friendlyName - The new Channel friendlyName | ||
* @param {String} friendlyName - The new Channel friendlyName | ||
* @returns {Promise<Channel>} | ||
@@ -794,3 +794,3 @@ */ | ||
__decorate([ | ||
twilio_sdk_type_validator_1.validateTypesAsync(['string', twilio_sdk_type_validator_1.literal(null)]), | ||
twilio_sdk_type_validator_1.validateTypesAsync('string'), | ||
__metadata("design:type", Function), | ||
@@ -797,0 +797,0 @@ __metadata("design:paramtypes", [String]), |
@@ -152,2 +152,3 @@ "use strict"; | ||
this.channels.on('typingEnded', this.emit.bind(this, 'typingEnded')); | ||
return this.services.users.myself._ensureFetched(); | ||
}); | ||
@@ -154,0 +155,0 @@ this.channelsPromise = this.configurationPromise |
@@ -197,3 +197,3 @@ "use strict"; | ||
__decorate([ | ||
twilio_sdk_type_validator_1.validateTypesAsync(['string']), | ||
twilio_sdk_type_validator_1.validateTypesAsync('string'), | ||
__metadata("design:type", Function), | ||
@@ -200,0 +200,0 @@ __metadata("design:paramtypes", [Object]), |
{ | ||
"name": "twilio-chat", | ||
"version": "5.0.0-rc5", | ||
"version": "5.0.0-rc6", | ||
"description": "Twilio Chat service client library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -35,3 +35,3 @@ Twilio Chat client library | ||
```html | ||
<script src="https://media.twiliocdn.com/sdk/js/chat/v4.1/twilio-chat.min.js"></script> | ||
<script src="https://media.twiliocdn.com/sdk/js/chat/v5.0/twilio-chat.min.js"></script> | ||
``` | ||
@@ -38,0 +38,0 @@ Using this method, `twilio-chat.js` will set a browser global `Twilio.Chat` through which you can use the client : |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6339126
172268