Skip to content

Commit

Permalink
feat: convert imageDataUrlToJpegDataUrl to synchronous method
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielFRico committed Oct 25, 2024
1 parent f36258d commit 79a160d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default class EIdReader {
return EIdReaderNativeModule.openNfcSettings();
}

static imageDataUrlToJpegDataUrl(dataUrl: string): Promise<string> {
static imageDataUrlToJpegDataUrl(dataUrl: string): string {
return EIdReaderNativeModule.imageDataUrlToJpegDataUrl(dataUrl);
}

Expand Down

0 comments on commit 79a160d

Please sign in to comment.