authhero 8.16.0 → 8.17.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.
Files changed (36) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +100 -100
  3. package/dist/authhero.d.ts +132 -130
  4. package/dist/authhero.mjs +9256 -9203
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +5 -5
  7. package/dist/types/helpers/logging.d.ts +11 -0
  8. package/dist/types/index.d.ts +132 -130
  9. package/dist/types/routes/auth-api/authorize.d.ts +14 -14
  10. package/dist/types/routes/auth-api/index.d.ts +51 -51
  11. package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
  12. package/dist/types/routes/auth-api/passwordless.d.ts +2 -2
  13. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  14. package/dist/types/routes/management-api/actions.d.ts +1 -1
  15. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  16. package/dist/types/routes/management-api/branding.d.ts +7 -7
  17. package/dist/types/routes/management-api/clients.d.ts +6 -6
  18. package/dist/types/routes/management-api/connections.d.ts +16 -16
  19. package/dist/types/routes/management-api/failed-events.d.ts +3 -1
  20. package/dist/types/routes/management-api/forms.d.ts +126 -126
  21. package/dist/types/routes/management-api/index.d.ts +181 -179
  22. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  23. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  24. package/dist/types/routes/management-api/organizations.d.ts +3 -3
  25. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  26. package/dist/types/routes/management-api/tenants.d.ts +34 -34
  27. package/dist/types/routes/management-api/themes.d.ts +3 -3
  28. package/dist/types/routes/universal-login/common.d.ts +8 -8
  29. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  30. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  31. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  32. package/dist/types/routes/universal-login/index.d.ts +6 -6
  33. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  34. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  35. package/dist/types/utils/username-password-provider.d.ts +1 -10
  36. package/package.json +5 -5
@@ -25,15 +25,7 @@ import { EnrichedClient } from "../helpers/client";
25
25
  */
26
26
  declare const LEGACY_PROVIDER = "auth2";
27
27
  declare const TARGET_PROVIDER = "auth0";
28
- /**
29
- * True when a connection's `strategy` field marks it as a native database
30
- * (username/password) connection. Legacy tenants persist the provider
31
- * literal ("auth2") in the strategy field instead of the canonical Auth0
32
- * strategy name, and either provider literal must never leak into new
33
- * user rows as the provider — write sites go through
34
- * {@link resolveUsernamePasswordProvider} instead.
35
- */
36
- export declare function isDatabaseConnectionStrategy(strategy: string | undefined | null): boolean;
28
+ export { isDatabaseConnectionStrategy } from "@authhero/adapter-interfaces";
37
29
  export type UsernamePasswordProviderValue = typeof LEGACY_PROVIDER | typeof TARGET_PROVIDER;
38
30
  /**
39
31
  * Both native database provider values, legacy first — for read sites
@@ -78,4 +70,3 @@ export declare function getOrCreateUsernamePasswordUser(ctx: Context<{
78
70
  connection: string;
79
71
  ip?: string;
80
72
  }): Promise<User>;
81
- export {};
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "8.16.0",
14
+ "version": "8.17.1",
15
15
  "files": [
16
16
  "dist"
17
17
  ],
@@ -63,8 +63,8 @@
63
63
  "vite": "^8.0.14",
64
64
  "vite-plugin-dts": "^4.5.4",
65
65
  "vitest": "^4.1.7",
66
- "@authhero/kysely-adapter": "11.13.1",
67
- "@authhero/widget": "0.34.7"
66
+ "@authhero/widget": "0.34.8",
67
+ "@authhero/kysely-adapter": "11.14.0"
68
68
  },
69
69
  "dependencies": {
70
70
  "@peculiar/x509": "^1.14.0",
@@ -82,8 +82,8 @@
82
82
  "qrcode": "^1.5.4",
83
83
  "sanitize-html": "^2.17.4",
84
84
  "xstate": "^5.31.1",
85
- "@authhero/adapter-interfaces": "3.7.0",
86
- "@authhero/proxy": "0.8.3",
85
+ "@authhero/adapter-interfaces": "3.8.0",
86
+ "@authhero/proxy": "0.8.4",
87
87
  "@authhero/saml": "0.4.2"
88
88
  },
89
89
  "peerDependencies": {