PayButton v4.2.0
Added new props (autoClose, disableSound, transactionText, size), improved success handling and socket behavior, updated the demo page, expanded opReturn docs, misc bug fixes, and upgraded dependencies for improved stability and security.
What's Changed
- [#470] fix: socket creation with prefix always by @chedieck in #472
- fix: altpayment not showing up by @lissavxo in #473
- docs: opReturn feature by @lissavxo in #469
- Only use dev addresses on demo page by @Klakurka in #480
- docs: op-return prop by @lissavxo in #479
- Feat: Auto-close parameter and success animation reset by @johnkuney in #481
- docs: op return zh-cn zh-tw by @lissavxo in #483
- Feat/disable sound prop by @lissavxo in #487
- fix/amount-editable-random-satoshis by @lissavxo in #488
- fix: randomSatoshis trigger success by @lissavxo in #482
- Bump normalize-url from 4.5.0 to 4.5.1 in /docs by @dependabot in #144
- Bump ws from 6.2.1 to 6.2.2 in /docs by @dependabot in #145
- Bump shell-quote and react-scripts in /react by @dependabot in #173
- Bump loader-utils and react-scripts in /react by @dependabot in #182
- Bump qs and express in /paybutton/dev by @dependabot in #190
- Bump decode-uri-component from 0.2.0 to 0.2.2 in /react by @dependabot in #192
- Bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs by @dependabot in #197
- Bump minimist from 1.2.5 to 1.2.8 in /docs by @dependabot in #203
- chore(deps): bump @babel/runtime from 7.23.8 to 7.27.1 in /paybutton by @dependabot in #491
- chore(deps): bump dompurify, docsify and docsify-server-renderer in /docs by @dependabot in #492
- chore(deps): bump prismjs from 1.29.0 to 1.30.0 in /docs by @dependabot in #493
- chore(deps): bump @babel/helpers from 7.23.8 to 7.27.1 in /react by @dependabot in #494
- chore(deps): bump http-proxy-middleware, @storybook/preset-create-react-app and webpack-dev-server in /react by @dependabot in #497
- chore(deps): bump base-x from 3.0.9 to 3.0.11 in /react by @dependabot in #498
- chore(deps-dev): bump elliptic from 6.5.4 to 6.6.1 in /react by @dependabot in #499
- chore(deps): bump rollup and microbundle in /react by @dependabot in #500
- feat: transaction text prop by @lissavxo in #471
- [#300] feat: keep socket open on closed button by @chedieck in #485
- Revert "Merge pull request #500 from PayButton/dependabot/npm_and_yar… by @chedieck in #504
- feat: lock editable on success by @lissavxo in #506
- feat: ignore opReturn bch by @lissavxo in #484
- feat: increase toast margin bottom by @lissavxo in #507
- Feat/autoclose false default by @lissavxo in #508
- fix: react build dist declaration file by @chedieck in #509
- Feat/size prop by @lissavxo in #489
Full Changelog: 4.1.0...4.2.0