@better-auth/sso 1.4.0-beta.12 → 1.4.0-beta.13

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,8 +1,8 @@
1
1
 
2
- > @better-auth/sso@1.4.0-beta.12 build /home/runner/work/better-auth/better-auth/packages/sso
2
+ > @better-auth/sso@1.4.0-beta.13 build /home/runner/work/better-auth/better-auth/packages/sso
3
3
  > tsdown
4
4
 
5
- ℹ tsdown v0.15.6 powered by rolldown v1.0.0-beta.43
5
+ ℹ tsdown v0.15.9 powered by rolldown v1.0.0-beta.44
6
6
  ℹ Using tsdown config: /home/runner/work/better-auth/better-auth/packages/sso/tsdown.config.ts
7
7
  ℹ entry: src/client.ts, src/index.ts
8
8
  ℹ tsconfig: tsconfig.json
@@ -13,13 +13,13 @@
13
13
  ℹ [CJS] 3 files, total: 52.61 kB
14
14
  ℹ [ESM] dist/client.js  0.18 kB │ gzip: 0.16 kB
15
15
  ℹ [ESM] dist/index.js  0.06 kB │ gzip: 0.07 kB
16
- ℹ [ESM] dist/src-Z1RpfPZt.js 49.58 kB │ gzip: 8.54 kB
17
- ℹ [ESM] dist/index.d.ts  0.21 kB │ gzip: 0.12 kB
16
+ ℹ [ESM] dist/src-KQzfNIm4.js 49.59 kB │ gzip: 8.54 kB
17
+ ℹ [ESM] dist/index.d.ts  0.24 kB │ gzip: 0.16 kB
18
18
  ℹ [ESM] dist/client.d.ts  0.21 kB │ gzip: 0.18 kB
19
- ℹ [ESM] dist/index-B2BVFq3k.d.ts 21.39 kB │ gzip: 3.08 kB
20
- ℹ [ESM] 6 files, total: 71.62 kB
21
- ℹ [CJS] dist/index.d.cts  0.21 kB │ gzip: 0.12 kB
19
+ ℹ [ESM] dist/index-CL9gq2xe.d.ts 21.42 kB │ gzip: 3.10 kB
20
+ ℹ [ESM] 6 files, total: 71.70 kB
21
+ ℹ [CJS] dist/index.d.cts  0.24 kB │ gzip: 0.16 kB
22
22
  ℹ [CJS] dist/client.d.cts  0.21 kB │ gzip: 0.18 kB
23
- ℹ [CJS] dist/index-ChbeAG7i.d.cts 21.39 kB │ gzip: 3.09 kB
24
- ℹ [CJS] 3 files, total: 21.80 kB
25
- ✔ Build complete in 5275ms
23
+ ℹ [CJS] dist/index-N2GvRGik.d.cts 21.42 kB │ gzip: 3.10 kB
24
+ ℹ [CJS] 3 files, total: 21.88 kB
25
+ ✔ Build complete in 8810ms
package/dist/client.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { sso } from "./index-ChbeAG7i.cjs";
1
+ import { s as sso } from "./index-N2GvRGik.cjs";
2
2
 
3
3
  //#region src/client.d.ts
4
4
  declare const ssoClient: () => {
package/dist/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { sso } from "./index-B2BVFq3k.js";
1
+ import { s as sso } from "./index-CL9gq2xe.js";
2
2
 
3
3
  //#region src/client.d.ts
4
4
  declare const ssoClient: () => {
package/dist/client.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./src-Z1RpfPZt.js";
1
+ import "./src-KQzfNIm4.js";
2
2
 
3
3
  //#region src/client.ts
4
4
  const ssoClient = () => {
@@ -193,8 +193,8 @@ declare const sso: (options?: SSOOptions) => {
193
193
  query: z.ZodObject<{
194
194
  providerId: z.ZodString;
195
195
  format: z.ZodDefault<z.ZodEnum<{
196
- xml: "xml";
197
196
  json: "json";
197
+ xml: "xml";
198
198
  }>>;
199
199
  }, z.core.$strip>;
200
200
  metadata: {
@@ -685,4 +685,4 @@ declare const sso: (options?: SSOOptions) => {
685
685
  };
686
686
  };
687
687
  //#endregion
688
- export { OIDCConfig, OIDCMapping, SAMLConfig, SAMLMapping, SSOOptions, SSOProvider, sso };
688
+ export { SSOOptions as a, SAMLMapping as i, OIDCMapping as n, SSOProvider as o, SAMLConfig as r, sso as s, OIDCConfig as t };
@@ -193,8 +193,8 @@ declare const sso: (options?: SSOOptions) => {
193
193
  query: z.ZodObject<{
194
194
  providerId: z.ZodString;
195
195
  format: z.ZodDefault<z.ZodEnum<{
196
- xml: "xml";
197
196
  json: "json";
197
+ xml: "xml";
198
198
  }>>;
199
199
  }, z.core.$strip>;
200
200
  metadata: {
@@ -685,4 +685,4 @@ declare const sso: (options?: SSOOptions) => {
685
685
  };
686
686
  };
687
687
  //#endregion
688
- export { OIDCConfig, OIDCMapping, SAMLConfig, SAMLMapping, SSOOptions, SSOProvider, sso };
688
+ export { SSOOptions as a, SAMLMapping as i, OIDCMapping as n, SSOProvider as o, SAMLConfig as r, sso as s, OIDCConfig as t };
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { OIDCConfig, OIDCMapping, SAMLConfig, SAMLMapping, SSOOptions, SSOProvider, sso } from "./index-ChbeAG7i.cjs";
1
+ import { a as SSOOptions, i as SAMLMapping, n as OIDCMapping, o as SSOProvider, r as SAMLConfig, s as sso, t as OIDCConfig } from "./index-N2GvRGik.cjs";
2
2
  export { OIDCConfig, OIDCMapping, SAMLConfig, SAMLMapping, SSOOptions, SSOProvider, sso };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { OIDCConfig, OIDCMapping, SAMLConfig, SAMLMapping, SSOOptions, SSOProvider, sso } from "./index-B2BVFq3k.js";
1
+ import { a as SSOOptions, i as SAMLMapping, n as OIDCMapping, o as SSOProvider, r as SAMLConfig, s as sso, t as OIDCConfig } from "./index-CL9gq2xe.js";
2
2
  export { OIDCConfig, OIDCMapping, SAMLConfig, SAMLMapping, SSOOptions, SSOProvider, sso };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { sso } from "./src-Z1RpfPZt.js";
1
+ import { t as sso } from "./src-KQzfNIm4.js";
2
2
 
3
3
  export { sso };
@@ -1215,4 +1215,4 @@ const sso = (options) => {
1215
1215
  };
1216
1216
 
1217
1217
  //#endregion
1218
- export { sso };
1218
+ export { sso as t };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@better-auth/sso",
3
3
  "author": "Bereket Engida",
4
- "version": "1.4.0-beta.12",
4
+ "version": "1.4.0-beta.13",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "license": "MIT",
@@ -24,11 +24,13 @@
24
24
  "description": "SSO plugin for Better Auth",
25
25
  "exports": {
26
26
  ".": {
27
+ "better-auth-dev-source": "./src/index.ts",
27
28
  "types": "./dist/index.d.ts",
28
29
  "import": "./dist/index.js",
29
30
  "require": "./dist/index.cjs"
30
31
  },
31
32
  "./client": {
33
+ "better-auth-dev-source": "./src/client.ts",
32
34
  "types": "./dist/client.d.ts",
33
35
  "import": "./dist/client.js",
34
36
  "require": "./dist/client.cjs"
@@ -58,11 +60,11 @@
58
60
  "better-call": "1.0.24",
59
61
  "body-parser": "^2.2.0",
60
62
  "express": "^5.1.0",
61
- "tsdown": "^0.15.6",
62
- "better-auth": "^1.4.0-beta.12"
63
+ "tsdown": "^0.15.9",
64
+ "better-auth": "^1.4.0-beta.13"
63
65
  },
64
66
  "peerDependencies": {
65
- "better-auth": "1.4.0-beta.12"
67
+ "better-auth": "1.4.0-beta.13"
66
68
  },
67
69
  "scripts": {
68
70
  "test": "vitest",
package/tsconfig.json CHANGED
@@ -1,9 +1,11 @@
1
1
  {
2
- "extends": "../../tsconfig.json",
2
+ "extends": "../../tsconfig.base.json",
3
3
  "compilerOptions": {
4
- "rootDir": "./src",
5
- "outDir": "./dist",
6
4
  "lib": ["esnext", "dom", "dom.iterable"]
7
5
  },
8
- "include": ["src"]
6
+ "references": [
7
+ {
8
+ "path": "../better-auth/tsconfig.json"
9
+ }
10
+ ]
9
11
  }
package/tsdown.config.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineConfig } from "tsdown";
2
2
 
3
3
  export default defineConfig({
4
- dts: true,
4
+ dts: { build: true, incremental: true },
5
5
  format: ["esm", "cjs"],
6
6
  entry: ["./src/index.ts", "./src/client.ts"],
7
7
  external: ["better-auth", "better-call", "@better-fetch/fetch", "stripe"],