expo-contacts
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -158,3 +158,3 @@ export declare type CalendarFormatType = typeof CalendarFormats.Gregorian | typeof CalendarFormats.Buddhist | typeof CalendarFormats.Chinese | typeof CalendarFormats.Coptic | typeof CalendarFormats.EthiopicAmeteMihret | typeof CalendarFormats.EthiopicAmeteAlem | typeof CalendarFormats.Hebrew | typeof CalendarFormats.ISO8601 | typeof CalendarFormats.Indian | typeof CalendarFormats.Islamic | typeof CalendarFormats.IslamicCivil | typeof CalendarFormats.Japanese | typeof CalendarFormats.Persian | typeof CalendarFormats.RepublicOfChina | typeof CalendarFormats.IslamicTabular | typeof CalendarFormats.IslamicUmmAlQura; | ||
export declare function removeContactAsync(contactId: string): Promise<any>; | ||
export declare function writeContactToFileAsync(contactQuery?: ContactQuery): Promise<string | null>; | ||
export declare function writeContactToFileAsync(contactQuery?: ContactQuery): Promise<string | undefined>; | ||
export declare function presentFormAsync(contactId?: string | null, contact?: Contact | null, formOptions?: FormOptions): Promise<any>; | ||
@@ -161,0 +161,0 @@ export declare function addExistingGroupToContainerAsync(groupId: string, containerId: string): Promise<any>; |
{ | ||
"name": "expo-contacts", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Provides access to the phone's system contacts.", | ||
@@ -43,3 +43,3 @@ "main": "build/Contacts.js", | ||
}, | ||
"gitHead": "9119d190fbbf9f6a7a9c116e068d240e60e441fc" | ||
"gitHead": "428cc6cdfc3b37b2fa801ef66d357fac4576f673" | ||
} |
@@ -328,3 +328,3 @@ import { UnavailabilityError } from '@unimodules/core'; | ||
contactQuery: ContactQuery = {} | ||
): Promise<string | null> { | ||
): Promise<string | undefined> { | ||
if (!ExpoContacts.writeContactToFileAsync) { | ||
@@ -331,0 +331,0 @@ throw new UnavailabilityError('Contacts', 'writeContactToFileAsync'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
216495
1039
1