@onekeyfe/react-native-lite-card 3.0.179-alpha.302 → 3.0.179-alpha.303
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 +0 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,18 +49,6 @@ See [src/index.tsx](src/index.tsx) and
|
|
|
49
49
|
[src/NativeReactNativeLiteCard.ts](src/NativeReactNativeLiteCard.ts) for the wrapper
|
|
50
50
|
and callback/result types.
|
|
51
51
|
|
|
52
|
-
## Result and subscription ownership
|
|
53
|
-
|
|
54
|
-
`PromiseResult<T>` has nullable `error`, `data` and `cardInfo` fields. Inspect
|
|
55
|
-
`error.code` against `CardErrors` before using `data`; a missing card-information
|
|
56
|
-
field is not an empty successful card. The exported `CardInfo` includes
|
|
57
|
-
`hasBackup`, `isNewCard`, `serialNum` and `pinRetryCount`.
|
|
58
|
-
|
|
59
|
-
`addAccordListener()` also returns a native event subscription. Remove returned
|
|
60
|
-
subscriptions explicitly: the current `removeConnectListeners()` wrapper is
|
|
61
|
-
empty and is not a substitute for a subscription's `remove()` method.
|
|
62
|
-
Keep mnemonic and PIN values out of diagnostic messages and event logs.
|
|
63
|
-
|
|
64
52
|
## License
|
|
65
53
|
|
|
66
54
|
MIT.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/react-native-lite-card",
|
|
3
|
-
"version": "3.0.179-alpha.
|
|
3
|
+
"version": "3.0.179-alpha.303",
|
|
4
4
|
"description": "OneKey Lite NFC card operations and connection events for React Native",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|