Skip to content

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 22 Jun 22:34
5885b66

1.3.0 (2024-06-22)

Features

  • add flwbutton and flwcheckout library entrypoint exports (a6185c5)
  • add script for installing library in example project (38fc7bd)
  • assets: put images in assets folder (fe73ed2)
  • build with identified fixes (0f6d46a)
  • capture unchanged txref on init (ea1ed1f)
  • configs.ts: point to v3 standard init endpoint (c13f949)
  • configs.ts: update payment options with v3 payment options (3e3ca84)
  • configs: add v2 api configs (d8bbb74)
  • config: specify redirect url (2b09542)
  • defaultbutton: flutterwave styled default button (c7d2564)
  • dist: create build with v2 and v3 options (4c20a28)
  • dist: generate build for updates (63ee87d)
  • dist: generate builds for new implementation (e47e33e)
  • dist: include lib dist for easy UAT (ce13b7a)
  • flutterwavebutton: add GBP to base options currency option (d026c3e)
  • flutterwavebutton: customButton option for FlutterwaveButton (3277d95)
  • flutterwavebutton: display payment page (c5bfd55)
  • flutterwavebutton: handle flutterwave complete and cancel redirection (2d0dd56)
  • flutterwavebutton: handle payment abort (bb357ef)
  • flutterwavebutton: implement v3 api flutterwave init (d3e12ca)
  • flutterwavebutton: initialize payment with FlutterwaveButton (843e741)
  • flutterwavebutton: make dialod animation more fluid (e5a3f18)
  • flutterwavebutton: only generate new payment link if options initialized or changed or success (3a63815)
  • flutterwavebutton: pay with flutterwave button component (143bea3)
  • flutterwaveinit: add public_key as Authorization header and remove from request body (9b9eafd)
  • flutterwaveiniterror: add Flutterwave init error class (30e4f7e)
  • flutterwaveinit: make second argument abort controller (175aa95)
  • flutterwaveinit: model options after v3 api standard initialization options (0ed9157)
  • flutterwaveinit: resolve only to string and reject if there is an error (319f249)
  • flutterwaveinit: rewrite base flutterwave init as v3 (a8a8fa5)
  • flwbutton: add component for displaying a pay with flutterwave button (c44f12c)
  • flwbutton: rename to FlutterwaveButton (7db830a)
  • flwcheckout: add flutterwave checkout modal component (b88ee69)
  • flwcheckout: change name to FlutterwaveCheckout (1be3398)
  • index.ts: add PayWithFlutterwave component and make the default export (e1a0825)
  • index.ts: add PayWithFlutterwaveV2 to exports (f988d5c)
  • index.ts: create entrypoint/main file (ed7824c)
  • index: add v2 to base index modules export (495ac21)
  • make redirect url optional (ec8c962)
  • paywithflutterwave: add v3 pay with flutterwave (c86789c)
  • paywithflutterwavebase: add component (55dccca)
  • paywithflutterwavev2: create component (a228e9a)
  • prepare release build (d38b2bf)
  • project setup and initialisation (86ee975)
  • remove alt design and style (2d60f54)
  • responseparser: add init request response parser (b673c0b)
  • responseparser: promisify; resolve to link else reject to FlutterwaveInitError (185ea28)
  • return specific object onComplete (1f0f9be)
  • src/flutterwaveinit.tsx: initialize standard payment (82333b3)
  • test (df98199)
  • test with Jest (11e3716)
  • upgrade (918d9dd)
  • v2/flutterwavebutton: allow users specify button content (2d1f62a)
  • v2/flutterwavebutton: implement new v2 flutterwave init api (42ca045)
  • v2/flutterwaveinit: implement new specs and use base flutterwaveinit for base dependencies (6685df2)
  • v2/index: add default button to exports (b285ec9)

Bug Fixes

  • .gitignore: ignore the dist folder (a084cd5)
  • .npmignore: remove development files and folders (4b83550)
  • abortingpaymentinitialization.md: use public key for v3 init (8f5c009)
  • configs: use sdkcheckout payment url for v3 standard init (360e47a)
  • correctly import FlutterwaveInitv2 (1e402d5)
  • correctly name initialization error handler (9177aaa)
  • correctly spell canceled (7b0f779)
  • defaultbutton: fix style and children prop definition and compile style as an array (886872c)
  • display page load error only when payment link is set (a857abd)
  • fix (473f4c9)
  • fix (348d047)
  • flutterwavebutton-test: correctly name onInitializeError prop (329a1cf)
  • flutterwavebutton: add missing assets (cecaae4)
  • flutterwavebutton: add missing payment options prop-types rule (7ff90a7)
  • flutterwavebutton: correctly define options subaccounts property type (5c1003d)
  • flutterwavebutton: define prop(txref) in v2 redirect params as always defined (496aae3)
  • flutterwavebutton: define tx_ref in redirect params as always available (e4a1d56)
  • flutterwavebutton: do not reinitialize abort controller if handle init was killed by isPending (c5b8462)
  • flutterwavebutton: fix redirect bug (8d4d0c0)
  • flutterwavebutton: fix wrong casing for on will initialize prop (110efad)
  • flutterwavebutton: make elastic show animation observable (4acafcf)
  • flutterwavebutton: properly define options subaccount property type (00ce4a1)
  • flutterwavebutton: reset link and tx_ref on standard init failure (18559be)
  • flutterwavebutton: use dismiss and not reset method if on will initialize error occurs (d22dc4b)
  • flutterwavecheckout: handle redirect before load (4530eba)
  • flutterwavecheckout: handle redirect before load (c4c3688)
  • flutterwaveinit: add missing currencies to currency type (862c2e1)
  • flutterwaveinit: add subaccount interface (c00c5f7)
  • flutterwaveinit: correctly define split payment sub accounts (8d0a06c)
  • flutterwaveinit: fix customer and customizations interface name (b20bce0)
  • flutterwaveinit: make currency optional (5838153)
  • flutterwaveinit: remove public key prop and replace with authorization (ecb8485)
  • flutterwaveinit: specify required options on interface (c33843c)
  • flutterwaveinit: use promisified response parser (c8eec39)
  • flutterwaveinitv2: move to base of library folder, fix import errors, and rename types (c2d29e3)
  • flutterwaveinitv2: move to base of tests folder (c84dc58)
  • flutterwavinit: restructure flutterwave init result (19d4085)
  • package.json: add missing dev dependencies (bdedba8)
  • package.json: change library name (5004435)
  • package.json: update assets locations in copy-files script (02595b7)
  • paywithflutterwavebase: add missing currencies to options prop type (8ed8074)
  • reademe.me: remove emoji on description (9cf8cf6)
  • readme.md: specify use of public key as authorization (ae6beeb)
  • readme: explicitly state use of public key (647aa59)
  • release please (16b94f9)
  • release please (c321810)
  • remove example folder from gitignore (d8f1be5)
  • responseparser: default to "STANDARD_INIT_ERROR" if code is not provided (33fe5bf)
  • responseparser: fix import to point to correct flutterwave init (65f1ae7)
  • user new library name in documentation (dc7add0)
  • v2/flutterwavebutton: add missing dependencies (9248b3f)
  • v2/flutterwavebutton: fix incorrect spelling of cancelled prop on redirect params (3d5d3cc)
  • v2/flutterwavebutton: fix require path for button content and loader (beda6f1)
  • v2/flutterwavebutton: use correct regex pattern for redirect url check (c4cdc2d)
  • v2/flutterwaveinit: use proper error codes for malformed or missing data (d6a29c3)