@better-auth/expo 1.4.7 → 1.4.8-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +2 -1
- package/dist/plugins/index.d.mts +3 -2
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
package/dist/plugins/index.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as _better_fetch_fetch15 from "@better-fetch/fetch";
|
|
2
|
+
import { Awaitable } from "@better-auth/core";
|
|
2
3
|
|
|
3
4
|
//#region src/plugins/last-login-method.d.ts
|
|
4
5
|
interface LastLoginMethodClientConfig {
|
|
5
6
|
storage: {
|
|
6
7
|
setItem: (key: string, value: string) => any;
|
|
7
8
|
getItem: (key: string) => string | null;
|
|
8
|
-
deleteItemAsync: (key: string) =>
|
|
9
|
+
deleteItemAsync: (key: string) => Awaitable<void>;
|
|
9
10
|
};
|
|
10
11
|
/**
|
|
11
12
|
* Prefix for local storage keys (e.g., "my-app_last_login_method")
|
|
@@ -15,7 +16,7 @@ interface LastLoginMethodClientConfig {
|
|
|
15
16
|
/**
|
|
16
17
|
* Custom resolve method for retrieving the last login method
|
|
17
18
|
*/
|
|
18
|
-
customResolveMethod?: ((url: string | URL) =>
|
|
19
|
+
customResolveMethod?: ((url: string | URL) => Awaitable<string | undefined | null>) | undefined;
|
|
19
20
|
}
|
|
20
21
|
declare const lastLoginMethodClient: (config: LastLoginMethodClientConfig) => {
|
|
21
22
|
id: "last-login-method-expo";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/expo",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.8-beta.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Better Auth integration for Expo and React Native applications.",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -63,16 +63,16 @@
|
|
|
63
63
|
"expo-web-browser": "~14.2.0",
|
|
64
64
|
"react-native": "~0.80.2",
|
|
65
65
|
"tsdown": "^0.17.2",
|
|
66
|
-
"@better-auth/core": "1.4.
|
|
67
|
-
"better-auth": "1.4.
|
|
66
|
+
"@better-auth/core": "1.4.8-beta.2",
|
|
67
|
+
"better-auth": "1.4.8-beta.2"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"expo-constants": ">=17.0.0",
|
|
71
71
|
"expo-linking": ">=7.0.0",
|
|
72
72
|
"expo-network": "^8.0.7",
|
|
73
73
|
"expo-web-browser": ">=14.0.0",
|
|
74
|
-
"
|
|
75
|
-
"better-auth": "1.4.
|
|
74
|
+
"better-auth": "1.4.8-beta.2",
|
|
75
|
+
"@better-auth/core": "1.4.8-beta.2"
|
|
76
76
|
},
|
|
77
77
|
"peerDependenciesMeta": {
|
|
78
78
|
"expo-constants": {
|