wechaty-puppet-service
Version:
Puppet Service for Wechaty
32 lines (24 loc) • 623 B
text/typescript
/// <reference path="./typings.d.ts" />
import { log } from 'wechaty-puppet'
import { packageJson } from './package-json.js'
import * as rootEnvVars from './env-vars.js'
import * as authEnvVars from './auth/env-vars.js'
const VERSION = packageJson.version || '0.0.0'
const envVars = {
...rootEnvVars,
...authEnvVars,
}
/**
* gRPC default options
*/
const GRPC_OPTIONS = {
// https://github.com/wechaty/wechaty-puppet-service/issues/86
// 'grpc.max_receive_message_length': 1024 * 1024 * 150,
// 'grpc.max_send_message_length': 1024 * 1024 * 150,
}
export {
envVars,
log,
GRPC_OPTIONS,
VERSION,
}