wechaty-puppet-hostie
    TypeScript icon, indicating that this package has built-in type declarations

    0.12.257 • Public • Published

    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

    1. Replace wechaty-puppet-hostie by wechaty-puppet-service
    2. Replace WECHATY_PUPPET_HOSTIE_TOKEN by WECHATY_PUPPET_SERVICE_TOKEN
    3. Replace PuppetHostie by PuppetService (if applicatory)
    4. Replace WECHATY_PUPPET_HOSTIE_ENDPOINT by WECHATY_PUPPET_SERVICE_ENDPOINT (if applicatory)

    If you have any questions, please feel free to ask in our Gitter room: https://gitter.im/wechaty/wechaty


    NPM Version NPM

    Hostie

    Hostie Puppet for Wechaty

    Powered by Wechaty

    Features

    1. Consume hostie service
    2. 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)

    1. 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

    1. Reconnect to Hostie Server with RxSJ Observables

    v0.3 (Feb 2020)

    1. Publish the NPM module wechaty-puppet-hostie
    2. Implemented basic hostie features with gRPC module: @chatie/grpc

    v0.0.1 (Jun 2018)

    Designing the puppet hostie with the following protocols:

    1. gRPC
    2. JSON RPC
    3. OpenAPI/Swagger

    Author

    Huan LI (李卓桓), Tencent TVP of Chatbot, <zixia@zixia.net>

    Profile of Huan LI (李卓桓) on StackOverflow

    Copyright & License

    • Code & Docs © 2018-now Huan LI <zixia@zixia.net>
    • Code released under the Apache-2.0 License
    • Docs released under Creative Commons

    Install

    npm i wechaty-puppet-hostie

    DownloadsWeekly Downloads

    101

    Version

    0.12.257

    License

    Apache-2.0

    Unpacked Size

    460 kB

    Total Files

    165

    Last publish

    Collaborators

    • zixia