Skip to content

Commit 00c8803

Browse files
fix: correct spelling of isIOSEmbedded and update deprecation notice for isIOSEmbeeded
1 parent 6e93ad7 commit 00c8803

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/functions.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,16 @@ export const isLibsql = (): boolean => {
449449
return OPSQLite.isLibsql();
450450
};
451451

452-
export const isIOSEmbeeded = (): boolean => {
452+
// Correctly spelled primary export
453+
export const isIOSEmbedded = (): boolean => {
453454
if (Platform.OS !== 'ios') {
454455
return false;
455456
}
456457

457458
return OPSQLite.isIOSEmbedded();
458459
};
460+
461+
/**
462+
* @deprecated Use `isIOSEmbedded` instead. This alias will be removed in a future release.
463+
*/
464+
export const isIOSEmbeeded = isIOSEmbedded;

0 commit comments

Comments
 (0)