faire-auth 1.0.3 → 1.0.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.
Files changed (76) hide show
  1. package/dist/adapters/drizzle-adapter/index.d.cts +1 -1
  2. package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
  3. package/dist/adapters/index.d.cts +1 -1
  4. package/dist/adapters/index.d.mts +1 -1
  5. package/dist/adapters/kysely-adapter/index.d.cts +1 -1
  6. package/dist/adapters/kysely-adapter/index.d.mts +1 -1
  7. package/dist/adapters/memory-adapter/index.d.cts +3 -3
  8. package/dist/adapters/memory-adapter/index.d.mts +3 -3
  9. package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
  10. package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
  11. package/dist/adapters/prisma-adapter/index.d.cts +1 -1
  12. package/dist/adapters/prisma-adapter/index.d.mts +1 -1
  13. package/dist/adapters/test.d.cts +1 -1
  14. package/dist/adapters/test.d.mts +1 -1
  15. package/dist/api/index.d.cts +1 -1
  16. package/dist/api/index.d.mts +1 -1
  17. package/dist/api/middleware/index.d.cts +3 -3
  18. package/dist/api/middleware/index.d.mts +3 -3
  19. package/dist/client/index.d.cts +1 -1
  20. package/dist/client/index.d.mts +1 -1
  21. package/dist/client/lynx/index.d.cts +1 -1
  22. package/dist/client/lynx/index.d.mts +26 -26
  23. package/dist/client/plugins/index.d.cts +1 -1
  24. package/dist/client/plugins/index.d.mts +1 -1
  25. package/dist/client/react/index.d.cts +26 -26
  26. package/dist/client/react/index.d.mts +26 -26
  27. package/dist/client/solid/index.d.cts +1 -1
  28. package/dist/client/solid/index.d.mts +5 -5
  29. package/dist/client/svelte/index.d.cts +26 -26
  30. package/dist/client/svelte/index.d.mts +26 -26
  31. package/dist/client/vue/index.d.cts +27 -27
  32. package/dist/client/vue/index.d.mts +27 -27
  33. package/dist/crypto/index.d.cts +2 -2
  34. package/dist/crypto/index.d.mts +2 -2
  35. package/dist/db/index.d.cts +1 -1
  36. package/dist/db/index.d.mts +1 -1
  37. package/dist/{index-Baarsq5J.d.mts → index--DLiUhEn.d.mts} +6 -6
  38. package/dist/{index-BCTFWP_o.d.mts → index-B4bqEDYG.d.mts} +1 -1
  39. package/dist/{index-f-5OJ9yV.d.cts → index-Boa0SV4h.d.cts} +300 -300
  40. package/dist/{index-rFv8Hxld.d.mts → index-Bykgiq3o.d.cts} +638 -638
  41. package/dist/{index-ztVZPQdV.d.mts → index-ClFGA8tb.d.mts} +6 -6
  42. package/dist/{index-By364WbF.d.cts → index-ClOM0wFf.d.cts} +15 -15
  43. package/dist/{index-CzidsAyA.d.mts → index-CsxNfGAV.d.mts} +354 -354
  44. package/dist/{index-BzWwMgxr.d.cts → index-DKnO_Zfm.d.cts} +9 -9
  45. package/dist/{index-CJD2yB-W.d.cts → index-DRYO4mGd.d.cts} +6 -6
  46. package/dist/{index-DvW-GCcI.d.cts → index-Dsua4U8w.d.cts} +6 -6
  47. package/dist/{index-CsWF3f7U.d.cts → index-DxXFCG2_.d.mts} +378 -378
  48. package/dist/{index-BVRfQy6L.d.mts → index-gtCVvDvC.d.mts} +15 -15
  49. package/dist/index.cjs +1 -1
  50. package/dist/index.d.cts +1 -1
  51. package/dist/index.d.mts +1 -1
  52. package/dist/index.mjs +1 -1
  53. package/dist/integrations/next-js.d.cts +1 -1
  54. package/dist/integrations/next-js.d.mts +5 -5
  55. package/dist/integrations/node.d.cts +1 -1
  56. package/dist/integrations/node.d.mts +1 -1
  57. package/dist/integrations/react-start.d.cts +5 -5
  58. package/dist/integrations/react-start.d.mts +5 -5
  59. package/dist/integrations/svelte-kit.d.cts +5 -5
  60. package/dist/integrations/svelte-kit.d.mts +5 -5
  61. package/dist/oauth2/index.d.cts +1 -1
  62. package/dist/oauth2/index.d.mts +1 -1
  63. package/dist/plugins/bearer/index.d.cts +2 -2
  64. package/dist/plugins/bearer/index.d.mts +2 -2
  65. package/dist/plugins/index.d.cts +348 -348
  66. package/dist/plugins/index.d.mts +181 -181
  67. package/dist/plugins/passkey/index.d.cts +2 -2
  68. package/dist/plugins/passkey/index.d.mts +2 -2
  69. package/dist/test-utils/index.cjs +1 -1
  70. package/dist/test-utils/index.d.cts +743 -743
  71. package/dist/test-utils/index.mjs +1 -1
  72. package/dist/types/index.d.cts +1 -1
  73. package/dist/types/index.d.mts +1 -1
  74. package/dist/utils/cookies.d.cts +1 -1
  75. package/dist/utils/cookies.d.mts +1 -1
  76. package/package.json +2 -2
@@ -1,10 +1,10 @@
1
- import { tn as AuthEndpoint, vt as InferOptionSchema } from "./index-rFv8Hxld.mjs";
1
+ import { tn as AuthEndpoint, vt as InferOptionSchema } from "./index-CsxNfGAV.mjs";
2
2
  import { t as ContextVars } from "./hono-D0VqxVy1.mjs";
3
- import * as hono25 from "hono";
3
+ import * as hono55 from "hono";
4
4
  import * as z$1 from "zod";
5
5
  import * as _faire_auth_core_db7 from "@faire-auth/core/db";
6
6
  import { AuthenticationResponseJSON, CredentialDeviceType } from "@simplewebauthn/server";
7
- import * as _faire_auth_core_types13 from "@faire-auth/core/types";
7
+ import * as _faire_auth_core_types43 from "@faire-auth/core/types";
8
8
 
9
9
  //#region src/plugins/passkey/index.d.ts
10
10
  interface PasskeyOptions {
@@ -185,16 +185,16 @@ declare const passkey: (options?: PasskeyOptions) => {
185
185
  path: "/passkey/generate-register-options";
186
186
  method: "get";
187
187
  client: false;
188
- middleware: [(ctx: hono25.Context<ContextVars<{
188
+ middleware: [(ctx: hono55.Context<ContextVars<{
189
189
  session: {
190
190
  session: _faire_auth_core_db7.Session;
191
191
  user: _faire_auth_core_db7.User;
192
192
  };
193
- }>, string, {}>, next: hono25.Next) => Promise<void | (Response & hono25.TypedResponse<{
193
+ }>, string, {}>, next: hono55.Next) => Promise<void | (Response & hono55.TypedResponse<{
194
194
  success: false;
195
195
  code?: string | undefined;
196
196
  message?: string | undefined;
197
- }, 401>) | _faire_auth_core_types13.JSONRespondReturn<{
197
+ }, 401>) | _faire_auth_core_types43.JSONRespondReturn<{
198
198
  success: false;
199
199
  code?: string | undefined;
200
200
  message?: string | undefined;
@@ -382,16 +382,16 @@ declare const passkey: (options?: PasskeyOptions) => {
382
382
  operationId: "verifyPasskeyRegistration";
383
383
  path: "/passkey/verify-registration";
384
384
  method: "post";
385
- middleware: [(ctx: hono25.Context<ContextVars<{
385
+ middleware: [(ctx: hono55.Context<ContextVars<{
386
386
  session: {
387
387
  session: _faire_auth_core_db7.Session;
388
388
  user: _faire_auth_core_db7.User;
389
389
  };
390
- }>, string, {}>, next: hono25.Next) => Promise<void | (Response & hono25.TypedResponse<{
390
+ }>, string, {}>, next: hono55.Next) => Promise<void | (Response & hono55.TypedResponse<{
391
391
  success: false;
392
392
  code?: string | undefined;
393
393
  message?: string | undefined;
394
- }, 401>) | _faire_auth_core_types13.JSONRespondReturn<{
394
+ }, 401>) | _faire_auth_core_types43.JSONRespondReturn<{
395
395
  success: false;
396
396
  code?: string | undefined;
397
397
  message?: string | undefined;
@@ -602,7 +602,7 @@ declare const passkey: (options?: PasskeyOptions) => {
602
602
  operationId: "listPasskeys";
603
603
  path: "/passkey/list-user-passkeys";
604
604
  method: "get";
605
- middleware: [(ctx: hono25.Context<ContextVars<object & {
605
+ middleware: [(ctx: hono55.Context<ContextVars<object & {
606
606
  session: {
607
607
  session: {
608
608
  [x: string]: unknown;
@@ -626,7 +626,7 @@ declare const passkey: (options?: PasskeyOptions) => {
626
626
  image?: string | null;
627
627
  };
628
628
  };
629
- }>, string, {}>, next: hono25.Next) => Promise<void | (Response & hono25.TypedResponse<{
629
+ }>, string, {}>, next: hono55.Next) => Promise<void | (Response & hono55.TypedResponse<{
630
630
  success: false;
631
631
  code?: string | undefined;
632
632
  message?: string | undefined;
@@ -678,7 +678,7 @@ declare const passkey: (options?: PasskeyOptions) => {
678
678
  operationId: "deletePasskey";
679
679
  path: "/passkey/delete-passkey";
680
680
  method: "post";
681
- middleware: [(ctx: hono25.Context<ContextVars<object & {
681
+ middleware: [(ctx: hono55.Context<ContextVars<object & {
682
682
  session: {
683
683
  session: {
684
684
  [x: string]: unknown;
@@ -702,7 +702,7 @@ declare const passkey: (options?: PasskeyOptions) => {
702
702
  image?: string | null;
703
703
  };
704
704
  };
705
- }>, string, {}>, next: hono25.Next) => Promise<void | (Response & hono25.TypedResponse<{
705
+ }>, string, {}>, next: hono55.Next) => Promise<void | (Response & hono55.TypedResponse<{
706
706
  success: false;
707
707
  code?: string | undefined;
708
708
  message?: string | undefined;
@@ -832,7 +832,7 @@ declare const passkey: (options?: PasskeyOptions) => {
832
832
  operationId: "updatePasskey";
833
833
  path: "/passkey/update-passkey";
834
834
  method: "post";
835
- middleware: [(ctx: hono25.Context<ContextVars<object & {
835
+ middleware: [(ctx: hono55.Context<ContextVars<object & {
836
836
  session: {
837
837
  session: {
838
838
  [x: string]: unknown;
@@ -856,7 +856,7 @@ declare const passkey: (options?: PasskeyOptions) => {
856
856
  image?: string | null;
857
857
  };
858
858
  };
859
- }>, string, {}>, next: hono25.Next) => Promise<void | (Response & hono25.TypedResponse<{
859
+ }>, string, {}>, next: hono55.Next) => Promise<void | (Response & hono55.TypedResponse<{
860
860
  success: false;
861
861
  code?: string | undefined;
862
862
  message?: string | undefined;
package/dist/index.cjs CHANGED
@@ -697,7 +697,7 @@ const faireAuth = (options) => {
697
697
  return {
698
698
  handler: (request, Env, executionCtx) => {
699
699
  const cfCtx = getCloudflareContext();
700
- return app.fetch(request, Object.assign(__faire_auth_core_env.ENV, cfCtx?.env, Env), executionCtx ?? cfCtx?.ctx);
700
+ return app.fetch(request, Env ?? cfCtx?.env ?? __faire_auth_core_env.ENV, executionCtx ?? cfCtx?.ctx);
701
701
  },
702
702
  app,
703
703
  api,
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as Client, A as logger, C as InternalLogger, Ct as InferPluginRateLimit, D as createLogger, E as Logger, F as DTO, H as InferApp, I as FaireAuthOptions, L as FaireAuthRateLimitOptions, M as generateState, N as parseState, O as generateId, P as CustomRules, Q as CamelCase, R as Hooks, S as ENV, St as InferPluginMiddleware, T as LogLevel, U as InferClient, V as InferAPI, Z as AtomListener, _ as MissingDependencyError, _t as FaireAuthPlugin, a as InferPluginTypes, an as AuthContext, at as InferAdditionalAsClient, b as createTelemetry, bt as InferPluginErrorCodes, c as Models, cn as Adapter, ct as InferPluginsFromClient, d as WithJsDoc, dn as DBAdapter, dt as IsSignal, et as ClientOptions, f as defineOptions, fn as DBAdapterInstance, ft as RevalidateOptions, g as FaireAuthError, gn as Where, gt as AuthPluginSchema, h as APIError, hn as TransactionAdapter, i as AdditionalUserFieldsOutput, it as InferActions, j as mergeHeaders, k as generateRandomString, l as RateLimit, ln as AdapterInstance, lt as InferSessionFromClient, mn as DBTransactionAdapter, mt as Store, n as AdditionalSessionFieldsOutput, nn as AuthFactory, nt as FaireAuthClientPlugin, o as InferSession, on as init, ot as InferAdditionalFromClient, p as faireAuth, pn as DBAdapterSchemaCreation, pt as SessionQueryParams, r as AdditionalUserFieldsInput, rn as AuthProperties, rt as Inc, s as InferUser, sn as getCurrentAdapter, st as InferErrorCodes, t as AdditionalSessionFieldsInput, tn as AuthEndpoint, tt as CreateSchemaType, u as Auth, un as AdapterSchemaCreation, ut as InferUserFromClient, v as OpenAPIHono, vt as InferOptionSchema, w as LogHandlerParams, x as TelemetryEvent, xt as InferPluginHooks, y as getTelemetryAuthConfig, yt as InferPluginDTO, z as Middleware } from "./index-CsWF3f7U.cjs";
1
+ import { $ as Client, A as logger, C as InternalLogger, Ct as InferPluginRateLimit, D as createLogger, E as Logger, F as DTO, H as InferApp, I as FaireAuthOptions, L as FaireAuthRateLimitOptions, M as generateState, N as parseState, O as generateId, P as CustomRules, Q as CamelCase, R as Hooks, S as ENV, St as InferPluginMiddleware, T as LogLevel, U as InferClient, V as InferAPI, Z as AtomListener, _ as MissingDependencyError, _t as FaireAuthPlugin, a as InferPluginTypes, an as AuthContext, at as InferAdditionalAsClient, b as createTelemetry, bt as InferPluginErrorCodes, c as Models, cn as Adapter, ct as InferPluginsFromClient, d as WithJsDoc, dn as DBAdapter, dt as IsSignal, et as ClientOptions, f as defineOptions, fn as DBAdapterInstance, ft as RevalidateOptions, g as FaireAuthError, gn as Where, gt as AuthPluginSchema, h as APIError, hn as TransactionAdapter, i as AdditionalUserFieldsOutput, it as InferActions, j as mergeHeaders, k as generateRandomString, l as RateLimit, ln as AdapterInstance, lt as InferSessionFromClient, mn as DBTransactionAdapter, mt as Store, n as AdditionalSessionFieldsOutput, nn as AuthFactory, nt as FaireAuthClientPlugin, o as InferSession, on as init, ot as InferAdditionalFromClient, p as faireAuth, pn as DBAdapterSchemaCreation, pt as SessionQueryParams, r as AdditionalUserFieldsInput, rn as AuthProperties, rt as Inc, s as InferUser, sn as getCurrentAdapter, st as InferErrorCodes, t as AdditionalSessionFieldsInput, tn as AuthEndpoint, tt as CreateSchemaType, u as Auth, un as AdapterSchemaCreation, ut as InferUserFromClient, v as OpenAPIHono, vt as InferOptionSchema, w as LogHandlerParams, x as TelemetryEvent, xt as InferPluginHooks, y as getTelemetryAuthConfig, yt as InferPluginDTO, z as Middleware } from "./index-Boa0SV4h.cjs";
2
2
  import { n as Execute, r as ToExecFull, t as ContextVars } from "./hono-DOM31WQz.cjs";
3
3
  export * from "zod";
4
4
  export * from "zod/v4/core";
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as Client, A as logger, C as InternalLogger, Ct as InferPluginRateLimit, D as createLogger, E as Logger, F as DTO, H as InferApp, I as FaireAuthOptions, L as FaireAuthRateLimitOptions, M as generateState, N as parseState, O as generateId, P as CustomRules, Q as CamelCase, R as Hooks, S as ENV, St as InferPluginMiddleware, T as LogLevel, U as InferClient, V as InferAPI, Z as AtomListener, _ as MissingDependencyError, _t as FaireAuthPlugin, a as InferPluginTypes, an as AuthContext, at as InferAdditionalAsClient, b as createTelemetry, bt as InferPluginErrorCodes, c as Models, cn as Adapter, ct as InferPluginsFromClient, d as WithJsDoc, dn as DBAdapter, dt as IsSignal, et as ClientOptions, f as defineOptions, fn as DBAdapterInstance, ft as RevalidateOptions, g as FaireAuthError, gn as Where, gt as AuthPluginSchema, h as APIError, hn as TransactionAdapter, i as AdditionalUserFieldsOutput, it as InferActions, j as mergeHeaders, k as generateRandomString, l as RateLimit, ln as AdapterInstance, lt as InferSessionFromClient, mn as DBTransactionAdapter, mt as Store, n as AdditionalSessionFieldsOutput, nn as AuthFactory, nt as FaireAuthClientPlugin, o as InferSession, on as init, ot as InferAdditionalFromClient, p as faireAuth, pn as DBAdapterSchemaCreation, pt as SessionQueryParams, r as AdditionalUserFieldsInput, rn as AuthProperties, rt as Inc, s as InferUser, sn as getCurrentAdapter, st as InferErrorCodes, t as AdditionalSessionFieldsInput, tn as AuthEndpoint, tt as CreateSchemaType, u as Auth, un as AdapterSchemaCreation, ut as InferUserFromClient, v as OpenAPIHono, vt as InferOptionSchema, w as LogHandlerParams, x as TelemetryEvent, xt as InferPluginHooks, y as getTelemetryAuthConfig, yt as InferPluginDTO, z as Middleware } from "./index-rFv8Hxld.mjs";
1
+ import { $ as Client, A as logger, C as InternalLogger, Ct as InferPluginRateLimit, D as createLogger, E as Logger, F as DTO, H as InferApp, I as FaireAuthOptions, L as FaireAuthRateLimitOptions, M as generateState, N as parseState, O as generateId, P as CustomRules, Q as CamelCase, R as Hooks, S as ENV, St as InferPluginMiddleware, T as LogLevel, U as InferClient, V as InferAPI, Z as AtomListener, _ as MissingDependencyError, _t as FaireAuthPlugin, a as InferPluginTypes, an as AuthContext, at as InferAdditionalAsClient, b as createTelemetry, bt as InferPluginErrorCodes, c as Models, cn as Adapter, ct as InferPluginsFromClient, d as WithJsDoc, dn as DBAdapter, dt as IsSignal, et as ClientOptions, f as defineOptions, fn as DBAdapterInstance, ft as RevalidateOptions, g as FaireAuthError, gn as Where, gt as AuthPluginSchema, h as APIError, hn as TransactionAdapter, i as AdditionalUserFieldsOutput, it as InferActions, j as mergeHeaders, k as generateRandomString, l as RateLimit, ln as AdapterInstance, lt as InferSessionFromClient, mn as DBTransactionAdapter, mt as Store, n as AdditionalSessionFieldsOutput, nn as AuthFactory, nt as FaireAuthClientPlugin, o as InferSession, on as init, ot as InferAdditionalFromClient, p as faireAuth, pn as DBAdapterSchemaCreation, pt as SessionQueryParams, r as AdditionalUserFieldsInput, rn as AuthProperties, rt as Inc, s as InferUser, sn as getCurrentAdapter, st as InferErrorCodes, t as AdditionalSessionFieldsInput, tn as AuthEndpoint, tt as CreateSchemaType, u as Auth, un as AdapterSchemaCreation, ut as InferUserFromClient, v as OpenAPIHono, vt as InferOptionSchema, w as LogHandlerParams, x as TelemetryEvent, xt as InferPluginHooks, y as getTelemetryAuthConfig, yt as InferPluginDTO, z as Middleware } from "./index-DxXFCG2_.mjs";
2
2
  import { n as Execute, r as ToExecFull, t as ContextVars } from "./hono-D0VqxVy1.mjs";
3
3
  export * from "zod";
4
4
  export * from "zod/v4/core";
package/dist/index.mjs CHANGED
@@ -695,7 +695,7 @@ const faireAuth = (options) => {
695
695
  return {
696
696
  handler: (request, Env, executionCtx) => {
697
697
  const cfCtx = getCloudflareContext();
698
- return app.fetch(request, Object.assign(ENV$1, cfCtx?.env, Env), executionCtx ?? cfCtx?.ctx);
698
+ return app.fetch(request, Env ?? cfCtx?.env ?? ENV$1, executionCtx ?? cfCtx?.ctx);
699
699
  },
700
700
  app,
701
701
  api,
@@ -1,4 +1,4 @@
1
- import "../index-CsWF3f7U.cjs";
1
+ import "../index-Boa0SV4h.cjs";
2
2
  import { t as ContextVars } from "../hono-DOM31WQz.cjs";
3
3
  import * as _faire_auth_core_types31 from "@faire-auth/core/types";
4
4
  import * as hono31 from "hono";
@@ -1,7 +1,7 @@
1
- import "../index-rFv8Hxld.mjs";
1
+ import "../index-DxXFCG2_.mjs";
2
2
  import { t as ContextVars } from "../hono-D0VqxVy1.mjs";
3
- import * as hono0 from "hono";
4
- import * as _faire_auth_core_types0 from "@faire-auth/core/types";
3
+ import * as hono29 from "hono";
4
+ import * as _faire_auth_core_types30 from "@faire-auth/core/types";
5
5
 
6
6
  //#region src/integrations/next-js.d.ts
7
7
  declare function toNextJsHandler(auth: {
@@ -14,8 +14,8 @@ declare const nextCookies: () => {
14
14
  id: "next-cookies";
15
15
  hooks: {
16
16
  after: {
17
- matcher: (_ctx: hono0.Context<ContextVars<any>, any, {}>) => true;
18
- handler: (_authOptions: _faire_auth_core_types0.FaireAuthOptions<any>) => (ctx: hono0.Context<ContextVars<object>, string, {}>) => Promise<void>;
17
+ matcher: (_ctx: hono29.Context<ContextVars<any>, any, {}>) => true;
18
+ handler: (_authOptions: _faire_auth_core_types30.FaireAuthOptions<any>) => (ctx: hono29.Context<ContextVars<object>, string, {}>) => Promise<void>;
19
19
  }[];
20
20
  };
21
21
  };
@@ -1,4 +1,4 @@
1
- import { u as Auth } from "../index-CsWF3f7U.cjs";
1
+ import { u as Auth } from "../index-Boa0SV4h.cjs";
2
2
  import "../hono-DOM31WQz.cjs";
3
3
  import { IncomingHttpHeaders, IncomingMessage, ServerResponse } from "node:http";
4
4
 
@@ -1,4 +1,4 @@
1
- import { u as Auth } from "../index-rFv8Hxld.mjs";
1
+ import { u as Auth } from "../index-DxXFCG2_.mjs";
2
2
  import "../hono-D0VqxVy1.mjs";
3
3
  import { IncomingHttpHeaders, IncomingMessage, ServerResponse } from "node:http";
4
4
 
@@ -1,15 +1,15 @@
1
- import "../index-CsWF3f7U.cjs";
1
+ import "../index-Boa0SV4h.cjs";
2
2
  import { t as ContextVars } from "../hono-DOM31WQz.cjs";
3
- import * as _faire_auth_core_types29 from "@faire-auth/core/types";
4
- import * as hono29 from "hono";
3
+ import * as _faire_auth_core_types0 from "@faire-auth/core/types";
4
+ import * as hono0 from "hono";
5
5
 
6
6
  //#region src/integrations/react-start.d.ts
7
7
  declare const reactStartCookies: () => {
8
8
  id: "react-start-cookies";
9
9
  hooks: {
10
10
  after: {
11
- matcher: (_ctx: hono29.Context<ContextVars<any>, any, {}>) => true;
12
- handler: (_authOptions: _faire_auth_core_types29.FaireAuthOptions<any>) => (ctx: hono29.Context<ContextVars<object>, string, {}>) => Promise<void>;
11
+ matcher: (_ctx: hono0.Context<ContextVars<any>, any, {}>) => true;
12
+ handler: (_authOptions: _faire_auth_core_types0.FaireAuthOptions<any>) => (ctx: hono0.Context<ContextVars<object>, string, {}>) => Promise<void>;
13
13
  }[];
14
14
  };
15
15
  };
@@ -1,15 +1,15 @@
1
- import "../index-rFv8Hxld.mjs";
1
+ import "../index-DxXFCG2_.mjs";
2
2
  import { t as ContextVars } from "../hono-D0VqxVy1.mjs";
3
- import * as hono19 from "hono";
4
- import * as _faire_auth_core_types10 from "@faire-auth/core/types";
3
+ import * as hono31 from "hono";
4
+ import * as _faire_auth_core_types31 from "@faire-auth/core/types";
5
5
 
6
6
  //#region src/integrations/react-start.d.ts
7
7
  declare const reactStartCookies: () => {
8
8
  id: "react-start-cookies";
9
9
  hooks: {
10
10
  after: {
11
- matcher: (_ctx: hono19.Context<ContextVars<any>, any, {}>) => true;
12
- handler: (_authOptions: _faire_auth_core_types10.FaireAuthOptions<any>) => (ctx: hono19.Context<ContextVars<object>, string, {}>) => Promise<void>;
11
+ matcher: (_ctx: hono31.Context<ContextVars<any>, any, {}>) => true;
12
+ handler: (_authOptions: _faire_auth_core_types31.FaireAuthOptions<any>) => (ctx: hono31.Context<ContextVars<object>, string, {}>) => Promise<void>;
13
13
  }[];
14
14
  };
15
15
  };
@@ -1,7 +1,7 @@
1
- import { I as FaireAuthOptions$1 } from "../index-CsWF3f7U.cjs";
1
+ import { I as FaireAuthOptions$1 } from "../index-Boa0SV4h.cjs";
2
2
  import { t as ContextVars } from "../hono-DOM31WQz.cjs";
3
- import * as _faire_auth_core_types42 from "@faire-auth/core/types";
4
- import * as hono64 from "hono";
3
+ import * as _faire_auth_core_types34 from "@faire-auth/core/types";
4
+ import * as hono39 from "hono";
5
5
  import { RequestEvent } from "@sveltejs/kit";
6
6
 
7
7
  //#region src/integrations/svelte-kit.d.ts
@@ -33,8 +33,8 @@ declare const sveltekitCookies: (getRequestEvent: () => RequestEvent<Record<stri
33
33
  id: "sveltekit-cookies";
34
34
  hooks: {
35
35
  after: {
36
- matcher: (_ctx: hono64.Context<ContextVars<any>, any, {}>) => true;
37
- handler: (_authOptions: _faire_auth_core_types42.FaireAuthOptions<any>) => (ctx: hono64.Context<ContextVars<object>, string, {}>) => Promise<void>;
36
+ matcher: (_ctx: hono39.Context<ContextVars<any>, any, {}>) => true;
37
+ handler: (_authOptions: _faire_auth_core_types34.FaireAuthOptions<any>) => (ctx: hono39.Context<ContextVars<object>, string, {}>) => Promise<void>;
38
38
  }[];
39
39
  };
40
40
  };
@@ -1,7 +1,7 @@
1
- import { I as FaireAuthOptions$1 } from "../index-rFv8Hxld.mjs";
1
+ import { I as FaireAuthOptions$1 } from "../index-DxXFCG2_.mjs";
2
2
  import { t as ContextVars } from "../hono-D0VqxVy1.mjs";
3
- import * as hono17 from "hono";
4
- import * as _faire_auth_core_types9 from "@faire-auth/core/types";
3
+ import * as hono33 from "hono";
4
+ import * as _faire_auth_core_types32 from "@faire-auth/core/types";
5
5
  import { RequestEvent } from "@sveltejs/kit";
6
6
 
7
7
  //#region src/integrations/svelte-kit.d.ts
@@ -33,8 +33,8 @@ declare const sveltekitCookies: (getRequestEvent: () => RequestEvent<Record<stri
33
33
  id: "sveltekit-cookies";
34
34
  hooks: {
35
35
  after: {
36
- matcher: (_ctx: hono17.Context<ContextVars<any>, any, {}>) => true;
37
- handler: (_authOptions: _faire_auth_core_types9.FaireAuthOptions<any>) => (ctx: hono17.Context<ContextVars<object>, string, {}>) => Promise<void>;
36
+ matcher: (_ctx: hono33.Context<ContextVars<any>, any, {}>) => true;
37
+ handler: (_authOptions: _faire_auth_core_types32.FaireAuthOptions<any>) => (ctx: hono33.Context<ContextVars<object>, string, {}>) => Promise<void>;
38
38
  }[];
39
39
  };
40
40
  };
@@ -1,4 +1,4 @@
1
- import { I as FaireAuthOptions$1, M as generateState, N as parseState } from "../index-CsWF3f7U.cjs";
1
+ import { I as FaireAuthOptions$1, M as generateState, N as parseState } from "../index-Boa0SV4h.cjs";
2
2
  import { t as ContextVars } from "../hono-DOM31WQz.cjs";
3
3
  import { ExK } from "@faire-auth/core/types";
4
4
  import { Context, TypedResponse } from "hono";
@@ -1,4 +1,4 @@
1
- import { I as FaireAuthOptions$1, M as generateState, N as parseState } from "../index-rFv8Hxld.mjs";
1
+ import { I as FaireAuthOptions$1, M as generateState, N as parseState } from "../index-DxXFCG2_.mjs";
2
2
  import { t as ContextVars } from "../hono-D0VqxVy1.mjs";
3
3
  import { Context, TypedResponse } from "hono";
4
4
  import { Account, Session, User } from "@faire-auth/core/db";
@@ -1,4 +1,4 @@
1
- import "../../index-CsWF3f7U.cjs";
1
+ import "../../index-Boa0SV4h.cjs";
2
2
  import "../../hono-DOM31WQz.cjs";
3
- import { t as bearer } from "../../index-DvW-GCcI.cjs";
3
+ import { t as bearer } from "../../index-DRYO4mGd.cjs";
4
4
  export { bearer };
@@ -1,4 +1,4 @@
1
- import "../../index-rFv8Hxld.mjs";
1
+ import "../../index-DxXFCG2_.mjs";
2
2
  import "../../hono-D0VqxVy1.mjs";
3
- import { t as bearer } from "../../index-Baarsq5J.mjs";
3
+ import { t as bearer } from "../../index--DLiUhEn.mjs";
4
4
  export { bearer };