stream-chat
Advanced tools
Comparing version 0.1.12 to 0.1.25
@@ -947,4 +947,3 @@ "use strict"; | ||
* @param targetUserID | ||
* @param timeout | ||
* @param reason | ||
* @param options | ||
* @returns {Promise<*>} | ||
@@ -958,3 +957,3 @@ */ | ||
/*#__PURE__*/ | ||
_regenerator.default.mark(function _callee17(targetUserID, timeout, reason) { | ||
_regenerator.default.mark(function _callee17(targetUserID, options) { | ||
return _regenerator.default.wrap(function _callee17$(_context17) { | ||
@@ -967,6 +966,3 @@ while (1) { | ||
_context17.next = 3; | ||
return this.client.banUser(targetUserID, (0, _objectSpread2.default)({ | ||
timeout: timeout, | ||
reason: reason | ||
}, this._channelParams())); | ||
return this.client.banUser(targetUserID, (0, _objectSpread2.default)({}, options, this._channelParams())); | ||
@@ -984,3 +980,3 @@ case 3: | ||
function banUser(_x17, _x18, _x19) { | ||
function banUser(_x17, _x18) { | ||
return _banUser.apply(this, arguments); | ||
@@ -1024,3 +1020,3 @@ } | ||
function unbanUser(_x20) { | ||
function unbanUser(_x19) { | ||
return _unbanUser.apply(this, arguments); | ||
@@ -1027,0 +1023,0 @@ } |
{ | ||
"name": "stream-chat", | ||
"version": "0.1.12", | ||
"version": "0.1.25", | ||
"description": "JS SDK for the Stream Chat API", | ||
@@ -5,0 +5,0 @@ "author": "GetStream", |
116418
3184