@better-auth/scim 1.5.0-beta.2 → 1.5.0-beta.3

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,5 +1,5 @@
1
1
 
2
- > @better-auth/scim@1.5.0-beta.2 build /home/runner/work/better-auth/better-auth/packages/scim
2
+ > @better-auth/scim@1.5.0-beta.3 build /home/runner/work/better-auth/better-auth/packages/scim
3
3
  > tsdown
4
4
 
5
5
  ℹ tsdown v0.17.2 powered by rolldown v1.0.0-beta.53
@@ -11,6 +11,6 @@
11
11
  ℹ dist/client.mjs  0.15 kB │ gzip: 0.14 kB
12
12
  ℹ dist/client.d.mts  0.22 kB │ gzip: 0.18 kB
13
13
  ℹ dist/index.d.mts  0.07 kB │ gzip: 0.08 kB
14
- ℹ dist/index-aXWBaAAu.d.mts 108.11 kB │ gzip: 4.19 kB
15
- ℹ 5 files, total: 146.54 kB
16
- ✔ Build complete in 5050ms
14
+ ℹ dist/index-CLRYWJJP.d.mts 108.25 kB │ gzip: 4.26 kB
15
+ ℹ 5 files, total: 146.68 kB
16
+ ✔ Build complete in 7868ms
package/LICENSE.md CHANGED
@@ -1,17 +1,20 @@
1
1
  The MIT License (MIT)
2
2
  Copyright (c) 2024 - present, Bereket Engida
3
3
 
4
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software
5
- and associated documentation files (the "Software"), to deal in the Software without restriction,
6
- including without limitation the rights to use, copy, modify, merge, publish, distribute,
7
- sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
8
- is furnished to do so, subject to the following conditions:
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
5
+ this software and associated documentation files (the Software), to deal in
6
+ the Software without restriction, including without limitation the rights to
7
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
+ the Software, and to permit persons to whom the Software is furnished to do so,
9
+ subject to the following conditions:
9
10
 
10
- The above copyright notice and this permission notice shall be included in all copies or
11
- substantial portions of the Software.
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
12
13
 
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
14
- BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
15
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
16
- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14
+ THE SOFTWARE IS PROVIDED AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
18
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20
+ DEALINGS IN THE SOFTWARE.
package/dist/client.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as scim } from "./index-aXWBaAAu.mjs";
1
+ import { t as scim } from "./index-CLRYWJJP.mjs";
2
2
 
3
3
  //#region src/client.d.ts
4
4
  declare const scimClient: () => {
@@ -53,6 +53,13 @@ type SCIMOptions = {
53
53
  };
54
54
  //#endregion
55
55
  //#region src/index.d.ts
56
+ declare module "@better-auth/core" {
57
+ interface BetterAuthPluginRegistry<Auth, Context> {
58
+ scim: {
59
+ creator: typeof scim;
60
+ };
61
+ }
62
+ }
56
63
  declare const scim: (options?: SCIMOptions) => {
57
64
  id: "scim";
58
65
  endpoints: {
package/dist/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as scim } from "./index-aXWBaAAu.mjs";
1
+ import { t as scim } from "./index-CLRYWJJP.mjs";
2
2
  export { scim };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@better-auth/scim",
3
3
  "author": "Jonathan Samines",
4
- "version": "1.5.0-beta.2",
4
+ "version": "1.5.0-beta.3",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
7
7
  "types": "dist/index.d.mts",
@@ -43,16 +43,18 @@
43
43
  }
44
44
  },
45
45
  "dependencies": {
46
- "better-call": "1.1.7",
47
46
  "@better-auth/utils": "0.3.0",
47
+ "better-call": "1.1.8",
48
48
  "zod": "^4.1.5"
49
49
  },
50
50
  "devDependencies": {
51
51
  "tsdown": "^0.17.2",
52
- "@better-auth/sso": "1.5.0-beta.2"
52
+ "@better-auth/core": "1.5.0-beta.3",
53
+ "@better-auth/sso": "1.5.0-beta.3"
53
54
  },
54
55
  "peerDependencies": {
55
- "better-auth": "1.5.0-beta.2"
56
+ "@better-auth/core": "1.5.0-beta.3",
57
+ "better-auth": "1.5.0-beta.3"
56
58
  },
57
59
  "scripts": {
58
60
  "test": "vitest",
package/src/index.ts CHANGED
@@ -16,6 +16,15 @@ import {
16
16
  } from "./routes";
17
17
  import type { SCIMOptions } from "./types";
18
18
 
19
+ declare module "@better-auth/core" {
20
+ // biome-ignore lint/correctness/noUnusedVariables: Auth and Context need to be same as declared in the module
21
+ interface BetterAuthPluginRegistry<Auth, Context> {
22
+ scim: {
23
+ creator: typeof scim;
24
+ };
25
+ }
26
+ }
27
+
19
28
  export const scim = (options?: SCIMOptions) => {
20
29
  const opts = {
21
30
  storeSCIMToken: "plain",
package/tsconfig.json CHANGED
@@ -3,6 +3,9 @@
3
3
  "references": [
4
4
  {
5
5
  "path": "../better-auth/tsconfig.json"
6
+ },
7
+ {
8
+ "path": "../core/tsconfig.json"
6
9
  }
7
10
  ]
8
11
  }