@authhero/kysely-adapter 10.6.0 → 10.7.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.
@@ -764,7 +764,12 @@ declare const ClientSchema: z.ZodObject<{
764
764
  jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
765
765
  discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
766
766
  issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
767
+ provider: z.ZodOptional<z.ZodString>;
768
+ from: z.ZodOptional<z.ZodString>;
769
+ twilio_sid: z.ZodOptional<z.ZodString>;
770
+ twilio_token: z.ZodOptional<z.ZodString>;
767
771
  }, "strip", z.ZodTypeAny, {
772
+ provider?: string | undefined;
768
773
  issuer?: string | undefined;
769
774
  client_secret?: string | undefined;
770
775
  client_id?: string | undefined;
@@ -778,7 +783,11 @@ declare const ClientSchema: z.ZodObject<{
778
783
  userinfo_endpoint?: string | undefined;
779
784
  jwks_uri?: string | undefined;
780
785
  discovery_url?: string | undefined;
786
+ from?: string | undefined;
787
+ twilio_sid?: string | undefined;
788
+ twilio_token?: string | undefined;
781
789
  }, {
790
+ provider?: string | undefined;
782
791
  issuer?: string | undefined;
783
792
  client_secret?: string | undefined;
784
793
  client_id?: string | undefined;
@@ -792,6 +801,9 @@ declare const ClientSchema: z.ZodObject<{
792
801
  userinfo_endpoint?: string | undefined;
793
802
  jwks_uri?: string | undefined;
794
803
  discovery_url?: string | undefined;
804
+ from?: string | undefined;
805
+ twilio_sid?: string | undefined;
806
+ twilio_token?: string | undefined;
795
807
  }>>>;
796
808
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
797
809
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
@@ -802,6 +814,7 @@ declare const ClientSchema: z.ZodObject<{
802
814
  name: string;
803
815
  strategy: string;
804
816
  options?: {
817
+ provider?: string | undefined;
805
818
  issuer?: string | undefined;
806
819
  client_secret?: string | undefined;
807
820
  client_id?: string | undefined;
@@ -815,6 +828,9 @@ declare const ClientSchema: z.ZodObject<{
815
828
  userinfo_endpoint?: string | undefined;
816
829
  jwks_uri?: string | undefined;
817
830
  discovery_url?: string | undefined;
831
+ from?: string | undefined;
832
+ twilio_sid?: string | undefined;
833
+ twilio_token?: string | undefined;
818
834
  } | undefined;
819
835
  id?: string | undefined;
820
836
  response_type?: AuthorizationResponseType | undefined;
@@ -826,6 +842,7 @@ declare const ClientSchema: z.ZodObject<{
826
842
  name: string;
827
843
  strategy: string;
828
844
  options?: {
845
+ provider?: string | undefined;
829
846
  issuer?: string | undefined;
830
847
  client_secret?: string | undefined;
831
848
  client_id?: string | undefined;
@@ -839,6 +856,9 @@ declare const ClientSchema: z.ZodObject<{
839
856
  userinfo_endpoint?: string | undefined;
840
857
  jwks_uri?: string | undefined;
841
858
  discovery_url?: string | undefined;
859
+ from?: string | undefined;
860
+ twilio_sid?: string | undefined;
861
+ twilio_token?: string | undefined;
842
862
  } | undefined;
843
863
  id?: string | undefined;
844
864
  response_type?: AuthorizationResponseType | undefined;
@@ -979,6 +999,7 @@ declare const ClientSchema: z.ZodObject<{
979
999
  name: string;
980
1000
  strategy: string;
981
1001
  options?: {
1002
+ provider?: string | undefined;
982
1003
  issuer?: string | undefined;
983
1004
  client_secret?: string | undefined;
984
1005
  client_id?: string | undefined;
@@ -992,6 +1013,9 @@ declare const ClientSchema: z.ZodObject<{
992
1013
  userinfo_endpoint?: string | undefined;
993
1014
  jwks_uri?: string | undefined;
994
1015
  discovery_url?: string | undefined;
1016
+ from?: string | undefined;
1017
+ twilio_sid?: string | undefined;
1018
+ twilio_token?: string | undefined;
995
1019
  } | undefined;
996
1020
  id?: string | undefined;
997
1021
  response_type?: AuthorizationResponseType | undefined;
@@ -1050,6 +1074,7 @@ declare const ClientSchema: z.ZodObject<{
1050
1074
  name: string;
1051
1075
  strategy: string;
1052
1076
  options?: {
1077
+ provider?: string | undefined;
1053
1078
  issuer?: string | undefined;
1054
1079
  client_secret?: string | undefined;
1055
1080
  client_id?: string | undefined;
@@ -1063,6 +1088,9 @@ declare const ClientSchema: z.ZodObject<{
1063
1088
  userinfo_endpoint?: string | undefined;
1064
1089
  jwks_uri?: string | undefined;
1065
1090
  discovery_url?: string | undefined;
1091
+ from?: string | undefined;
1092
+ twilio_sid?: string | undefined;
1093
+ twilio_token?: string | undefined;
1066
1094
  } | undefined;
1067
1095
  id?: string | undefined;
1068
1096
  response_type?: AuthorizationResponseType | undefined;
@@ -1201,7 +1229,12 @@ declare const connectionInsertSchema: z.ZodObject<{
1201
1229
  jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1202
1230
  discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1203
1231
  issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1232
+ provider: z.ZodOptional<z.ZodString>;
1233
+ from: z.ZodOptional<z.ZodString>;
1234
+ twilio_sid: z.ZodOptional<z.ZodString>;
1235
+ twilio_token: z.ZodOptional<z.ZodString>;
1204
1236
  }, "strip", z.ZodTypeAny, {
1237
+ provider?: string | undefined;
1205
1238
  issuer?: string | undefined;
1206
1239
  client_secret?: string | undefined;
1207
1240
  client_id?: string | undefined;
@@ -1215,7 +1248,11 @@ declare const connectionInsertSchema: z.ZodObject<{
1215
1248
  userinfo_endpoint?: string | undefined;
1216
1249
  jwks_uri?: string | undefined;
1217
1250
  discovery_url?: string | undefined;
1251
+ from?: string | undefined;
1252
+ twilio_sid?: string | undefined;
1253
+ twilio_token?: string | undefined;
1218
1254
  }, {
1255
+ provider?: string | undefined;
1219
1256
  issuer?: string | undefined;
1220
1257
  client_secret?: string | undefined;
1221
1258
  client_id?: string | undefined;
@@ -1229,6 +1266,9 @@ declare const connectionInsertSchema: z.ZodObject<{
1229
1266
  userinfo_endpoint?: string | undefined;
1230
1267
  jwks_uri?: string | undefined;
1231
1268
  discovery_url?: string | undefined;
1269
+ from?: string | undefined;
1270
+ twilio_sid?: string | undefined;
1271
+ twilio_token?: string | undefined;
1232
1272
  }>>>;
1233
1273
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1234
1274
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
@@ -1237,6 +1277,7 @@ declare const connectionInsertSchema: z.ZodObject<{
1237
1277
  name: string;
1238
1278
  strategy: string;
1239
1279
  options?: {
1280
+ provider?: string | undefined;
1240
1281
  issuer?: string | undefined;
1241
1282
  client_secret?: string | undefined;
1242
1283
  client_id?: string | undefined;
@@ -1250,6 +1291,9 @@ declare const connectionInsertSchema: z.ZodObject<{
1250
1291
  userinfo_endpoint?: string | undefined;
1251
1292
  jwks_uri?: string | undefined;
1252
1293
  discovery_url?: string | undefined;
1294
+ from?: string | undefined;
1295
+ twilio_sid?: string | undefined;
1296
+ twilio_token?: string | undefined;
1253
1297
  } | undefined;
1254
1298
  id?: string | undefined;
1255
1299
  response_type?: AuthorizationResponseType | undefined;
@@ -1259,6 +1303,7 @@ declare const connectionInsertSchema: z.ZodObject<{
1259
1303
  name: string;
1260
1304
  strategy: string;
1261
1305
  options?: {
1306
+ provider?: string | undefined;
1262
1307
  issuer?: string | undefined;
1263
1308
  client_secret?: string | undefined;
1264
1309
  client_id?: string | undefined;
@@ -1272,6 +1317,9 @@ declare const connectionInsertSchema: z.ZodObject<{
1272
1317
  userinfo_endpoint?: string | undefined;
1273
1318
  jwks_uri?: string | undefined;
1274
1319
  discovery_url?: string | undefined;
1320
+ from?: string | undefined;
1321
+ twilio_sid?: string | undefined;
1322
+ twilio_token?: string | undefined;
1275
1323
  } | undefined;
1276
1324
  id?: string | undefined;
1277
1325
  response_type?: AuthorizationResponseType | undefined;
@@ -1301,7 +1349,12 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1301
1349
  jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1302
1350
  discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1303
1351
  issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1352
+ provider: z.ZodOptional<z.ZodString>;
1353
+ from: z.ZodOptional<z.ZodString>;
1354
+ twilio_sid: z.ZodOptional<z.ZodString>;
1355
+ twilio_token: z.ZodOptional<z.ZodString>;
1304
1356
  }, "strip", z.ZodTypeAny, {
1357
+ provider?: string | undefined;
1305
1358
  issuer?: string | undefined;
1306
1359
  client_secret?: string | undefined;
1307
1360
  client_id?: string | undefined;
@@ -1315,7 +1368,11 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1315
1368
  userinfo_endpoint?: string | undefined;
1316
1369
  jwks_uri?: string | undefined;
1317
1370
  discovery_url?: string | undefined;
1371
+ from?: string | undefined;
1372
+ twilio_sid?: string | undefined;
1373
+ twilio_token?: string | undefined;
1318
1374
  }, {
1375
+ provider?: string | undefined;
1319
1376
  issuer?: string | undefined;
1320
1377
  client_secret?: string | undefined;
1321
1378
  client_id?: string | undefined;
@@ -1329,6 +1386,9 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1329
1386
  userinfo_endpoint?: string | undefined;
1330
1387
  jwks_uri?: string | undefined;
1331
1388
  discovery_url?: string | undefined;
1389
+ from?: string | undefined;
1390
+ twilio_sid?: string | undefined;
1391
+ twilio_token?: string | undefined;
1332
1392
  }>>>;
1333
1393
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1334
1394
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
@@ -1339,6 +1399,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1339
1399
  name: string;
1340
1400
  strategy: string;
1341
1401
  options?: {
1402
+ provider?: string | undefined;
1342
1403
  issuer?: string | undefined;
1343
1404
  client_secret?: string | undefined;
1344
1405
  client_id?: string | undefined;
@@ -1352,6 +1413,9 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1352
1413
  userinfo_endpoint?: string | undefined;
1353
1414
  jwks_uri?: string | undefined;
1354
1415
  discovery_url?: string | undefined;
1416
+ from?: string | undefined;
1417
+ twilio_sid?: string | undefined;
1418
+ twilio_token?: string | undefined;
1355
1419
  } | undefined;
1356
1420
  id?: string | undefined;
1357
1421
  response_type?: AuthorizationResponseType | undefined;
@@ -1363,6 +1427,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1363
1427
  name: string;
1364
1428
  strategy: string;
1365
1429
  options?: {
1430
+ provider?: string | undefined;
1366
1431
  issuer?: string | undefined;
1367
1432
  client_secret?: string | undefined;
1368
1433
  client_id?: string | undefined;
@@ -1376,6 +1441,9 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1376
1441
  userinfo_endpoint?: string | undefined;
1377
1442
  jwks_uri?: string | undefined;
1378
1443
  discovery_url?: string | undefined;
1444
+ from?: string | undefined;
1445
+ twilio_sid?: string | undefined;
1446
+ twilio_token?: string | undefined;
1379
1447
  } | undefined;
1380
1448
  id?: string | undefined;
1381
1449
  response_type?: AuthorizationResponseType | undefined;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "10.6.0",
14
+ "version": "10.7.1",
15
15
  "files": [
16
16
  "dist"
17
17
  ],
@@ -26,7 +26,7 @@
26
26
  }
27
27
  },
28
28
  "devDependencies": {
29
- "@hono/zod-openapi": "^0.18.0",
29
+ "@hono/zod-openapi": "^0.19.2",
30
30
  "@rollup/plugin-commonjs": "^28.0.1",
31
31
  "@rollup/plugin-node-resolve": "^15.3.0",
32
32
  "@types/node": "^22.9.1",
@@ -38,18 +38,18 @@
38
38
  "typescript": "^5.6.3",
39
39
  "vite": "^5.4.11",
40
40
  "vitest": "^2.1.5",
41
- "@authhero/adapter-interfaces": "0.55.0"
41
+ "@authhero/adapter-interfaces": "0.57.0"
42
42
  },
43
43
  "dependencies": {
44
44
  "kysely": "^0.27.4",
45
45
  "nanoid": "^5.0.8"
46
46
  },
47
47
  "peerDependencies": {
48
- "@hono/zod-openapi": "^0.16.4",
48
+ "@hono/zod-openapi": "^0.19.2",
49
49
  "hono": "^4.6.8",
50
50
  "kysely-bun-sqlite": "^0.3.2",
51
51
  "kysely-planetscale": "^1.5.0",
52
- "@authhero/adapter-interfaces": "0.55.0"
52
+ "@authhero/adapter-interfaces": "0.57.0"
53
53
  },
54
54
  "scripts": {
55
55
  "build": "tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",