@algorandfoundation/react-native-passkey-autofill 1.0.0-canary.18 → 1.0.0-canary.19

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
@@ -1,3 +1,9 @@
1
+ # [1.0.0-canary.19](https://github.com/algorandfoundation/react-native-passkey-autofill/compare/v1.0.0-canary.18...v1.0.0-canary.19) (2026-06-09)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **android:** credential repository filter types in getAllCredentials ([2b6523f](https://github.com/algorandfoundation/react-native-passkey-autofill/commit/2b6523fc25aaadb5152b0b0d3d6b3a56e9de1759))
6
+
1
7
  # [1.0.0-canary.18](https://github.com/algorandfoundation/react-native-passkey-autofill/compare/v1.0.0-canary.17...v1.0.0-canary.18) (2026-06-09)
2
8
 
3
9
  ### Features
@@ -166,11 +166,15 @@ class Repository() : CredentialRepository {
166
166
  val payload = mmkv.decodeString(key) ?: continue
167
167
  try {
168
168
  val json = decodeKeyData(payload, masterKey)
169
- // Basic validation to ensure it's a credential
169
+ // Only treat entries as passkey credentials that match p256
170
+ val keyType = json.optString("type", "")
171
+ if (keyType != "hd-derived-p256" && keyType != "xhd-derived-p256") {
172
+ continue
173
+ }
170
174
  if (json.has("id") && (json.has("origin") || json.has("metadata"))) {
171
175
  val metadata = json.optJSONObject("metadata")
172
176
  val encJson = json.optJSONObject("privateKeyEnc")
173
-
177
+
174
178
  credentials.add(Credential(
175
179
  credentialId = json.getString("id"),
176
180
  origin = metadata?.optString("origin") ?: json.optString("origin", ""),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algorandfoundation/react-native-passkey-autofill",
3
- "version": "1.0.0-canary.18",
3
+ "version": "1.0.0-canary.19",
4
4
  "description": "Passkey AutoFill React Native",
5
5
  "keywords": [
6
6
  "@algorandfoundation/react-native-passkey-autofill",
@@ -48,7 +48,7 @@
48
48
  "e2e:ios": "start-server-and-test appium:start http-get://127.0.0.1:4723/status \"pnpm --filter @algorandfoundation/react-native-passkey-autofill-e2e run test:ios\""
49
49
  },
50
50
  "dependencies": {
51
- "@algorandfoundation/react-native-keystore": "1.0.0-canary.11"
51
+ "@algorandfoundation/react-native-keystore": "1.0.0-canary.12"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@expo/config-plugins": "~55.0.8",