@sourceregistry/sveltekit-oidc 1.6.5 → 1.6.6

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.
@@ -248,8 +248,12 @@ export type OIDCInstance<TClaims extends OIDCUserClaims = OIDCUserClaims, TSessi
248
248
  oidc: OIDCHandleLocals<TClaims, TSession>;
249
249
  }>;
250
250
  getMetadata: () => Promise<OIDCDiscoveryDocument>;
251
- getSession: (event: RequestEvent) => Promise<TSession | null>;
252
- getPublicSession: (event: RequestEvent) => Promise<OIDCPublicSession<TClaims> | null>;
251
+ getSession: (event: {
252
+ cookies: RequestEvent['cookies'];
253
+ }) => Promise<TSession | null>;
254
+ getPublicSession: (event: {
255
+ cookies: RequestEvent['cookies'];
256
+ }) => Promise<OIDCPublicSession<TClaims> | null>;
253
257
  getSessionManagementConfig: () => Promise<OIDCSessionManagementConfig>;
254
258
  login: (event: RequestEvent, loginOptions?: OIDCLoginOptions) => Promise<never>;
255
259
  logout: (event: RequestEvent, logoutOptions?: OIDCLogoutOptions) => Promise<never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sourceregistry/sveltekit-oidc",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "description": "OIDC authentication helpers for SvelteKit applications",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {