New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wa-chat-server-mluvii

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wa-chat-server-mluvii

Mluvii adapter for the modules wa-chat-server

  • 0.2.15
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

wa-chat-server-mluvii

wa-chat-server adapter for the Mluvii client.

Adapter Registration

The initialization of the wa-chat-server with a registered wa-chat-server-mluvii adapter looks like this:

import { WAChatServer, Types } from 'wa-chat-server';
import { WAChatServerMluvii } from 'wa-chat-server-mluvii';

const server = new WAChatServer(
  (process.env as any) as Types.IWAChatServerConfig
);
server.addAdapter('mluvii', WAChatServerMluvii);
server.serve();

Configuration

The configuration is part of the wa-chat-server configuration where the keys relevant for wa-chat-server-mluvii have to be prefixed with adapter.mluvii..

  • username - User name for authentication for the Mluvii public API.
  • secret - Password used authentication for the Mluvii public API.
  • getTokenUrl - URL of the Mluvii API for fetching the JWT (defaults to https://app.mluvii.com/login/connect/token).
  • sendMessageUrl - URL of the Mluvii send API (defaults to https://app.mluvii.com/api/v1/Chatbot/{chatbotId}).
  • chatbotId - Chatbot ID

Supported Watson Features

The following Watson features are implemented:

  • Markup in response_type=='text' (it is converted to markdown)
  • response_type=='option'
  • Dismabiguation (response_type=='option')

Keywords

FAQs

Package last updated on 14 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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