@a-cube-io/ereceipts-js-sdk 2.0.2 → 2.0.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
@@ -8,6 +8,8 @@ SDK ufficiale per l'integrazione con la piattaforma ACube eReceipt in applicazio
8
8
  - Autenticazione JWT e mTLS
9
9
  - Supporto offline con sincronizzazione automatica
10
10
  - Gestione stati app (NORMAL, WARNING, BLOCKED, OFFLINE)
11
+ - **Polling automatico** - Notifiche e telemetria con polling configurabile
12
+ - **Caching intelligente** - Cache per GET con TTL per risorsa e invalidazione automatica
11
13
  - TypeScript first con tipizzazione completa
12
14
  - Ottimizzato per Expo e React Native
13
15
 
@@ -32,6 +34,16 @@ yarn add @a-cube-io/ereceipts-js-sdk
32
34
  expo install expo-secure-store @react-native-async-storage/async-storage
33
35
  ```
34
36
 
37
+ ### Dipendenza mTLS (per operazioni fiscali)
38
+
39
+ Per utilizzare l'autenticazione mTLS (richiesta per creare scontrini, annulli, PEM, ecc.):
40
+
41
+ ```bash
42
+ npx expo install @a-cube-io/expo-mutual-tls
43
+ ```
44
+
45
+ > **Nota**: mTLS richiede un development build, non funziona con Expo Go.
46
+
35
47
  ### Utilizzo con SDKManager (Raccomandato)
36
48
 
37
49
  ```typescript
@@ -111,6 +123,10 @@ console.log('Scontrino creato:', receipt.documentNumber);
111
123
  - [Esempi Base](./docs/examples/basic-usage.md)
112
124
  - [Notifiche e Telemetria](./docs/examples/notifications-telemetry.md) - Esempio Expo completo
113
125
 
126
+ ### Advanced
127
+ - [Caching](./docs/advanced/caching.md) - Sistema di cache automatico
128
+ - [Offline Mode](./docs/advanced/offline-mode.md) - Supporto offline
129
+
114
130
  ### Troubleshooting
115
131
  - [Problemi Comuni](./docs/troubleshooting/common-issues.md)
116
132