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

bottender-compose

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bottender-compose - npm Package Versions

234

1.0.0-beta.0

Diff

chentsulin
published 1.0.0-alpha.2 •

chentsulin
published 1.0.0-alpha.1 •

chentsulin
published 0.14.0 •

chentsulin
published 0.13.0 •

Changelog

Source

0.13.0 / 2019-02-19

  • [breaking] rename param to props in effects and template (#95)

params is deprecated. Use props instead.

In effect:

effect(
  // function has side effects
  async context => {
    await doSomeSideEffects();
    return {
      derivedState: {
        x: 1,
      },
      derivedProps: {
        y: 2,
      },
    };
  },
  // action
  async (context, props) => {
    console.log(context.state.x); // 1
    console.log(props.y); // 2
  }
);

In template: Hi, {{ props.name }}

chentsulin
published 0.12.7 •

Changelog

Source

0.12.7 / 2019-02-01

  • [new] support isMemberJoined, isMemberLeft predicates (#94)
B.isMemberJoined();
B.isMemberLeft();
chentsulin
published 0.12.6 •

Changelog

Source

0.12.6 / 2018-12-11

  • [fix] support Chinese variable (#92)
chentsulin
published 0.12.5 •

Changelog

Source

0.12.5 / 2018-09-18

  • [new] support facebook sendLike
chentsulin
published 0.12.4 •

Changelog

Source

0.12.4 / 2018-09-06

  • [fix] pass required otherArgs to compileTemplate
chentsulin
published 0.12.3 •

Changelog

Source

0.12.3 / 2018-09-06

  • [improve] improve warning when compiling template #82
Before:
Properties accessors in template is invalid -- expected return a string but got: object
After:
Properties accessors (context.session.user) in template is invalid -- expected return a non-empty string but got: object
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