chore: case fetch options type

This commit is contained in:
Bereket Engida
2024-11-06 09:20:59 +03:00
parent 7ce674a0b9
commit 6dcdaa7913
3 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -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:*"
}
}
}
+3 -2
View File
@@ -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,
};
},
},
+3
View File
@@ -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