@authhero/kysely-adapter 0.24.1 → 0.24.3

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.
@@ -554,8 +554,8 @@ declare enum AuthorizationResponseMode {
554
554
  SAML_POST = "saml_post"
555
555
  }
556
556
  declare enum CodeChallengeMethod {
557
- S265 = "S256",
558
- plain = "plain"
557
+ S256 = "S256",
558
+ Plain = "plain"
559
559
  }
560
560
  declare const brandingSchema: z.ZodObject<{
561
561
  colors: z.ZodOptional<z.ZodObject<{
@@ -1102,6 +1102,7 @@ declare const codeInsertSchema: z.ZodObject<{
1102
1102
  "oauth2_state",
1103
1103
  "ticket"
1104
1104
  ]>;
1105
+ code_verifier: z.ZodOptional<z.ZodString>;
1105
1106
  expires_at: z.ZodString;
1106
1107
  used_at: z.ZodOptional<z.ZodString>;
1107
1108
  user_id: z.ZodOptional<z.ZodString>;
@@ -1112,6 +1113,7 @@ declare const codeInsertSchema: z.ZodObject<{
1112
1113
  expires_at: string;
1113
1114
  user_id?: string | undefined;
1114
1115
  connection_id?: string | undefined;
1116
+ code_verifier?: string | undefined;
1115
1117
  used_at?: string | undefined;
1116
1118
  }, {
1117
1119
  code_id: string;
@@ -1120,6 +1122,7 @@ declare const codeInsertSchema: z.ZodObject<{
1120
1122
  expires_at: string;
1121
1123
  user_id?: string | undefined;
1122
1124
  connection_id?: string | undefined;
1125
+ code_verifier?: string | undefined;
1123
1126
  used_at?: string | undefined;
1124
1127
  }>;
1125
1128
  export type CodeInsert = z.infer<typeof codeInsertSchema>;
@@ -1136,6 +1139,7 @@ declare const codeSchema: z.ZodObject<{
1136
1139
  "oauth2_state",
1137
1140
  "ticket"
1138
1141
  ]>;
1142
+ code_verifier: z.ZodOptional<z.ZodString>;
1139
1143
  expires_at: z.ZodString;
1140
1144
  used_at: z.ZodOptional<z.ZodString>;
1141
1145
  user_id: z.ZodOptional<z.ZodString>;
@@ -1147,6 +1151,7 @@ declare const codeSchema: z.ZodObject<{
1147
1151
  expires_at: string;
1148
1152
  user_id?: string | undefined;
1149
1153
  connection_id?: string | undefined;
1154
+ code_verifier?: string | undefined;
1150
1155
  used_at?: string | undefined;
1151
1156
  }, {
1152
1157
  created_at: string;
@@ -1156,6 +1161,7 @@ declare const codeSchema: z.ZodObject<{
1156
1161
  expires_at: string;
1157
1162
  user_id?: string | undefined;
1158
1163
  connection_id?: string | undefined;
1164
+ code_verifier?: string | undefined;
1159
1165
  used_at?: string | undefined;
1160
1166
  }>;
1161
1167
  export type Code = z.infer<typeof codeSchema>;
@@ -3108,7 +3108,7 @@ const os = i.object({
3108
3108
  updated_at: i.string().transform((t) => t === null ? "" : t),
3109
3109
  ...ds.shape
3110
3110
  });
3111
- var la = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(la || {}), ua = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(ua || {}), ha = /* @__PURE__ */ ((t) => (t.S265 = "S256", t.plain = "plain", t))(ha || {});
3111
+ var la = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(la || {}), ua = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(ua || {}), ha = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(ha || {});
3112
3112
  const ls = i.object({
3113
3113
  client_id: i.string(),
3114
3114
  vendor_id: i.string().optional(),
@@ -3247,6 +3247,9 @@ const fs = i.enum([
3247
3247
  description: "The connection that the code is connected to"
3248
3248
  }),
3249
3249
  code_type: fs,
3250
+ code_verifier: i.string().optional().openapi({
3251
+ description: "The code verifier used in PKCE in outbound flows"
3252
+ }),
3250
3253
  expires_at: i.string(),
3251
3254
  used_at: i.string().optional(),
3252
3255
  user_id: i.string().optional()
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "0.24.1",
14
+ "version": "0.24.3",
15
15
  "files": [
16
16
  "dist"
17
17
  ],
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "kysely": "^0.27.4",
43
43
  "nanoid": "^5.0.8",
44
- "@authhero/adapter-interfaces": "^0.28.0"
44
+ "@authhero/adapter-interfaces": "^0.29.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@hono/zod-openapi": "^0.16.4",