expo-secure-store 13.0.1 → 13.0.2-canary-20240625-2333e70

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/CHANGELOG.md CHANGED
@@ -8,6 +8,8 @@
8
8
 
9
9
  ### 🐛 Bug fixes
10
10
 
11
+ - [iOS] Improve error message for unhandled errors ([#29394](https://github.com/expo/expo/pull/29394) by [@hassankhan](https://github.com/hassankhan))
12
+
11
13
  ### 💡 Others
12
14
 
13
15
  ## 13.0.1 — 2024-04-23
@@ -55,6 +55,9 @@ internal class KeyChainException: GenericException<OSStatus> {
55
55
  return "Authentication failed. Provided passphrase/PIN is incorrect or there is no user authentication method configured for this device."
56
56
 
57
57
  default:
58
+ if let errorMessage = SecCopyErrorMessageString(param, nil) as? String {
59
+ return errorMessage
60
+ }
58
61
  return "Unknown Keychain Error."
59
62
  }
60
63
  }
@@ -192,8 +192,6 @@ public final class SecureStoreModule: Module {
192
192
  return kSecAttrAccessibleAlwaysThisDeviceOnly
193
193
  case .whenUnlockedThisDeviceOnly:
194
194
  return kSecAttrAccessibleWhenUnlockedThisDeviceOnly
195
- default:
196
- return kSecAttrAccessibleWhenUnlocked
197
195
  }
198
196
  }
199
197
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-secure-store",
3
- "version": "13.0.1",
3
+ "version": "13.0.2-canary-20240625-2333e70",
4
4
  "description": "Provides a way to encrypt and securely store key-value pairs locally on the device.",
5
5
  "main": "build/SecureStore.js",
6
6
  "types": "build/SecureStore.d.ts",
@@ -37,10 +37,10 @@
37
37
  },
38
38
  "dependencies": {},
39
39
  "devDependencies": {
40
- "expo-module-scripts": "^3.0.0"
40
+ "expo-module-scripts": "3.6.0-canary-20240625-2333e70"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "expo": "*"
44
44
  },
45
- "gitHead": "ee4f30ef3b5fa567ad1bf94794197f7683fdd481"
45
+ "gitHead": "2333e70a4bd3ac91895402dac77ae8ae0ed25995"
46
46
  }