@depay/widgets 12.3.22 → 12.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -539,7 +539,7 @@ Allows you to stop the payment if this method returns false.
539
539
  ```javascript
540
540
  DePayWidgets.Payment({
541
541
 
542
- before: async (payment)=> {
542
+ before: async (payment, from)=> {
543
543
  alert('Something went wrong')
544
544
  return false // stops payment
545
545
  }