@seaverse/payment-sdk 0.9.2 → 0.9.4

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.4 | **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,39 @@ import type {
928
928
 
929
929
  ## 📄 Changelog
930
930
 
931
+ ### v0.9.4 (2026-02-07) - Mobile Responsiveness & SDK Refinement
932
+
933
+ **📱 Mobile & Responsive Enhancements**:
934
+ - **Full Responsive Support**: Added comprehensive media queries to `CreditPackageModal` for seamless display on Mobile, Tablet, and Desktop.
935
+ - **Dynamic Layouts**: Implemented adaptive grid columns, font sizes, and paddings based on screen width.
936
+ - **Improved Mobile UI**: Optimized card sizes and modal dimensions for small screens (max-width: 768px).
937
+
938
+ **🔧 SDK & Configuration Refinements**:
939
+ - **Environment-based Initialization**: Refactored `SeaartPaymentSDK` to automatically load configurations based on the environment (`development`/`production`).
940
+ - **Updated Production Config**: Updated production `clientId` for the official payment gateway.
941
+ - **Enhanced Type Safety**: Unified `LocaleCode` usage across the SDK and demo projects.
942
+ - **Better Locale Support**: Improved `isZh` logic to support both Simplified (`zh`) and Traditional (`zh-TW`) Chinese.
943
+
944
+ ### v0.9.3 (2026-02-07) - UI/UX Overhaul & Design Restoration
945
+
946
+ **🎨 Major UI Overhaul**:
947
+ - **Unified Modal Design**: Redesigned `PurchaseSuccessModal`, `PaymentFailedModal`, `PaymentVerificationModal`, and `RetentionModal` to match the new dark design system.
948
+ - New tokens: Background `#121212`, border `rgba(44,44,46,0.6)`, and brand green `#10B981`.
949
+ - Improved typography and spacing for better readability.
950
+ - **GenericPackageModal 1:1 Restoration**: Completely rebuilt the custom package cards to match `Credits.html` design.
951
+ - Added ambient glow effects and hover animations.
952
+ - New "Value Badge" (+N% EXTRA VALUE) with golden theme.
953
+ - Redesigned CTA buttons with integrated price blocks and hover shine effects.
954
+
955
+ **🔧 Fixes & Improvements**:
956
+ - **Fixed Locale Support**: Updated `isZh` checks to correctly handle both Simplified Chinese (`zh`) and Traditional Chinese (`zh-TW`).
957
+ - **Enhanced Interactions**: Added scale feedback and glowing effects to all primary buttons.
958
+ - **Refined Layouts**: Optimized border radii and paddings across all payment-related modals.
959
+
960
+ ### v0.9.2 (2026-02-07) - Enhancement
961
+ - **Enhanced GenericPackageModal**: Added `onClose` callback support for custom package modals.
962
+ - **Improved Integration**: Better lifecycle management for parent components.
963
+
931
964
  ### v0.9.0 (2026-02-07) - Critical Bug Fixes
932
965
 
933
966
  **🔧 Critical Fixes**:
@@ -990,4 +1023,4 @@ Issues and Pull Requests are welcome!
990
1023
  ---
991
1024
 
992
1025
  **Last Updated**: 2026-02-07
993
- **SDK Version**: 0.9.0
1026
+ **SDK Version**: 0.9.4