Upgrading react-native-keychain from 10.x to 11.x
Comparison of the public API of react-native-keychain 10.0.0 and 11.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 7 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 3 |
| New exports | 4 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
react-native-keychain · Result | { service: string; storage: STORAGE_TYPE; } | { service: string; storage: STORAGE_TYPE | "keychain"; } |
react-native-keychain · default | { SECURITY_LEVEL: typeof SECURITY_LEVEL; ACCESSIBLE: typeof ACCESSIBLE; ACCESS_CONTROL: typeof ACCESS_CONTROL; AUTHENTICATION_TYPE: typeof AUTHENTICATION_TYPE; BIOMETRY_TYPE: typeof BIOMETRY_TYPE; STORAGE_TYPE: typeof STORAGE_TYPE; getSecurityLevel: (options?: AccessControlOption | undefined) => Promise<SECURITY_LEVEL | null>; canImplyAuthentication: (options?: AuthenticationTypeOption | undefined) => Promise<boolean>; getSupportedBiometryType: () => Promise<BIOMETRY_TYPE | null>; setInternetCredentials: (server: string, username: string, password: string, options?: SetOptions | undefined) => … | { SECURITY_LEVEL: typeof SECURITY_LEVEL; ACCESSIBLE: typeof ACCESSIBLE; ACCESS_CONTROL: typeof ACCESS_CONTROL; AUTHENTICATION_TYPE: typeof AUTHENTICATION_TYPE; BIOMETRY_TYPE: typeof BIOMETRY_TYPE; STORAGE_TYPE: typeof STORAGE_TYPE; ERROR_CODE: typeof ERROR_CODE; getSecurityLevel: (options?: AccessControlOption | undefined) => Promise<SECURITY_LEVEL | null>; canImplyAuthentication: (options?: AuthenticationTypeOption | undefined) => Promise<boolean>; getSupportedBiometryType: () => Promise<BIOMETRY_TYPE | null>; setInternetCredentials: (server: string, username: string, password: string, option… |
react-native-keychain · SharedWebCredentials | { server: string; } & { username: string; password: string; } & Result | { server: string; } & Omit<UserCredentials, "service"> |
react-native-keychain · getInternetCredentials | (server: string, options?: GetOptions | undefined): Promise<false | UserCredentials> | (server: string, options?: GetOptions | undefined): Promise<false | InternetCredentials> |
react-native-keychain · hasInternetCredentials | (options: string | BaseOptions): Promise<boolean> | (options: BaseOptions): Promise<boolean> |
react-native-keychain · setSharedWebCredentials | (server: string, username: string, password?: string | undefined): Promise<void> | (server: string, username: string, password?: string | undefined): Promise<boolean> |
react-native-keychain · resetInternetCredentials | (options: BaseOptions): Promise<void> | (options: BaseOptions): Promise<boolean> |
Removed class or interface members
None detected.
Changed class or interface members
None detected.
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | >=16 | >=20.19.4 |
peerDependencies.react | — | >=19.1.1 |
peerDependencies.react-native | — | >=0.82.0 |
New exports (4)
| import | export | kind |
|---|---|---|
react-native-keychain | ERROR_CODE | enum |
react-native-keychain | InternetCredentials | type |
react-native-keychain | getAllInternetCredentialServers | function |
react-native-keychain | GetAllInternetCredentialServersOptions | type |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading react-native-keychain from 10 to 11?
Between react-native-keychain 10.0.0 and 11.0.0, Vigia found 0 removed exports, 7 changed signatures and 0 removed or changed class or interface members.
What became deprecated in react-native-keychain 11?
0 exports or members are newly marked as deprecated in react-native-keychain 11.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/react-native-keychain/upgrade?from=10.0.0&to=11.0.0