@onekeyfe/react-native-keychain-module 3.0.179-alpha.304 → 3.0.179

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 (2) hide show
  1. package/README.md +0 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -47,17 +47,6 @@ Android secure storage or infer a successful backup from a resolved stub call.
47
47
 
48
48
  The complete types are in [src/KeychainModule.nitro.ts](src/KeychainModule.nitro.ts).
49
49
 
50
- ## Handling absent values
51
-
52
- `getItem({ key })` returns an object, not the stored string directly. Check for
53
- `null` before reading `item.value`; an empty stored string remains a present
54
- value. `hasItem` is a separate promise and cannot make a later read atomic.
55
-
56
- `SetItemParams` contains `key`, `value` and optional `enableSync`, `label` and
57
- `description`. The package exports these parameter/result types for consumer
58
- adapters. Serialize structured application values explicitly and handle parse
59
- failures outside the native storage boundary.
60
-
61
50
  ## License
62
51
 
63
52
  MIT.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-keychain-module",
3
- "version": "3.0.179-alpha.304",
3
+ "version": "3.0.179",
4
4
  "description": "iOS Keychain string storage with optional iCloud synchronization for OneKey",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",