Skip to content

@portixone/sdk@0.3.1

Choose a tag to compare

@PortixOne PortixOne released this 06 Jul 04:33

A code-review pass on the SDK:

  • print() in mock mode now returns preview (the rendered receipt text) on the result, not just a console.log side effect.
  • Fixed unclear errors when the runtime responds with something non-JSON (empty body, HTML from a proxy/captive portal) — throws an actionable message instead of a raw JSON.parse SyntaxError.

npm: https://www.npmjs.com/package/@portixone/sdk
Full changelog: sdk-js/CHANGELOG.md