Conversation
fix!: align Session API with official Satispay specification BREAKING CHANGE: Session event operations updated - Changed `type` → `operation` in session events - Changed `SessionEventType` → `SessionEventOperation` - Replaced 'ADD_ITEM'/'REMOVE_ITEM' with 'ADD'/'REMOVE' - Removed 'UPDATE_TOTAL' operation (not supported by API) - Made `currency` field mandatory in SessionEventCreateBody - Fixed Pre-Authorized Payment Tokens documentation - Removed duplicate "Create a Payment" section in README - Added E2E tests for fund lock payments
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|



[0.0.4] - 2025-12-03
Changed
SessionAPI aligned with official Satispay documentationtypefield tooperationin session eventsSessionEventTypeenum toSessionEventOperation'ADD_ITEM' | 'REMOVE_ITEM' | 'UPDATE_TOTAL'with'ADD' | 'REMOVE'UPDATE_TOTALoperation (not supported by Satispay API)currencyfield mandatory inSessionEventCreateBodyAdded
Fixed
Sessiontypes and operations now match official Satispay API specificationexamples/pos-session.ts