@shivaedev/identity 0.31.0 → 0.31.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.31.1 - 2026-11-10
4
+
5
+ ### Changed
6
+
7
+ - Update `@shivaedev/contract` from 0.43.4 to 0.43.5.
8
+
3
9
  ## 0.31.0 - 2026-11-08
4
10
 
5
11
  ### Changed
@@ -71,7 +71,9 @@ export declare const Sessions: import("@shivaedev/contract/contract.ts").Contrac
71
71
  readonly AuthUnavailable: typeof AuthUnavailable;
72
72
  readonly Forbidden: typeof Forbidden;
73
73
  readonly NotFound: typeof NotFound;
74
- }>>], import("effect/rpc/Rpc").Rpc<"identity.sessions.$changes", Schema.Struct<{
74
+ }>>], import("effect/rpc/Rpc").Rpc<"identity.sessions.revoke", Schema.Struct<{
75
+ id: Schema.String;
76
+ }>, Schema.Void, Schema.Union<readonly (typeof NotFound | typeof Forbidden | typeof AuthUnavailable)[]>, typeof SessionsPermission, never> | import("effect/rpc/Rpc").Rpc<"identity.sessions.$changes", Schema.Struct<{
75
77
  queries: Schema.$Array<Schema.Union<readonly Schema.Struct<{
76
78
  query: Schema.Literal<"list">;
77
79
  payload: Schema.Struct<{
@@ -144,7 +146,5 @@ export declare const Sessions: import("@shivaedev/contract/contract.ts").Contrac
144
146
  "~ClientError": never;
145
147
  error: Schema.Union<readonly [typeof import("@shivaedev/contract/readPolicyErrors.ts").MissingReadPolicy, typeof import("@shivaedev/contract/readPolicyErrors.ts").QueryReadDenied, typeof import("@shivaedev/contract/WebSocketRequired.ts").WebSocketRequired]>;
146
148
  requiredForClient: false;
147
- }), never> | import("effect/rpc/Rpc").Rpc<"identity.sessions.revoke", Schema.Struct<{
148
- id: Schema.String;
149
- }>, Schema.Void, Schema.Union<readonly (typeof NotFound | typeof Forbidden | typeof AuthUnavailable)[]>, typeof SessionsPermission, never>, readonly [], undefined>;
149
+ }), never>, readonly [], undefined>;
150
150
  //# sourceMappingURL=sessions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sessions.d.ts","sourceRoot":"","sources":["../src/sessions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIxC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAI5D,eAAO,MAAM,eAAe;;;;;;;;;;EAM1B,CAAC;AAEH,eAAO,MAAM,aAAa;;;EAAqF,CAAC;AAChH,eAAO,MAAM,gBAAgB;;;;;;EAG3B,CAAC;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;EAA2G,CAAC;AAEpI,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mKAiBY,CAAC"}
1
+ {"version":3,"file":"sessions.d.ts","sourceRoot":"","sources":["../src/sessions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIxC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAI5D,eAAO,MAAM,eAAe;;;;;;;;;;EAM1B,CAAC;AAEH,eAAO,MAAM,aAAa;;;EAAqF,CAAC;AAChH,eAAO,MAAM,gBAAgB;;;;;;EAG3B,CAAC;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;EAA2G,CAAC;AAEpI,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAiBY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shivaedev/identity",
3
- "version": "0.31.0",
3
+ "version": "0.31.1",
4
4
  "description": "Request identity, sessions, transport trust and permission enforcement for Effect RPC servers",
5
5
  "keywords": [
6
6
  "effect"
@@ -48,7 +48,7 @@
48
48
  "dependencies": {
49
49
  "@shivaedev/access": "0.6.2",
50
50
  "@shivaedev/changes": "0.11.1",
51
- "@shivaedev/contract": "0.43.4",
51
+ "@shivaedev/contract": "0.43.5",
52
52
  "@shivaedev/errors": "0.11.0",
53
53
  "@shivaedev/rate-limit": "0.6.9",
54
54
  "@shivaedev/service": "0.9.0",
@@ -58,12 +58,12 @@
58
58
  "@better-auth/oauth-provider": "1.7.14",
59
59
  "@effect/platform-node": "4.1.1",
60
60
  "@effect/sql-pg": "4.1.1",
61
- "@shivaedev/admin": "0.24.1",
62
- "@shivaedev/quality": "0.75.0",
63
- "@shivaedev/server": "0.33.3",
64
- "@shivaedev/test-kits": "0.11.0",
61
+ "@shivaedev/admin": "0.24.2",
62
+ "@shivaedev/quality": "0.76.0",
63
+ "@shivaedev/server": "0.33.4",
64
+ "@shivaedev/test-kits": "0.11.1",
65
65
  "@shivaedev/test-sql": "0.24.8",
66
- "@shivaedev/test-story": "0.46.0",
66
+ "@shivaedev/test-story": "0.46.1",
67
67
  "@types/node": "24.19.2",
68
68
  "better-auth": "1.7.14",
69
69
  "effect": "4.1.1",