Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@evo/chat-core

Package Overview
Dependencies
Maintainers
11
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evo/chat-core - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

3

lib/besida.js

@@ -83,2 +83,5 @@ 'use strict';

key: 'registerHandler',
// improve; make register from obj
value: function registerHandler(name, func) {

@@ -85,0 +88,0 @@ if (!c.ACTION_HANDLERS_LIST.includes(name)) throw new Error(c.ERROR_MSG_HANDLER_UNKNOWN);

2

package.json
{
"name": "@evo/chat-core",
"version": "0.1.0",
"version": "0.1.1",
"description": "core Besida module with base functional set for chat",

@@ -5,0 +5,0 @@ "repository": {

@@ -20,8 +20,5 @@ # @evo/chat-core

const besida = new Besida(swindonObj, BESIDA_ROLE_COMPANY, callBackObj, IS_DEBUG);
const besida = new Besida(swindonObj, BESIDA_ROLE_COMPANY, IS_DEBUG);
besida.registerHandler('message', (topic, message) => action());
besida.registerHandler('registry', (_, onlines) => action());
besida.registerHandler('counters', (_, lattice) => action());
besida.registerHandler('ban', (topic, bans) => action());
besida.registerHandler('error', (_, error) => action());

@@ -28,0 +25,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc