react-native-credentials-manager 0.5.1 → 0.5.3

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.
@@ -1,10 +1,16 @@
1
1
  package com.credentialsmanager
2
+ import android.util.Log
3
+ import androidx.credentials.exceptions.ClearCredentialException
2
4
  import androidx.credentials.exceptions.CreateCredentialException
5
+ import androidx.credentials.exceptions.GetCredentialException
6
+ import androidx.credentials.exceptions.NoCredentialException
3
7
  import com.credentialsmanager.handlers.CredentialHandler
4
8
  import com.credentialsmanager.handlers.ErrorHandler
5
9
  import com.facebook.react.bridge.Promise
6
10
  import com.facebook.react.bridge.ReactApplicationContext
7
11
  import com.facebook.react.bridge.ReactContextBaseJavaModule
12
+ import com.facebook.react.bridge.ReactMethod
13
+ import com.facebook.react.bridge.ReadableArray
8
14
  import com.facebook.react.bridge.ReadableMap
9
15
  import com.facebook.react.module.annotations.ReactModule
10
16
  import kotlinx.coroutines.CoroutineScope
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "react-native-credentials-manager",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "A React Native library that implements the Credential Manager API for Android. This library allows you to manage passwords and passkeys in your React Native applications.",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
7
7
  "module": "./lib/module/index.js",
8
+ "types": "./lib/typescript/module/src/index.d.ts",
8
9
  "exports": {
9
10
  ".": {
10
11
  "import": {