@a-cube-io/ereceipts-js-sdk 2.0.9 → 2.1.0
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 +1 -7
- package/dist/index.cjs.js +135 -2651
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +8 -251
- package/dist/index.esm.js +136 -2647
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.js +136 -2647
- package/dist/index.native.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,10 +6,8 @@ SDK ufficiale per l'integrazione con la piattaforma ACube eReceipt in applicazio
|
|
|
6
6
|
|
|
7
7
|
- Gestione completa scontrini elettronici (creazione, annullo, reso)
|
|
8
8
|
- Autenticazione JWT e mTLS
|
|
9
|
-
- Supporto offline con sincronizzazione automatica
|
|
10
9
|
- Gestione stati app (NORMAL, WARNING, BLOCKED, OFFLINE)
|
|
11
10
|
- **Polling automatico** - Notifiche e telemetria con polling configurabile
|
|
12
|
-
- **Caching intelligente** - Cache per GET con TTL per risorsa e invalidazione automatica
|
|
13
11
|
- TypeScript first con tipizzazione completa
|
|
14
12
|
- Ottimizzato per Expo e React Native
|
|
15
13
|
|
|
@@ -123,10 +121,6 @@ console.log('Scontrino creato:', receipt.documentNumber);
|
|
|
123
121
|
- [Esempi Base](./docs/examples/basic-usage.md)
|
|
124
122
|
- [Notifiche e Telemetria](./docs/examples/notifications-telemetry.md) - Esempio Expo completo
|
|
125
123
|
|
|
126
|
-
### Advanced
|
|
127
|
-
- [Caching](./docs/advanced/caching.md) - Sistema di cache automatico
|
|
128
|
-
- [Offline Mode](./docs/advanced/offline-mode.md) - Supporto offline
|
|
129
|
-
|
|
130
124
|
### Troubleshooting
|
|
131
125
|
- [Problemi Comuni](./docs/troubleshooting/common-issues.md)
|
|
132
126
|
|
|
@@ -172,7 +166,7 @@ Il sistema gestisce automaticamente gli stati dell'applicazione basandosi sulle
|
|
|
172
166
|
| `NORMAL` | SYS-I-01 | App funziona normalmente |
|
|
173
167
|
| `WARNING` | SYS-W-01 | Banner avviso con countdown |
|
|
174
168
|
| `BLOCKED` | SYS-C-01 | Solo visualizzazione telemetria |
|
|
175
|
-
| `OFFLINE` | No network |
|
|
169
|
+
| `OFFLINE` | No network | Ultimo stato disponibile |
|
|
176
170
|
|
|
177
171
|
## Licenza
|
|
178
172
|
|