mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-25 10:13:54 -05:00
chore: case fetch options type
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"better-auth": "workspace:*",
|
||||
"@better-fetch/fetch": "1.1.12",
|
||||
"better-sqlite3": "^11.5.0",
|
||||
"expo-constants": "~16.0.2",
|
||||
"expo-crypto": "^13.0.2",
|
||||
@@ -37,4 +38,4 @@
|
||||
"peerDependencies": {
|
||||
"better-auth": "workspace:*"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,7 @@ import * as Linking from "expo-linking";
|
||||
import { Platform } from "react-native";
|
||||
import * as SecureStore from "expo-secure-store";
|
||||
import Constants from "expo-constants";
|
||||
import type { BetterFetchOption } from "@better-fetch/fetch";
|
||||
|
||||
interface CookieAttributes {
|
||||
value: string;
|
||||
@@ -161,7 +162,7 @@ export const expoClient = (opts?: ExpoClientOptions) => {
|
||||
options: {
|
||||
...options,
|
||||
signal: new AbortController().signal,
|
||||
},
|
||||
} as BetterFetchOption,
|
||||
};
|
||||
}
|
||||
options = options || {};
|
||||
@@ -195,7 +196,7 @@ export const expoClient = (opts?: ExpoClientOptions) => {
|
||||
options: {
|
||||
...options,
|
||||
signal: new AbortController().signal,
|
||||
},
|
||||
} as BetterFetchOption,
|
||||
};
|
||||
},
|
||||
},
|
||||
|
||||
Generated
+3
@@ -1769,6 +1769,9 @@ importers:
|
||||
|
||||
packages/expo:
|
||||
devDependencies:
|
||||
'@better-fetch/fetch':
|
||||
specifier: 1.1.12
|
||||
version: 1.1.12
|
||||
better-auth:
|
||||
specifier: workspace:*
|
||||
version: link:../better-auth
|
||||
|
||||
Reference in New Issue
Block a user