/* eslint-disable sort-keys */ /** * Wechaty Chatbot SDK - https://github.com/wechaty/wechaty * * @copyright 2016 Huan LI (李卓桓) , and * Wechaty Contributors . * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ export const PUPPET_DEPENDENCIES = { /** * The following puppets were DEPRECATED before 2020 */ // 'wechaty-puppet-ioscat' : '^0.5.22', // https://www.npmjs.com/package/wechaty-puppet-ioscat // 'wechaty-puppet-padchat' : '^0.19.3', // https://www.npmjs.com/package/wechaty-puppet-padchat // 'wechaty-puppet-padpro' : '^0.3.21', // https://www.npmjs.com/package/wechaty-puppet-padpro /** * Deprecated on Dec 2020 * https://github.com/wechaty/puppet-service-providers/issues/11 */ // 'wechaty-puppet-padplus' : '^0.7.30', // https://www.npmjs.com/package/wechaty-puppet-padplus /** * Deprecated on Jan 2021: rename to wechaty-puppet-service * https://github.com/wechaty/wechaty-puppet-service/issues/118 * * TODO: Huan(202101): will be removed after Dec 31, 2021 */ 'wechaty-puppet-hostie' : '*', // https://www.npmjs.com/package/wechaty-puppet-hostie 'wechaty-puppet-puppeteer' : '>=0.24', // https://www.npmjs.com/package/wechaty-puppet-puppeteer /** * Wechaty Internal Puppets: dependency by package.json */ 'wechaty-puppet-service' : '>=0.21', // https://www.npmjs.com/package/wechaty-puppet-service 'wechaty-puppet-mock' : '>=0.29', // https://www.npmjs.com/package/wechaty-puppet-mock /** * WeChat External Puppets */ 'wechaty-puppet-wechat' : '>=0.28', // https://www.npmjs.com/package/wechaty-puppet-wechat 'wechaty-puppet-wechat4u' : '>=0.17', // https://www.npmjs.com/package/wechaty-puppet-wechat4u 'wechaty-puppet-padlocal' : '>=0.4.1', // https://www.npmjs.com/package/wechaty-puppet-padlocal 'wechaty-puppet-official-account' : '>=0.5', // https://www.npmjs.com/package/wechaty-puppet-official-account /** * Non-WeChat External Puppets */ 'wechaty-puppet-gitter' : '>=0.4.7', // https://www.npmjs.com/package/wechaty-puppet-gitter 'wechaty-puppet-lark' : '>=0.4.5', // https://www.npmjs.com/package/wechaty-puppet-lark 'wechaty-puppet-whatsapp' : '>=0.2.2', // https://www.npmjs.com/package/wechaty-puppet-whatsapp /** * Scoped puppets (private) */ '@juzibot/wechaty-puppet-donut' : '*', // https://www.npmjs.com/package/wechaty-puppet-donut (to be published) '@juzibot/wechaty-puppet-wxwork' : '*', // https://www.npmjs.com/package/wechaty-puppet-wxwork (to be published) } export type PuppetModuleName = keyof typeof PUPPET_DEPENDENCIES // Huan(202004): we change default puppet from puppet-service -> puppet-wechat (with UOS support) export const PUPPET_NAME_DEFAULT: PuppetModuleName = 'wechaty-puppet-wechat'