@better-auth/expo 0.8.2-beta.2 → 0.8.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/.turbo/turbo-build.log +9 -9
- package/dist/index.d.mts +2 -22
- package/dist/index.d.ts +2 -22
- package/package.json +4 -3
- package/src/index.ts +2 -2
- package/tsup.config.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @better-auth/expo@0.8.2-beta.
|
|
3
|
+
> @better-auth/expo@0.8.2-beta.3 build /Users/apple/Desktop/development/better-auth-2/packages/expo
|
|
4
4
|
> tsup --dts --minify --clean
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: {"index":"src/index.ts","client":"src/client.ts"}
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
[34mCLI[39m Cleaning output folder
|
|
12
12
|
[34mESM[39m Build start
|
|
13
13
|
[34mCJS[39m Build start
|
|
14
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m744.00 B[39m
|
|
15
|
-
[32mESM[39m [1mdist/client.mjs [22m[32m2.32 KB[39m
|
|
16
|
-
[32mESM[39m ⚡️ Build success in 13ms
|
|
17
|
-
[32mCJS[39m [1mdist/index.js [22m[32m1.20 KB[39m
|
|
18
14
|
[32mCJS[39m [1mdist/client.js [22m[32m2.95 KB[39m
|
|
19
|
-
[32mCJS[39m
|
|
15
|
+
[32mCJS[39m [1mdist/index.js [22m[32m1.20 KB[39m
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 11ms
|
|
17
|
+
[32mESM[39m [1mdist/client.mjs [22m[32m2.32 KB[39m
|
|
18
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m744.00 B[39m
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 12ms
|
|
20
20
|
DTS Build start
|
|
21
|
-
DTS ⚡️ Build success in
|
|
22
|
-
DTS dist/index.d.mts
|
|
21
|
+
DTS ⚡️ Build success in 3463ms
|
|
22
|
+
DTS dist/index.d.mts 111.00 B
|
|
23
23
|
DTS dist/client.d.mts 3.96 KB
|
|
24
|
-
DTS dist/index.d.ts
|
|
24
|
+
DTS dist/index.d.ts 111.00 B
|
|
25
25
|
DTS dist/client.d.ts 3.96 KB
|
package/dist/index.d.mts
CHANGED
|
@@ -1,25 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BetterAuthPlugin } from 'better-auth';
|
|
2
2
|
|
|
3
|
-
declare const expo: () =>
|
|
4
|
-
id: "expo";
|
|
5
|
-
init: (ctx: better_auth.AuthContext) => {
|
|
6
|
-
options: {
|
|
7
|
-
trustedOrigins: string[] | undefined;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
onRequest(request: Request, ctx: better_auth.AuthContext): Promise<{
|
|
11
|
-
request: Request;
|
|
12
|
-
} | undefined>;
|
|
13
|
-
hooks: {
|
|
14
|
-
after: {
|
|
15
|
-
matcher(context: better_auth.HookEndpointContext<{}>): boolean;
|
|
16
|
-
handler: (ctx: better_auth.HookEndpointContext<{
|
|
17
|
-
returned: unknown | Response;
|
|
18
|
-
}>) => Promise<{
|
|
19
|
-
response: Response;
|
|
20
|
-
} | undefined>;
|
|
21
|
-
}[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
3
|
+
declare const expo: () => BetterAuthPlugin;
|
|
24
4
|
|
|
25
5
|
export { expo };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BetterAuthPlugin } from 'better-auth';
|
|
2
2
|
|
|
3
|
-
declare const expo: () =>
|
|
4
|
-
id: "expo";
|
|
5
|
-
init: (ctx: better_auth.AuthContext) => {
|
|
6
|
-
options: {
|
|
7
|
-
trustedOrigins: string[] | undefined;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
onRequest(request: Request, ctx: better_auth.AuthContext): Promise<{
|
|
11
|
-
request: Request;
|
|
12
|
-
} | undefined>;
|
|
13
|
-
hooks: {
|
|
14
|
-
after: {
|
|
15
|
-
matcher(context: better_auth.HookEndpointContext<{}>): boolean;
|
|
16
|
-
handler: (ctx: better_auth.HookEndpointContext<{
|
|
17
|
-
returned: unknown | Response;
|
|
18
|
-
}>) => Promise<{
|
|
19
|
-
response: Response;
|
|
20
|
-
} | undefined>;
|
|
21
|
-
}[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
3
|
+
declare const expo: () => BetterAuthPlugin;
|
|
24
4
|
|
|
25
5
|
export { expo };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/expo",
|
|
3
|
-
"version": "0.8.2
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -28,12 +28,13 @@
|
|
|
28
28
|
"expo-secure-store": "~13.0.2",
|
|
29
29
|
"expo-web-browser": "~13.0.3",
|
|
30
30
|
"vitest": "^1.6.0",
|
|
31
|
-
"better-auth": "0.8.2
|
|
31
|
+
"better-auth": "0.8.2"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"better-auth": "0.8.2
|
|
34
|
+
"better-auth": "0.8.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
+
"better-call": "^0.2.14",
|
|
37
38
|
"zod": "^3.23.8"
|
|
38
39
|
},
|
|
39
40
|
"scripts": {
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BetterAuthPlugin } from "better-auth";
|
|
2
2
|
|
|
3
|
-
export const expo = () => {
|
|
3
|
+
export const expo: () => BetterAuthPlugin = () => {
|
|
4
4
|
return {
|
|
5
5
|
id: "expo",
|
|
6
6
|
init: (ctx) => {
|
|
@@ -68,5 +68,5 @@ export const expo = () => {
|
|
|
68
68
|
},
|
|
69
69
|
],
|
|
70
70
|
},
|
|
71
|
-
}
|
|
71
|
+
};
|
|
72
72
|
};
|