@chatie/grpc
Version:
gRPC for Chatie
25 lines (20 loc) • 509 B
text/typescript
import {
MessagePayloadResponse,
VERSION,
} from '@chatie/grpc'
async function main () {
if (VERSION === '0.0.0') {
throw new Error('version should be set before publishing')
}
const messagePayloadResponse = new MessagePayloadResponse()
messagePayloadResponse.setId('id')
console.info(`@chatie/grpc v${VERSION} smoking test passed.`)
return 0
}
main()
.then(process.exit)
.catch(e => {
console.error(e)
process.exit(1)
})