@better-auth/sso 1.4.0-beta.9 → 1.4.0

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.
@@ -1,17 +1,16 @@
1
1
 
2
- > @better-auth/sso@1.4.0-beta.9 build /home/runner/work/better-auth/better-auth/packages/sso
3
- > unbuild
2
+ > @better-auth/sso@1.4.0 build /home/runner/work/better-auth/better-auth/packages/sso
3
+ > tsdown
4
4
 
5
- [info] Automatically detected entries: src/index, src/client [esm] [cjs] [dts]
6
- [info] Building sso
7
- [success] Build succeeded for sso
8
- [log] dist/index.cjs (total size: 69 kB, chunk size: 69 kB, exports: sso)
9
-
10
- [log] dist/client.cjs (total size: 141 B, chunk size: 141 B, exports: ssoClient)
11
-
12
- [log] dist/index.mjs (total size: 67.3 kB, chunk size: 67.3 kB, exports: sso)
13
-
14
- [log] dist/client.mjs (total size: 117 B, chunk size: 117 B, exports: ssoClient)
15
-
16
- Σ Total dist size (byte size): 263 kB
17
- [log]
5
+ ℹ tsdown v0.16.5 powered by rolldown v1.0.0-beta.50
6
+ ℹ Using tsdown config: /home/runner/work/better-auth/better-auth/packages/sso/tsdown.config.ts
7
+ ℹ entry: src/index.ts, src/client.ts
8
+ ℹ tsconfig: tsconfig.json
9
+ ℹ Build start
10
+ ℹ dist/index.mjs 58.49 kB │ gzip: 10.33 kB
11
+ ℹ dist/client.mjs  0.15 kB │ gzip: 0.14 kB
12
+ ℹ dist/client.d.mts  0.49 kB │ gzip: 0.30 kB
13
+ ℹ dist/index.d.mts  0.21 kB │ gzip: 0.15 kB
14
+ ℹ dist/index-D-JmJR9N.d.mts 25.42 kB │ gzip: 3.95 kB
15
+ ℹ 5 files, total: 84.77 kB
16
+ ✔ Build complete in 11060ms
package/dist/client.d.mts CHANGED
@@ -1,11 +1,20 @@
1
- import { sso } from './index.mjs';
2
- import 'better-call';
3
- import 'better-auth';
4
- import 'zod/v4';
1
+ import { t as SSOPlugin } from "./index-D-JmJR9N.mjs";
5
2
 
6
- declare const ssoClient: () => {
7
- id: "sso-client";
8
- $InferServerPlugin: ReturnType<typeof sso>;
3
+ //#region src/client.d.ts
4
+ interface SSOClientOptions {
5
+ domainVerification?: {
6
+ enabled: boolean;
7
+ } | undefined;
8
+ }
9
+ declare const ssoClient: <CO extends SSOClientOptions>(options?: CO | undefined) => {
10
+ id: "sso-client";
11
+ $InferServerPlugin: SSOPlugin<{
12
+ domainVerification: {
13
+ enabled: CO["domainVerification"] extends {
14
+ enabled: true;
15
+ } ? true : false;
16
+ };
17
+ }>;
9
18
  };
10
-
11
- export { ssoClient };
19
+ //#endregion
20
+ export { ssoClient };
package/dist/client.mjs CHANGED
@@ -1,8 +1,10 @@
1
- const ssoClient = () => {
2
- return {
3
- id: "sso-client",
4
- $InferServerPlugin: {}
5
- };
1
+ //#region src/client.ts
2
+ const ssoClient = (options) => {
3
+ return {
4
+ id: "sso-client",
5
+ $InferServerPlugin: {}
6
+ };
6
7
  };
7
8
 
8
- export { ssoClient };
9
+ //#endregion
10
+ export { ssoClient };