@better-auth/scim 1.6.12 → 1.6.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.
package/dist/client.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PACKAGE_VERSION } from "./version-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "./version-BcVD6vO4.mjs";
|
|
2
2
|
import { base64Url } from "@better-auth/utils/base64";
|
|
3
3
|
import { APIError, createAuthEndpoint, createAuthMiddleware, sessionMiddleware } from "better-auth/api";
|
|
4
4
|
import { APIError as APIError$1, HIDE_METADATA } from "better-auth";
|
|
@@ -1207,7 +1207,7 @@ const deleteSCIMUser = (authMiddleware) => createAuthEndpoint("/scim/v2/Users/:u
|
|
|
1207
1207
|
organizationId
|
|
1208
1208
|
});
|
|
1209
1209
|
if (!user) throw new SCIMAPIError("NOT_FOUND", { detail: "User not found" });
|
|
1210
|
-
await ctx.context.internalAdapter.
|
|
1210
|
+
await ctx.context.internalAdapter.deleteUserSessions(userId);
|
|
1211
1211
|
await ctx.context.internalAdapter.deleteUser(userId);
|
|
1212
1212
|
ctx.setStatus(204);
|
|
1213
1213
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/scim",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.13",
|
|
4
4
|
"description": "SCIM plugin for Better Auth",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"tsdown": "0.21.1",
|
|
57
|
-
"@better-auth/core": "1.6.
|
|
58
|
-
"@better-auth/sso": "1.6.
|
|
57
|
+
"@better-auth/core": "1.6.13",
|
|
58
|
+
"@better-auth/sso": "1.6.13"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@better-auth/utils": "0.4.1",
|
|
62
62
|
"better-call": "1.3.5",
|
|
63
|
-
"@better-auth/core": "^1.6.
|
|
64
|
-
"better-auth": "^1.6.
|
|
63
|
+
"@better-auth/core": "^1.6.13",
|
|
64
|
+
"better-auth": "^1.6.13"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "tsdown",
|