@access-dlsu/leapify 0.260505.5 → 0.260506.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 (195) hide show
  1. package/dist/app.d.ts +15 -0
  2. package/dist/app.d.ts.map +1 -0
  3. package/dist/auth/auth.d.ts +99 -0
  4. package/dist/auth/auth.d.ts.map +1 -0
  5. package/dist/auth/middleware.d.ts +20 -0
  6. package/dist/auth/middleware.d.ts.map +1 -0
  7. package/dist/auth/types.d.ts +17 -0
  8. package/dist/auth/types.d.ts.map +1 -0
  9. package/dist/bun-sqlite-dialect-na--YwnN-CVHVB5NF.js +160 -0
  10. package/dist/bun-sqlite-dialect-na--YwnN-CVHVB5NF.js.map +1 -0
  11. package/dist/bun-sqlite-dialect-na--YwnN-QDBSQQTR.cjs +162 -0
  12. package/dist/bun-sqlite-dialect-na--YwnN-QDBSQQTR.cjs.map +1 -0
  13. package/dist/chunk-4DPT2KQR.cjs +467 -0
  14. package/dist/chunk-4DPT2KQR.cjs.map +1 -0
  15. package/dist/chunk-57ANXUP7.cjs +6191 -0
  16. package/dist/chunk-57ANXUP7.cjs.map +1 -0
  17. package/dist/chunk-5JKLV7IE.cjs +2962 -0
  18. package/dist/chunk-5JKLV7IE.cjs.map +1 -0
  19. package/dist/{chunk-FLR7TNLN.js → chunk-63CUZGSZ.js} +4 -12
  20. package/dist/chunk-63CUZGSZ.js.map +1 -0
  21. package/dist/chunk-ANNHE3PZ.js +2285 -0
  22. package/dist/chunk-ANNHE3PZ.js.map +1 -0
  23. package/dist/chunk-DPPGYCX3.cjs +72 -0
  24. package/dist/chunk-DPPGYCX3.cjs.map +1 -0
  25. package/dist/chunk-EGRHWZRV.js +3 -0
  26. package/dist/chunk-EGRHWZRV.js.map +1 -0
  27. package/dist/chunk-EIF2O2BG.js +6187 -0
  28. package/dist/chunk-EIF2O2BG.js.map +1 -0
  29. package/dist/chunk-EMMSS5I5.cjs +37 -0
  30. package/dist/chunk-EMMSS5I5.cjs.map +1 -0
  31. package/dist/chunk-FTSMZYD7.js +3025 -0
  32. package/dist/chunk-FTSMZYD7.js.map +1 -0
  33. package/dist/chunk-G3PMV62Z.js +33 -0
  34. package/dist/chunk-G3PMV62Z.js.map +1 -0
  35. package/dist/chunk-GNRL67OU.js +2949 -0
  36. package/dist/chunk-GNRL67OU.js.map +1 -0
  37. package/dist/chunk-HHNEB7YR.js +8 -0
  38. package/dist/chunk-HHNEB7YR.js.map +1 -0
  39. package/dist/chunk-IQEWVHLM.js +889 -0
  40. package/dist/chunk-IQEWVHLM.js.map +1 -0
  41. package/dist/chunk-JPVIXCF5.cjs +10 -0
  42. package/dist/chunk-JPVIXCF5.cjs.map +1 -0
  43. package/dist/chunk-MNEW2V4T.js +447 -0
  44. package/dist/chunk-MNEW2V4T.js.map +1 -0
  45. package/dist/chunk-NKIQRCOM.cjs +4 -0
  46. package/dist/chunk-NKIQRCOM.cjs.map +1 -0
  47. package/dist/chunk-QARF2YFF.cjs +2296 -0
  48. package/dist/chunk-QARF2YFF.cjs.map +1 -0
  49. package/dist/chunk-RFP2X2FA.cjs +903 -0
  50. package/dist/chunk-RFP2X2FA.cjs.map +1 -0
  51. package/dist/chunk-SXBTHGIL.js +7138 -0
  52. package/dist/chunk-SXBTHGIL.js.map +1 -0
  53. package/dist/chunk-UWXYXU7J.cjs +7166 -0
  54. package/dist/chunk-UWXYXU7J.cjs.map +1 -0
  55. package/dist/chunk-XY4KBWXT.cjs +3066 -0
  56. package/dist/chunk-XY4KBWXT.cjs.map +1 -0
  57. package/dist/{chunk-3ZWIJNZG.cjs → chunk-YFJBE3AU.cjs} +4 -12
  58. package/dist/chunk-YFJBE3AU.cjs.map +1 -0
  59. package/dist/chunk-ZYHBHSSO.js +68 -0
  60. package/dist/chunk-ZYHBHSSO.js.map +1 -0
  61. package/dist/client/{index.d.cts → auth.d.ts} +140 -394
  62. package/dist/client/auth.d.ts.map +1 -0
  63. package/dist/client/index.cjs +840 -48
  64. package/dist/client/index.cjs.map +1 -1
  65. package/dist/client/index.d.ts +34 -1134
  66. package/dist/client/index.d.ts.map +1 -0
  67. package/dist/client/index.js +839 -47
  68. package/dist/client/index.js.map +1 -1
  69. package/dist/client/pow.d.ts +28 -0
  70. package/dist/client/pow.d.ts.map +1 -0
  71. package/dist/client/session.d.ts +29 -0
  72. package/dist/client/session.d.ts.map +1 -0
  73. package/dist/client/types.d.ts +25 -23
  74. package/dist/client/types.d.ts.map +1 -0
  75. package/dist/cron/batch-release.d.ts +9 -0
  76. package/dist/cron/batch-release.d.ts.map +1 -0
  77. package/dist/cron/lifecycle-check.d.ts +10 -0
  78. package/dist/cron/lifecycle-check.d.ts.map +1 -0
  79. package/dist/cron/reconcile-slots.d.ts +10 -0
  80. package/dist/cron/reconcile-slots.d.ts.map +1 -0
  81. package/dist/cron/reminder-emails.d.ts +9 -0
  82. package/dist/cron/reminder-emails.d.ts.map +1 -0
  83. package/dist/cron/renew-watches.d.ts +9 -0
  84. package/dist/cron/renew-watches.d.ts.map +1 -0
  85. package/dist/d1-sqlite-dialect-C2B7YsIT-CEUMIZZI.js +122 -0
  86. package/dist/d1-sqlite-dialect-C2B7YsIT-CEUMIZZI.js.map +1 -0
  87. package/dist/d1-sqlite-dialect-C2B7YsIT-JUX3YYMX.cjs +124 -0
  88. package/dist/d1-sqlite-dialect-C2B7YsIT-JUX3YYMX.cjs.map +1 -0
  89. package/dist/db/index.d.ts +7 -0
  90. package/dist/db/index.d.ts.map +1 -0
  91. package/dist/db/migrate.d.ts +23 -0
  92. package/dist/db/migrate.d.ts.map +1 -0
  93. package/dist/db/schema/auth.d.ts +649 -0
  94. package/dist/db/schema/auth.d.ts.map +1 -0
  95. package/dist/db/schema/bookmarks.d.ts +88 -0
  96. package/dist/db/schema/bookmarks.d.ts.map +1 -0
  97. package/dist/db/schema/events.d.ts +539 -0
  98. package/dist/db/schema/events.d.ts.map +1 -0
  99. package/dist/db/schema/faqs.d.ts +154 -0
  100. package/dist/db/schema/faqs.d.ts.map +1 -0
  101. package/dist/db/schema/index.d.ts +8 -0
  102. package/dist/db/schema/index.d.ts.map +1 -0
  103. package/dist/db/schema/site-config.d.ts +64 -0
  104. package/dist/db/schema/site-config.d.ts.map +1 -0
  105. package/dist/db/schema/themes.d.ts +123 -0
  106. package/dist/db/schema/themes.d.ts.map +1 -0
  107. package/dist/{types-lTjxCp88.d.cts → db/schema/users.d.ts} +11 -96
  108. package/dist/db/schema/users.d.ts.map +1 -0
  109. package/dist/dist-DZHA5VYX.cjs +260 -0
  110. package/dist/dist-DZHA5VYX.cjs.map +1 -0
  111. package/dist/dist-RRQUBLLO.js +258 -0
  112. package/dist/dist-RRQUBLLO.js.map +1 -0
  113. package/dist/index.cjs +36987 -781
  114. package/dist/index.cjs.map +1 -1
  115. package/dist/index.d.ts +23 -1818
  116. package/dist/index.d.ts.map +1 -0
  117. package/dist/index.js +36846 -642
  118. package/dist/index.js.map +1 -1
  119. package/dist/kysely-adapter-5ZCECLNV.cjs +27 -0
  120. package/dist/kysely-adapter-5ZCECLNV.cjs.map +1 -0
  121. package/dist/kysely-adapter-6CZEASJQ.js +10 -0
  122. package/dist/kysely-adapter-6CZEASJQ.js.map +1 -0
  123. package/dist/lib/errors.d.ts +15 -0
  124. package/dist/lib/errors.d.ts.map +1 -0
  125. package/dist/lib/middleware/cors.d.ts +3 -0
  126. package/dist/lib/middleware/cors.d.ts.map +1 -0
  127. package/dist/lib/middleware/error-handler.d.ts +3 -0
  128. package/dist/lib/middleware/error-handler.d.ts.map +1 -0
  129. package/dist/lib/middleware/pow-challenge.cjs +7 -7
  130. package/dist/lib/middleware/pow-challenge.d.ts +29 -18
  131. package/dist/lib/middleware/pow-challenge.d.ts.map +1 -0
  132. package/dist/lib/middleware/pow-challenge.js +2 -2
  133. package/dist/lib/middleware/rate-limit.d.ts +48 -0
  134. package/dist/lib/middleware/rate-limit.d.ts.map +1 -0
  135. package/dist/lib/middleware/referer-guard.d.ts +18 -0
  136. package/dist/lib/middleware/referer-guard.d.ts.map +1 -0
  137. package/dist/lib/retry.d.ts +12 -0
  138. package/dist/lib/retry.d.ts.map +1 -0
  139. package/dist/node-sqlite-dialect-HEMUZ4B2.js +160 -0
  140. package/dist/node-sqlite-dialect-HEMUZ4B2.js.map +1 -0
  141. package/dist/node-sqlite-dialect-QUBEEKKU.cjs +162 -0
  142. package/dist/node-sqlite-dialect-QUBEEKKU.cjs.map +1 -0
  143. package/dist/queues/handlers.d.ts +13 -0
  144. package/dist/queues/handlers.d.ts.map +1 -0
  145. package/dist/queues/jobs.d.ts +42 -0
  146. package/dist/queues/jobs.d.ts.map +1 -0
  147. package/dist/routes/events.d.ts +4 -0
  148. package/dist/routes/events.d.ts.map +1 -0
  149. package/dist/routes/faqs.d.ts +4 -0
  150. package/dist/routes/faqs.d.ts.map +1 -0
  151. package/dist/routes/health.d.ts +4 -0
  152. package/dist/routes/health.d.ts.map +1 -0
  153. package/dist/routes/internal/gforms-webhook.d.ts +4 -0
  154. package/dist/routes/internal/gforms-webhook.d.ts.map +1 -0
  155. package/dist/routes/site-config.d.ts +4 -0
  156. package/dist/routes/site-config.d.ts.map +1 -0
  157. package/dist/routes/themes.d.ts +4 -0
  158. package/dist/routes/themes.d.ts.map +1 -0
  159. package/dist/routes/uploads.d.ts +4 -0
  160. package/dist/routes/uploads.d.ts.map +1 -0
  161. package/dist/routes/users.d.ts +4 -0
  162. package/dist/routes/users.d.ts.map +1 -0
  163. package/dist/services/cache.d.ts +22 -0
  164. package/dist/services/cache.d.ts.map +1 -0
  165. package/dist/services/contentful-management.d.ts +53 -0
  166. package/dist/services/contentful-management.d.ts.map +1 -0
  167. package/dist/services/contentful.d.ts +97 -0
  168. package/dist/services/contentful.d.ts.map +1 -0
  169. package/dist/services/email.d.ts +75 -0
  170. package/dist/services/email.d.ts.map +1 -0
  171. package/dist/services/gforms.d.ts +60 -0
  172. package/dist/services/gforms.d.ts.map +1 -0
  173. package/dist/services/resend.d.ts +34 -0
  174. package/dist/services/resend.d.ts.map +1 -0
  175. package/dist/services/ses.d.ts +58 -0
  176. package/dist/services/ses.d.ts.map +1 -0
  177. package/dist/services/slots.d.ts +48 -0
  178. package/dist/services/slots.d.ts.map +1 -0
  179. package/dist/services/snapshot.d.ts +90 -0
  180. package/dist/services/snapshot.d.ts.map +1 -0
  181. package/dist/types.d.ts +66 -0
  182. package/dist/types.d.ts.map +1 -0
  183. package/dist/worker-handler.d.ts +64 -0
  184. package/dist/worker-handler.d.ts.map +1 -0
  185. package/dist/worker.d.ts +36 -0
  186. package/dist/worker.d.ts.map +1 -0
  187. package/dist/worker.js +2195 -2553
  188. package/dist/worker.js.map +1 -1
  189. package/package.json +152 -152
  190. package/dist/chunk-3ZWIJNZG.cjs.map +0 -1
  191. package/dist/chunk-FLR7TNLN.js.map +0 -1
  192. package/dist/client/types.d.cts +0 -192
  193. package/dist/index.d.cts +0 -1879
  194. package/dist/lib/middleware/pow-challenge.d.cts +0 -47
  195. package/dist/types-lTjxCp88.d.ts +0 -208
@@ -1,11 +1,3 @@
1
- import { UserProfile, SiteConfig, LeapEvent, SlotInfo, CreateEventBody, Theme, BookmarkEntry, ToggleBookmarkResult, Faq, CreateFaqBody, SnapshotResult, HealthResponse, RuntimeConfig } from './types.cjs';
2
- export { EventStatus, LeapifyErrorBody, UserRole } from './types.cjs';
3
- import * as nanostores from 'nanostores';
4
- import * as _better_auth_core_oauth2 from '@better-auth/core/oauth2';
5
- import * as _better_fetch_fetch from '@better-fetch/fetch';
6
- import * as better_auth_client from 'better-auth/client';
7
- import * as _better_auth_core from '@better-auth/core';
8
-
9
1
  /**
10
2
  * Better Auth client helper for Leapify API consumers.
11
3
  *
@@ -29,9 +21,33 @@ import * as _better_auth_core from '@better-auth/core';
29
21
  * It uses the 'Bearer' auth type to send the stored session token
30
22
  * in the Authorization header.
31
23
  */
32
- declare function createLeapifyAuthClient(baseUrl: string): {
24
+ export declare function createLeapifyAuthClient(baseUrl: string): {
25
+ refreshToken: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
26
+ providerId: string;
27
+ accountId?: string | undefined;
28
+ userId?: string | undefined;
29
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
30
+ providerId: string;
31
+ accountId?: string | undefined;
32
+ userId?: string | undefined;
33
+ } & {
34
+ fetchOptions?: FetchOptions | undefined;
35
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
36
+ accessToken: string | undefined;
37
+ refreshToken: string;
38
+ accessTokenExpiresAt: Date | undefined;
39
+ refreshTokenExpiresAt: Date | null | undefined;
40
+ scope: string | null | undefined;
41
+ idToken: string | null | undefined;
42
+ providerId: string;
43
+ accountId: string;
44
+ }, {
45
+ code?: string | undefined;
46
+ message?: string | undefined;
47
+ }, FetchOptions["throw"] extends true ? true : false>>;
48
+ } & {
33
49
  signIn: {
34
- social: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
50
+ social: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
35
51
  provider: (string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat";
36
52
  callbackURL?: string | undefined;
37
53
  newUserCallbackURL?: string | undefined;
@@ -55,7 +71,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
55
71
  requestSignUp?: boolean | undefined;
56
72
  loginHint?: string | undefined;
57
73
  additionalData?: Record<string, any> | undefined;
58
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
74
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
59
75
  provider: (string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat";
60
76
  callbackURL?: string | undefined;
61
77
  newUserCallbackURL?: string | undefined;
@@ -81,7 +97,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
81
97
  additionalData?: Record<string, any> | undefined;
82
98
  } & {
83
99
  fetchOptions?: FetchOptions | undefined;
84
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
100
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
85
101
  redirect: boolean;
86
102
  url: string;
87
103
  } | (Omit<{
@@ -98,7 +114,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
98
114
  image?: string | null | undefined | undefined;
99
115
  };
100
116
  }, "user"> & {
101
- user: better_auth_client.StripEmptyObjects<{
117
+ user: import("better-auth").StripEmptyObjects<{
102
118
  id: string;
103
119
  createdAt: Date;
104
120
  updatedAt: Date;
@@ -113,10 +129,10 @@ declare function createLeapifyAuthClient(baseUrl: string): {
113
129
  }, FetchOptions["throw"] extends true ? true : false>>;
114
130
  };
115
131
  } & {
116
- signOut: <FetchOptions extends _better_auth_core.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_client.Prettify<{
132
+ signOut: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
117
133
  query?: Record<string, any> | undefined;
118
134
  fetchOptions?: FetchOptions | undefined;
119
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
135
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
120
136
  success: boolean;
121
137
  }, {
122
138
  code?: string | undefined;
@@ -124,21 +140,21 @@ declare function createLeapifyAuthClient(baseUrl: string): {
124
140
  }, FetchOptions["throw"] extends true ? true : false>>;
125
141
  } & {
126
142
  signUp: {
127
- email: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
143
+ email: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
128
144
  name: string;
129
145
  email: string;
130
146
  password: string;
131
147
  image?: string | undefined;
132
148
  callbackURL?: string | undefined;
133
149
  rememberMe?: boolean | undefined;
134
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
150
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
135
151
  email: string;
136
152
  name: string;
137
153
  password: string;
138
154
  image?: string | undefined;
139
155
  callbackURL?: string | undefined;
140
156
  fetchOptions?: FetchOptions | undefined;
141
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<(Omit<{
157
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<(Omit<{
142
158
  token: null;
143
159
  user: {
144
160
  id: string;
@@ -150,7 +166,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
150
166
  image?: string | null | undefined | undefined;
151
167
  };
152
168
  }, "user"> & {
153
- user: better_auth_client.StripEmptyObjects<{
169
+ user: import("better-auth").StripEmptyObjects<{
154
170
  id: string;
155
171
  createdAt: Date;
156
172
  updatedAt: Date;
@@ -171,7 +187,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
171
187
  image?: string | null | undefined | undefined;
172
188
  };
173
189
  }, "user"> & {
174
- user: better_auth_client.StripEmptyObjects<{
190
+ user: import("better-auth").StripEmptyObjects<{
175
191
  id: string;
176
192
  createdAt: Date;
177
193
  updatedAt: Date;
@@ -187,19 +203,19 @@ declare function createLeapifyAuthClient(baseUrl: string): {
187
203
  };
188
204
  } & {
189
205
  signIn: {
190
- email: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
206
+ email: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
191
207
  email: string;
192
208
  password: string;
193
209
  callbackURL?: string | undefined;
194
210
  rememberMe?: boolean | undefined;
195
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
211
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
196
212
  email: string;
197
213
  password: string;
198
214
  callbackURL?: string | undefined;
199
215
  rememberMe?: boolean | undefined;
200
216
  } & {
201
217
  fetchOptions?: FetchOptions | undefined;
202
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<Omit<{
218
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<Omit<{
203
219
  redirect: boolean;
204
220
  token: string;
205
221
  url?: string | undefined;
@@ -213,7 +229,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
213
229
  image?: string | null | undefined | undefined;
214
230
  };
215
231
  }, "user"> & {
216
- user: better_auth_client.StripEmptyObjects<{
232
+ user: import("better-auth").StripEmptyObjects<{
217
233
  id: string;
218
234
  createdAt: Date;
219
235
  updatedAt: Date;
@@ -228,80 +244,80 @@ declare function createLeapifyAuthClient(baseUrl: string): {
228
244
  }, FetchOptions["throw"] extends true ? true : false>>;
229
245
  };
230
246
  } & {
231
- resetPassword: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
247
+ resetPassword: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
232
248
  newPassword: string;
233
249
  token?: string | undefined;
234
250
  }> & Record<string, any>, Partial<{
235
251
  token?: string | undefined;
236
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
252
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
237
253
  newPassword: string;
238
254
  token?: string | undefined;
239
255
  } & {
240
256
  fetchOptions?: FetchOptions | undefined;
241
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
257
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
242
258
  status: boolean;
243
259
  }, {
244
260
  code?: string | undefined;
245
261
  message?: string | undefined;
246
262
  }, FetchOptions["throw"] extends true ? true : false>>;
247
263
  } & {
248
- verifyEmail: <FetchOptions extends _better_auth_core.ClientFetchOption<never, Partial<{
264
+ verifyEmail: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<{
249
265
  token: string;
250
266
  callbackURL?: string | undefined;
251
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
267
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
252
268
  query: {
253
269
  token: string;
254
270
  callbackURL?: string | undefined;
255
271
  };
256
272
  fetchOptions?: FetchOptions | undefined;
257
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<NonNullable<void | {
273
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<NonNullable<void | {
258
274
  status: boolean;
259
275
  }>, {
260
276
  code?: string | undefined;
261
277
  message?: string | undefined;
262
278
  }, FetchOptions["throw"] extends true ? true : false>>;
263
279
  } & {
264
- sendVerificationEmail: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
280
+ sendVerificationEmail: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
265
281
  email: string;
266
282
  callbackURL?: string | undefined;
267
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
283
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
268
284
  email: string;
269
285
  callbackURL?: string | undefined;
270
286
  } & {
271
287
  fetchOptions?: FetchOptions | undefined;
272
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
288
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
273
289
  status: boolean;
274
290
  }, {
275
291
  code?: string | undefined;
276
292
  message?: string | undefined;
277
293
  }, FetchOptions["throw"] extends true ? true : false>>;
278
294
  } & {
279
- changeEmail: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
295
+ changeEmail: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
280
296
  newEmail: string;
281
297
  callbackURL?: string | undefined;
282
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
298
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
283
299
  newEmail: string;
284
300
  callbackURL?: string | undefined;
285
301
  } & {
286
302
  fetchOptions?: FetchOptions | undefined;
287
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
303
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
288
304
  status: boolean;
289
305
  }, {
290
306
  code?: string | undefined;
291
307
  message?: string | undefined;
292
308
  }, FetchOptions["throw"] extends true ? true : false>>;
293
309
  } & {
294
- changePassword: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
310
+ changePassword: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
295
311
  newPassword: string;
296
312
  currentPassword: string;
297
313
  revokeOtherSessions?: boolean | undefined;
298
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
314
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
299
315
  newPassword: string;
300
316
  currentPassword: string;
301
317
  revokeOtherSessions?: boolean | undefined;
302
318
  } & {
303
319
  fetchOptions?: FetchOptions | undefined;
304
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<Omit<{
320
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<Omit<{
305
321
  token: string | null;
306
322
  user: {
307
323
  id: string;
@@ -321,7 +337,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
321
337
  image?: string | null | undefined;
322
338
  };
323
339
  }, "user"> & {
324
- user: better_auth_client.StripEmptyObjects<{
340
+ user: import("better-auth").StripEmptyObjects<{
325
341
  id: string;
326
342
  createdAt: Date;
327
343
  updatedAt: Date;
@@ -335,9 +351,9 @@ declare function createLeapifyAuthClient(baseUrl: string): {
335
351
  message?: string | undefined;
336
352
  }, FetchOptions["throw"] extends true ? true : false>>;
337
353
  } & {
338
- updateSession: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<Partial<{}>> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_client.Prettify<Partial<{}> & {
354
+ updateSession: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<Partial<{}>> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<Partial<{}> & {
339
355
  fetchOptions?: FetchOptions | undefined;
340
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
356
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
341
357
  session: {
342
358
  id: string;
343
359
  createdAt: Date;
@@ -353,10 +369,10 @@ declare function createLeapifyAuthClient(baseUrl: string): {
353
369
  message?: string | undefined;
354
370
  }, FetchOptions["throw"] extends true ? true : false>>;
355
371
  } & {
356
- updateUser: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<Partial<{}> & {
372
+ updateUser: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<Partial<{}> & {
357
373
  name?: string | undefined;
358
374
  image?: string | undefined | null;
359
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_client.Prettify<better_auth_client.InferUserUpdateCtx<{
375
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<import("better-auth/client").InferUserUpdateCtx<{
360
376
  baseURL: string;
361
377
  fetchOptions: {
362
378
  auth: {
@@ -364,24 +380,24 @@ declare function createLeapifyAuthClient(baseUrl: string): {
364
380
  token: () => string;
365
381
  };
366
382
  };
367
- }, FetchOptions>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
383
+ }, FetchOptions>> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
368
384
  status: boolean;
369
385
  }, {
370
386
  code?: string | undefined;
371
387
  message?: string | undefined;
372
388
  }, FetchOptions["throw"] extends true ? true : false>>;
373
389
  } & {
374
- deleteUser: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
390
+ deleteUser: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
375
391
  callbackURL?: string | undefined;
376
392
  password?: string | undefined;
377
393
  token?: string | undefined;
378
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_client.Prettify<{
394
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
379
395
  callbackURL?: string | undefined;
380
396
  password?: string | undefined;
381
397
  token?: string | undefined;
382
398
  } & {
383
399
  fetchOptions?: FetchOptions | undefined;
384
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
400
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
385
401
  success: boolean;
386
402
  message: string;
387
403
  }, {
@@ -389,15 +405,15 @@ declare function createLeapifyAuthClient(baseUrl: string): {
389
405
  message?: string | undefined;
390
406
  }, FetchOptions["throw"] extends true ? true : false>>;
391
407
  } & {
392
- requestPasswordReset: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
408
+ requestPasswordReset: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
393
409
  email: string;
394
410
  redirectTo?: string | undefined;
395
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
411
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
396
412
  email: string;
397
413
  redirectTo?: string | undefined;
398
414
  } & {
399
415
  fetchOptions?: FetchOptions | undefined;
400
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
416
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
401
417
  status: boolean;
402
418
  message: string;
403
419
  }, {
@@ -406,25 +422,25 @@ declare function createLeapifyAuthClient(baseUrl: string): {
406
422
  }, FetchOptions["throw"] extends true ? true : false>>;
407
423
  } & {
408
424
  resetPassword: {
409
- ":token": <FetchOptions extends _better_auth_core.ClientFetchOption<never, Partial<{
425
+ ":token": <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<{
410
426
  callbackURL: string;
411
427
  }> & Record<string, any>, {
412
428
  token: string;
413
- }>>(data_0: better_auth_client.Prettify<{
429
+ }>>(data_0: import("better-auth").Prettify<{
414
430
  query: {
415
431
  callbackURL: string;
416
432
  };
417
433
  fetchOptions?: FetchOptions | undefined;
418
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<never, {
434
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<never, {
419
435
  code?: string | undefined;
420
436
  message?: string | undefined;
421
437
  }, FetchOptions["throw"] extends true ? true : false>>;
422
438
  };
423
439
  } & {
424
- listSessions: <FetchOptions extends _better_auth_core.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_client.Prettify<{
440
+ listSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
425
441
  query?: Record<string, any> | undefined;
426
442
  fetchOptions?: FetchOptions | undefined;
427
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<better_auth_client.Prettify<{
443
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<import("better-auth").Prettify<{
428
444
  id: string;
429
445
  createdAt: Date;
430
446
  updatedAt: Date;
@@ -438,40 +454,40 @@ declare function createLeapifyAuthClient(baseUrl: string): {
438
454
  message?: string | undefined;
439
455
  }, FetchOptions["throw"] extends true ? true : false>>;
440
456
  } & {
441
- revokeSession: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
457
+ revokeSession: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
442
458
  token: string;
443
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
459
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
444
460
  token: string;
445
461
  } & {
446
462
  fetchOptions?: FetchOptions | undefined;
447
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
463
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
448
464
  status: boolean;
449
465
  }, {
450
466
  code?: string | undefined;
451
467
  message?: string | undefined;
452
468
  }, FetchOptions["throw"] extends true ? true : false>>;
453
469
  } & {
454
- revokeSessions: <FetchOptions extends _better_auth_core.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_client.Prettify<{
470
+ revokeSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
455
471
  query?: Record<string, any> | undefined;
456
472
  fetchOptions?: FetchOptions | undefined;
457
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
473
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
458
474
  status: boolean;
459
475
  }, {
460
476
  code?: string | undefined;
461
477
  message?: string | undefined;
462
478
  }, FetchOptions["throw"] extends true ? true : false>>;
463
479
  } & {
464
- revokeOtherSessions: <FetchOptions extends _better_auth_core.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_client.Prettify<{
480
+ revokeOtherSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
465
481
  query?: Record<string, any> | undefined;
466
482
  fetchOptions?: FetchOptions | undefined;
467
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
483
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
468
484
  status: boolean;
469
485
  }, {
470
486
  code?: string | undefined;
471
487
  message?: string | undefined;
472
488
  }, FetchOptions["throw"] extends true ? true : false>>;
473
489
  } & {
474
- linkSocial: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
490
+ linkSocial: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
475
491
  provider: unknown;
476
492
  callbackURL?: string | undefined;
477
493
  idToken?: {
@@ -486,7 +502,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
486
502
  errorCallbackURL?: string | undefined;
487
503
  disableRedirect?: boolean | undefined;
488
504
  additionalData?: Record<string, any> | undefined;
489
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
505
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
490
506
  provider: unknown;
491
507
  callbackURL?: string | undefined;
492
508
  idToken?: {
@@ -503,7 +519,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
503
519
  additionalData?: Record<string, any> | undefined;
504
520
  } & {
505
521
  fetchOptions?: FetchOptions | undefined;
506
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
522
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
507
523
  url: string;
508
524
  redirect: boolean;
509
525
  }, {
@@ -511,10 +527,10 @@ declare function createLeapifyAuthClient(baseUrl: string): {
511
527
  message?: string | undefined;
512
528
  }, FetchOptions["throw"] extends true ? true : false>>;
513
529
  } & {
514
- listAccounts: <FetchOptions extends _better_auth_core.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_client.Prettify<{
530
+ listAccounts: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
515
531
  query?: Record<string, any> | undefined;
516
532
  fetchOptions?: FetchOptions | undefined;
517
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
533
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
518
534
  scopes: string[];
519
535
  id: string;
520
536
  createdAt: Date;
@@ -528,16 +544,16 @@ declare function createLeapifyAuthClient(baseUrl: string): {
528
544
  }, FetchOptions["throw"] extends true ? true : false>>;
529
545
  } & {
530
546
  deleteUser: {
531
- callback: <FetchOptions extends _better_auth_core.ClientFetchOption<never, Partial<{
547
+ callback: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<{
532
548
  token: string;
533
549
  callbackURL?: string | undefined;
534
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
550
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
535
551
  query: {
536
552
  token: string;
537
553
  callbackURL?: string | undefined;
538
554
  };
539
555
  fetchOptions?: FetchOptions | undefined;
540
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
556
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
541
557
  success: boolean;
542
558
  message: string;
543
559
  }, {
@@ -546,56 +562,32 @@ declare function createLeapifyAuthClient(baseUrl: string): {
546
562
  }, FetchOptions["throw"] extends true ? true : false>>;
547
563
  };
548
564
  } & {
549
- unlinkAccount: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
565
+ unlinkAccount: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
550
566
  providerId: string;
551
567
  accountId?: string | undefined;
552
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
568
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
553
569
  providerId: string;
554
570
  accountId?: string | undefined;
555
571
  } & {
556
572
  fetchOptions?: FetchOptions | undefined;
557
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
573
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
558
574
  status: boolean;
559
575
  }, {
560
576
  code?: string | undefined;
561
577
  message?: string | undefined;
562
578
  }, FetchOptions["throw"] extends true ? true : false>>;
563
579
  } & {
564
- refreshToken: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
565
- providerId: string;
566
- accountId?: string | undefined;
567
- userId?: string | undefined;
568
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
569
- providerId: string;
570
- accountId?: string | undefined;
571
- userId?: string | undefined;
572
- } & {
573
- fetchOptions?: FetchOptions | undefined;
574
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
575
- accessToken: string | undefined;
576
- refreshToken: string;
577
- accessTokenExpiresAt: Date | undefined;
578
- refreshTokenExpiresAt: Date | null | undefined;
579
- scope: string | null | undefined;
580
- idToken: string | null | undefined;
581
- providerId: string;
582
- accountId: string;
583
- }, {
584
- code?: string | undefined;
585
- message?: string | undefined;
586
- }, FetchOptions["throw"] extends true ? true : false>>;
587
- } & {
588
- getAccessToken: <FetchOptions extends _better_auth_core.ClientFetchOption<Partial<{
580
+ getAccessToken: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
589
581
  providerId: string;
590
582
  accountId?: string | undefined;
591
583
  userId?: string | undefined;
592
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_client.Prettify<{
584
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
593
585
  providerId: string;
594
586
  accountId?: string | undefined;
595
587
  userId?: string | undefined;
596
588
  } & {
597
589
  fetchOptions?: FetchOptions | undefined;
598
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
590
+ }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
599
591
  accessToken: string;
600
592
  accessTokenExpiresAt: Date | undefined;
601
593
  scopes: string[];
@@ -605,32 +597,32 @@ declare function createLeapifyAuthClient(baseUrl: string): {
605
597
  message?: string | undefined;
606
598
  }, FetchOptions["throw"] extends true ? true : false>>;
607
599
  } & {
608
- accountInfo: <FetchOptions extends _better_auth_core.ClientFetchOption<never, Partial<{
600
+ accountInfo: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<{
609
601
  accountId?: string | undefined;
610
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_client.Prettify<{
602
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
611
603
  query?: {
612
604
  accountId?: string | undefined;
613
605
  } | undefined;
614
606
  fetchOptions?: FetchOptions | undefined;
615
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
616
- user: _better_auth_core_oauth2.OAuth2UserInfo;
607
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
608
+ user: import("better-auth").OAuth2UserInfo;
617
609
  data: Record<string, any>;
618
610
  }, {
619
611
  code?: string | undefined;
620
612
  message?: string | undefined;
621
613
  }, FetchOptions["throw"] extends true ? true : false>>;
622
614
  } & {
623
- getSession: <FetchOptions extends _better_auth_core.ClientFetchOption<never, Partial<{
615
+ getSession: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<{
624
616
  disableCookieCache?: unknown;
625
617
  disableRefresh?: unknown;
626
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_client.Prettify<{
618
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
627
619
  query?: {
628
620
  disableCookieCache?: unknown;
629
621
  disableRefresh?: unknown;
630
622
  } | undefined;
631
623
  fetchOptions?: FetchOptions | undefined;
632
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
633
- user: better_auth_client.StripEmptyObjects<{
624
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
625
+ user: import("better-auth").StripEmptyObjects<{
634
626
  id: string;
635
627
  createdAt: Date;
636
628
  updatedAt: Date;
@@ -639,7 +631,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
639
631
  name: string;
640
632
  image?: string | null | undefined;
641
633
  }>;
642
- session: better_auth_client.StripEmptyObjects<{
634
+ session: import("better-auth").StripEmptyObjects<{
643
635
  id: string;
644
636
  createdAt: Date;
645
637
  updatedAt: Date;
@@ -654,9 +646,9 @@ declare function createLeapifyAuthClient(baseUrl: string): {
654
646
  message?: string | undefined;
655
647
  }, FetchOptions["throw"] extends true ? true : false>>;
656
648
  } & {
657
- useSession: nanostores.Atom<{
649
+ useSession: import("nanostores").Atom<{
658
650
  data: {
659
- user: better_auth_client.StripEmptyObjects<{
651
+ user: import("better-auth").StripEmptyObjects<{
660
652
  id: string;
661
653
  createdAt: Date;
662
654
  updatedAt: Date;
@@ -665,7 +657,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
665
657
  name: string;
666
658
  image?: string | null | undefined;
667
659
  }>;
668
- session: better_auth_client.StripEmptyObjects<{
660
+ session: import("better-auth").StripEmptyObjects<{
669
661
  id: string;
670
662
  createdAt: Date;
671
663
  updatedAt: Date;
@@ -676,28 +668,28 @@ declare function createLeapifyAuthClient(baseUrl: string): {
676
668
  userAgent?: string | null | undefined;
677
669
  }>;
678
670
  } | null;
679
- error: _better_fetch_fetch.BetterFetchError | null;
671
+ error: import("@better-fetch/fetch").BetterFetchError | null;
680
672
  isPending: boolean;
681
673
  isRefetching: boolean;
682
674
  refetch: (queryParams?: {
683
- query?: better_auth_client.SessionQueryParams;
675
+ query?: import("better-auth").SessionQueryParams;
684
676
  } | undefined) => Promise<void>;
685
677
  }>;
686
- $fetch: _better_fetch_fetch.BetterFetch<{
687
- plugins: (_better_fetch_fetch.BetterFetchPlugin<Record<string, any>> | {
678
+ $fetch: import("@better-fetch/fetch").BetterFetch<{
679
+ plugins: (import("@better-fetch/fetch").BetterFetchPlugin<Record<string, any>> | {
688
680
  id: string;
689
681
  name: string;
690
682
  hooks: {
691
- onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
683
+ onSuccess(context: import("@better-fetch/fetch").SuccessContext<any>): void;
692
684
  };
693
685
  } | {
694
686
  id: string;
695
687
  name: string;
696
688
  hooks: {
697
- onSuccess: ((context: _better_fetch_fetch.SuccessContext<any>) => Promise<void> | void) | undefined;
698
- onError: ((context: _better_fetch_fetch.ErrorContext) => Promise<void> | void) | undefined;
699
- onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
700
- onResponse: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
689
+ onSuccess: ((context: import("@better-fetch/fetch").SuccessContext<any>) => Promise<void> | void) | undefined;
690
+ onError: ((context: import("@better-fetch/fetch").ErrorContext) => Promise<void> | void) | undefined;
691
+ onRequest: (<T extends Record<string, any>>(context: import("@better-fetch/fetch").RequestContext<T>) => Promise<import("@better-fetch/fetch").RequestContext | void> | import("@better-fetch/fetch").RequestContext | void) | undefined;
692
+ onResponse: ((context: import("@better-fetch/fetch").ResponseContext) => Promise<Response | void | import("@better-fetch/fetch").ResponseContext> | Response | import("@better-fetch/fetch").ResponseContext | void) | undefined;
701
693
  };
702
694
  })[];
703
695
  priority?: RequestPriority | undefined;
@@ -717,12 +709,24 @@ declare function createLeapifyAuthClient(baseUrl: string): {
717
709
  referrerPolicy?: ReferrerPolicy | undefined;
718
710
  signal?: (AbortSignal | null) | undefined;
719
711
  window?: null | undefined;
720
- onRetry?: ((response: _better_fetch_fetch.ResponseContext) => Promise<void> | void) | undefined;
712
+ onRetry
713
+ /**
714
+ * Get the current bearer token from storage, or null for guests.
715
+ * Pass this to `createLeapifyClient` as the `getToken` option.
716
+ *
717
+ * @example
718
+ * import { createLeapifyClient } from 'leapify/client'
719
+ * import { createLeapifyAuthClient, getLeapifyToken } from 'leapify/client'
720
+ *
721
+ * const authClient = createLeapifyAuthClient(API_URL)
722
+ * const api = createLeapifyClient(API_URL, () => getLeapifyToken(authClient))
723
+ */
724
+ ?: ((response: import("@better-fetch/fetch").ResponseContext) => Promise<void> | void) | undefined;
721
725
  hookOptions?: {
722
726
  cloneResponse?: boolean;
723
727
  } | undefined;
724
728
  timeout?: number | undefined;
725
- customFetchImpl: _better_fetch_fetch.FetchEsque;
729
+ customFetchImpl: import("@better-fetch/fetch").FetchEsque;
726
730
  baseURL: string;
727
731
  throw?: boolean | undefined;
728
732
  auth?: ({
@@ -742,21 +746,21 @@ declare function createLeapifyAuthClient(baseUrl: string): {
742
746
  params?: any;
743
747
  duplex?: "full" | "half" | undefined;
744
748
  jsonParser: (text: string) => Promise<any> | any;
745
- retry?: _better_fetch_fetch.RetryOptions | undefined;
749
+ retry?: import("@better-fetch/fetch").RetryOptions | undefined;
746
750
  retryAttempt?: number | undefined;
747
- output?: (_better_fetch_fetch.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
748
- errorSchema?: _better_fetch_fetch.StandardSchemaV1 | undefined;
751
+ output?: (import("@better-fetch/fetch").StandardSchemaV1 | typeof Blob | typeof File) | undefined;
752
+ errorSchema?: import("@better-fetch/fetch").StandardSchemaV1 | undefined;
749
753
  disableValidation?: boolean | undefined;
750
754
  disableSignal?: boolean | undefined;
751
755
  }, unknown, unknown, {}>;
752
756
  $store: {
753
757
  notify: (signal?: (Omit<string, "$sessionSignal"> | "$sessionSignal") | undefined) => void;
754
758
  listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
755
- atoms: Record<string, nanostores.WritableAtom<any>>;
759
+ atoms: Record<string, import("nanostores").WritableAtom<any>>;
756
760
  };
757
761
  $Infer: {
758
762
  Session: {
759
- user: better_auth_client.StripEmptyObjects<{
763
+ user: import("better-auth").StripEmptyObjects<{
760
764
  id: string;
761
765
  createdAt: Date;
762
766
  updatedAt: Date;
@@ -765,7 +769,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
765
769
  name: string;
766
770
  image?: string | null | undefined;
767
771
  }>;
768
- session: better_auth_client.StripEmptyObjects<{
772
+ session: import("better-auth").StripEmptyObjects<{
769
773
  id: string;
770
774
  createdAt: Date;
771
775
  updatedAt: Date;
@@ -972,7 +976,7 @@ declare function createLeapifyAuthClient(baseUrl: string): {
972
976
  };
973
977
  };
974
978
  };
975
- type LeapifyAuthClient = ReturnType<typeof createLeapifyAuthClient>;
979
+ export type LeapifyAuthClient = ReturnType<typeof createLeapifyAuthClient>;
976
980
  /**
977
981
  * Sign in with Google via OAuth redirect flow.
978
982
  *
@@ -993,7 +997,7 @@ type LeapifyAuthClient = ReturnType<typeof createLeapifyAuthClient>;
993
997
  * signInWithGoogleRedirect(authClient, '/dashboard')
994
998
  * }
995
999
  */
996
- declare function signInWithGoogleRedirect(authClient: LeapifyAuthClient, callbackURL: string): Promise<void>;
1000
+ export declare function signInWithGoogleRedirect(authClient: LeapifyAuthClient, callbackURL: string): Promise<void>;
997
1001
  /**
998
1002
  * Sync a cookie-based Better Auth session into localStorage.
999
1003
  *
@@ -1013,7 +1017,7 @@ declare function signInWithGoogleRedirect(authClient: LeapifyAuthClient, callbac
1013
1017
  * await syncCookieSessionToStorage(authClient)
1014
1018
  * const user = await initializeSession(API_URL, getToken)
1015
1019
  */
1016
- declare function syncCookieSessionToStorage(authClient: LeapifyAuthClient): Promise<void>;
1020
+ export declare function syncCookieSessionToStorage(authClient: LeapifyAuthClient): Promise<void>;
1017
1021
  /**
1018
1022
  * Get the current bearer token from storage, or null for guests.
1019
1023
  * Pass this to `createLeapifyClient` as the `getToken` option.
@@ -1025,11 +1029,11 @@ declare function syncCookieSessionToStorage(authClient: LeapifyAuthClient): Prom
1025
1029
  * const authClient = createLeapifyAuthClient(API_URL)
1026
1030
  * const api = createLeapifyClient(API_URL, () => getLeapifyToken(authClient))
1027
1031
  */
1028
- declare function getLeapifyToken(authClient?: LeapifyAuthClient): Promise<string | null>;
1032
+ export declare function getLeapifyToken(authClient?: LeapifyAuthClient): Promise<string | null>;
1029
1033
  /**
1030
1034
  * Sign out the current user.
1031
1035
  */
1032
- declare function signOut(authClient: LeapifyAuthClient): Promise<{
1036
+ export declare function signOut(authClient: LeapifyAuthClient): Promise<{
1033
1037
  data: {
1034
1038
  success: boolean;
1035
1039
  };
@@ -1043,262 +1047,4 @@ declare function signOut(authClient: LeapifyAuthClient): Promise<{
1043
1047
  statusText: string;
1044
1048
  };
1045
1049
  }>;
1046
-
1047
- /**
1048
- * Browser-safe Proof-of-Work challenge solver.
1049
- *
1050
- * Solves the SHA-256 PoW challenge served by the leapify backend middleware.
1051
- * After solving, the server sets a signed cookie (1h TTL) so subsequent
1052
- * requests bypass the challenge automatically.
1053
- *
1054
- * Import from 'leapify/client' — no Cloudflare, Drizzle, or Hono deps.
1055
- *
1056
- * @example
1057
- * import { solvePowChallenge } from 'leapify/client'
1058
- *
1059
- * // Call once on app load before any API requests
1060
- * await solvePowChallenge('https://api.leap.yourdomain.com')
1061
- */
1062
- /**
1063
- * Solve the backend's Proof-of-Work challenge if one is active.
1064
- *
1065
- * Probes the given base URL for an HTML challenge page. If detected,
1066
- * brute-forces a SHA-256 nonce (~100-500ms) and submits the solution.
1067
- * The resulting cookie covers all API paths for 1 hour.
1068
- *
1069
- * @param baseUrl - The Leapify Worker URL (e.g. `https://api.leap.yourdomain.com`).
1070
- * If omitted, uses the current page origin (same-origin requests).
1071
- * @returns `true` if a challenge was solved, `false` if no challenge was needed.
1072
- */
1073
- declare function solvePowChallenge(baseUrl?: string): Promise<boolean>;
1074
-
1075
- /**
1076
- * Browser-safe session initialization helper.
1077
- *
1078
- * Solves the PoW challenge (if active), checks for an existing session token,
1079
- * and fetches the user profile. Returns the authenticated user or null.
1080
- *
1081
- * Import from 'leapify/client' — no Cloudflare, Drizzle, or Hono deps.
1082
- *
1083
- * @example
1084
- * import { initializeSession, createLeapifyClient } from 'leapify/client'
1085
- *
1086
- * const user = await initializeSession(
1087
- * 'https://api.leap.yourdomain.com',
1088
- * () => getLeapifyToken(),
1089
- * )
1090
- * if (user) {
1091
- * console.log(`Welcome ${user.name} (${user.role})`)
1092
- * }
1093
- */
1094
-
1095
- /**
1096
- * Initialize a browser session: solve PoW, restore existing token, fetch profile.
1097
- *
1098
- * @param baseUrl - The Leapify Worker URL.
1099
- * @param getToken - Async function returning the current session token, or null.
1100
- * @returns The authenticated user profile, or null if not signed in.
1101
- */
1102
- declare function initializeSession(baseUrl: string, getToken: () => Promise<string | null>): Promise<UserProfile | null>;
1103
-
1104
- /**
1105
- * Leapify browser-safe API client.
1106
- *
1107
- * Import from 'leapify/client' — no Cloudflare, Drizzle, or Hono dependencies.
1108
- *
1109
- * @example
1110
- * import { createLeapifyClient, createLeapifyAuthClient, getLeapifyToken } from 'leapify/client'
1111
- *
1112
- * const authClient = createLeapifyAuthClient(process.env.NEXT_PUBLIC_API_URL!)
1113
- * const api = createLeapifyClient(
1114
- * process.env.NEXT_PUBLIC_API_URL!,
1115
- * () => getLeapifyToken(authClient),
1116
- * )
1117
- *
1118
- * const events = await api.getEvents()
1119
- */
1120
-
1121
- /**
1122
- * Read the runtime config injected by the worker into HTML pages.
1123
- * Returns null if not running in a browser or config not injected.
1124
- */
1125
- declare function getClientConfig(): RuntimeConfig | null;
1126
-
1127
- /**
1128
- * Structured error thrown by all client methods on non-2xx responses.
1129
- *
1130
- * @example
1131
- * import { LeapifyApiError } from 'leapify/client'
1132
- *
1133
- * try {
1134
- * await api.toggleBookmark(eventId)
1135
- * } catch (err) {
1136
- * if (err instanceof LeapifyApiError && err.code === 'UNAUTHORIZED') {
1137
- * // redirect to sign-in
1138
- * }
1139
- * }
1140
- */
1141
- declare class LeapifyApiError extends Error {
1142
- readonly status: number;
1143
- readonly code: string;
1144
- constructor(status: number, code: string, message: string);
1145
- }
1146
- declare const LEAPIFY_ERROR_CODES: {
1147
- readonly UNAUTHORIZED: "UNAUTHORIZED";
1148
- readonly DOMAIN_RESTRICTED: "DOMAIN_RESTRICTED";
1149
- readonly FORBIDDEN: "FORBIDDEN";
1150
- readonly NOT_FOUND: "NOT_FOUND";
1151
- readonly CONFLICT: "CONFLICT";
1152
- readonly TOO_MANY_REQUESTS: "TOO_MANY_REQUESTS";
1153
- readonly SERVICE_UNAVAILABLE: "SERVICE_UNAVAILABLE";
1154
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
1155
- };
1156
- type LeapifyErrorCode = keyof typeof LEAPIFY_ERROR_CODES;
1157
-
1158
- type GetTokenFn = () => Promise<string | null>;
1159
- /**
1160
- * Creates a typed Leapify API client bound to a base URL.
1161
- *
1162
- * @param baseUrl - The deployed Leapify Worker URL (e.g. `https://api.leap.yourdomain.com`).
1163
- * @param getToken - Optional async function that returns a session token string,
1164
- * or null for guest requests. Use `getLeapifyToken()` from this module.
1165
- *
1166
- * @example
1167
- * // lib/api.ts
1168
- * import { createLeapifyClient, getLeapifyToken } from 'leapify/client'
1169
- *
1170
- * export const api = createLeapifyClient(
1171
- * process.env.NEXT_PUBLIC_API_URL!,
1172
- * () => getLeapifyToken(),
1173
- * )
1174
- */
1175
- declare function createLeapifyClient(baseUrl: string, getToken?: GetTokenFn): {
1176
- /**
1177
- * GET /config
1178
- * Returns site-wide configuration. Check `maintenanceMode` and
1179
- * `comingSoonUntil` on app load to gate the UI appropriately.
1180
- * Use `now` (server unix epoch) for timestamp comparisons.
1181
- */
1182
- getConfig(): Promise<SiteConfig>;
1183
- /**
1184
- * PATCH /config/:key — admin only.
1185
- * Upserts a site config value. Requires admin or super_admin role.
1186
- */
1187
- updateConfig<K extends string>(key: K, value: unknown): Promise<{
1188
- key: K;
1189
- value: unknown;
1190
- }>;
1191
- /**
1192
- * GET /events
1193
- * Returns all published events. Response is ETag-cached for 7 days.
1194
- */
1195
- getEvents(): Promise<LeapEvent[]>;
1196
- /**
1197
- * GET /events/:slug
1198
- * Returns a single published event by slug.
1199
- */
1200
- getEvent(slug: string): Promise<LeapEvent>;
1201
- /**
1202
- * GET /events/:slug/slots
1203
- * Returns real-time slot availability. CF edge caches this for 5 seconds.
1204
- * Poll every 8–10 seconds on event detail pages.
1205
- */
1206
- getSlots(slug: string): Promise<SlotInfo>;
1207
- /**
1208
- * POST /events — admin only.
1209
- * Creates a new event. Auto-generates slug from title.
1210
- */
1211
- createEvent(data: CreateEventBody): Promise<LeapEvent>;
1212
- /**
1213
- * PATCH /events/:slug — admin only.
1214
- * Updates an existing event by slug.
1215
- */
1216
- updateEvent(slug: string, data: Partial<CreateEventBody>): Promise<LeapEvent>;
1217
- /**
1218
- * GET /themes
1219
- * Returns all themes.
1220
- */
1221
- getThemes(): Promise<Theme[]>;
1222
- /**
1223
- * POST /themes — admin only.
1224
- */
1225
- createTheme(data: Omit<Theme, "id" | "createdAt">): Promise<Theme>;
1226
- /**
1227
- * PATCH /themes/:id — admin only.
1228
- */
1229
- updateTheme(id: string, data: Partial<Omit<Theme, "id" | "createdAt">>): Promise<Theme>;
1230
- /**
1231
- * DELETE /themes/:id — admin only.
1232
- */
1233
- deleteTheme(id: string): Promise<void>;
1234
- /**
1235
- * GET /users/me
1236
- * Returns the authenticated user's profile, or null for guests.
1237
- * Use `profile.role` to gate admin UI.
1238
- */
1239
- getMe(): Promise<UserProfile | null>;
1240
- /**
1241
- * GET /users/me/bookmarks
1242
- * Returns the authenticated user's bookmarked events.
1243
- * Returns an empty array for unauthenticated users.
1244
- */
1245
- getBookmarks(): Promise<BookmarkEntry[]>;
1246
- /**
1247
- * POST /users/me/bookmarks/:eventId
1248
- * Toggles a bookmark on/off. Requires authentication.
1249
- * Returns `{ bookmarked: true }` (201) on add, `{ bookmarked: false }` (200) on remove.
1250
- */
1251
- toggleBookmark(eventId: string): Promise<ToggleBookmarkResult>;
1252
- /**
1253
- * DELETE /users/me/bookmarks/:eventId
1254
- * Removes a bookmark. Requires authentication.
1255
- */
1256
- deleteBookmark(eventId: string): Promise<ToggleBookmarkResult>;
1257
- /**
1258
- * GET /faqs
1259
- * Returns all active FAQs. Cached in KV for 10 minutes.
1260
- * The `answer` field is markdown — render with a markdown library.
1261
- */
1262
- getFaqs(): Promise<Faq[]>;
1263
- /**
1264
- * POST /faqs — admin only.
1265
- * Creates a new FAQ item.
1266
- */
1267
- createFaq(data: CreateFaqBody): Promise<Faq>;
1268
- /**
1269
- * PATCH /faqs/:id — admin only.
1270
- * Updates an existing FAQ item.
1271
- */
1272
- updateFaq(id: string, data: Partial<CreateFaqBody>): Promise<Faq>;
1273
- /**
1274
- * DELETE /faqs/:id — admin only.
1275
- * Soft-deletes a FAQ (sets isActive: false).
1276
- */
1277
- deleteFaq(id: string): Promise<{
1278
- deleted: boolean;
1279
- }>;
1280
- /**
1281
- * POST /uploads/images — admin only.
1282
- * Uploads an image file to R2. Accepts multipart/form-data.
1283
- * Returns the public URL, storage key, size, and content type.
1284
- */
1285
- uploadImage(file: File | Blob): Promise<{
1286
- url: string;
1287
- key: string;
1288
- size: number;
1289
- contentType: string;
1290
- }>;
1291
- /**
1292
- * POST /config/sync-content — admin only.
1293
- * Pushes all D1 content to Contentful. Auto-generates content types if missing.
1294
- */
1295
- syncContent(): Promise<SnapshotResult>;
1296
- /**
1297
- * GET /health
1298
- * Public health check. Returns provider availability status.
1299
- */
1300
- healthCheck(): Promise<HealthResponse>;
1301
- };
1302
- type LeapifyClient = ReturnType<typeof createLeapifyClient>;
1303
-
1304
- export { BookmarkEntry, CreateEventBody, CreateFaqBody, Faq, HealthResponse, LEAPIFY_ERROR_CODES, LeapEvent, LeapifyApiError, type LeapifyAuthClient, type LeapifyClient, type LeapifyErrorCode, RuntimeConfig, SiteConfig, SlotInfo, SnapshotResult, Theme, ToggleBookmarkResult, UserProfile, createLeapifyAuthClient, createLeapifyClient, getClientConfig, getLeapifyToken, initializeSession, signInWithGoogleRedirect, signOut, solvePowChallenge, syncCookieSessionToStorage };
1050
+ //# sourceMappingURL=auth.d.ts.map