Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bottender

Package Overview
Dependencies
Maintainers
6
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bottender - npm Package Versions

1
22

1.3.2

Diff

Changelog

Source

1.3.2 / 2020-03-20

  • [fix] improve the error message of missing entry action (#705).
  • [fix] fix responding with application/json when using custom server (#700).

line

  • [deps] update messaging-api-line.

create-bottender-app

  • [fix] rewrite generated README (#708).
  • [fix] install eslint-plugin-import for --typescript.
  • [fix] add dist to .gitignore for TypeScript (#697).
chentsulin
published 1.3.0 •

Changelog

Source

1.3.0 / 2020-03-06

  • [type] export types from messaging-apis (#661):
import {
  MessengerTypes,
  WhatsappTypes,
  LineTypes,
  TelegramTypes,
  SlackTypes,
  ViberTypes,
} from 'bottender';
  • [deps] update dependencies.

whatsapp

  • [new] add new channel whatsapp built on top of Twilio API for WhatsApp (#664):
// bottender.config.js

module.exports = {
  channels: {
    whatsapp: {
      enabled: true,
      path: '/webhooks/whatsapp',
      accountSid: process.env.WHATSAPP_ACCOUNT_SID,
      authToken: process.env.WHATSAPP_AUTH_TOKEN,
      phoneNumber: process.env.WHATSAPP_PHONE_NUMBER,
    },
  },
};

slack

  • [new] support Slack signing secret:
// bottender.config.js

module.exports = {
  channels: {
    slack: {
      enabled: true,
      path: '/webhooks/slack',
      accessToken: process.env.SLACK_ACCESS_TOKEN,
      signingSecret: process.env.SLACK_SIGNING_SECRET,
      // verificationToken: process.env.SLACK_VERIFICATION_TOKEN, // deprecated, use signingSecret
    },
  },
};
  • [new] add support for Slack slash commands (#166):
async function App(context) {
  if (context.event.isCommand) {
    await context.sendText(
      `I received slash command '${context.event.command}' with arguments: '${context.event.text}'`
    );
  }
}

line

  • [deps] update messaging-api-line to support narrowcast.

create-bottender-app

  • [new] use signing secret in create-bottender-app (#659).
  • [new] add TypeScript support to bottender dev (#654).

cli

  • [new] support bottender dev --inspect=HOST:PORT (#656).
chentsulin
published 1.3.0-rc.0 •

chentsulin
published 1.2.3 •

Changelog

Source

1.2.3 / 2020-03-04

slack

  • [fix] fix a typo in Slack error message #671
chentsulin
published 1.3.0-alpha.4 •

chentsulin
published 1.3.0-alpha.3 •

chentsulin
published 1.2.2 •

Changelog

Source

1.2.2 / 2020-02-24

create-bottender-app

  • [fix] Fixed wrong npm scripts in the instruction.
chentsulin
published 1.3.0-alpha.2 •

chentsulin
published 1.3.0-alpha.1 •

chentsulin
published 1.2.1 •

Changelog

Source

1.2.1 / 2020-02-13

  • [fix] install @types packages in package dependencies instead of workspace.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc