@authhero/kysely-adapter 0.24.2 → 0.24.4

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.
@@ -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>;
@@ -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.2",
14
+ "version": "0.24.4",
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.29.0"
44
+ "@authhero/adapter-interfaces": "^0.30.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@hono/zod-openapi": "^0.16.4",