shogun-button-react 1.10.3 → 1.11.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/CHANGELOG.md +1 -20
- package/README.md +423 -225
- package/dist/components/ShogunButton.d.ts +20 -5
- package/dist/components/ShogunButton.js +440 -488
- package/dist/connector.js +75 -45
- package/dist/dist/styles/index.css +0 -26
- package/dist/index.d.ts +6 -3
- package/dist/index.js +10 -9
- package/dist/plugins/GunAdvancedPlugin.d.ts +81 -0
- package/dist/plugins/GunAdvancedPlugin.js +501 -0
- package/dist/styles/index.css +0 -26
- package/dist/types/connector-options.d.ts +20 -4
- package/dist/types/connector-options.js +1 -2
- package/package.json +4 -3
- package/src/styles/index.css +0 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,26 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## Version 1.5.36
|
|
4
|
-
|
|
5
|
-
### 🔧 Improvements
|
|
6
|
-
|
|
7
|
-
- Align peer/internal dependency to `shogun-core@^1.7.0` to leverage official `loginWithPair()` and `exportPair()` APIs where available.
|
|
8
|
-
- Hardened imports by removing explicit `.js` extensions in TypeScript sources for better resolver compatibility.
|
|
9
|
-
|
|
10
|
-
### 🐛 Fixes
|
|
11
|
-
|
|
12
|
-
- Avoid double JSON encoding when exporting pair from sessionStorage fallback.
|
|
13
|
-
|
|
14
3
|
## Version 1.3.4 (Latest)
|
|
15
4
|
|
|
16
5
|
### 🐛 Bug Fixes
|
|
17
|
-
|
|
18
6
|
- **Export Gun Pair Fix**: Fixed issue where "Export Pair" option was not accessible from user dropdown - now works correctly without requiring disconnect
|
|
19
7
|
- **Modal Logic Improvement**: Enhanced modal rendering logic to allow export functionality when user is already authenticated
|
|
20
8
|
- **UX Enhancement**: Improved back button behavior in export modal - now properly closes modal when user is logged in instead of showing unnecessary auth options
|
|
21
9
|
|
|
22
10
|
### 🔧 Technical Changes
|
|
23
|
-
|
|
24
11
|
- Modified component render logic to show modal even when user is logged in
|
|
25
12
|
- Improved export form navigation for better user experience
|
|
26
13
|
- Reordered dropdown menu items for better flow (Export Pair before Disconnect)
|
|
@@ -28,13 +15,11 @@
|
|
|
28
15
|
## Version 1.3.3
|
|
29
16
|
|
|
30
17
|
### ✨ New Features
|
|
31
|
-
|
|
32
18
|
- **Import Gun Pair Login**: Aggiunta possibilità di effettuare login tramite importazione di un Gun pair esistente
|
|
33
19
|
- **Export Gun Pair**: Funzionalità per esportare il proprio Gun pair con opzione di crittografia tramite password
|
|
34
20
|
- **Improved UX**: Migliorata l'interfaccia utente con feedback visivi e messaggi informativi
|
|
35
21
|
|
|
36
22
|
### 🔧 Improvements
|
|
37
|
-
|
|
38
23
|
- **Navigation Fix**: Il toggle "Don't have account? Sign up" ora porta alla selezione dei metodi di autenticazione invece che direttamente al form password
|
|
39
24
|
- **Visual Feedback**: Sostituiti gli alert con feedback visivi eleganti per export/import
|
|
40
25
|
- **Better Icons**: Aggiunte icone SVG personalizzate per import/export
|
|
@@ -42,14 +27,12 @@
|
|
|
42
27
|
- **Enhanced Security**: Messaggi informativi per guidare l'utente nell'uso sicuro delle funzionalità
|
|
43
28
|
|
|
44
29
|
### 🛠 Technical Changes
|
|
45
|
-
|
|
46
30
|
- Rimosso l'uso del metodo `on` non disponibile in ShogunCore
|
|
47
31
|
- Definiti tipi locali per `AuthResult` per compatibilità
|
|
48
32
|
- Migliorata gestione degli stati nel provider
|
|
49
33
|
- Aggiunto reset completo degli stati quando si chiude il modal
|
|
50
34
|
|
|
51
35
|
### 🎨 UI/UX Enhancements
|
|
52
|
-
|
|
53
36
|
- Box informativi colorati per import/export
|
|
54
37
|
- Feedback di successo con timer automatico
|
|
55
38
|
- Indicatori di caricamento migliorati
|
|
@@ -58,7 +41,6 @@
|
|
|
58
41
|
## Version 1.3.2
|
|
59
42
|
|
|
60
43
|
### Features
|
|
61
|
-
|
|
62
44
|
- Basic Gun pair export/import functionality
|
|
63
45
|
- Multi-authentication support (Password, MetaMask, WebAuthn, Nostr, OAuth)
|
|
64
46
|
- Dark mode support
|
|
@@ -67,7 +49,6 @@
|
|
|
67
49
|
## Version 1.3.1
|
|
68
50
|
|
|
69
51
|
### Features
|
|
70
|
-
|
|
71
52
|
- Initial release
|
|
72
53
|
- Basic authentication flow
|
|
73
|
-
- Provider integration
|
|
54
|
+
- Provider integration
|