@voltro/plugin-scim 0.87.0 → 0.88.0

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/index.js CHANGED
@@ -3,7 +3,7 @@ import { dataStoreScimStore as h, memoryScimStore as g, scimGroupsTable as _, sc
3
3
  import { Effect as y } from "effect";
4
4
  import { definePlugin as b, pluginInstanceName as x } from "@voltro/protocol";
5
5
  import { checkBearer as S } from "@voltro/protocol/session";
6
- //#region src/index.ts
6
+ // src/index.ts
7
7
  var C = (e, t) => ({
8
8
  status: e,
9
9
  body: JSON.stringify(t),
@@ -157,5 +157,4 @@ var C = (e, t) => ({
157
157
  })
158
158
  });
159
159
  };
160
- //#endregion
161
160
  export { e as SCIM_ERROR_SCHEMA, t as SCIM_GROUP_SCHEMA, n as SCIM_LIST_SCHEMA, r as SCIM_USER_SCHEMA, i as applyScimGroupPatch, a as applyScimPatch, h as dataStoreScimStore, o as fromScimUser, O as handleScim, O as handleScimRequest, g as memoryScimStore, s as parsePagination, c as parseScimFilter, l as resourceTypes, u as scimError, _ as scimGroupsTable, d as scimList, A as scimPlugin, f as scimSchemas, v as scimUsersTable, p as serviceProviderConfig, m as toScimUser };
package/dist/scim.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/scim.ts
1
+ // src/scim.ts
2
2
  var e = "urn:ietf:params:scim:schemas:core:2.0:User", t = "urn:ietf:params:scim:schemas:core:2.0:Group", n = "urn:ietf:params:scim:api:messages:2.0:ListResponse", r = "urn:ietf:params:scim:api:messages:2.0:Error", i = (e) => new Date(e).toISOString(), a = (e, t) => {
3
3
  if (typeof e == "boolean") return e;
4
4
  if (typeof e == "number") return Number.isFinite(e) && e !== 0;
@@ -234,5 +234,4 @@ var e = "urn:ietf:params:scim:schemas:core:2.0:User", t = "urn:ietf:params:scim:
234
234
  location: `${n}/ResourceTypes/Group`
235
235
  }
236
236
  }];
237
- //#endregion
238
237
  export { r as SCIM_ERROR_SCHEMA, t as SCIM_GROUP_SCHEMA, n as SCIM_LIST_SCHEMA, e as SCIM_USER_SCHEMA, m as applyScimGroupPatch, l as applyScimPatch, c as fromScimUser, p as parsePagination, f as parseScimFilter, v as resourceTypes, d as scimError, u as scimList, _ as scimSchemas, h as serviceProviderConfig, s as toScimUser };
package/dist/store.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { tsMs as e } from "@voltro/protocol";
2
2
  import { boolean as t, eq as n, generateId as r, id as i, json as a, queryFor as o, table as s, text as c, timestamp as l } from "@voltro/database";
3
- //#region src/store.ts
3
+ // src/store.ts
4
4
  var u = s("_voltro_scim_users", {
5
5
  id: i({ prefix: "scimuser" }),
6
6
  userName: c(),
@@ -191,5 +191,4 @@ var u = s("_voltro_scim_users", {
191
191
  deleteGroup: async (e) => (await i(d, n("id", e)))[0] ? (await t.delete("_voltro_scim_groups", e), !0) : !1
192
192
  };
193
193
  };
194
- //#endregion
195
194
  export { h as dataStoreScimStore, m as memoryScimStore, d as scimGroupsTable, u as scimUsersTable };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voltro/plugin-scim",
3
- "version": "0.87.0",
3
+ "version": "0.88.0",
4
4
  "description": "SCIM 2.0 provisioning — Users + Groups REST endpoints (/scim/v2) so an enterprise IdP (Okta, Entra, OneLogin) can create/update/deactivate users in your app. Bearer-token gated; the SCIM envelope + filtering handled for you.",
5
5
  "keywords": [
6
6
  "voltro",
@@ -33,11 +33,11 @@
33
33
  "node": ">=24.0.0"
34
34
  },
35
35
  "dependencies": {
36
- "@voltro/database": "0.87.0",
37
- "@voltro/protocol": "0.87.0"
36
+ "@voltro/database": "0.88.0",
37
+ "@voltro/protocol": "0.88.0"
38
38
  },
39
39
  "peerDependencies": {
40
- "effect": "4.0.1"
40
+ "effect": "4.1.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"