@payrails/web-sdk 5.46.1 → 5.48.0-RC-1

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
@@ -91,6 +91,15 @@ paymentButton.mount('#payment-button');
91
91
 
92
92
  ## Release Notes
93
93
 
94
+ ### 5.47.0
95
+
96
+ - FEATURE: Added an `actionRequired` event
97
+ (`payrails.on('actionRequired', ...)`) that fires before action-required steps
98
+ such as 3DS. Call `preventDefault()` on the event to take over the redirect
99
+ instead of the default popup.
100
+ - FIX: Moved `vitest-fetch-mock` out of the SDK's runtime dependencies so it and
101
+ its transitive `vitest` no longer install alongside the package.
102
+
94
103
  ### 5.46.1
95
104
 
96
105
  - FEATURE: Host Google Pay on payrails domain