@tetherto/wdk-react-native-secure-storage 1.0.0-beta.2 → 1.0.0-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tetherto/wdk-react-native-secure-storage",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.3",
4
4
  "description": "Secure storage abstractions for React Native - provides secure storage for sensitive data (encrypted seeds, keys) using react-native-keychain",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -51,8 +51,8 @@
51
51
  "author": "Tetherto",
52
52
  "license": "Apache-2.0",
53
53
  "dependencies": {
54
- "expo-crypto": "^15.0.8",
55
- "expo-local-authentication": "~17.0.8",
54
+ "expo-crypto": "^55.0.14",
55
+ "expo-local-authentication": "^55.0.13",
56
56
  "react-native-keychain": "^10.0.0"
57
57
  },
58
58
  "peerDependencies": {
@@ -68,5 +68,10 @@
68
68
  "prettier": "^3.0.0",
69
69
  "ts-jest": "^29.1.0",
70
70
  "typescript": "^5.3.3"
71
+ },
72
+ "overrides": {
73
+ "@typescript-eslint/typescript-estree": {
74
+ "minimatch": "9.0.7"
75
+ }
71
76
  }
72
77
  }
@@ -15,7 +15,7 @@ export function hasHardwareAsync(): Promise<boolean> {
15
15
  return Promise.resolve(mockHasHardware)
16
16
  }
17
17
 
18
- export function authenticateAsync(options?: {
18
+ export function authenticateAsync(_options?: {
19
19
  promptMessage?: string
20
20
  cancelLabel?: string
21
21
  disableDeviceFallback?: boolean
@@ -12,7 +12,7 @@ export const ACCESS_CONTROL = {
12
12
  BIOMETRY_ANY_OR_DEVICE_PASSCODE: 'BIOMETRY_ANY_OR_DEVICE_PASSCODE',
13
13
  }
14
14
 
15
- let mockStorage: Map<string, { username: string; password: string }> = new Map()
15
+ const mockStorage: Map<string, { username: string; password: string }> = new Map()
16
16
 
17
17
  export function setGenericPassword(
18
18
  username: string,