This package has been deprecated

Author message:

this package has been deprecated

@monksoftware/bob-core

0.0.30 • Public • Published

bot-webclient - EiME Bot Platform Web Client

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Generate Stand-alone Web Component

npm run build-wc

Chat configuration file

To load the configuration variables you've to add a json file named `config.json` into the `src/config` folder.
This file has to have the following structure:
{
  "XMPP_ENDPOINT": "wss://...",
  "XMPP_DOMAIN": "botname_here",
  "XMPP_RECEIVER": "botdomain_here",
  "XMPP_THREAD": "not always necessary",
  "BASE_ENDPOINT": "https://xmpp-ENV.monksoftware.it/api/v1",
  "ATTACHMENTS_ENDPOINT": "https://xmpp-ENV.monksoftware.it/api/v1/attachments"
}

MISC

This webchat uses PLAIN XMPP login method as default. If you need or want to use ANONYMOUS XMPP login feature instead, you just need to avoid to setup CHAT_USERNAME and CHAT_PWD into configuration file and it will magically works!

Readme

Keywords

none

Package Sidebar

Install

npm i @monksoftware/bob-core

Weekly Downloads

0

Version

0.0.30

License

none

Unpacked Size

14.8 MB

Total Files

69

Last publish

Collaborators

  • learts
  • agos.t.no
  • pistacchione
  • fabio16