@better-auth/expo 1.3.0-beta.4 → 1.3.0-beta.6
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/client.d.cts +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +3 -3
package/dist/client.d.cts
CHANGED
package/dist/client.d.mts
CHANGED
package/dist/client.d.ts
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import * as
|
|
2
|
+
import * as better_auth_types from 'better-auth/types';
|
|
3
3
|
|
|
4
4
|
interface ExpoOptions {
|
|
5
5
|
/**
|
|
@@ -9,17 +9,17 @@ interface ExpoOptions {
|
|
|
9
9
|
}
|
|
10
10
|
declare const expo: (options?: ExpoOptions) => {
|
|
11
11
|
id: "expo";
|
|
12
|
-
init: (ctx:
|
|
12
|
+
init: (ctx: better_auth_types.AuthContext) => {
|
|
13
13
|
options: {
|
|
14
14
|
trustedOrigins: string[];
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
onRequest(request: Request, ctx:
|
|
17
|
+
onRequest(request: Request, ctx: better_auth_types.AuthContext): Promise<{
|
|
18
18
|
request: Request;
|
|
19
19
|
} | undefined>;
|
|
20
20
|
hooks: {
|
|
21
21
|
after: {
|
|
22
|
-
matcher(context:
|
|
22
|
+
matcher(context: better_auth_types.HookEndpointContext): boolean;
|
|
23
23
|
handler: (inputContext: better_call.MiddlewareInputContext<better_call.MiddlewareOptions>) => Promise<void>;
|
|
24
24
|
}[];
|
|
25
25
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import * as
|
|
2
|
+
import * as better_auth_types from 'better-auth/types';
|
|
3
3
|
|
|
4
4
|
interface ExpoOptions {
|
|
5
5
|
/**
|
|
@@ -9,17 +9,17 @@ interface ExpoOptions {
|
|
|
9
9
|
}
|
|
10
10
|
declare const expo: (options?: ExpoOptions) => {
|
|
11
11
|
id: "expo";
|
|
12
|
-
init: (ctx:
|
|
12
|
+
init: (ctx: better_auth_types.AuthContext) => {
|
|
13
13
|
options: {
|
|
14
14
|
trustedOrigins: string[];
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
onRequest(request: Request, ctx:
|
|
17
|
+
onRequest(request: Request, ctx: better_auth_types.AuthContext): Promise<{
|
|
18
18
|
request: Request;
|
|
19
19
|
} | undefined>;
|
|
20
20
|
hooks: {
|
|
21
21
|
after: {
|
|
22
|
-
matcher(context:
|
|
22
|
+
matcher(context: better_auth_types.HookEndpointContext): boolean;
|
|
23
23
|
handler: (inputContext: better_call.MiddlewareInputContext<better_call.MiddlewareOptions>) => Promise<void>;
|
|
24
24
|
}[];
|
|
25
25
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import * as
|
|
2
|
+
import * as better_auth_types from 'better-auth/types';
|
|
3
3
|
|
|
4
4
|
interface ExpoOptions {
|
|
5
5
|
/**
|
|
@@ -9,17 +9,17 @@ interface ExpoOptions {
|
|
|
9
9
|
}
|
|
10
10
|
declare const expo: (options?: ExpoOptions) => {
|
|
11
11
|
id: "expo";
|
|
12
|
-
init: (ctx:
|
|
12
|
+
init: (ctx: better_auth_types.AuthContext) => {
|
|
13
13
|
options: {
|
|
14
14
|
trustedOrigins: string[];
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
onRequest(request: Request, ctx:
|
|
17
|
+
onRequest(request: Request, ctx: better_auth_types.AuthContext): Promise<{
|
|
18
18
|
request: Request;
|
|
19
19
|
} | undefined>;
|
|
20
20
|
hooks: {
|
|
21
21
|
after: {
|
|
22
|
-
matcher(context:
|
|
22
|
+
matcher(context: better_auth_types.HookEndpointContext): boolean;
|
|
23
23
|
handler: (inputContext: better_call.MiddlewareInputContext<better_call.MiddlewareOptions>) => Promise<void>;
|
|
24
24
|
}[];
|
|
25
25
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/expo",
|
|
3
|
-
"version": "1.3.0-beta.
|
|
3
|
+
"version": "1.3.0-beta.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"expo-web-browser": "~14.0.2",
|
|
51
51
|
"unbuild": "^3.5.0",
|
|
52
52
|
"vitest": "^1.6.0",
|
|
53
|
-
"better-auth": "1.3.0-beta.
|
|
53
|
+
"better-auth": "1.3.0-beta.6"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"better-auth": "1.3.0-beta.
|
|
56
|
+
"better-auth": "1.3.0-beta.6"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@better-fetch/fetch": "^1.1.18",
|