Layout CLI 0.4.3

Console

Version 0.4.3 of the Layout CLI is out. Update with npm i -g @layoutplatforms/cli.

What changed

  • layout webhooks add <url> --environment sandbox|live|both chooses which events the endpoint receives. The default is both.
  • layout webhooks verify <id> sends the endpoint the verification event now, and exits 1 with endpoint_not_verified when it does not answer with a 2xx.
  • layout refusals lists why your application's keys were refused recently. Add --live for production.
  • layout test-order runs the new test restaurant test_place_card_declined_confirm.

Why it matters

You can point a development tunnel at sandbox events only, check an endpoint after you fix it, and see why a request was refused, all from the terminal.

What to do

Nothing. See Commands.

Breaking changes

None.

All changes