react-native-keychain को 10.x से 11.x पर अपग्रेड करना
react-native-keychain 10.0.0 और 11.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।
सारांश
| हटाए गए इम्पोर्ट पाथ | 0 |
|---|---|
| हटाए गए एक्सपोर्ट | 0 |
| बदले गए सिग्नेचर | 7 |
| क्लास या इंटरफ़ेस के हटाए गए सदस्य | 0 |
| क्लास या इंटरफ़ेस के बदले गए सदस्य | 0 |
| नए डिप्रिकेटेड | 0 |
| आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ) | 3 |
| नए एक्सपोर्ट | 4 |
हटाए गए एक्सपोर्ट
कुछ नहीं मिला।
बदले गए सिग्नेचर
| export | पहले | बाद में |
|---|---|---|
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> |
क्लास या इंटरफ़ेस के हटाए गए सदस्य
कुछ नहीं मिला।
क्लास या इंटरफ़ेस के बदले गए सदस्य
कुछ नहीं मिला।
नए डिप्रिकेटेड
कुछ नहीं मिला।
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)
| पहले | बाद में | |
|---|---|---|
engines.node | >=16 | >=20.19.4 |
peerDependencies.react | — | >=19.1.1 |
peerDependencies.react-native | — | >=0.82.0 |
नए एक्सपोर्ट (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 |
अपने AI एजेंट को ये तथ्य दें
Vigia एक मुफ़्त MCP सर्वर है: आपका कोडिंग एजेंट कोड लिखने से पहले वर्ज़न, ब्रेकिंग बदलाव और कमज़ोरियाँ जाँचता है। न साइनअप, न API कुंजी।
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor में जोड़ेंVS Code में जोड़ें★ GitHub पर स्टार दें
कोई भी दूसरा MCP क्लाइंट
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }एजेंट स्किल (SKILL.md): एजेंट को बताती है कि Vigia कब इस्तेमाल करना है · पुल रिक्वेस्ट के लिए GitHub Action
अक्सर पूछे जाने वाले प्रश्न
react-native-keychain को 10 से 11 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?
react-native-keychain 10.0.0 और 11.0.0 के बीच Vigia को 0 हटाए गए एक्सपोर्ट, 7 बदले गए सिग्नेचर और 0 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।
react-native-keychain 11 में क्या डिप्रिकेट हुआ?
react-native-keychain 11.0.0 में 0 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।
एजेंटों के लिए
GET https://vigia.coredls.cloud/v1/packages/npm/react-native-keychain/upgrade?from=10.0.0&to=11.0.0