@nekm/sveltekit-armor 0.3.9 → 0.3.10

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.
@@ -75,7 +75,7 @@ export interface ArmorConfig {
75
75
  readonly error?: LoggerFunction;
76
76
  };
77
77
  }
78
- export interface ArmorOpenIdConfig extends Pick<ArmorConfig, "session"> {
78
+ export interface ArmorOpenIdConfig extends Pick<ArmorConfig, "session" | "logger"> {
79
79
  readonly oauth: Pick<ArmorConfig["oauth"], "clientId" | "clientSecret" | "scope" | "audience" | "logoutReturnToParam" | "errorLoginRedirectPath"> & {
80
80
  readonly openIdConfigEndpoint: string;
81
81
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nekm/sveltekit-armor",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "description": "Zero-config OAuth protection for SvelteKit",
5
5
  "license": "MIT",
6
6
  "source": "./src/index.ts",
package/src/contracts.ts CHANGED
@@ -99,7 +99,10 @@ export interface ArmorConfig {
99
99
  };
100
100
  }
101
101
 
102
- export interface ArmorOpenIdConfig extends Pick<ArmorConfig, "session"> {
102
+ export interface ArmorOpenIdConfig extends Pick<
103
+ ArmorConfig,
104
+ "session" | "logger"
105
+ > {
103
106
  readonly oauth: Pick<
104
107
  ArmorConfig["oauth"],
105
108
  | "clientId"