branta 1.0.0 copy "branta: ^1.0.0" to clipboard
branta: ^1.0.0 copied to clipboard

A Branta SDK for Dart.

1.0.0 #

  • SDK parity with branta-core: getPaymentsAsync, getZKPaymentsAsync, addPaymentAsync now return/throw BrantaPaymentException on errors instead of silently returning empty lists
  • addPaymentAsync throws BrantaPaymentException('Unauthorized') when no API key is configured
  • getPaymentsAsync validates platformLogoUrl domain against configured baseUrl to prevent open redirect attacks
  • Payments returned from all fetch methods now include a verifyUrl built from the configured base URL
  • Address parameter in getPaymentsAsync is now URL-encoded
  • Added DestinationType enum and type field on Destination
  • Added CI/CD workflow via GitHub Actions

0.0.3 #

  • #10 Add .pubignore to exclude development files (tests, Makefile, CLAUDE.md) from the published package

0.0.2 #

  • #2 Allow configuration per environment via BrantaConfig
  • #3 V2 Get Payment by QR Code — parse QR text directly to retrieve a payment
  • #4 V2 Payment by Parent Platform with HMAC — authenticate requests using an HMAC signature
  • #5 Add CLAUDE.md with project architecture and development guidelines

0.0.1 #

  • Initial version.
0
likes
50
points
205
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Branta SDK for Dart.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

crypto, cryptography, dotenv, http, json_annotation, json_serializable, uuid

More

Packages that depend on branta