@react-native-async-storage/async-storage
Advanced tools
Comparing version 1.15.16 to 1.15.17
{ | ||
"name": "@react-native-async-storage/async-storage", | ||
"version": "1.15.16", | ||
"version": "1.15.17", | ||
"description": "Asynchronous, persistent, key-value storage system for React Native.", | ||
@@ -5,0 +5,0 @@ "main": "lib/commonjs/index.js", |
@@ -63,6 +63,6 @@ // CREDITS: This types are based on the original work made by all the people who contributed to @types/react-native | ||
type AsyncStorageHook = { | ||
getItem(callback?: (error?: Error, result?: string) => void): Promise<string | null>; | ||
setItem(value: string, callback?: (error?: Error) => void): Promise<void>; | ||
mergeItem(value: string, callback?: (error?: Error) => void): Promise<void>; | ||
removeItem(callback?: (error?: Error) => void): Promise<void>; | ||
getItem: (callback?: (error?: Error, result?: string) => void) => Promise<string | null>; | ||
setItem: (value: string, callback?: (error?: Error) => void) => Promise<void>; | ||
mergeItem: (value: string, callback?: (error?: Error) => void) => Promise<void>; | ||
removeItem: (callback?: (error?: Error) => void) => Promise<void>; | ||
} | ||
@@ -69,0 +69,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
407093