@seaverse/payment-sdk 0.9.2 → 0.9.3

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
@@ -1,6 +1,6 @@
1
1
  # @seaverse/payment-sdk
2
2
 
3
- > **Version**: 0.9.2 | **Language**: English
3
+ > **Version**: 0.9.3 | **Language**: English
4
4
 
5
5
  A comprehensive payment solution for SeaVerse platform, providing credit management, payment checkout, subscription management, and order tracking.
6
6
 
@@ -928,6 +928,26 @@ import type {
928
928
 
929
929
  ## 📄 Changelog
930
930
 
931
+ ### v0.9.3 (2026-02-07) - UI/UX Overhaul & Design Restoration
932
+
933
+ **🎨 Major UI Overhaul**:
934
+ - **Unified Modal Design**: Redesigned `PurchaseSuccessModal`, `PaymentFailedModal`, `PaymentVerificationModal`, and `RetentionModal` to match the new dark design system.
935
+ - New tokens: Background `#121212`, border `rgba(44,44,46,0.6)`, and brand green `#10B981`.
936
+ - Improved typography and spacing for better readability.
937
+ - **GenericPackageModal 1:1 Restoration**: Completely rebuilt the custom package cards to match `Credits.html` design.
938
+ - Added ambient glow effects and hover animations.
939
+ - New "Value Badge" (+N% EXTRA VALUE) with golden theme.
940
+ - Redesigned CTA buttons with integrated price blocks and hover shine effects.
941
+
942
+ **🔧 Fixes & Improvements**:
943
+ - **Fixed Locale Support**: Updated `isZh` checks to correctly handle both Simplified Chinese (`zh`) and Traditional Chinese (`zh-TW`).
944
+ - **Enhanced Interactions**: Added scale feedback and glowing effects to all primary buttons.
945
+ - **Refined Layouts**: Optimized border radii and paddings across all payment-related modals.
946
+
947
+ ### v0.9.2 (2026-02-07) - Enhancement
948
+ - **Enhanced GenericPackageModal**: Added `onClose` callback support for custom package modals.
949
+ - **Improved Integration**: Better lifecycle management for parent components.
950
+
931
951
  ### v0.9.0 (2026-02-07) - Critical Bug Fixes
932
952
 
933
953
  **🔧 Critical Fixes**:
@@ -990,4 +1010,4 @@ Issues and Pull Requests are welcome!
990
1010
  ---
991
1011
 
992
1012
  **Last Updated**: 2026-02-07
993
- **SDK Version**: 0.9.0
1013
+ **SDK Version**: 0.9.3