@a-cube-io/ereceipts-js-sdk 1.0.4 → 1.0.8

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.
Files changed (48) hide show
  1. package/README.md +14 -4
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/index.cjs +3537 -876
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +1078 -280
  6. package/dist/index.d.ts +1078 -280
  7. package/dist/index.js +3442 -594
  8. package/dist/index.js.map +1 -1
  9. package/dist/metafile-cjs.json +1 -1
  10. package/dist/metafile-esm.json +1 -1
  11. package/openapi.yaml +3021 -2732
  12. package/package.json +38 -8
  13. package/dist/auth-4AJ5UPDT.js +0 -7
  14. package/dist/auth-4AJ5UPDT.js.map +0 -1
  15. package/dist/auth-PILEVMWR.cjs +0 -56
  16. package/dist/auth-PILEVMWR.cjs.map +0 -1
  17. package/dist/chunk-24ZJ6SNG.cjs +0 -624
  18. package/dist/chunk-24ZJ6SNG.cjs.map +0 -1
  19. package/dist/chunk-4RWH43LJ.js +0 -511
  20. package/dist/chunk-4RWH43LJ.js.map +0 -1
  21. package/dist/chunk-K65HAAAO.js +0 -44
  22. package/dist/chunk-K65HAAAO.js.map +0 -1
  23. package/dist/chunk-NARXAXFL.cjs +0 -215
  24. package/dist/chunk-NARXAXFL.cjs.map +0 -1
  25. package/dist/chunk-NQC6CVNB.cjs +0 -4016
  26. package/dist/chunk-NQC6CVNB.cjs.map +0 -1
  27. package/dist/chunk-RYQ54ERE.cjs +0 -533
  28. package/dist/chunk-RYQ54ERE.cjs.map +0 -1
  29. package/dist/chunk-UBEIMFLN.js +0 -209
  30. package/dist/chunk-UBEIMFLN.js.map +0 -1
  31. package/dist/chunk-XQKCXG4I.cjs +0 -52
  32. package/dist/chunk-XQKCXG4I.cjs.map +0 -1
  33. package/dist/chunk-YE75QGEV.js +0 -3978
  34. package/dist/chunk-YE75QGEV.js.map +0 -1
  35. package/dist/chunk-YX3PJ4FC.js +0 -590
  36. package/dist/chunk-YX3PJ4FC.js.map +0 -1
  37. package/dist/client-H4QJNI4Z.cjs +0 -35
  38. package/dist/client-H4QJNI4Z.cjs.map +0 -1
  39. package/dist/client-RDKNDDEC.js +0 -6
  40. package/dist/client-RDKNDDEC.js.map +0 -1
  41. package/dist/queue-D7PJ536B.js +0 -4
  42. package/dist/queue-D7PJ536B.js.map +0 -1
  43. package/dist/queue-JHWXWX2B.cjs +0 -13
  44. package/dist/queue-JHWXWX2B.cjs.map +0 -1
  45. package/dist/token-3CIX4E64.cjs +0 -13
  46. package/dist/token-3CIX4E64.cjs.map +0 -1
  47. package/dist/token-4OAGWTVG.js +0 -4
  48. package/dist/token-4OAGWTVG.js.map +0 -1
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # A-Cube SDK
2
2
 
3
+ ![Coverage](https://img.shields.io/badge/coverage-16%25-red?style=flat-square)
4
+
5
+
3
6
  > **Professional TypeScript SDK for A-Cube e-receipt system integration**
4
7
 
5
8
  [![npm version](https://badge.fury.io/js/primeng.svg)](https://badge.fury.io/js/primeng)
@@ -595,19 +598,26 @@ const receiptData: ReceiptInput = {
595
598
 
596
599
  ## 🐛 Troubleshooting
597
600
 
598
- ### React Native Issues
601
+ ### React Native/Expo Issues
602
+
603
+ 1. **Node.js module imports error (Fixed in v1.0.5+)**:
604
+ ```
605
+ The package attempted to import the Node standard library module "url".
606
+ It failed because the native React runtime does not include the Node standard library.
607
+ ```
608
+ **Solution**: Update to SDK version 1.0.5 or higher - we've fixed React Native/Expo compatibility by properly externalizing axios and preventing Node.js module bundling.
599
609
 
600
- 1. **Keychain errors on iOS**:
610
+ 2. **Keychain errors on iOS**:
601
611
  ```bash
602
612
  cd ios && pod install
603
613
  ```
604
614
 
605
- 2. **AsyncStorage warnings**:
615
+ 3. **AsyncStorage warnings**:
606
616
  ```bash
607
617
  npm install @react-native-async-storage/async-storage
608
618
  ```
609
619
 
610
- 3. **Network detection issues**:
620
+ 4. **Network detection issues**:
611
621
  ```bash
612
622
  npm install @react-native-community/netinfo
613
623
  ```