@better-auth/scim 1.4.14 → 1.4.16

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.4.14 build /home/runner/work/better-auth/better-auth/packages/scim
2
+ > @better-auth/scim@1.4.16 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
@@ -10,7 +10,7 @@
10
10
  ℹ dist/index.mjs  39.48 kB │ gzip: 8.06 kB
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
- ℹ dist/index.d.mts  0.07 kB │ gzip: 0.08 kB
14
- ℹ dist/index-BGaCP2s8.d.mts 108.38 kB │ gzip: 4.29 kB
15
- ℹ 5 files, total: 148.29 kB
16
- ✔ Build complete in 8051ms
13
+ ℹ dist/index.d.mts  0.18 kB │ gzip: 0.13 kB
14
+ ℹ dist/index-DPfcI61l.d.mts 108.60 kB │ gzip: 4.37 kB
15
+ ℹ 5 files, total: 148.62 kB
16
+ ✔ Build complete in 7664ms
package/dist/client.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as scim } from "./index-BGaCP2s8.mjs";
1
+ import { t as scim } from "./index-DPfcI61l.mjs";
2
2
 
3
3
  //#region src/client.d.ts
4
4
  declare const scimClient: () => {
@@ -11,6 +11,15 @@ interface SCIMProvider {
11
11
  scimToken: string;
12
12
  organizationId?: string;
13
13
  }
14
+ type SCIMName = {
15
+ formatted?: string;
16
+ givenName?: string;
17
+ familyName?: string;
18
+ };
19
+ type SCIMEmail = {
20
+ value?: string;
21
+ primary?: boolean;
22
+ };
14
23
  type SCIMOptions = {
15
24
  /**
16
25
  * Default list of SCIM providers for testing
@@ -3203,4 +3212,4 @@ declare const scim: (options?: SCIMOptions) => {
3203
3212
  options: SCIMOptions | undefined;
3204
3213
  };
3205
3214
  //#endregion
3206
- export { scim as t };
3215
+ export { SCIMProvider as a, SCIMOptions as i, SCIMEmail as n, SCIMName as r, scim as t };
package/dist/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as scim } from "./index-BGaCP2s8.mjs";
2
- export { scim };
1
+ import { a as SCIMProvider, i as SCIMOptions, n as SCIMEmail, r as SCIMName, t as scim } from "./index-DPfcI61l.mjs";
2
+ export { SCIMEmail, SCIMName, SCIMOptions, SCIMProvider, 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.4.14",
4
+ "version": "1.4.16",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
7
7
  "types": "dist/index.d.mts",
@@ -49,10 +49,10 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "tsdown": "^0.17.2",
52
- "@better-auth/sso": "1.4.14"
52
+ "@better-auth/sso": "1.4.16"
53
53
  },
54
54
  "peerDependencies": {
55
- "better-auth": "1.4.14"
55
+ "better-auth": "1.4.16"
56
56
  },
57
57
  "scripts": {
58
58
  "test": "vitest",
package/src/index.ts CHANGED
@@ -63,3 +63,5 @@ export const scim = (options?: SCIMOptions) => {
63
63
  options,
64
64
  } satisfies BetterAuthPlugin;
65
65
  };
66
+
67
+ export * from "./types";