wechaty-puppet-hostie
v0.12.257
Published
Puppet Hostie for Wechaty
Downloads
212
Maintainers
Readme
~~wechaty-puppet-hostie~~
This module has been renamed to wechaty-puppet-service
The ~~wechaty-puppet-hostie~~ module has been renamed to wechaty-puppet-service, please use wechaty-puppet-service instead.
Use wechaty-puppet-service instead of ~~wechaty-puppet-hostie~~
Migration Guide
- Replace
wechaty-puppet-hostie
bywechaty-puppet-service
- Replace
WECHATY_PUPPET_HOSTIE_TOKEN
byWECHATY_PUPPET_SERVICE_TOKEN
- Replace
PuppetHostie
byPuppetService
(if applicatory) - Replace
WECHATY_PUPPET_HOSTIE_ENDPOINT
byWECHATY_PUPPET_SERVICE_ENDPOINT
(if applicatory)
If you have any questions, please feel free to ask in our Gitter room: https://gitter.im/wechaty/wechaty
Hostie Puppet for Wechaty
Features
- Consume hostie service
- Provide hostie service
Usage
import { Wechaty } from 'wechaty'
const wechaty = new Wechaty({
puppet: 'wechaty-puppet-hostie',
puppetOptions: {
token: 'hostie_token'
}
})
wechaty.start()
Environment Variables
1 WECHATY_PUPPET_HOSTIE_TOKEN
The token set to this environment variable will become the default value of puppetOptions.token
WECHATY_PUPPET_HOSTIE_TOKEN=hostie_token node bot.js
History
master
v0.12.255 (Jan 23, 2021)
The ~~wechaty-puppet-hostie~~ module has been renamed to wechaty-puppet-service, please use wechaty-puppet-service instead.
v0.10.4 (Oct 2020)
- Add 'grpc.default_authority' to gRPC client option.
See: Issue #78: gRPC server can use the authority to identify current user
v0.6 (Apr 2020)
Beta Version
- Reconnect to Hostie Server with RxSJ Observables
v0.3 (Feb 2020)
- Publish the NPM module wechaty-puppet-hostie
- Implemented basic hostie features with gRPC module: @chatie/grpc
v0.0.1 (Jun 2018)
Designing the puppet hostie with the following protocols:
Author
Huan LI (李卓桓), Tencent TVP of Chatbot, <[email protected]>
Copyright & License
- Code & Docs © 2018-now Huan LI <[email protected]>
- Code released under the Apache-2.0 License
- Docs released under Creative Commons