@lunora/auth 1.0.0-alpha.17 → 1.0.0-alpha.171

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 (77) hide show
  1. package/LICENSE.md +38 -0
  2. package/README.md +99 -10
  3. package/dist/adapter.d.mts +4 -43
  4. package/dist/adapter.d.ts +4 -43
  5. package/dist/adapter.mjs +1 -48
  6. package/dist/audit.d.mts +142 -0
  7. package/dist/audit.d.ts +142 -0
  8. package/dist/audit.mjs +12 -0
  9. package/dist/email-guard.d.mts +127 -0
  10. package/dist/email-guard.d.ts +127 -0
  11. package/dist/email-guard.mjs +1 -0
  12. package/dist/index.d.mts +902 -155
  13. package/dist/index.d.ts +902 -155
  14. package/dist/index.mjs +1 -12
  15. package/dist/middleware.d.mts +165 -155
  16. package/dist/middleware.d.ts +165 -155
  17. package/dist/middleware.mjs +1 -56
  18. package/dist/packem_shared/AUTH_DO_AUDIT_PATH-D6-Ef3Zz.mjs +1 -0
  19. package/dist/packem_shared/DEFAULT_AUTH_BASE_PATH-DneiLGpv.mjs +1 -0
  20. package/dist/packem_shared/LunoraAuthAdminError-uhKG1MgQ.mjs +1 -0
  21. package/dist/packem_shared/adapter-CG0Yv85f.mjs +2 -0
  22. package/dist/packem_shared/adapter.d-BW_ovHul.d.mts +89 -0
  23. package/dist/packem_shared/adapter.d-BWw-tC_U.d.ts +89 -0
  24. package/dist/packem_shared/auth-do-DoiVT_x7.mjs +1 -0
  25. package/dist/packem_shared/authAuditHook-DPTKdjBe.mjs +1 -0
  26. package/dist/packem_shared/authDoColumnAdditions-UwF3Rl41.mjs +1 -0
  27. package/dist/packem_shared/compileMigrationsSql-DKGrw7Lf.mjs +1 -0
  28. package/dist/packem_shared/create-auth.d-D1CKOFWc.d.mts +142 -0
  29. package/dist/packem_shared/create-auth.d-D1CKOFWc.d.ts +142 -0
  30. package/dist/packem_shared/createAuth-8aUw8v8D.mjs +1 -0
  31. package/dist/packem_shared/createDoAuthWiring-5upQbv-P.mjs +1 -0
  32. package/dist/packem_shared/createLunoraAuthClient-DRcFNwp9.mjs +1 -0
  33. package/dist/packem_shared/createSignUpInvitation-DHZL9fNl.mjs +1 -0
  34. package/dist/packem_shared/emailGateDatabaseHooks-CAygR3iq.mjs +1 -0
  35. package/dist/packem_shared/invite-only.d-CsPJWAwM.d.ts +126 -0
  36. package/dist/packem_shared/invite-only.d-DKyHHkkQ.d.mts +126 -0
  37. package/dist/packem_shared/legacyIssuerCleanupStatements-D9Kf8OD1.mjs +1 -0
  38. package/dist/packem_shared/on-cloudflare-edge-Dx6gFjBO.mjs +1 -0
  39. package/dist/packem_shared/quote-identifier-CGiYFBvY.mjs +1 -0
  40. package/dist/packem_shared/sessionPresets-C867Mlo4.mjs +1 -0
  41. package/dist/packem_shared/sql-store-CYa4HJsO.mjs +1 -0
  42. package/dist/packem_shared/uiConfig-B8pN6pks.mjs +1 -0
  43. package/dist/plugins-client.d.mts +250 -1
  44. package/dist/plugins-client.d.ts +250 -1
  45. package/dist/plugins-client.mjs +1 -2
  46. package/dist/plugins-enterprise-client.d.mts +15 -0
  47. package/dist/plugins-enterprise-client.d.ts +15 -0
  48. package/dist/plugins-enterprise-client.mjs +1 -0
  49. package/dist/plugins-enterprise.d.mts +1670 -0
  50. package/dist/plugins-enterprise.d.ts +1670 -0
  51. package/dist/plugins-enterprise.mjs +1 -0
  52. package/dist/plugins.d.mts +125 -2
  53. package/dist/plugins.d.ts +125 -2
  54. package/dist/plugins.mjs +1 -22
  55. package/dist/schema.d.mts +39 -39
  56. package/dist/schema.d.ts +39 -39
  57. package/dist/schema.mjs +1 -62
  58. package/dist/sql-store.d.mts +28 -28
  59. package/dist/sql-store.d.ts +28 -28
  60. package/dist/sql-store.mjs +1 -184
  61. package/dist/store.d.mts +65 -47
  62. package/dist/store.d.ts +65 -47
  63. package/dist/store.mjs +1 -183
  64. package/dist/turnstile-middleware.d.mts +73 -55
  65. package/dist/turnstile-middleware.d.ts +73 -55
  66. package/dist/turnstile-middleware.mjs +1 -45
  67. package/dist/turnstile.d.mts +42 -59
  68. package/dist/turnstile.d.ts +42 -59
  69. package/dist/turnstile.mjs +1 -61
  70. package/package.json +39 -6
  71. package/dist/packem_shared/DEFAULT_AUTH_BASE_PATH-DjcUWEQl.mjs +0 -11
  72. package/dist/packem_shared/LunoraAuthAdminError-BpVImgEy.mjs +0 -248
  73. package/dist/packem_shared/compileMigrationsSql-B9bj-mJv.mjs +0 -29
  74. package/dist/packem_shared/create-auth.d-Mwhb4gSc.d.mts +0 -128
  75. package/dist/packem_shared/create-auth.d-Mwhb4gSc.d.ts +0 -128
  76. package/dist/packem_shared/createAuth-BVMMllTm.mjs +0 -87
  77. package/dist/packem_shared/sessionPresets-Dwwd74_J.mjs +0 -38
@@ -0,0 +1,15 @@
1
+ import { ssoClient } from '@better-auth/sso/client';
2
+ export type {
3
+ /**
4
+ * Adds `authClient.signIn.sso({ email | domain | providerId })`. Registering the
5
+ * server `sso` plugin without this leaves those actions unavailable and untyped.
6
+ * @experimental
7
+ */
8
+ ssoClient } from '@better-auth/sso/client';
9
+ /**
10
+ * The plugin instance `ssoClient()` returns. Exported so an app can type the array it
11
+ * passes to `createAuthClient` when it assembles plugins conditionally.
12
+ * @experimental
13
+ */
14
+ type SSOClientPlugin = ReturnType<typeof ssoClient>;
15
+ export { SSOClientPlugin };
@@ -0,0 +1,15 @@
1
+ import { ssoClient } from '@better-auth/sso/client';
2
+ export type {
3
+ /**
4
+ * Adds `authClient.signIn.sso({ email | domain | providerId })`. Registering the
5
+ * server `sso` plugin without this leaves those actions unavailable and untyped.
6
+ * @experimental
7
+ */
8
+ ssoClient } from '@better-auth/sso/client';
9
+ /**
10
+ * The plugin instance `ssoClient()` returns. Exported so an app can type the array it
11
+ * passes to `createAuthClient` when it assembles plugins conditionally.
12
+ * @experimental
13
+ */
14
+ type SSOClientPlugin = ReturnType<typeof ssoClient>;
15
+ export { SSOClientPlugin };
@@ -0,0 +1 @@
1
+ import{ssoClient as r}from"@better-auth/sso/client";export{r as ssoClient};