Socket
Socket
Sign inDemoInstall

stream-chat

Package Overview
Dependencies
41
Maintainers
1
Versions
283
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.12 to 0.1.25

14

dist/channel.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc