@better-auth/sso 1.4.4 → 1.4.5

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.4 build /home/runner/work/better-auth/better-auth/packages/sso
2
+ > @better-auth/sso@1.4.5 build /home/runner/work/better-auth/better-auth/packages/sso
3
3
  > tsdown
4
4
 
5
- ℹ tsdown v0.16.5 powered by rolldown v1.0.0-beta.50
5
+ ℹ tsdown v0.16.6 powered by rolldown v1.0.0-beta.51
6
6
  ℹ Using tsdown config: /home/runner/work/better-auth/better-auth/packages/sso/tsdown.config.ts
7
7
  ℹ entry: src/index.ts, src/client.ts
8
8
  ℹ tsconfig: tsconfig.json
@@ -13,4 +13,4 @@
13
13
  ℹ dist/index.d.mts  0.21 kB │ gzip: 0.15 kB
14
14
  ℹ dist/index-D-JmJR9N.d.mts 25.42 kB │ gzip: 3.95 kB
15
15
  ℹ 5 files, total: 84.77 kB
16
- ✔ Build complete in 11610ms
16
+ ✔ Build complete in 11028ms
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.4",
4
+ "version": "1.4.5",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
7
7
  "homepage": "https://www.better-auth.com/docs/plugins/sso",
@@ -60,18 +60,19 @@
60
60
  "devDependencies": {
61
61
  "@types/body-parser": "^1.19.6",
62
62
  "@types/express": "^5.0.5",
63
- "better-call": "1.1.3",
64
- "body-parser": "^2.2.0",
63
+ "better-call": "1.1.4",
64
+ "body-parser": "^2.2.1",
65
65
  "express": "^5.1.0",
66
- "oauth2-mock-server": "^7.2.1",
66
+ "oauth2-mock-server": "^8.2.0",
67
67
  "tsdown": "^0.16.0",
68
- "better-auth": "1.4.4"
68
+ "better-auth": "1.4.5"
69
69
  },
70
70
  "peerDependencies": {
71
- "better-auth": "1.4.4"
71
+ "better-auth": "1.4.5"
72
72
  },
73
73
  "scripts": {
74
74
  "test": "vitest",
75
+ "lint:package": "publint run --strict",
75
76
  "build": "tsdown",
76
77
  "dev": "tsdown --watch",
77
78
  "typecheck": "tsc --project tsconfig.json"
package/src/saml.test.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import { randomUUID } from "node:crypto";
2
+ import type { createServer } from "node:http";
1
3
  import { betterFetch } from "@better-fetch/fetch";
2
4
  import { betterAuth } from "better-auth";
3
5
  import { memoryAdapter } from "better-auth/adapters/memory";
@@ -6,14 +8,12 @@ import { setCookieToHeader } from "better-auth/cookies";
6
8
  import { bearer } from "better-auth/plugins";
7
9
  import { getTestInstance } from "better-auth/test";
8
10
  import bodyParser from "body-parser";
9
- import { randomUUID } from "crypto";
10
11
  import type {
11
12
  Application as ExpressApp,
12
13
  Request as ExpressRequest,
13
14
  Response as ExpressResponse,
14
15
  } from "express";
15
16
  import express from "express";
16
- import type { createServer } from "http";
17
17
  import * as saml from "samlify";
18
18
  import {
19
19
  afterAll,