@vibedeckx/linux-x64 0.1.16 → 0.1.17

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 (1438) hide show
  1. package/dist/process-manager.js +22 -9
  2. package/dist/routes/terminal-routes.js +7 -0
  3. package/dist/routes/websocket-routes.js +6 -0
  4. package/dist/ui/404/index.html +1 -1
  5. package/dist/ui/404.html +1 -1
  6. package/dist/ui/__next.__PAGE__.txt +2 -2
  7. package/dist/ui/__next._full.txt +2 -2
  8. package/dist/ui/__next._head.txt +1 -1
  9. package/dist/ui/__next._index.txt +1 -1
  10. package/dist/ui/__next._tree.txt +1 -1
  11. package/dist/ui/_next/static/chunks/{d272cd438400a22c.js → 869e15bfcbb5dbd1.js} +1 -1
  12. package/dist/ui/_not-found/__next._full.txt +1 -1
  13. package/dist/ui/_not-found/__next._head.txt +1 -1
  14. package/dist/ui/_not-found/__next._index.txt +1 -1
  15. package/dist/ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
  16. package/dist/ui/_not-found/__next._not-found.txt +1 -1
  17. package/dist/ui/_not-found/__next._tree.txt +1 -1
  18. package/dist/ui/_not-found/index.html +1 -1
  19. package/dist/ui/_not-found/index.txt +1 -1
  20. package/dist/ui/index.html +1 -1
  21. package/dist/ui/index.txt +2 -2
  22. package/package.json +1 -1
  23. package/node_modules/@ai-sdk/deepseek/dist/index.d.mts +0 -68
  24. package/node_modules/@ai-sdk/deepseek/dist/index.d.ts +0 -68
  25. package/node_modules/@ai-sdk/deepseek/dist/index.js.map +0 -1
  26. package/node_modules/@ai-sdk/deepseek/dist/index.mjs.map +0 -1
  27. package/node_modules/@ai-sdk/gateway/dist/index.d.mts +0 -713
  28. package/node_modules/@ai-sdk/gateway/dist/index.d.ts +0 -713
  29. package/node_modules/@ai-sdk/gateway/dist/index.js.map +0 -1
  30. package/node_modules/@ai-sdk/gateway/dist/index.mjs.map +0 -1
  31. package/node_modules/@ai-sdk/provider/dist/index.d.mts +0 -4030
  32. package/node_modules/@ai-sdk/provider/dist/index.d.ts +0 -4030
  33. package/node_modules/@ai-sdk/provider/dist/index.js.map +0 -1
  34. package/node_modules/@ai-sdk/provider/dist/index.mjs.map +0 -1
  35. package/node_modules/@ai-sdk/provider-utils/dist/index.d.mts +0 -1433
  36. package/node_modules/@ai-sdk/provider-utils/dist/index.d.ts +0 -1433
  37. package/node_modules/@ai-sdk/provider-utils/dist/index.js.map +0 -1
  38. package/node_modules/@ai-sdk/provider-utils/dist/index.mjs.map +0 -1
  39. package/node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts +0 -76
  40. package/node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts.map +0 -1
  41. package/node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts +0 -7
  42. package/node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts.map +0 -1
  43. package/node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts +0 -11
  44. package/node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts.map +0 -1
  45. package/node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts +0 -47
  46. package/node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts.map +0 -1
  47. package/node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts +0 -47
  48. package/node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts.map +0 -1
  49. package/node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts +0 -16
  50. package/node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts.map +0 -1
  51. package/node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts +0 -29
  52. package/node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts.map +0 -1
  53. package/node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts +0 -47
  54. package/node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts.map +0 -1
  55. package/node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts +0 -15
  56. package/node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts.map +0 -1
  57. package/node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts +0 -16
  58. package/node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts.map +0 -1
  59. package/node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts +0 -46
  60. package/node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts.map +0 -1
  61. package/node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts +0 -20
  62. package/node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts.map +0 -1
  63. package/node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts +0 -62
  64. package/node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts.map +0 -1
  65. package/node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts +0 -6
  66. package/node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts.map +0 -1
  67. package/node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts +0 -70
  68. package/node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts.map +0 -1
  69. package/node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts +0 -50
  70. package/node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts.map +0 -1
  71. package/node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts +0 -6
  72. package/node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts.map +0 -1
  73. package/node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts +0 -50
  74. package/node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts.map +0 -1
  75. package/node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts +0 -87
  76. package/node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts.map +0 -1
  77. package/node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts +0 -81
  78. package/node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts.map +0 -1
  79. package/node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts +0 -49
  80. package/node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts.map +0 -1
  81. package/node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts +0 -200
  82. package/node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts.map +0 -1
  83. package/node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts +0 -22
  84. package/node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts.map +0 -1
  85. package/node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts +0 -11
  86. package/node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts.map +0 -1
  87. package/node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts +0 -14
  88. package/node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts.map +0 -1
  89. package/node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts +0 -69
  90. package/node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts.map +0 -1
  91. package/node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts +0 -52
  92. package/node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts.map +0 -1
  93. package/node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts +0 -12
  94. package/node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts.map +0 -1
  95. package/node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts +0 -13
  96. package/node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts.map +0 -1
  97. package/node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts +0 -6
  98. package/node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts.map +0 -1
  99. package/node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts +0 -178
  100. package/node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts.map +0 -1
  101. package/node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts +0 -61
  102. package/node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts.map +0 -1
  103. package/node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts +0 -8
  104. package/node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts.map +0 -1
  105. package/node_modules/@clerk/backend/dist/api/endpoints/index.d.ts +0 -33
  106. package/node_modules/@clerk/backend/dist/api/endpoints/index.d.ts.map +0 -1
  107. package/node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts +0 -2
  108. package/node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts.map +0 -1
  109. package/node_modules/@clerk/backend/dist/api/factory.d.ts +0 -51
  110. package/node_modules/@clerk/backend/dist/api/factory.d.ts.map +0 -1
  111. package/node_modules/@clerk/backend/dist/api/index.d.ts +0 -3
  112. package/node_modules/@clerk/backend/dist/api/index.d.ts.map +0 -1
  113. package/node_modules/@clerk/backend/dist/api/request.d.ts +0 -76
  114. package/node_modules/@clerk/backend/dist/api/request.d.ts.map +0 -1
  115. package/node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts +0 -137
  116. package/node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts.map +0 -1
  117. package/node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts +0 -10
  118. package/node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts.map +0 -1
  119. package/node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts +0 -15
  120. package/node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts.map +0 -1
  121. package/node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts +0 -42
  122. package/node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts.map +0 -1
  123. package/node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts +0 -66
  124. package/node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts.map +0 -1
  125. package/node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts +0 -13
  126. package/node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts.map +0 -1
  127. package/node_modules/@clerk/backend/dist/api/resources/Client.d.ts +0 -83
  128. package/node_modules/@clerk/backend/dist/api/resources/Client.d.ts.map +0 -1
  129. package/node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts +0 -9
  130. package/node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts.map +0 -1
  131. package/node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts +0 -141
  132. package/node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts.map +0 -1
  133. package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts +0 -99
  134. package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts.map +0 -1
  135. package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts +0 -167
  136. package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts.map +0 -1
  137. package/node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts +0 -7
  138. package/node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts.map +0 -1
  139. package/node_modules/@clerk/backend/dist/api/resources/DeletedObject.d.ts +0 -10
  140. package/node_modules/@clerk/backend/dist/api/resources/DeletedObject.d.ts.map +0 -1
  141. package/node_modules/@clerk/backend/dist/api/resources/Deserializer.d.ts +0 -26
  142. package/node_modules/@clerk/backend/dist/api/resources/Deserializer.d.ts.map +0 -1
  143. package/node_modules/@clerk/backend/dist/api/resources/Domain.d.ts +0 -15
  144. package/node_modules/@clerk/backend/dist/api/resources/Domain.d.ts.map +0 -1
  145. package/node_modules/@clerk/backend/dist/api/resources/Email.d.ts +0 -17
  146. package/node_modules/@clerk/backend/dist/api/resources/Email.d.ts.map +0 -1
  147. package/node_modules/@clerk/backend/dist/api/resources/EmailAddress.d.ts +0 -47
  148. package/node_modules/@clerk/backend/dist/api/resources/EmailAddress.d.ts.map +0 -1
  149. package/node_modules/@clerk/backend/dist/api/resources/EnterpriseAccount.d.ts +0 -225
  150. package/node_modules/@clerk/backend/dist/api/resources/EnterpriseAccount.d.ts.map +0 -1
  151. package/node_modules/@clerk/backend/dist/api/resources/EnterpriseConnection.d.ts +0 -89
  152. package/node_modules/@clerk/backend/dist/api/resources/EnterpriseConnection.d.ts.map +0 -1
  153. package/node_modules/@clerk/backend/dist/api/resources/Enums.d.ts +0 -42
  154. package/node_modules/@clerk/backend/dist/api/resources/Enums.d.ts.map +0 -1
  155. package/node_modules/@clerk/backend/dist/api/resources/ExternalAccount.d.ts +0 -134
  156. package/node_modules/@clerk/backend/dist/api/resources/ExternalAccount.d.ts.map +0 -1
  157. package/node_modules/@clerk/backend/dist/api/resources/Feature.d.ts +0 -51
  158. package/node_modules/@clerk/backend/dist/api/resources/Feature.d.ts.map +0 -1
  159. package/node_modules/@clerk/backend/dist/api/resources/HandshakePayload.d.ts +0 -9
  160. package/node_modules/@clerk/backend/dist/api/resources/HandshakePayload.d.ts.map +0 -1
  161. package/node_modules/@clerk/backend/dist/api/resources/IdPOAuthAccessToken.d.ts +0 -23
  162. package/node_modules/@clerk/backend/dist/api/resources/IdPOAuthAccessToken.d.ts.map +0 -1
  163. package/node_modules/@clerk/backend/dist/api/resources/IdentificationLink.d.ts +0 -25
  164. package/node_modules/@clerk/backend/dist/api/resources/IdentificationLink.d.ts.map +0 -1
  165. package/node_modules/@clerk/backend/dist/api/resources/Instance.d.ts +0 -9
  166. package/node_modules/@clerk/backend/dist/api/resources/Instance.d.ts.map +0 -1
  167. package/node_modules/@clerk/backend/dist/api/resources/InstanceRestrictions.d.ts +0 -11
  168. package/node_modules/@clerk/backend/dist/api/resources/InstanceRestrictions.d.ts.map +0 -1
  169. package/node_modules/@clerk/backend/dist/api/resources/InstanceSettings.d.ts +0 -11
  170. package/node_modules/@clerk/backend/dist/api/resources/InstanceSettings.d.ts.map +0 -1
  171. package/node_modules/@clerk/backend/dist/api/resources/Invitation.d.ts +0 -76
  172. package/node_modules/@clerk/backend/dist/api/resources/Invitation.d.ts.map +0 -1
  173. package/node_modules/@clerk/backend/dist/api/resources/JSON.d.ts +0 -971
  174. package/node_modules/@clerk/backend/dist/api/resources/JSON.d.ts.map +0 -1
  175. package/node_modules/@clerk/backend/dist/api/resources/JwtTemplate.d.ts +0 -15
  176. package/node_modules/@clerk/backend/dist/api/resources/JwtTemplate.d.ts.map +0 -1
  177. package/node_modules/@clerk/backend/dist/api/resources/M2MToken.d.ts +0 -31
  178. package/node_modules/@clerk/backend/dist/api/resources/M2MToken.d.ts.map +0 -1
  179. package/node_modules/@clerk/backend/dist/api/resources/Machine.d.ts +0 -17
  180. package/node_modules/@clerk/backend/dist/api/resources/Machine.d.ts.map +0 -1
  181. package/node_modules/@clerk/backend/dist/api/resources/MachineScope.d.ts +0 -13
  182. package/node_modules/@clerk/backend/dist/api/resources/MachineScope.d.ts.map +0 -1
  183. package/node_modules/@clerk/backend/dist/api/resources/MachineSecretKey.d.ts +0 -10
  184. package/node_modules/@clerk/backend/dist/api/resources/MachineSecretKey.d.ts.map +0 -1
  185. package/node_modules/@clerk/backend/dist/api/resources/OAuthApplication.d.ts +0 -169
  186. package/node_modules/@clerk/backend/dist/api/resources/OAuthApplication.d.ts.map +0 -1
  187. package/node_modules/@clerk/backend/dist/api/resources/OauthAccessToken.d.ts +0 -83
  188. package/node_modules/@clerk/backend/dist/api/resources/OauthAccessToken.d.ts.map +0 -1
  189. package/node_modules/@clerk/backend/dist/api/resources/Organization.d.ts +0 -115
  190. package/node_modules/@clerk/backend/dist/api/resources/Organization.d.ts.map +0 -1
  191. package/node_modules/@clerk/backend/dist/api/resources/OrganizationDomain.d.ts +0 -18
  192. package/node_modules/@clerk/backend/dist/api/resources/OrganizationDomain.d.ts.map +0 -1
  193. package/node_modules/@clerk/backend/dist/api/resources/OrganizationInvitation.d.ts +0 -116
  194. package/node_modules/@clerk/backend/dist/api/resources/OrganizationInvitation.d.ts.map +0 -1
  195. package/node_modules/@clerk/backend/dist/api/resources/OrganizationMembership.d.ts +0 -140
  196. package/node_modules/@clerk/backend/dist/api/resources/OrganizationMembership.d.ts.map +0 -1
  197. package/node_modules/@clerk/backend/dist/api/resources/OrganizationSettings.d.ts +0 -17
  198. package/node_modules/@clerk/backend/dist/api/resources/OrganizationSettings.d.ts.map +0 -1
  199. package/node_modules/@clerk/backend/dist/api/resources/PhoneNumber.d.ts +0 -63
  200. package/node_modules/@clerk/backend/dist/api/resources/PhoneNumber.d.ts.map +0 -1
  201. package/node_modules/@clerk/backend/dist/api/resources/ProxyCheck.d.ts +0 -13
  202. package/node_modules/@clerk/backend/dist/api/resources/ProxyCheck.d.ts.map +0 -1
  203. package/node_modules/@clerk/backend/dist/api/resources/RedirectUrl.d.ts +0 -47
  204. package/node_modules/@clerk/backend/dist/api/resources/RedirectUrl.d.ts.map +0 -1
  205. package/node_modules/@clerk/backend/dist/api/resources/SMSMessage.d.ts +0 -13
  206. package/node_modules/@clerk/backend/dist/api/resources/SMSMessage.d.ts.map +0 -1
  207. package/node_modules/@clerk/backend/dist/api/resources/SamlConnection.d.ts +0 -215
  208. package/node_modules/@clerk/backend/dist/api/resources/SamlConnection.d.ts.map +0 -1
  209. package/node_modules/@clerk/backend/dist/api/resources/Session.d.ts +0 -176
  210. package/node_modules/@clerk/backend/dist/api/resources/Session.d.ts.map +0 -1
  211. package/node_modules/@clerk/backend/dist/api/resources/SignInTokens.d.ts +0 -13
  212. package/node_modules/@clerk/backend/dist/api/resources/SignInTokens.d.ts.map +0 -1
  213. package/node_modules/@clerk/backend/dist/api/resources/SignUpAttempt.d.ts +0 -44
  214. package/node_modules/@clerk/backend/dist/api/resources/SignUpAttempt.d.ts.map +0 -1
  215. package/node_modules/@clerk/backend/dist/api/resources/TestingToken.d.ts +0 -8
  216. package/node_modules/@clerk/backend/dist/api/resources/TestingToken.d.ts.map +0 -1
  217. package/node_modules/@clerk/backend/dist/api/resources/Token.d.ts +0 -7
  218. package/node_modules/@clerk/backend/dist/api/resources/Token.d.ts.map +0 -1
  219. package/node_modules/@clerk/backend/dist/api/resources/User.d.ts +0 -296
  220. package/node_modules/@clerk/backend/dist/api/resources/User.d.ts.map +0 -1
  221. package/node_modules/@clerk/backend/dist/api/resources/Verification.d.ts +0 -90
  222. package/node_modules/@clerk/backend/dist/api/resources/Verification.d.ts.map +0 -1
  223. package/node_modules/@clerk/backend/dist/api/resources/WaitlistEntry.d.ts +0 -67
  224. package/node_modules/@clerk/backend/dist/api/resources/WaitlistEntry.d.ts.map +0 -1
  225. package/node_modules/@clerk/backend/dist/api/resources/Web3Wallet.d.ts +0 -36
  226. package/node_modules/@clerk/backend/dist/api/resources/Web3Wallet.d.ts.map +0 -1
  227. package/node_modules/@clerk/backend/dist/api/resources/Webhooks.d.ts +0 -32
  228. package/node_modules/@clerk/backend/dist/api/resources/Webhooks.d.ts.map +0 -1
  229. package/node_modules/@clerk/backend/dist/api/resources/index.d.ts +0 -57
  230. package/node_modules/@clerk/backend/dist/api/resources/index.d.ts.map +0 -1
  231. package/node_modules/@clerk/backend/dist/chunk-7KLH7JRZ.mjs.map +0 -1
  232. package/node_modules/@clerk/backend/dist/chunk-I4B6KCGC.mjs.map +0 -1
  233. package/node_modules/@clerk/backend/dist/chunk-P263NW7Z.mjs.map +0 -1
  234. package/node_modules/@clerk/backend/dist/chunk-QR37SKMP.mjs.map +0 -1
  235. package/node_modules/@clerk/backend/dist/chunk-TOROEX6P.mjs.map +0 -1
  236. package/node_modules/@clerk/backend/dist/chunk-YBVFDYDR.mjs.map +0 -1
  237. package/node_modules/@clerk/backend/dist/constants.d.ts +0 -91
  238. package/node_modules/@clerk/backend/dist/constants.d.ts.map +0 -1
  239. package/node_modules/@clerk/backend/dist/createRedirect.d.ts +0 -25
  240. package/node_modules/@clerk/backend/dist/createRedirect.d.ts.map +0 -1
  241. package/node_modules/@clerk/backend/dist/errors.d.ts +0 -67
  242. package/node_modules/@clerk/backend/dist/errors.d.ts.map +0 -1
  243. package/node_modules/@clerk/backend/dist/errors.js.map +0 -1
  244. package/node_modules/@clerk/backend/dist/errors.mjs.map +0 -1
  245. package/node_modules/@clerk/backend/dist/fixtures/index.d.ts +0 -105
  246. package/node_modules/@clerk/backend/dist/fixtures/index.d.ts.map +0 -1
  247. package/node_modules/@clerk/backend/dist/fixtures/machine.d.ts +0 -72
  248. package/node_modules/@clerk/backend/dist/fixtures/machine.d.ts.map +0 -1
  249. package/node_modules/@clerk/backend/dist/index.d.ts +0 -49
  250. package/node_modules/@clerk/backend/dist/index.d.ts.map +0 -1
  251. package/node_modules/@clerk/backend/dist/index.js.map +0 -1
  252. package/node_modules/@clerk/backend/dist/index.mjs.map +0 -1
  253. package/node_modules/@clerk/backend/dist/internal.d.ts +0 -20
  254. package/node_modules/@clerk/backend/dist/internal.d.ts.map +0 -1
  255. package/node_modules/@clerk/backend/dist/internal.js.map +0 -1
  256. package/node_modules/@clerk/backend/dist/internal.mjs.map +0 -1
  257. package/node_modules/@clerk/backend/dist/jwt/algorithms.d.ts +0 -3
  258. package/node_modules/@clerk/backend/dist/jwt/algorithms.d.ts.map +0 -1
  259. package/node_modules/@clerk/backend/dist/jwt/assertions.d.ts +0 -10
  260. package/node_modules/@clerk/backend/dist/jwt/assertions.d.ts.map +0 -1
  261. package/node_modules/@clerk/backend/dist/jwt/cryptoKeys.d.ts +0 -2
  262. package/node_modules/@clerk/backend/dist/jwt/cryptoKeys.d.ts.map +0 -1
  263. package/node_modules/@clerk/backend/dist/jwt/index.d.ts +0 -7
  264. package/node_modules/@clerk/backend/dist/jwt/index.d.ts.map +0 -1
  265. package/node_modules/@clerk/backend/dist/jwt/index.js.map +0 -1
  266. package/node_modules/@clerk/backend/dist/jwt/index.mjs.map +0 -1
  267. package/node_modules/@clerk/backend/dist/jwt/legacyReturn.d.ts +0 -4
  268. package/node_modules/@clerk/backend/dist/jwt/legacyReturn.d.ts.map +0 -1
  269. package/node_modules/@clerk/backend/dist/jwt/signJwt.d.ts +0 -20
  270. package/node_modules/@clerk/backend/dist/jwt/signJwt.d.ts.map +0 -1
  271. package/node_modules/@clerk/backend/dist/jwt/types.d.ts +0 -18
  272. package/node_modules/@clerk/backend/dist/jwt/types.d.ts.map +0 -1
  273. package/node_modules/@clerk/backend/dist/jwt/verifyJwt.d.ts +0 -38
  274. package/node_modules/@clerk/backend/dist/jwt/verifyJwt.d.ts.map +0 -1
  275. package/node_modules/@clerk/backend/dist/jwt/verifyMachineJwt.d.ts +0 -19
  276. package/node_modules/@clerk/backend/dist/jwt/verifyMachineJwt.d.ts.map +0 -1
  277. package/node_modules/@clerk/backend/dist/mock-server.d.ts +0 -4
  278. package/node_modules/@clerk/backend/dist/mock-server.d.ts.map +0 -1
  279. package/node_modules/@clerk/backend/dist/proxy.d.ts +0 -72
  280. package/node_modules/@clerk/backend/dist/proxy.d.ts.map +0 -1
  281. package/node_modules/@clerk/backend/dist/proxy.js.map +0 -1
  282. package/node_modules/@clerk/backend/dist/proxy.mjs.map +0 -1
  283. package/node_modules/@clerk/backend/dist/runtime.d.ts +0 -26
  284. package/node_modules/@clerk/backend/dist/runtime.d.ts.map +0 -1
  285. package/node_modules/@clerk/backend/dist/tokens/authObjects.d.ts +0 -193
  286. package/node_modules/@clerk/backend/dist/tokens/authObjects.d.ts.map +0 -1
  287. package/node_modules/@clerk/backend/dist/tokens/authStatus.d.ts +0 -120
  288. package/node_modules/@clerk/backend/dist/tokens/authStatus.d.ts.map +0 -1
  289. package/node_modules/@clerk/backend/dist/tokens/authenticateContext.d.ts +0 -78
  290. package/node_modules/@clerk/backend/dist/tokens/authenticateContext.d.ts.map +0 -1
  291. package/node_modules/@clerk/backend/dist/tokens/clerkRequest.d.ts +0 -29
  292. package/node_modules/@clerk/backend/dist/tokens/clerkRequest.d.ts.map +0 -1
  293. package/node_modules/@clerk/backend/dist/tokens/clerkUrl.d.ts +0 -18
  294. package/node_modules/@clerk/backend/dist/tokens/clerkUrl.d.ts.map +0 -1
  295. package/node_modules/@clerk/backend/dist/tokens/cookie.d.ts +0 -3
  296. package/node_modules/@clerk/backend/dist/tokens/cookie.d.ts.map +0 -1
  297. package/node_modules/@clerk/backend/dist/tokens/factory.d.ts +0 -29
  298. package/node_modules/@clerk/backend/dist/tokens/factory.d.ts.map +0 -1
  299. package/node_modules/@clerk/backend/dist/tokens/handshake.d.ts +0 -64
  300. package/node_modules/@clerk/backend/dist/tokens/handshake.d.ts.map +0 -1
  301. package/node_modules/@clerk/backend/dist/tokens/keys.d.ts +0 -54
  302. package/node_modules/@clerk/backend/dist/tokens/keys.d.ts.map +0 -1
  303. package/node_modules/@clerk/backend/dist/tokens/machine.d.ts +0 -85
  304. package/node_modules/@clerk/backend/dist/tokens/machine.d.ts.map +0 -1
  305. package/node_modules/@clerk/backend/dist/tokens/organizationMatcher.d.ts +0 -11
  306. package/node_modules/@clerk/backend/dist/tokens/organizationMatcher.d.ts.map +0 -1
  307. package/node_modules/@clerk/backend/dist/tokens/request.d.ts +0 -60
  308. package/node_modules/@clerk/backend/dist/tokens/request.d.ts.map +0 -1
  309. package/node_modules/@clerk/backend/dist/tokens/tokenTypes.d.ts +0 -19
  310. package/node_modules/@clerk/backend/dist/tokens/tokenTypes.d.ts.map +0 -1
  311. package/node_modules/@clerk/backend/dist/tokens/types.d.ts +0 -253
  312. package/node_modules/@clerk/backend/dist/tokens/types.d.ts.map +0 -1
  313. package/node_modules/@clerk/backend/dist/tokens/verify.d.ts +0 -109
  314. package/node_modules/@clerk/backend/dist/tokens/verify.d.ts.map +0 -1
  315. package/node_modules/@clerk/backend/dist/util/decorateObjectWithResources.d.ts +0 -22
  316. package/node_modules/@clerk/backend/dist/util/decorateObjectWithResources.d.ts.map +0 -1
  317. package/node_modules/@clerk/backend/dist/util/mergePreDefinedOptions.d.ts +0 -2
  318. package/node_modules/@clerk/backend/dist/util/mergePreDefinedOptions.d.ts.map +0 -1
  319. package/node_modules/@clerk/backend/dist/util/optionsAssertions.d.ts +0 -3
  320. package/node_modules/@clerk/backend/dist/util/optionsAssertions.d.ts.map +0 -1
  321. package/node_modules/@clerk/backend/dist/util/path.d.ts +0 -4
  322. package/node_modules/@clerk/backend/dist/util/path.d.ts.map +0 -1
  323. package/node_modules/@clerk/backend/dist/util/rfc4648.d.ts +0 -26
  324. package/node_modules/@clerk/backend/dist/util/rfc4648.d.ts.map +0 -1
  325. package/node_modules/@clerk/backend/dist/util/shared.d.ts +0 -7
  326. package/node_modules/@clerk/backend/dist/util/shared.d.ts.map +0 -1
  327. package/node_modules/@clerk/backend/dist/webhooks.d.ts +0 -50
  328. package/node_modules/@clerk/backend/dist/webhooks.d.ts.map +0 -1
  329. package/node_modules/@clerk/backend/dist/webhooks.js.map +0 -1
  330. package/node_modules/@clerk/backend/dist/webhooks.mjs.map +0 -1
  331. package/node_modules/@clerk/fastify/dist/chunk-RY4T2JMQ.mjs.map +0 -1
  332. package/node_modules/@clerk/fastify/dist/index-CWnSaB0B.d.mts +0 -25
  333. package/node_modules/@clerk/fastify/dist/index-CWnSaB0B.d.ts +0 -25
  334. package/node_modules/@clerk/fastify/dist/index.d.mts +0 -16
  335. package/node_modules/@clerk/fastify/dist/index.d.ts +0 -16
  336. package/node_modules/@clerk/fastify/dist/index.js.map +0 -1
  337. package/node_modules/@clerk/fastify/dist/index.mjs.map +0 -1
  338. package/node_modules/@clerk/fastify/dist/types.d.mts +0 -4
  339. package/node_modules/@clerk/fastify/dist/types.d.ts +0 -4
  340. package/node_modules/@clerk/fastify/dist/types.js.map +0 -1
  341. package/node_modules/@clerk/fastify/dist/types.mjs.map +0 -1
  342. package/node_modules/@clerk/fastify/dist/webhooks.d.mts +0 -19
  343. package/node_modules/@clerk/fastify/dist/webhooks.d.ts +0 -19
  344. package/node_modules/@clerk/fastify/dist/webhooks.js.map +0 -1
  345. package/node_modules/@clerk/fastify/dist/webhooks.mjs.map +0 -1
  346. package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.mts +0 -9
  347. package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.mts.map +0 -1
  348. package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.ts +0 -9
  349. package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.ts.map +0 -1
  350. package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.js.map +0 -1
  351. package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.mjs.map +0 -1
  352. package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.mts +0 -11
  353. package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.mts.map +0 -1
  354. package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.ts +0 -11
  355. package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.ts.map +0 -1
  356. package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.js.map +0 -1
  357. package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.mjs.map +0 -1
  358. package/node_modules/@clerk/shared/dist/runtime/authorization-Du_JQmnH.js.map +0 -1
  359. package/node_modules/@clerk/shared/dist/runtime/authorization-Un7v7f6J.mjs.map +0 -1
  360. package/node_modules/@clerk/shared/dist/runtime/authorization-errors-B7aH39AU.js.map +0 -1
  361. package/node_modules/@clerk/shared/dist/runtime/authorization-errors-CBHAr6Ld.mjs.map +0 -1
  362. package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.mts +0 -26
  363. package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.mts.map +0 -1
  364. package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.ts +0 -26
  365. package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.ts.map +0 -1
  366. package/node_modules/@clerk/shared/dist/runtime/authorization.d.mts +0 -72
  367. package/node_modules/@clerk/shared/dist/runtime/authorization.d.mts.map +0 -1
  368. package/node_modules/@clerk/shared/dist/runtime/authorization.d.ts +0 -72
  369. package/node_modules/@clerk/shared/dist/runtime/authorization.d.ts.map +0 -1
  370. package/node_modules/@clerk/shared/dist/runtime/browser-CMFCxUv7.mjs.map +0 -1
  371. package/node_modules/@clerk/shared/dist/runtime/browser-CaHqvEp1.js.map +0 -1
  372. package/node_modules/@clerk/shared/dist/runtime/browser.d.mts +0 -35
  373. package/node_modules/@clerk/shared/dist/runtime/browser.d.mts.map +0 -1
  374. package/node_modules/@clerk/shared/dist/runtime/browser.d.ts +0 -35
  375. package/node_modules/@clerk/shared/dist/runtime/browser.d.ts.map +0 -1
  376. package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.mts +0 -8
  377. package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.mts.map +0 -1
  378. package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.ts +0 -8
  379. package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.ts.map +0 -1
  380. package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.js.map +0 -1
  381. package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.mjs.map +0 -1
  382. package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.mts +0 -22
  383. package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.mts.map +0 -1
  384. package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.ts +0 -22
  385. package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.ts.map +0 -1
  386. package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.js.map +0 -1
  387. package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.mjs.map +0 -1
  388. package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-CaS4sM5w.js.map +0 -1
  389. package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-DqAmLuLY.mjs.map +0 -1
  390. package/node_modules/@clerk/shared/dist/runtime/color.d.mts +0 -18
  391. package/node_modules/@clerk/shared/dist/runtime/color.d.mts.map +0 -1
  392. package/node_modules/@clerk/shared/dist/runtime/color.d.ts +0 -18
  393. package/node_modules/@clerk/shared/dist/runtime/color.d.ts.map +0 -1
  394. package/node_modules/@clerk/shared/dist/runtime/color.js.map +0 -1
  395. package/node_modules/@clerk/shared/dist/runtime/color.mjs.map +0 -1
  396. package/node_modules/@clerk/shared/dist/runtime/complexity-DEun2UD2.js.map +0 -1
  397. package/node_modules/@clerk/shared/dist/runtime/complexity-DydNJOmy.mjs.map +0 -1
  398. package/node_modules/@clerk/shared/dist/runtime/constants-BUzkV8jh.js.map +0 -1
  399. package/node_modules/@clerk/shared/dist/runtime/constants-Bta24VLk.mjs.map +0 -1
  400. package/node_modules/@clerk/shared/dist/runtime/constants-BulbbNR9.mjs.map +0 -1
  401. package/node_modules/@clerk/shared/dist/runtime/constants-WYhx_umW.js.map +0 -1
  402. package/node_modules/@clerk/shared/dist/runtime/constants.d.mts +0 -21
  403. package/node_modules/@clerk/shared/dist/runtime/constants.d.mts.map +0 -1
  404. package/node_modules/@clerk/shared/dist/runtime/constants.d.ts +0 -21
  405. package/node_modules/@clerk/shared/dist/runtime/constants.d.ts.map +0 -1
  406. package/node_modules/@clerk/shared/dist/runtime/cookie.d.mts +0 -30
  407. package/node_modules/@clerk/shared/dist/runtime/cookie.d.mts.map +0 -1
  408. package/node_modules/@clerk/shared/dist/runtime/cookie.d.ts +0 -30
  409. package/node_modules/@clerk/shared/dist/runtime/cookie.d.ts.map +0 -1
  410. package/node_modules/@clerk/shared/dist/runtime/cookie.js.map +0 -1
  411. package/node_modules/@clerk/shared/dist/runtime/cookie.mjs.map +0 -1
  412. package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-Bq0Rf2GM.js.map +0 -1
  413. package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-CYCAgyvC.mjs.map +0 -1
  414. package/node_modules/@clerk/shared/dist/runtime/date.d.mts +0 -37
  415. package/node_modules/@clerk/shared/dist/runtime/date.d.mts.map +0 -1
  416. package/node_modules/@clerk/shared/dist/runtime/date.d.ts +0 -37
  417. package/node_modules/@clerk/shared/dist/runtime/date.d.ts.map +0 -1
  418. package/node_modules/@clerk/shared/dist/runtime/date.js.map +0 -1
  419. package/node_modules/@clerk/shared/dist/runtime/date.mjs.map +0 -1
  420. package/node_modules/@clerk/shared/dist/runtime/deprecated--jK9xTNh.mjs.map +0 -1
  421. package/node_modules/@clerk/shared/dist/runtime/deprecated-841w0zq7.js.map +0 -1
  422. package/node_modules/@clerk/shared/dist/runtime/deprecated.d.mts +0 -40
  423. package/node_modules/@clerk/shared/dist/runtime/deprecated.d.mts.map +0 -1
  424. package/node_modules/@clerk/shared/dist/runtime/deprecated.d.ts +0 -40
  425. package/node_modules/@clerk/shared/dist/runtime/deprecated.d.ts.map +0 -1
  426. package/node_modules/@clerk/shared/dist/runtime/deriveState-CQUgOdaO.mjs.map +0 -1
  427. package/node_modules/@clerk/shared/dist/runtime/deriveState-zgq99aY1.js.map +0 -1
  428. package/node_modules/@clerk/shared/dist/runtime/deriveState.d.mts +0 -28
  429. package/node_modules/@clerk/shared/dist/runtime/deriveState.d.mts.map +0 -1
  430. package/node_modules/@clerk/shared/dist/runtime/deriveState.d.ts +0 -28
  431. package/node_modules/@clerk/shared/dist/runtime/deriveState.d.ts.map +0 -1
  432. package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.mts +0 -13
  433. package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.mts.map +0 -1
  434. package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.ts +0 -13
  435. package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.ts.map +0 -1
  436. package/node_modules/@clerk/shared/dist/runtime/devBrowser.js.map +0 -1
  437. package/node_modules/@clerk/shared/dist/runtime/devBrowser.mjs.map +0 -1
  438. package/node_modules/@clerk/shared/dist/runtime/dom/index.d.mts +0 -2
  439. package/node_modules/@clerk/shared/dist/runtime/dom/index.d.ts +0 -2
  440. package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.d.mts +0 -2
  441. package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.d.ts +0 -2
  442. package/node_modules/@clerk/shared/dist/runtime/encoders-CAjYroSe.mjs.map +0 -1
  443. package/node_modules/@clerk/shared/dist/runtime/encoders-C_EA3--l.js.map +0 -1
  444. package/node_modules/@clerk/shared/dist/runtime/error-D-ayZ5nL.mjs.map +0 -1
  445. package/node_modules/@clerk/shared/dist/runtime/error-kcck_bbZ.js.map +0 -1
  446. package/node_modules/@clerk/shared/dist/runtime/error.d.mts +0 -3
  447. package/node_modules/@clerk/shared/dist/runtime/error.d.ts +0 -3
  448. package/node_modules/@clerk/shared/dist/runtime/errors-FAXDzRsM.js.map +0 -1
  449. package/node_modules/@clerk/shared/dist/runtime/errors-oOcNTWU9.mjs.map +0 -1
  450. package/node_modules/@clerk/shared/dist/runtime/esm-D9kK-xzr.js.map +0 -1
  451. package/node_modules/@clerk/shared/dist/runtime/esm-DGPYZuZb.mjs.map +0 -1
  452. package/node_modules/@clerk/shared/dist/runtime/eventBus-TFTcHo0F.mjs.map +0 -1
  453. package/node_modules/@clerk/shared/dist/runtime/eventBus-mLhN9dkg.js.map +0 -1
  454. package/node_modules/@clerk/shared/dist/runtime/eventBus.d.mts +0 -117
  455. package/node_modules/@clerk/shared/dist/runtime/eventBus.d.mts.map +0 -1
  456. package/node_modules/@clerk/shared/dist/runtime/eventBus.d.ts +0 -117
  457. package/node_modules/@clerk/shared/dist/runtime/eventBus.d.ts.map +0 -1
  458. package/node_modules/@clerk/shared/dist/runtime/file.d.mts +0 -21
  459. package/node_modules/@clerk/shared/dist/runtime/file.d.mts.map +0 -1
  460. package/node_modules/@clerk/shared/dist/runtime/file.d.ts +0 -21
  461. package/node_modules/@clerk/shared/dist/runtime/file.d.ts.map +0 -1
  462. package/node_modules/@clerk/shared/dist/runtime/file.js.map +0 -1
  463. package/node_modules/@clerk/shared/dist/runtime/file.mjs.map +0 -1
  464. package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.mts +0 -12
  465. package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.mts.map +0 -1
  466. package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.ts +0 -12
  467. package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.ts.map +0 -1
  468. package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.js.map +0 -1
  469. package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.mjs.map +0 -1
  470. package/node_modules/@clerk/shared/dist/runtime/getToken.d.mts +0 -46
  471. package/node_modules/@clerk/shared/dist/runtime/getToken.d.mts.map +0 -1
  472. package/node_modules/@clerk/shared/dist/runtime/getToken.d.ts +0 -46
  473. package/node_modules/@clerk/shared/dist/runtime/getToken.d.ts.map +0 -1
  474. package/node_modules/@clerk/shared/dist/runtime/getToken.js.map +0 -1
  475. package/node_modules/@clerk/shared/dist/runtime/getToken.mjs.map +0 -1
  476. package/node_modules/@clerk/shared/dist/runtime/globs-D0Kpu4g1.js.map +0 -1
  477. package/node_modules/@clerk/shared/dist/runtime/globs-u_gXJPLt.mjs.map +0 -1
  478. package/node_modules/@clerk/shared/dist/runtime/globs.d.mts +0 -7
  479. package/node_modules/@clerk/shared/dist/runtime/globs.d.mts.map +0 -1
  480. package/node_modules/@clerk/shared/dist/runtime/globs.d.ts +0 -7
  481. package/node_modules/@clerk/shared/dist/runtime/globs.d.ts.map +0 -1
  482. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-4-yw9hYF.d.ts +0 -7
  483. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-4-yw9hYF.d.ts.map +0 -1
  484. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BWsoUzyL.d.mts +0 -7
  485. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BWsoUzyL.d.mts.map +0 -1
  486. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BmJC8Cue.js.map +0 -1
  487. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-iAIjw-kJ.mjs.map +0 -1
  488. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.mts +0 -11
  489. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.mts.map +0 -1
  490. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.ts +0 -11
  491. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.ts.map +0 -1
  492. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.js.map +0 -1
  493. package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.mjs.map +0 -1
  494. package/node_modules/@clerk/shared/dist/runtime/hex-txii11Pj.mjs.map +0 -1
  495. package/node_modules/@clerk/shared/dist/runtime/hex-zF8OyMcG.js.map +0 -1
  496. package/node_modules/@clerk/shared/dist/runtime/index-BK_NVS1t.d.ts +0 -10885
  497. package/node_modules/@clerk/shared/dist/runtime/index-BK_NVS1t.d.ts.map +0 -1
  498. package/node_modules/@clerk/shared/dist/runtime/index-Cc98l5ga.d.mts +0 -10885
  499. package/node_modules/@clerk/shared/dist/runtime/index-Cc98l5ga.d.mts.map +0 -1
  500. package/node_modules/@clerk/shared/dist/runtime/index.d.mts +0 -1
  501. package/node_modules/@clerk/shared/dist/runtime/index.d.ts +0 -1
  502. package/node_modules/@clerk/shared/dist/runtime/index.js.map +0 -1
  503. package/node_modules/@clerk/shared/dist/runtime/index.mjs.map +0 -1
  504. package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-BqNbQ8Of.js.map +0 -1
  505. package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-Cp_aXKsI.mjs.map +0 -1
  506. package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-Cbd4CVu9.js.map +0 -1
  507. package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-DRQuwtHF.mjs.map +0 -1
  508. package/node_modules/@clerk/shared/dist/runtime/instance-BmZr0cdE.mjs.map +0 -1
  509. package/node_modules/@clerk/shared/dist/runtime/instance-C1LlVxIp.js.map +0 -1
  510. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts +0 -31
  511. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts.map +0 -1
  512. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts +0 -31
  513. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts.map +0 -1
  514. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.js.map +0 -1
  515. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.mjs.map +0 -1
  516. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.mts +0 -18
  517. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.mts.map +0 -1
  518. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.ts +0 -18
  519. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.ts.map +0 -1
  520. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.js.map +0 -1
  521. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.mjs.map +0 -1
  522. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.mts +0 -54
  523. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.mts.map +0 -1
  524. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.ts +0 -54
  525. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.ts.map +0 -1
  526. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.mts +0 -12
  527. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.mts.map +0 -1
  528. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.ts +0 -12
  529. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.ts.map +0 -1
  530. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.js.map +0 -1
  531. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.mjs.map +0 -1
  532. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.mts +0 -8
  533. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.mts.map +0 -1
  534. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.ts +0 -8
  535. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.ts.map +0 -1
  536. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.mts +0 -113
  537. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.mts.map +0 -1
  538. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.ts +0 -113
  539. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.ts.map +0 -1
  540. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.mts +0 -5
  541. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.mts.map +0 -1
  542. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.ts +0 -5
  543. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.ts.map +0 -1
  544. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts +0 -15
  545. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts.map +0 -1
  546. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts +0 -15
  547. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts.map +0 -1
  548. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.mts +0 -13
  549. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.mts.map +0 -1
  550. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.ts +0 -13
  551. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.ts.map +0 -1
  552. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.mts +0 -10
  553. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.mts.map +0 -1
  554. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.ts +0 -10
  555. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.ts.map +0 -1
  556. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.js.map +0 -1
  557. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.mjs.map +0 -1
  558. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.mts +0 -61
  559. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.mts.map +0 -1
  560. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.ts +0 -61
  561. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.ts.map +0 -1
  562. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.js.map +0 -1
  563. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.mjs.map +0 -1
  564. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.mts +0 -11
  565. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.mts.map +0 -1
  566. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.ts +0 -11
  567. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.ts.map +0 -1
  568. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts +0 -12
  569. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts.map +0 -1
  570. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts +0 -12
  571. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts.map +0 -1
  572. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.js.map +0 -1
  573. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.mjs.map +0 -1
  574. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.mts +0 -19
  575. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.mts.map +0 -1
  576. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.ts +0 -19
  577. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.ts.map +0 -1
  578. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.js.map +0 -1
  579. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.mjs.map +0 -1
  580. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.mts +0 -20
  581. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.mts.map +0 -1
  582. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.ts +0 -20
  583. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.ts.map +0 -1
  584. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.mts +0 -6
  585. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.mts.map +0 -1
  586. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.ts +0 -6
  587. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.ts.map +0 -1
  588. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.mts +0 -36
  589. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.mts.map +0 -1
  590. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.ts +0 -36
  591. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.ts.map +0 -1
  592. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.mts +0 -19
  593. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.mts.map +0 -1
  594. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.ts +0 -19
  595. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.ts.map +0 -1
  596. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.js.map +0 -1
  597. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.mjs.map +0 -1
  598. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.mts +0 -9
  599. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.mts.map +0 -1
  600. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.ts +0 -9
  601. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.ts.map +0 -1
  602. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.mts +0 -23
  603. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.mts.map +0 -1
  604. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.ts +0 -23
  605. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.ts.map +0 -1
  606. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.js.map +0 -1
  607. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.mjs.map +0 -1
  608. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.mts +0 -8
  609. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.mts.map +0 -1
  610. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.ts +0 -8
  611. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.ts.map +0 -1
  612. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.js.map +0 -1
  613. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.mjs.map +0 -1
  614. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.mts +0 -31
  615. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.mts.map +0 -1
  616. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.ts +0 -31
  617. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.ts.map +0 -1
  618. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.js.map +0 -1
  619. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.mjs.map +0 -1
  620. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.mts +0 -18
  621. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.mts.map +0 -1
  622. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.ts +0 -18
  623. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.ts.map +0 -1
  624. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.js.map +0 -1
  625. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.mjs.map +0 -1
  626. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.d.mts +0 -4
  627. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.d.ts +0 -4
  628. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.mts +0 -23
  629. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.mts.map +0 -1
  630. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.ts +0 -23
  631. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.ts.map +0 -1
  632. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.js.map +0 -1
  633. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.mjs.map +0 -1
  634. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.mts +0 -25
  635. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.mts.map +0 -1
  636. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.ts +0 -25
  637. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.ts.map +0 -1
  638. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.js.map +0 -1
  639. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.mjs.map +0 -1
  640. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.mts +0 -32
  641. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.mts.map +0 -1
  642. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.ts +0 -32
  643. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.ts.map +0 -1
  644. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.js.map +0 -1
  645. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.mjs.map +0 -1
  646. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.mts +0 -15
  647. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.mts.map +0 -1
  648. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.ts +0 -15
  649. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.ts.map +0 -1
  650. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.js.map +0 -1
  651. package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.mjs.map +0 -1
  652. package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-CoF80qYz.mjs.map +0 -1
  653. package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-Hkpnx2p8.js.map +0 -1
  654. package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.mts +0 -9
  655. package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.mts.map +0 -1
  656. package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.ts +0 -9
  657. package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.ts.map +0 -1
  658. package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-DWmLcIHi.mjs.map +0 -1
  659. package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-_pSA92Q9.js.map +0 -1
  660. package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.mts +0 -5
  661. package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.mts.map +0 -1
  662. package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.ts +0 -5
  663. package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.ts.map +0 -1
  664. package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.mts +0 -23
  665. package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.mts.map +0 -1
  666. package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.ts +0 -23
  667. package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.ts.map +0 -1
  668. package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.js.map +0 -1
  669. package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.mjs.map +0 -1
  670. package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.mts +0 -271
  671. package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.mts.map +0 -1
  672. package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.ts +0 -271
  673. package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.ts.map +0 -1
  674. package/node_modules/@clerk/shared/dist/runtime/keyless/index.js.map +0 -1
  675. package/node_modules/@clerk/shared/dist/runtime/keyless/index.mjs.map +0 -1
  676. package/node_modules/@clerk/shared/dist/runtime/keys-BI9hmfja.js.map +0 -1
  677. package/node_modules/@clerk/shared/dist/runtime/keys-DuxzP8MU.mjs.map +0 -1
  678. package/node_modules/@clerk/shared/dist/runtime/keys.d.mts +0 -103
  679. package/node_modules/@clerk/shared/dist/runtime/keys.d.mts.map +0 -1
  680. package/node_modules/@clerk/shared/dist/runtime/keys.d.ts +0 -103
  681. package/node_modules/@clerk/shared/dist/runtime/keys.d.ts.map +0 -1
  682. package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.mts +0 -88
  683. package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.mts.map +0 -1
  684. package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.ts +0 -88
  685. package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.ts.map +0 -1
  686. package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.js.map +0 -1
  687. package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.mjs.map +0 -1
  688. package/node_modules/@clerk/shared/dist/runtime/loadScript-BnB9d_IW.js.map +0 -1
  689. package/node_modules/@clerk/shared/dist/runtime/loadScript-UG_epen4.mjs.map +0 -1
  690. package/node_modules/@clerk/shared/dist/runtime/loadScript.d.mts +0 -15
  691. package/node_modules/@clerk/shared/dist/runtime/loadScript.d.mts.map +0 -1
  692. package/node_modules/@clerk/shared/dist/runtime/loadScript.d.ts +0 -15
  693. package/node_modules/@clerk/shared/dist/runtime/loadScript.d.ts.map +0 -1
  694. package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.mts +0 -18
  695. package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.mts.map +0 -1
  696. package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.ts +0 -18
  697. package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.ts.map +0 -1
  698. package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.js.map +0 -1
  699. package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.mjs.map +0 -1
  700. package/node_modules/@clerk/shared/dist/runtime/logger-BOte4sQb.js.map +0 -1
  701. package/node_modules/@clerk/shared/dist/runtime/logger-DISzhF9M.mjs.map +0 -1
  702. package/node_modules/@clerk/shared/dist/runtime/logger.d.mts +0 -12
  703. package/node_modules/@clerk/shared/dist/runtime/logger.d.mts.map +0 -1
  704. package/node_modules/@clerk/shared/dist/runtime/logger.d.ts +0 -12
  705. package/node_modules/@clerk/shared/dist/runtime/logger.d.ts.map +0 -1
  706. package/node_modules/@clerk/shared/dist/runtime/moduleManager-BsmFyRrH.d.mts +0 -21
  707. package/node_modules/@clerk/shared/dist/runtime/moduleManager-BsmFyRrH.d.mts.map +0 -1
  708. package/node_modules/@clerk/shared/dist/runtime/moduleManager-WB15hU3T.d.ts +0 -21
  709. package/node_modules/@clerk/shared/dist/runtime/moduleManager-WB15hU3T.d.ts.map +0 -1
  710. package/node_modules/@clerk/shared/dist/runtime/moduleManager.d.mts +0 -2
  711. package/node_modules/@clerk/shared/dist/runtime/moduleManager.d.ts +0 -2
  712. package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-DFm5qdPh.js.map +0 -1
  713. package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-Dkdkho_6.mjs.map +0 -1
  714. package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.mts +0 -34
  715. package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.mts.map +0 -1
  716. package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.ts +0 -34
  717. package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.ts.map +0 -1
  718. package/node_modules/@clerk/shared/dist/runtime/noop-B7RzLU-c.mjs.map +0 -1
  719. package/node_modules/@clerk/shared/dist/runtime/noop-CVg8oVJr.js.map +0 -1
  720. package/node_modules/@clerk/shared/dist/runtime/oauth.d.mts +0 -19
  721. package/node_modules/@clerk/shared/dist/runtime/oauth.d.mts.map +0 -1
  722. package/node_modules/@clerk/shared/dist/runtime/oauth.d.ts +0 -19
  723. package/node_modules/@clerk/shared/dist/runtime/oauth.d.ts.map +0 -1
  724. package/node_modules/@clerk/shared/dist/runtime/oauth.js.map +0 -1
  725. package/node_modules/@clerk/shared/dist/runtime/oauth.mjs.map +0 -1
  726. package/node_modules/@clerk/shared/dist/runtime/object-DYaB_9gA.mjs.map +0 -1
  727. package/node_modules/@clerk/shared/dist/runtime/object-DklYlVP-.js.map +0 -1
  728. package/node_modules/@clerk/shared/dist/runtime/object.d.mts +0 -8
  729. package/node_modules/@clerk/shared/dist/runtime/object.d.mts.map +0 -1
  730. package/node_modules/@clerk/shared/dist/runtime/object.d.ts +0 -8
  731. package/node_modules/@clerk/shared/dist/runtime/object.d.ts.map +0 -1
  732. package/node_modules/@clerk/shared/dist/runtime/organization-BzM6mhUv.js.map +0 -1
  733. package/node_modules/@clerk/shared/dist/runtime/organization-Cy_ag_4B.mjs.map +0 -1
  734. package/node_modules/@clerk/shared/dist/runtime/organization.d.mts +0 -15
  735. package/node_modules/@clerk/shared/dist/runtime/organization.d.mts.map +0 -1
  736. package/node_modules/@clerk/shared/dist/runtime/organization.d.ts +0 -15
  737. package/node_modules/@clerk/shared/dist/runtime/organization.d.ts.map +0 -1
  738. package/node_modules/@clerk/shared/dist/runtime/path-BLD6zl1u.mjs.map +0 -1
  739. package/node_modules/@clerk/shared/dist/runtime/path-ci3QmWY8.js.map +0 -1
  740. package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.mts +0 -17
  741. package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.mts.map +0 -1
  742. package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.ts +0 -17
  743. package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.ts.map +0 -1
  744. package/node_modules/@clerk/shared/dist/runtime/pathMatcher.js.map +0 -1
  745. package/node_modules/@clerk/shared/dist/runtime/pathMatcher.mjs.map +0 -1
  746. package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-7eww5BY6.mjs.map +0 -1
  747. package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-Do-462DY.js.map +0 -1
  748. package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.mts +0 -85
  749. package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.mts.map +0 -1
  750. package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.ts +0 -85
  751. package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.ts.map +0 -1
  752. package/node_modules/@clerk/shared/dist/runtime/poller.d.mts +0 -20
  753. package/node_modules/@clerk/shared/dist/runtime/poller.d.mts.map +0 -1
  754. package/node_modules/@clerk/shared/dist/runtime/poller.d.ts +0 -20
  755. package/node_modules/@clerk/shared/dist/runtime/poller.d.ts.map +0 -1
  756. package/node_modules/@clerk/shared/dist/runtime/poller.js.map +0 -1
  757. package/node_modules/@clerk/shared/dist/runtime/poller.mjs.map +0 -1
  758. package/node_modules/@clerk/shared/dist/runtime/proxy-BcfViKjn.mjs.map +0 -1
  759. package/node_modules/@clerk/shared/dist/runtime/proxy-DahrnOq8.js.map +0 -1
  760. package/node_modules/@clerk/shared/dist/runtime/proxy.d.mts +0 -24
  761. package/node_modules/@clerk/shared/dist/runtime/proxy.d.mts.map +0 -1
  762. package/node_modules/@clerk/shared/dist/runtime/proxy.d.ts +0 -24
  763. package/node_modules/@clerk/shared/dist/runtime/proxy.d.ts.map +0 -1
  764. package/node_modules/@clerk/shared/dist/runtime/queryParams-DSUymAGT.js.map +0 -1
  765. package/node_modules/@clerk/shared/dist/runtime/queryParams-Dlt0oVDg.mjs.map +0 -1
  766. package/node_modules/@clerk/shared/dist/runtime/querystring-BFj_iDi0.js.map +0 -1
  767. package/node_modules/@clerk/shared/dist/runtime/querystring-pXtwII0l.mjs.map +0 -1
  768. package/node_modules/@clerk/shared/dist/runtime/react/index.d.mts +0 -1647
  769. package/node_modules/@clerk/shared/dist/runtime/react/index.d.mts.map +0 -1
  770. package/node_modules/@clerk/shared/dist/runtime/react/index.d.ts +0 -1647
  771. package/node_modules/@clerk/shared/dist/runtime/react/index.d.ts.map +0 -1
  772. package/node_modules/@clerk/shared/dist/runtime/react/index.js.map +0 -1
  773. package/node_modules/@clerk/shared/dist/runtime/react/index.mjs.map +0 -1
  774. package/node_modules/@clerk/shared/dist/runtime/retry-DGCmqlcR.js.map +0 -1
  775. package/node_modules/@clerk/shared/dist/runtime/retry-DqRIhHV5.mjs.map +0 -1
  776. package/node_modules/@clerk/shared/dist/runtime/retry.d.mts +0 -60
  777. package/node_modules/@clerk/shared/dist/runtime/retry.d.mts.map +0 -1
  778. package/node_modules/@clerk/shared/dist/runtime/retry.d.ts +0 -60
  779. package/node_modules/@clerk/shared/dist/runtime/retry.d.ts.map +0 -1
  780. package/node_modules/@clerk/shared/dist/runtime/router.d.mts +0 -100
  781. package/node_modules/@clerk/shared/dist/runtime/router.d.mts.map +0 -1
  782. package/node_modules/@clerk/shared/dist/runtime/router.d.ts +0 -100
  783. package/node_modules/@clerk/shared/dist/runtime/router.d.ts.map +0 -1
  784. package/node_modules/@clerk/shared/dist/runtime/router.js.map +0 -1
  785. package/node_modules/@clerk/shared/dist/runtime/router.mjs.map +0 -1
  786. package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-D1yr0yUs.mjs.map +0 -1
  787. package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-DJJWo5AR.js.map +0 -1
  788. package/node_modules/@clerk/shared/dist/runtime/safeImport.d.mts +0 -18
  789. package/node_modules/@clerk/shared/dist/runtime/safeImport.d.mts.map +0 -1
  790. package/node_modules/@clerk/shared/dist/runtime/safeImport.d.ts +0 -18
  791. package/node_modules/@clerk/shared/dist/runtime/safeImport.d.ts.map +0 -1
  792. package/node_modules/@clerk/shared/dist/runtime/safeImport.js.map +0 -1
  793. package/node_modules/@clerk/shared/dist/runtime/safeImport.mjs.map +0 -1
  794. package/node_modules/@clerk/shared/dist/runtime/saml.d.mts +0 -8
  795. package/node_modules/@clerk/shared/dist/runtime/saml.d.mts.map +0 -1
  796. package/node_modules/@clerk/shared/dist/runtime/saml.d.ts +0 -8
  797. package/node_modules/@clerk/shared/dist/runtime/saml.d.ts.map +0 -1
  798. package/node_modules/@clerk/shared/dist/runtime/saml.js.map +0 -1
  799. package/node_modules/@clerk/shared/dist/runtime/saml.mjs.map +0 -1
  800. package/node_modules/@clerk/shared/dist/runtime/strength-DMrZQDoO.js.map +0 -1
  801. package/node_modules/@clerk/shared/dist/runtime/strength-DPtAse7d.mjs.map +0 -1
  802. package/node_modules/@clerk/shared/dist/runtime/telemetry--P0a0tSk.js.map +0 -1
  803. package/node_modules/@clerk/shared/dist/runtime/telemetry-DE2JFEBf.mjs.map +0 -1
  804. package/node_modules/@clerk/shared/dist/runtime/telemetry.d.mts +0 -143
  805. package/node_modules/@clerk/shared/dist/runtime/telemetry.d.mts.map +0 -1
  806. package/node_modules/@clerk/shared/dist/runtime/telemetry.d.ts +0 -143
  807. package/node_modules/@clerk/shared/dist/runtime/telemetry.d.ts.map +0 -1
  808. package/node_modules/@clerk/shared/dist/runtime/types/index.d.mts +0 -3
  809. package/node_modules/@clerk/shared/dist/runtime/types/index.d.ts +0 -3
  810. package/node_modules/@clerk/shared/dist/runtime/ui/index.d.mts +0 -3
  811. package/node_modules/@clerk/shared/dist/runtime/ui/index.d.ts +0 -3
  812. package/node_modules/@clerk/shared/dist/runtime/underscore-BX6Ucmg5.js.map +0 -1
  813. package/node_modules/@clerk/shared/dist/runtime/underscore-ClYSgvuy.mjs.map +0 -1
  814. package/node_modules/@clerk/shared/dist/runtime/underscore.d.mts +0 -63
  815. package/node_modules/@clerk/shared/dist/runtime/underscore.d.mts.map +0 -1
  816. package/node_modules/@clerk/shared/dist/runtime/underscore.d.ts +0 -63
  817. package/node_modules/@clerk/shared/dist/runtime/underscore.d.ts.map +0 -1
  818. package/node_modules/@clerk/shared/dist/runtime/url-C6gPMFx5.mjs.map +0 -1
  819. package/node_modules/@clerk/shared/dist/runtime/url-CKcDCvyG.d.ts +0 -144
  820. package/node_modules/@clerk/shared/dist/runtime/url-CKcDCvyG.d.ts.map +0 -1
  821. package/node_modules/@clerk/shared/dist/runtime/url-CoXV4i87.js.map +0 -1
  822. package/node_modules/@clerk/shared/dist/runtime/url-DaPDWryr.mjs.map +0 -1
  823. package/node_modules/@clerk/shared/dist/runtime/url-Ou22U773.d.mts +0 -144
  824. package/node_modules/@clerk/shared/dist/runtime/url-Ou22U773.d.mts.map +0 -1
  825. package/node_modules/@clerk/shared/dist/runtime/url-sAcxbiir.js.map +0 -1
  826. package/node_modules/@clerk/shared/dist/runtime/url.d.mts +0 -78
  827. package/node_modules/@clerk/shared/dist/runtime/url.d.mts.map +0 -1
  828. package/node_modules/@clerk/shared/dist/runtime/url.d.ts +0 -78
  829. package/node_modules/@clerk/shared/dist/runtime/url.d.ts.map +0 -1
  830. package/node_modules/@clerk/shared/dist/runtime/utils/index.d.mts +0 -65
  831. package/node_modules/@clerk/shared/dist/runtime/utils/index.d.mts.map +0 -1
  832. package/node_modules/@clerk/shared/dist/runtime/utils/index.d.ts +0 -65
  833. package/node_modules/@clerk/shared/dist/runtime/utils/index.d.ts.map +0 -1
  834. package/node_modules/@clerk/shared/dist/runtime/utils-TXJdVJx7.mjs.map +0 -1
  835. package/node_modules/@clerk/shared/dist/runtime/utils-Y3tB5LFT.js.map +0 -1
  836. package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.mts +0 -58
  837. package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.mts.map +0 -1
  838. package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.ts +0 -58
  839. package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.ts.map +0 -1
  840. package/node_modules/@clerk/shared/dist/runtime/versionCheck.js.map +0 -1
  841. package/node_modules/@clerk/shared/dist/runtime/versionCheck.mjs.map +0 -1
  842. package/node_modules/@clerk/shared/dist/runtime/versionSelector-BSa0YYBu.mjs.map +0 -1
  843. package/node_modules/@clerk/shared/dist/runtime/versionSelector-CoS6g9-B.js.map +0 -1
  844. package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.mts +0 -17
  845. package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.mts.map +0 -1
  846. package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.ts +0 -17
  847. package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.ts.map +0 -1
  848. package/node_modules/@clerk/shared/dist/runtime/waitForElement-CB9iynCD.mjs.map +0 -1
  849. package/node_modules/@clerk/shared/dist/runtime/waitForElement-DGxKWlwM.js.map +0 -1
  850. package/node_modules/@clerk/shared/dist/runtime/waitForElement-DLpcirWQ.d.ts +0 -8
  851. package/node_modules/@clerk/shared/dist/runtime/waitForElement-DLpcirWQ.d.ts.map +0 -1
  852. package/node_modules/@clerk/shared/dist/runtime/waitForElement-DZxkXjac.d.mts +0 -8
  853. package/node_modules/@clerk/shared/dist/runtime/waitForElement-DZxkXjac.d.mts.map +0 -1
  854. package/node_modules/@clerk/shared/dist/runtime/web3.d.mts +0 -8
  855. package/node_modules/@clerk/shared/dist/runtime/web3.d.mts.map +0 -1
  856. package/node_modules/@clerk/shared/dist/runtime/web3.d.ts +0 -8
  857. package/node_modules/@clerk/shared/dist/runtime/web3.d.ts.map +0 -1
  858. package/node_modules/@clerk/shared/dist/runtime/web3.js.map +0 -1
  859. package/node_modules/@clerk/shared/dist/runtime/web3.mjs.map +0 -1
  860. package/node_modules/@clerk/shared/dist/runtime/webauthn.d.mts +0 -16
  861. package/node_modules/@clerk/shared/dist/runtime/webauthn.d.mts.map +0 -1
  862. package/node_modules/@clerk/shared/dist/runtime/webauthn.d.ts +0 -16
  863. package/node_modules/@clerk/shared/dist/runtime/webauthn.d.ts.map +0 -1
  864. package/node_modules/@clerk/shared/dist/runtime/webauthn.js.map +0 -1
  865. package/node_modules/@clerk/shared/dist/runtime/webauthn.mjs.map +0 -1
  866. package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.mts +0 -17
  867. package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.mts.map +0 -1
  868. package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.ts +0 -17
  869. package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.ts.map +0 -1
  870. package/node_modules/@clerk/shared/dist/runtime/workerTimers-CDy8bBJS.mjs.map +0 -1
  871. package/node_modules/@clerk/shared/dist/runtime/workerTimers-D-HZtmjt.js.map +0 -1
  872. package/node_modules/@clerk/shared/dist/types/index.d.mts +0 -10584
  873. package/node_modules/@clerk/shared/dist/types/index.d.mts.map +0 -1
  874. package/node_modules/@clerk/shared/dist/types/index.d.ts +0 -10584
  875. package/node_modules/@clerk/shared/dist/types/index.d.ts.map +0 -1
  876. package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts +0 -4
  877. package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts.map +0 -1
  878. package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js.map +0 -1
  879. package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts +0 -34
  880. package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts.map +0 -1
  881. package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js.map +0 -1
  882. package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts +0 -6
  883. package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts.map +0 -1
  884. package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js.map +0 -1
  885. package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts +0 -2
  886. package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts.map +0 -1
  887. package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.js.map +0 -1
  888. package/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts +0 -41
  889. package/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts.map +0 -1
  890. package/node_modules/@isaacs/cliui/dist/commonjs/index.js.map +0 -1
  891. package/node_modules/@isaacs/cliui/dist/commonjs/index.min.js.map +0 -7
  892. package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts +0 -5
  893. package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts.map +0 -1
  894. package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.js.map +0 -1
  895. package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts +0 -2
  896. package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts.map +0 -1
  897. package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.js.map +0 -1
  898. package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts +0 -7
  899. package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts.map +0 -1
  900. package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.js.map +0 -1
  901. package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts +0 -4
  902. package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts.map +0 -1
  903. package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.js.map +0 -1
  904. package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts +0 -34
  905. package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts.map +0 -1
  906. package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.js.map +0 -1
  907. package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts +0 -6
  908. package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts.map +0 -1
  909. package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.js.map +0 -1
  910. package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts +0 -2
  911. package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts.map +0 -1
  912. package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.js.map +0 -1
  913. package/node_modules/@isaacs/cliui/dist/esm/index.d.ts +0 -41
  914. package/node_modules/@isaacs/cliui/dist/esm/index.d.ts.map +0 -1
  915. package/node_modules/@isaacs/cliui/dist/esm/index.js.map +0 -1
  916. package/node_modules/@isaacs/cliui/dist/esm/index.min.js.map +0 -7
  917. package/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts +0 -5
  918. package/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts.map +0 -1
  919. package/node_modules/@isaacs/cliui/dist/esm/string-width/index.js.map +0 -1
  920. package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts +0 -2
  921. package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts.map +0 -1
  922. package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.js.map +0 -1
  923. package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts +0 -7
  924. package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts.map +0 -1
  925. package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.js.map +0 -1
  926. package/node_modules/@openrouter/ai-sdk-provider/dist/index.d.mts +0 -239
  927. package/node_modules/@openrouter/ai-sdk-provider/dist/index.d.ts +0 -239
  928. package/node_modules/@openrouter/ai-sdk-provider/dist/index.js.map +0 -1
  929. package/node_modules/@openrouter/ai-sdk-provider/dist/index.mjs.map +0 -1
  930. package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.d.mts +0 -156
  931. package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.d.ts +0 -156
  932. package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.js.map +0 -1
  933. package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.mjs.map +0 -1
  934. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.d.mts +0 -1252
  935. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.d.ts +0 -1252
  936. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.js.map +0 -1
  937. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.mjs.map +0 -1
  938. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.d.mts +0 -352
  939. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.d.ts +0 -352
  940. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.js.map +0 -1
  941. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.mjs.map +0 -1
  942. package/node_modules/@standard-schema/spec/dist/index.d.cts +0 -119
  943. package/node_modules/@standard-schema/spec/dist/index.d.ts +0 -119
  944. package/node_modules/@stricli/core/dist/index.d.cts +0 -1443
  945. package/node_modules/@stricli/core/dist/index.d.ts +0 -1443
  946. package/node_modules/@vercel/oidc/dist/auth-config.d.ts +0 -30
  947. package/node_modules/@vercel/oidc/dist/get-context.d.ts +0 -6
  948. package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.d.ts +0 -49
  949. package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.test.d.ts +0 -1
  950. package/node_modules/@vercel/oidc/dist/index-browser.d.ts +0 -3
  951. package/node_modules/@vercel/oidc/dist/index-browser.test.d.ts +0 -1
  952. package/node_modules/@vercel/oidc/dist/index.d.ts +0 -2
  953. package/node_modules/@vercel/oidc/dist/oauth.d.ts +0 -17
  954. package/node_modules/@vercel/oidc/dist/token-error.d.ts +0 -5
  955. package/node_modules/@vercel/oidc/dist/token-io.d.ts +0 -2
  956. package/node_modules/@vercel/oidc/dist/token-util.d.ts +0 -21
  957. package/node_modules/@vercel/oidc/dist/token-util.test.d.ts +0 -1
  958. package/node_modules/@vercel/oidc/dist/token.d.ts +0 -1
  959. package/node_modules/@vercel/oidc/dist/token.test.d.ts +0 -1
  960. package/node_modules/agent-base/dist/helpers.d.ts +0 -15
  961. package/node_modules/agent-base/dist/helpers.d.ts.map +0 -1
  962. package/node_modules/agent-base/dist/helpers.js.map +0 -1
  963. package/node_modules/agent-base/dist/index.d.ts +0 -41
  964. package/node_modules/agent-base/dist/index.d.ts.map +0 -1
  965. package/node_modules/agent-base/dist/index.js.map +0 -1
  966. package/node_modules/ai/dist/index.d.mts +0 -6403
  967. package/node_modules/ai/dist/index.d.ts +0 -6403
  968. package/node_modules/ai/dist/index.js.map +0 -1
  969. package/node_modules/ai/dist/index.mjs.map +0 -1
  970. package/node_modules/ai/dist/internal/index.d.mts +0 -314
  971. package/node_modules/ai/dist/internal/index.d.ts +0 -314
  972. package/node_modules/ai/dist/internal/index.js.map +0 -1
  973. package/node_modules/ai/dist/internal/index.mjs.map +0 -1
  974. package/node_modules/ajv/dist/2019.d.ts +0 -19
  975. package/node_modules/ajv/dist/2019.js.map +0 -1
  976. package/node_modules/ajv/dist/2020.d.ts +0 -19
  977. package/node_modules/ajv/dist/2020.js.map +0 -1
  978. package/node_modules/ajv/dist/ajv.d.ts +0 -18
  979. package/node_modules/ajv/dist/ajv.js.map +0 -1
  980. package/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
  981. package/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
  982. package/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
  983. package/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
  984. package/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
  985. package/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
  986. package/node_modules/ajv/dist/compile/errors.d.ts +0 -13
  987. package/node_modules/ajv/dist/compile/errors.js.map +0 -1
  988. package/node_modules/ajv/dist/compile/index.d.ts +0 -80
  989. package/node_modules/ajv/dist/compile/index.js.map +0 -1
  990. package/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
  991. package/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
  992. package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
  993. package/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
  994. package/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
  995. package/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
  996. package/node_modules/ajv/dist/compile/names.d.ts +0 -20
  997. package/node_modules/ajv/dist/compile/names.js.map +0 -1
  998. package/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
  999. package/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
  1000. package/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
  1001. package/node_modules/ajv/dist/compile/resolve.js.map +0 -1
  1002. package/node_modules/ajv/dist/compile/rules.d.ts +0 -28
  1003. package/node_modules/ajv/dist/compile/rules.js.map +0 -1
  1004. package/node_modules/ajv/dist/compile/util.d.ts +0 -40
  1005. package/node_modules/ajv/dist/compile/util.js.map +0 -1
  1006. package/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
  1007. package/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
  1008. package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
  1009. package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
  1010. package/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
  1011. package/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
  1012. package/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
  1013. package/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
  1014. package/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
  1015. package/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
  1016. package/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
  1017. package/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
  1018. package/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
  1019. package/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
  1020. package/node_modules/ajv/dist/core.d.ts +0 -174
  1021. package/node_modules/ajv/dist/core.js.map +0 -1
  1022. package/node_modules/ajv/dist/jtd.d.ts +0 -47
  1023. package/node_modules/ajv/dist/jtd.js.map +0 -1
  1024. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
  1025. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
  1026. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
  1027. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
  1028. package/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
  1029. package/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
  1030. package/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
  1031. package/node_modules/ajv/dist/runtime/equal.js.map +0 -1
  1032. package/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
  1033. package/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
  1034. package/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
  1035. package/node_modules/ajv/dist/runtime/quote.js.map +0 -1
  1036. package/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
  1037. package/node_modules/ajv/dist/runtime/re2.js.map +0 -1
  1038. package/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
  1039. package/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
  1040. package/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
  1041. package/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
  1042. package/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
  1043. package/node_modules/ajv/dist/runtime/uri.js.map +0 -1
  1044. package/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
  1045. package/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
  1046. package/node_modules/ajv/dist/standalone/index.d.ts +0 -6
  1047. package/node_modules/ajv/dist/standalone/index.js.map +0 -1
  1048. package/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
  1049. package/node_modules/ajv/dist/standalone/instance.js.map +0 -1
  1050. package/node_modules/ajv/dist/types/index.d.ts +0 -183
  1051. package/node_modules/ajv/dist/types/index.js.map +0 -1
  1052. package/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
  1053. package/node_modules/ajv/dist/types/json-schema.js.map +0 -1
  1054. package/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
  1055. package/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
  1056. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
  1057. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
  1058. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
  1059. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
  1060. package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
  1061. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
  1062. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
  1063. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
  1064. package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
  1065. package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
  1066. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
  1067. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
  1068. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
  1069. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
  1070. package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
  1071. package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
  1072. package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
  1073. package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
  1074. package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
  1075. package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
  1076. package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
  1077. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
  1078. package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
  1079. package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
  1080. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
  1081. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
  1082. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
  1083. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
  1084. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
  1085. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
  1086. package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
  1087. package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
  1088. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
  1089. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
  1090. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
  1091. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
  1092. package/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
  1093. package/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
  1094. package/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
  1095. package/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
  1096. package/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
  1097. package/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
  1098. package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
  1099. package/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
  1100. package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
  1101. package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
  1102. package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
  1103. package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
  1104. package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
  1105. package/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
  1106. package/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
  1107. package/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
  1108. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
  1109. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
  1110. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
  1111. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
  1112. package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
  1113. package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
  1114. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
  1115. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
  1116. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
  1117. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
  1118. package/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
  1119. package/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
  1120. package/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
  1121. package/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
  1122. package/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
  1123. package/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
  1124. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
  1125. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
  1126. package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
  1127. package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
  1128. package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
  1129. package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
  1130. package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
  1131. package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
  1132. package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
  1133. package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
  1134. package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
  1135. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
  1136. package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
  1137. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
  1138. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
  1139. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
  1140. package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
  1141. package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
  1142. package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
  1143. package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
  1144. package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
  1145. package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
  1146. package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
  1147. package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
  1148. package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
  1149. package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
  1150. package/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
  1151. package/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
  1152. package/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
  1153. package/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
  1154. package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
  1155. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
  1156. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
  1157. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
  1158. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
  1159. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
  1160. package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
  1161. package/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
  1162. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
  1163. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
  1164. package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
  1165. package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
  1166. package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
  1167. package/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
  1168. package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
  1169. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
  1170. package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
  1171. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
  1172. package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
  1173. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
  1174. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
  1175. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
  1176. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
  1177. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
  1178. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
  1179. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
  1180. package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
  1181. package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
  1182. package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
  1183. package/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
  1184. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
  1185. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
  1186. package/node_modules/ajv-formats/dist/formats.d.ts +0 -9
  1187. package/node_modules/ajv-formats/dist/formats.js.map +0 -1
  1188. package/node_modules/ajv-formats/dist/index.d.ts +0 -15
  1189. package/node_modules/ajv-formats/dist/index.js.map +0 -1
  1190. package/node_modules/ajv-formats/dist/limit.d.ts +0 -10
  1191. package/node_modules/ajv-formats/dist/limit.js.map +0 -1
  1192. package/node_modules/balanced-match/dist/commonjs/index.d.ts +0 -9
  1193. package/node_modules/balanced-match/dist/commonjs/index.d.ts.map +0 -1
  1194. package/node_modules/balanced-match/dist/commonjs/index.js.map +0 -1
  1195. package/node_modules/balanced-match/dist/esm/index.d.ts +0 -9
  1196. package/node_modules/balanced-match/dist/esm/index.d.ts.map +0 -1
  1197. package/node_modules/balanced-match/dist/esm/index.js.map +0 -1
  1198. package/node_modules/brace-expansion/dist/commonjs/index.d.ts +0 -6
  1199. package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +0 -1
  1200. package/node_modules/brace-expansion/dist/commonjs/index.js.map +0 -1
  1201. package/node_modules/brace-expansion/dist/esm/index.d.ts +0 -6
  1202. package/node_modules/brace-expansion/dist/esm/index.d.ts.map +0 -1
  1203. package/node_modules/brace-expansion/dist/esm/index.js.map +0 -1
  1204. package/node_modules/cookie/dist/index.d.ts +0 -148
  1205. package/node_modules/cookie/dist/index.js.map +0 -1
  1206. package/node_modules/eventsource-parser/dist/index.cjs.map +0 -1
  1207. package/node_modules/eventsource-parser/dist/index.d.cts +0 -144
  1208. package/node_modules/eventsource-parser/dist/index.d.ts +0 -144
  1209. package/node_modules/eventsource-parser/dist/index.js.map +0 -1
  1210. package/node_modules/eventsource-parser/dist/stream.cjs.map +0 -1
  1211. package/node_modules/eventsource-parser/dist/stream.d.cts +0 -118
  1212. package/node_modules/eventsource-parser/dist/stream.d.ts +0 -118
  1213. package/node_modules/eventsource-parser/dist/stream.js.map +0 -1
  1214. package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +0 -2
  1215. package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +0 -1
  1216. package/node_modules/foreground-child/dist/commonjs/all-signals.js.map +0 -1
  1217. package/node_modules/foreground-child/dist/commonjs/index.d.ts +0 -58
  1218. package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +0 -1
  1219. package/node_modules/foreground-child/dist/commonjs/index.js.map +0 -1
  1220. package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +0 -6
  1221. package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +0 -1
  1222. package/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +0 -1
  1223. package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +0 -10
  1224. package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +0 -1
  1225. package/node_modules/foreground-child/dist/commonjs/watchdog.js.map +0 -1
  1226. package/node_modules/foreground-child/dist/esm/all-signals.d.ts +0 -2
  1227. package/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +0 -1
  1228. package/node_modules/foreground-child/dist/esm/all-signals.js.map +0 -1
  1229. package/node_modules/foreground-child/dist/esm/index.d.ts +0 -58
  1230. package/node_modules/foreground-child/dist/esm/index.d.ts.map +0 -1
  1231. package/node_modules/foreground-child/dist/esm/index.js.map +0 -1
  1232. package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +0 -6
  1233. package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +0 -1
  1234. package/node_modules/foreground-child/dist/esm/proxy-signals.js.map +0 -1
  1235. package/node_modules/foreground-child/dist/esm/watchdog.d.ts +0 -10
  1236. package/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +0 -1
  1237. package/node_modules/foreground-child/dist/esm/watchdog.js.map +0 -1
  1238. package/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
  1239. package/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  1240. package/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  1241. package/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  1242. package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  1243. package/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  1244. package/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
  1245. package/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  1246. package/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  1247. package/node_modules/glob/dist/commonjs/index.d.ts +0 -97
  1248. package/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  1249. package/node_modules/glob/dist/commonjs/index.js.map +0 -1
  1250. package/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
  1251. package/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  1252. package/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  1253. package/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  1254. package/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  1255. package/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  1256. package/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
  1257. package/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  1258. package/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  1259. package/node_modules/glob/dist/esm/bin.d.mts +0 -3
  1260. package/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  1261. package/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  1262. package/node_modules/glob/dist/esm/glob.d.ts +0 -388
  1263. package/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  1264. package/node_modules/glob/dist/esm/glob.js.map +0 -1
  1265. package/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  1266. package/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  1267. package/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  1268. package/node_modules/glob/dist/esm/ignore.d.ts +0 -24
  1269. package/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  1270. package/node_modules/glob/dist/esm/ignore.js.map +0 -1
  1271. package/node_modules/glob/dist/esm/index.d.ts +0 -97
  1272. package/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  1273. package/node_modules/glob/dist/esm/index.js.map +0 -1
  1274. package/node_modules/glob/dist/esm/pattern.d.ts +0 -76
  1275. package/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  1276. package/node_modules/glob/dist/esm/pattern.js.map +0 -1
  1277. package/node_modules/glob/dist/esm/processor.d.ts +0 -59
  1278. package/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  1279. package/node_modules/glob/dist/esm/processor.js.map +0 -1
  1280. package/node_modules/glob/dist/esm/walker.d.ts +0 -97
  1281. package/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  1282. package/node_modules/glob/dist/esm/walker.js.map +0 -1
  1283. package/node_modules/https-proxy-agent/dist/index.d.ts +0 -47
  1284. package/node_modules/https-proxy-agent/dist/index.d.ts.map +0 -1
  1285. package/node_modules/https-proxy-agent/dist/index.js.map +0 -1
  1286. package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -15
  1287. package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +0 -1
  1288. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
  1289. package/node_modules/ip-address/dist/address-error.d.ts +0 -5
  1290. package/node_modules/ip-address/dist/address-error.d.ts.map +0 -1
  1291. package/node_modules/ip-address/dist/address-error.js.map +0 -1
  1292. package/node_modules/ip-address/dist/common.d.ts +0 -15
  1293. package/node_modules/ip-address/dist/common.d.ts.map +0 -1
  1294. package/node_modules/ip-address/dist/common.js.map +0 -1
  1295. package/node_modules/ip-address/dist/ip-address.d.ts +0 -8
  1296. package/node_modules/ip-address/dist/ip-address.d.ts.map +0 -1
  1297. package/node_modules/ip-address/dist/ip-address.js.map +0 -1
  1298. package/node_modules/ip-address/dist/ipv4.d.ts +0 -209
  1299. package/node_modules/ip-address/dist/ipv4.d.ts.map +0 -1
  1300. package/node_modules/ip-address/dist/ipv4.js.map +0 -1
  1301. package/node_modules/ip-address/dist/ipv6.d.ts +0 -428
  1302. package/node_modules/ip-address/dist/ipv6.d.ts.map +0 -1
  1303. package/node_modules/ip-address/dist/ipv6.js.map +0 -1
  1304. package/node_modules/ip-address/dist/v4/constants.d.ts +0 -5
  1305. package/node_modules/ip-address/dist/v4/constants.d.ts.map +0 -1
  1306. package/node_modules/ip-address/dist/v4/constants.js.map +0 -1
  1307. package/node_modules/ip-address/dist/v6/constants.d.ts +0 -45
  1308. package/node_modules/ip-address/dist/v6/constants.d.ts.map +0 -1
  1309. package/node_modules/ip-address/dist/v6/constants.js.map +0 -1
  1310. package/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
  1311. package/node_modules/ip-address/dist/v6/helpers.d.ts.map +0 -1
  1312. package/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
  1313. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -6
  1314. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +0 -1
  1315. package/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
  1316. package/node_modules/jackspeak/dist/commonjs/index.d.ts +0 -323
  1317. package/node_modules/jackspeak/dist/commonjs/index.d.ts.map +0 -1
  1318. package/node_modules/jackspeak/dist/commonjs/index.js.map +0 -1
  1319. package/node_modules/jackspeak/dist/commonjs/index.min.js.map +0 -7
  1320. package/node_modules/jackspeak/dist/esm/index.d.ts +0 -323
  1321. package/node_modules/jackspeak/dist/esm/index.d.ts.map +0 -1
  1322. package/node_modules/jackspeak/dist/esm/index.js.map +0 -1
  1323. package/node_modules/jackspeak/dist/esm/index.min.js.map +0 -7
  1324. package/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1323
  1325. package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
  1326. package/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
  1327. package/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
  1328. package/node_modules/lru-cache/dist/esm/index.d.ts +0 -1323
  1329. package/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
  1330. package/node_modules/lru-cache/dist/esm/index.js.map +0 -1
  1331. package/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
  1332. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
  1333. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
  1334. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
  1335. package/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -22
  1336. package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
  1337. package/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
  1338. package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
  1339. package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
  1340. package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
  1341. package/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -15
  1342. package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
  1343. package/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
  1344. package/node_modules/minimatch/dist/commonjs/index.d.ts +0 -174
  1345. package/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
  1346. package/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
  1347. package/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -22
  1348. package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
  1349. package/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
  1350. package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
  1351. package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
  1352. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
  1353. package/node_modules/minimatch/dist/esm/ast.d.ts +0 -22
  1354. package/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
  1355. package/node_modules/minimatch/dist/esm/ast.js.map +0 -1
  1356. package/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
  1357. package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
  1358. package/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
  1359. package/node_modules/minimatch/dist/esm/escape.d.ts +0 -15
  1360. package/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
  1361. package/node_modules/minimatch/dist/esm/escape.js.map +0 -1
  1362. package/node_modules/minimatch/dist/esm/index.d.ts +0 -174
  1363. package/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
  1364. package/node_modules/minimatch/dist/esm/index.js.map +0 -1
  1365. package/node_modules/minimatch/dist/esm/unescape.d.ts +0 -22
  1366. package/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
  1367. package/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
  1368. package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  1369. package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  1370. package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  1371. package/node_modules/minipass/dist/esm/index.d.ts +0 -545
  1372. package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  1373. package/node_modules/minipass/dist/esm/index.js.map +0 -1
  1374. package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +0 -89
  1375. package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +0 -1
  1376. package/node_modules/package-json-from-dist/dist/commonjs/index.js.map +0 -1
  1377. package/node_modules/package-json-from-dist/dist/esm/index.d.ts +0 -89
  1378. package/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +0 -1
  1379. package/node_modules/package-json-from-dist/dist/esm/index.js.map +0 -1
  1380. package/node_modules/path-scurry/dist/commonjs/index.d.ts +0 -1115
  1381. package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +0 -1
  1382. package/node_modules/path-scurry/dist/commonjs/index.js.map +0 -1
  1383. package/node_modules/path-scurry/dist/esm/index.d.ts +0 -1115
  1384. package/node_modules/path-scurry/dist/esm/index.d.ts.map +0 -1
  1385. package/node_modules/path-scurry/dist/esm/index.js.map +0 -1
  1386. package/node_modules/ret/dist/index.d.ts +0 -7
  1387. package/node_modules/ret/dist/index.js.map +0 -1
  1388. package/node_modules/ret/dist/reconstruct.d.ts +0 -2
  1389. package/node_modules/ret/dist/reconstruct.js.map +0 -1
  1390. package/node_modules/ret/dist/sets-lookup.d.ts +0 -5
  1391. package/node_modules/ret/dist/sets-lookup.js.map +0 -1
  1392. package/node_modules/ret/dist/sets.d.ts +0 -9
  1393. package/node_modules/ret/dist/sets.js.map +0 -1
  1394. package/node_modules/ret/dist/tokenizer.d.ts +0 -8
  1395. package/node_modules/ret/dist/tokenizer.js.map +0 -1
  1396. package/node_modules/ret/dist/types/index.d.ts +0 -3
  1397. package/node_modules/ret/dist/types/index.js.map +0 -1
  1398. package/node_modules/ret/dist/types/set-lookup.d.ts +0 -8
  1399. package/node_modules/ret/dist/types/set-lookup.js.map +0 -1
  1400. package/node_modules/ret/dist/types/tokens.d.ts +0 -41
  1401. package/node_modules/ret/dist/types/tokens.js.map +0 -1
  1402. package/node_modules/ret/dist/types/types.d.ts +0 -10
  1403. package/node_modules/ret/dist/types/types.js.map +0 -1
  1404. package/node_modules/ret/dist/util.d.ts +0 -18
  1405. package/node_modules/ret/dist/util.js.map +0 -1
  1406. package/node_modules/ret/dist/write-set-tokens.d.ts +0 -14
  1407. package/node_modules/ret/dist/write-set-tokens.js.map +0 -1
  1408. package/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
  1409. package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
  1410. package/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
  1411. package/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
  1412. package/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
  1413. package/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
  1414. package/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
  1415. package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
  1416. package/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
  1417. package/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
  1418. package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
  1419. package/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
  1420. package/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
  1421. package/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
  1422. package/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
  1423. package/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
  1424. package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
  1425. package/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
  1426. package/node_modules/socks-proxy-agent/dist/index.d.ts +0 -27
  1427. package/node_modules/socks-proxy-agent/dist/index.d.ts.map +0 -1
  1428. package/node_modules/socks-proxy-agent/dist/index.js.map +0 -1
  1429. package/node_modules/standardwebhooks/dist/index.d.ts +0 -24
  1430. package/node_modules/standardwebhooks/dist/index.js.map +0 -1
  1431. package/node_modules/standardwebhooks/dist/timing_safe_equal.d.ts +0 -1
  1432. package/node_modules/standardwebhooks/dist/timing_safe_equal.js.map +0 -1
  1433. package/node_modules/std-env/dist/index.d.cts +0 -92
  1434. package/node_modules/std-env/dist/index.d.mts +0 -92
  1435. package/node_modules/std-env/dist/index.d.ts +0 -92
  1436. /package/dist/ui/_next/static/{XLzUBsNMptwXfIl9-a4z_ → KwSMuRKWgTp_quB8AMAmD}/_buildManifest.js +0 -0
  1437. /package/dist/ui/_next/static/{XLzUBsNMptwXfIl9-a4z_ → KwSMuRKWgTp_quB8AMAmD}/_clientMiddlewareManifest.json +0 -0
  1438. /package/dist/ui/_next/static/{XLzUBsNMptwXfIl9-a4z_ → KwSMuRKWgTp_quB8AMAmD}/_ssgManifest.js +0 -0
@@ -1,271 +0,0 @@
1
- //#region src/keyless/types.d.ts
2
- /**
3
- * Represents an accountless application created in keyless mode.
4
- *
5
- * This interface matches the shape of `AccountlessApplication` from `@clerk/backend`.
6
- * We define it here to avoid a circular dependency (shared cannot depend on backend).
7
- * Framework packages that depend on both shared and backend can use either type
8
- * interchangeably since they have the same structure.
9
- */
10
- interface AccountlessApplication {
11
- readonly publishableKey: string;
12
- readonly secretKey: string;
13
- readonly claimUrl: string;
14
- readonly apiKeysUrl: string;
15
- }
16
- /**
17
- * Public-facing keyless application data (without secret key).
18
- */
19
- type PublicKeylessApplication = Omit<AccountlessApplication, 'secretKey'>;
20
- //#endregion
21
- //#region src/keyless/devCache.d.ts
22
- interface ClerkDevCache {
23
- __cache: Map<string, {
24
- expiresAt: number;
25
- data?: unknown;
26
- }>;
27
- /**
28
- * Log a message with throttling to prevent spam.
29
- */
30
- log: (params: {
31
- cacheKey: string;
32
- msg: string;
33
- }) => void;
34
- /**
35
- * Run an async callback with caching.
36
- */
37
- run: <T>(callback: () => Promise<T>, options: {
38
- cacheKey: string;
39
- onSuccessStale?: number;
40
- onErrorStale?: number;
41
- }) => Promise<T | undefined>;
42
- }
43
- declare global {
44
- var __clerk_internal_keyless_logger: ClerkDevCache | undefined;
45
- }
46
- /**
47
- * Creates a development-only cache for keyless mode logging and API calls.
48
- * This prevents console spam and duplicate API requests.
49
- *
50
- * @returns The cache instance or undefined in non-development environments
51
- */
52
- declare function createClerkDevCache(): ClerkDevCache | undefined;
53
- /**
54
- * Creates the console message shown when running in keyless mode.
55
- *
56
- * @param keys - The keyless application keys
57
- * @returns Formatted console message
58
- */
59
- declare function createKeylessModeMessage(keys: AccountlessApplication | PublicKeylessApplication): string;
60
- /**
61
- * Creates the console message shown when keys have been claimed.
62
- *
63
- * @returns Formatted console message
64
- */
65
- declare function createConfirmationMessage(): string;
66
- /**
67
- * Shared singleton instance of the development cache.
68
- */
69
- declare const clerkDevelopmentCache: ClerkDevCache | undefined;
70
- //#endregion
71
- //#region src/keyless/service.d.ts
72
- /**
73
- * Storage adapter interface for keyless mode.
74
- * Implementations can use file system, cookies, or other storage mechanisms.
75
- *
76
- * Implementations are responsible for their own concurrency handling
77
- * (e.g., file locking for file-based storage).
78
- */
79
- interface KeylessStorage {
80
- /**
81
- * Reads the stored keyless configuration.
82
- *
83
- * @returns The JSON string of the stored config, or empty string if not found.
84
- */
85
- read(): string;
86
- /**
87
- * Writes the keyless configuration to storage.
88
- *
89
- * @param data - The JSON string to store.
90
- */
91
- write(data: string): void;
92
- /**
93
- * Removes the keyless configuration from storage.
94
- */
95
- remove(): void;
96
- }
97
- /**
98
- * API adapter for keyless mode operations.
99
- * This abstraction allows the service to work without depending on @clerk/backend.
100
- */
101
- interface KeylessAPI {
102
- /**
103
- * Creates a new accountless application.
104
- *
105
- * @param requestHeaders - Optional headers to include with the request.
106
- * @returns The created AccountlessApplication or null if failed.
107
- */
108
- createAccountlessApplication(requestHeaders?: Headers): Promise<AccountlessApplication | null>;
109
- /**
110
- * Notifies the backend that onboarding is complete (instance has been claimed).
111
- *
112
- * @param requestHeaders - Optional headers to include with the request.
113
- * @returns The updated AccountlessApplication or null if failed.
114
- */
115
- completeOnboarding(requestHeaders?: Headers): Promise<AccountlessApplication | null>;
116
- }
117
- /**
118
- * Options for creating a keyless service.
119
- */
120
- interface KeylessServiceOptions {
121
- /**
122
- * Storage adapter for reading/writing keyless configuration.
123
- */
124
- storage: KeylessStorage;
125
- /**
126
- * API adapter for keyless operations (create application, complete onboarding).
127
- */
128
- api: KeylessAPI;
129
- /**
130
- * Optional: Framework name for metadata (e.g., 'Next.js', 'TanStack Start').
131
- */
132
- framework?: string;
133
- /**
134
- * Optional: Framework version for metadata.
135
- */
136
- frameworkVersion?: string;
137
- }
138
- /**
139
- * Result type for key resolution.
140
- */
141
- interface KeylessResult$1 {
142
- publishableKey: string | undefined;
143
- secretKey: string | undefined;
144
- claimUrl: string | undefined;
145
- apiKeysUrl: string | undefined;
146
- }
147
- /**
148
- * The keyless service interface.
149
- */
150
- interface KeylessService {
151
- /**
152
- * Gets existing keyless keys or creates new ones via the API.
153
- */
154
- getOrCreateKeys: () => Promise<AccountlessApplication | null>;
155
- /**
156
- * Reads existing keyless keys without creating new ones.
157
- */
158
- readKeys: () => AccountlessApplication | undefined;
159
- /**
160
- * Removes the keyless configuration.
161
- */
162
- removeKeys: () => void;
163
- /**
164
- * Notifies the backend that the instance has been claimed/onboarded.
165
- * This should be called once when the user claims their instance.
166
- */
167
- completeOnboarding: () => Promise<AccountlessApplication | null>;
168
- /**
169
- * Logs a keyless mode message to the console (throttled to once per process).
170
- */
171
- logKeylessMessage: (claimUrl: string) => void;
172
- /**
173
- * Resolves Clerk keys, falling back to keyless mode if configured keys are missing.
174
- *
175
- * @param configuredPublishableKey - The publishable key from options or environment
176
- * @param configuredSecretKey - The secret key from options or environment
177
- * @returns The resolved keys (either configured or from keyless mode)
178
- */
179
- resolveKeysWithKeylessFallback: (configuredPublishableKey: string | undefined, configuredSecretKey: string | undefined) => Promise<KeylessResult$1>;
180
- }
181
- /**
182
- * Creates a keyless service that handles accountless application creation and storage.
183
- * This provides a simple API for frameworks to integrate keyless mode.
184
- *
185
- * @param options - Configuration for the service including storage and API adapters
186
- * @returns A keyless service instance
187
- *
188
- * @example
189
- * ```ts
190
- * import { createKeylessService } from '@clerk/shared/keyless';
191
- *
192
- * const keylessService = createKeylessService({
193
- * storage: createFileStorage(),
194
- * api: createKeylessAPI({ secretKey }),
195
- * framework: 'TanStack Start',
196
- * });
197
- *
198
- * const keys = await keylessService.getOrCreateKeys(request);
199
- * if (keys) {
200
- * console.log('Publishable Key:', keys.publishableKey);
201
- * }
202
- * ```
203
- */
204
- declare function createKeylessService(options: KeylessServiceOptions): KeylessService;
205
- //#endregion
206
- //#region src/keyless/nodeFileStorage.d.ts
207
- interface NodeFileStorageOptions {
208
- /**
209
- * Function that returns the current working directory.
210
- * Defaults to process.cwd().
211
- */
212
- cwd?: () => string;
213
- /**
214
- * The framework name for the README message.
215
- * @example '@clerk/nextjs'
216
- */
217
- frameworkPackageName?: string;
218
- }
219
- interface FileSystemAdapter {
220
- existsSync: (path: string) => boolean;
221
- readFileSync: (path: string, options: {
222
- encoding: BufferEncoding;
223
- }) => string;
224
- writeFileSync: (path: string, data: string, options: {
225
- encoding: BufferEncoding;
226
- mode?: number;
227
- }) => void;
228
- appendFileSync: (path: string, data: string) => void;
229
- mkdirSync: (path: string, options: {
230
- recursive: boolean;
231
- }) => void;
232
- rmSync: (path: string, options: {
233
- force?: boolean;
234
- recursive?: boolean;
235
- }) => void;
236
- }
237
- interface PathAdapter {
238
- join: (...paths: string[]) => string;
239
- }
240
- /**
241
- * Creates a file-based storage adapter for keyless mode.
242
- * This is used by Node.js-based frameworks (Next.js, TanStack Start, etc.)
243
- * to persist keyless configuration to the file system.
244
- *
245
- * @param fs - Node.js fs module or compatible adapter
246
- * @param path - Node.js path module or compatible adapter
247
- * @param options - Configuration options
248
- * @returns A KeylessStorage implementation
249
- */
250
- declare function createNodeFileStorage(fs: FileSystemAdapter, path: PathAdapter, options?: NodeFileStorageOptions): KeylessStorage;
251
- //#endregion
252
- //#region src/keyless/resolveKeysWithKeylessFallback.d.ts
253
- interface KeylessResult {
254
- publishableKey: string | undefined;
255
- secretKey: string | undefined;
256
- claimUrl: string | undefined;
257
- apiKeysUrl: string | undefined;
258
- }
259
- /**
260
- * Resolves Clerk keys, falling back to keyless mode in development if configured keys are missing.
261
- *
262
- * @param configuredPublishableKey - The publishable key from options or environment
263
- * @param configuredSecretKey - The secret key from options or environment
264
- * @param keylessService - The keyless service instance (or null if unavailable)
265
- * @param canUseKeyless - Whether keyless mode is enabled in the current environment
266
- * @returns The resolved keys (either configured or from keyless mode)
267
- */
268
- declare function resolveKeysWithKeylessFallback(configuredPublishableKey: string | undefined, configuredSecretKey: string | undefined, keylessService: KeylessService | null, canUseKeyless: boolean): Promise<KeylessResult>;
269
- //#endregion
270
- export { type AccountlessApplication, type ClerkDevCache, type FileSystemAdapter, type KeylessAPI, type KeylessResult, type KeylessService, type KeylessServiceOptions, type KeylessStorage, type NodeFileStorageOptions, type PathAdapter, type PublicKeylessApplication, clerkDevelopmentCache, createClerkDevCache, createConfirmationMessage, createKeylessModeMessage, createKeylessService, createNodeFileStorage, resolveKeysWithKeylessFallback };
271
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/keyless/types.ts","../../../src/keyless/devCache.ts","../../../src/keyless/service.ts","../../../src/keyless/nodeFileStorage.ts","../../../src/keyless/resolveKeysWithKeylessFallback.ts"],"sourcesContent":[],"mappings":";;AAQA;AAUA;;;;ACZA;;AAU4B,UDRX,sBAAA,CCQW;EAAR,SAAA,cAAA,EAAA,MAAA;EAML,SAAA,SAAA,EAAA,MAAA;EAAR,SAAA,QAAA,EAAA,MAAA;EAAO,SAAA,UAAA,EAAA,MAAA;AACb;;;;AAGmD,KDRxC,wBAAA,GAA2B,ICQa,CDRR,sBCQQ,EAAA,WAAA,CAAA;;;ADlBnC,UCFA,aAAA,CDEsB;EAU3B,OAAA,ECXD,GDWC,CAAA,MAAA,EAAA;;;;ECZK;;;EAUG,GAAA,EAAA,CAAA,MAAA,EAAA;IAML,QAAA,EAAA,MAAA;IAAR,GAAA,EAAA,MAAA;EAAO,CAAA,EAAA,GAAA,IAAA;EACb;;;EAGmD,GAAA,EAAA,CAAA,CAAA,CAAA,CAAA,QAAA,EAAA,GAAA,GAVhC,OAUgC,CAVxB,CAUwB,CAAA,EAAA,OAAA,EAAA;IAAA,QAAA,EAAA,MAAA;IASpC,cAAA,CAAA,EAAA,MAAmB;IAyDnB,YAAA,CAAA,EAAA,MAAA;EASA,CAAA,EAAA,GA/ET,OA+ES,CA/ED,CA+EC,GAAA,SAAA,CAAyB;AAOzC;;uCAlFuC;;AChBvC;AAyBA;;;;;AAewD,iBDfxC,mBAAA,CAAA,CCewC,EDfjB,aCeiB,GAAA,SAAA;;;AAMxD;AAyBA;AAUA;;AAIyB,iBDHT,wBAAA,CCGS,IAAA,EDHsB,sBCGtB,GDH+C,wBCG/C,CAAA,EAAA,MAAA;;;;;;AAiCX,iBD3BE,yBAAA,CAAA,CC2BF,EAAA,MAAA;AA0Cd;;;cD9Da,uBAAqB;;;ADpGlC;AAUA;;;;ACZA;;AAU4B,UCNX,cAAA,CDMW;EAAR;;;;AAOnB;EAAA,IAAA,EAAA,EAAA,MAAA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EAAA,GAAA,IAAA;;;;EClGI,CAAA,EAAA,GAAA,IAAA;EAyBA,MAAA,EAAA,CAAA,IAAU,EAAA,MAAA,EAAA,OAAA,EAAA;IAOqB,KAAA,CAAA,EAAA,OAAA;IAAkB,SAAA,CAAA,EAAA,OAAA;EAAR,CAAA,EAAA,GAAA,IAAA;;AAQF,UCnBvC,WAAA,CDmBuC;EAAR,IAAA,EAAA,CAAA,GAAA,KAAA,EAAA,MAAA,EAAA,EAAA,GAAA,MAAA;;AAMhD;AAyBA;AAUA;;;;;;;;AAqCc,iBCnFE,qBAAA,CDmFF,EAAA,EClFR,iBDkFQ,EAAA,IAAA,ECjFN,WDiFM,EAAA,OAAA,CAAA,EChFH,sBDgFG,CAAA,EC/EX,cD+EW;;;AFxHG,UIJA,aAAA,CJIsB;EAU3B,cAAA,EAAA,MAAA,GAAA,SAAwB;;;;ACZpC;;;;;;;AAiBC;;;AAGmD,iBGN9B,8BAAA,CHM8B,wBAAA,EAAA,MAAA,GAAA,SAAA,EAAA,mBAAA,EAAA,MAAA,GAAA,SAAA,EAAA,cAAA,EGHlC,cHGkC,GAAA,IAAA,EAAA,aAAA,EAAA,OAAA,CAAA,EGDjD,OHCiD,CGDzC,aHCyC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["isDevelopmentEnvironment","claimUrl: string | undefined","apiKeysUrl: string | undefined","keylessApp: AccountlessApplication | null","claimUrl: string | undefined","apiKeysUrl: string | undefined","keylessApp: AccountlessApplication | null"],"sources":["../../../src/keyless/devCache.ts","../../../src/keyless/nodeFileStorage.ts","../../../src/keyless/service.ts","../../../src/keyless/resolveKeysWithKeylessFallback.ts"],"sourcesContent":["import { isDevelopmentEnvironment } from '../utils/runtimeEnvironment';\nimport type { AccountlessApplication, PublicKeylessApplication } from './types';\n\n// 10 minutes in milliseconds\nconst THROTTLE_DURATION_MS = 10 * 60 * 1000;\n\nexport interface ClerkDevCache {\n __cache: Map<string, { expiresAt: number; data?: unknown }>;\n /**\n * Log a message with throttling to prevent spam.\n */\n log: (params: { cacheKey: string; msg: string }) => void;\n /**\n * Run an async callback with caching.\n */\n run: <T>(\n callback: () => Promise<T>,\n options: {\n cacheKey: string;\n onSuccessStale?: number;\n onErrorStale?: number;\n },\n ) => Promise<T | undefined>;\n}\n\ndeclare global {\n var __clerk_internal_keyless_logger: ClerkDevCache | undefined;\n}\n\n/**\n * Creates a development-only cache for keyless mode logging and API calls.\n * This prevents console spam and duplicate API requests.\n *\n * @returns The cache instance or undefined in non-development environments\n */\nexport function createClerkDevCache(): ClerkDevCache | undefined {\n if (!isDevelopmentEnvironment()) {\n return undefined;\n }\n\n if (!globalThis.__clerk_internal_keyless_logger) {\n globalThis.__clerk_internal_keyless_logger = {\n __cache: new Map<string, { expiresAt: number; data?: unknown }>(),\n\n log: function ({ cacheKey, msg }) {\n if (this.__cache.has(cacheKey) && Date.now() < (this.__cache.get(cacheKey)?.expiresAt || 0)) {\n return;\n }\n\n console.log(msg);\n\n this.__cache.set(cacheKey, {\n expiresAt: Date.now() + THROTTLE_DURATION_MS,\n });\n },\n\n run: async function (\n callback,\n { cacheKey, onSuccessStale = THROTTLE_DURATION_MS, onErrorStale = THROTTLE_DURATION_MS },\n ) {\n if (this.__cache.has(cacheKey) && Date.now() < (this.__cache.get(cacheKey)?.expiresAt || 0)) {\n return this.__cache.get(cacheKey)?.data as ReturnType<typeof callback>;\n }\n\n try {\n const result = await callback();\n\n this.__cache.set(cacheKey, {\n expiresAt: Date.now() + onSuccessStale,\n data: result,\n });\n return result;\n } catch (e) {\n this.__cache.set(cacheKey, {\n expiresAt: Date.now() + onErrorStale,\n });\n\n throw e;\n }\n },\n };\n }\n\n return globalThis.__clerk_internal_keyless_logger;\n}\n\n/**\n * Creates the console message shown when running in keyless mode.\n *\n * @param keys - The keyless application keys\n * @returns Formatted console message\n */\nexport function createKeylessModeMessage(keys: AccountlessApplication | PublicKeylessApplication): string {\n return `\\n\\x1b[35m\\n[Clerk]:\\x1b[0m You are running in keyless mode.\\nYou can \\x1b[35mclaim your keys\\x1b[0m by visiting ${keys.claimUrl}\\n`;\n}\n\n/**\n * Creates the console message shown when keys have been claimed.\n *\n * @returns Formatted console message\n */\nexport function createConfirmationMessage(): string {\n return `\\n\\x1b[35m\\n[Clerk]:\\x1b[0m Your application is running with your claimed keys.\\nYou can safely remove the \\x1b[35m.clerk/\\x1b[0m from your project.\\n`;\n}\n\n/**\n * Shared singleton instance of the development cache.\n */\nexport const clerkDevelopmentCache = createClerkDevCache();\n","import type { KeylessStorage } from './service';\n\nconst CLERK_HIDDEN = '.clerk';\nconst CLERK_LOCK = 'clerk.lock';\nconst TEMP_DIR_NAME = '.tmp';\nconst CONFIG_FILE = 'keyless.json';\nconst README_FILE = 'README.md';\n\nexport interface NodeFileStorageOptions {\n /**\n * Function that returns the current working directory.\n * Defaults to process.cwd().\n */\n cwd?: () => string;\n\n /**\n * The framework name for the README message.\n * @example '@clerk/nextjs'\n */\n frameworkPackageName?: string;\n}\n\nexport interface FileSystemAdapter {\n existsSync: (path: string) => boolean;\n readFileSync: (path: string, options: { encoding: BufferEncoding }) => string;\n writeFileSync: (path: string, data: string, options: { encoding: BufferEncoding; mode?: number }) => void;\n appendFileSync: (path: string, data: string) => void;\n mkdirSync: (path: string, options: { recursive: boolean }) => void;\n rmSync: (path: string, options: { force?: boolean; recursive?: boolean }) => void;\n}\n\nexport interface PathAdapter {\n join: (...paths: string[]) => string;\n}\n\n/**\n * Creates a file-based storage adapter for keyless mode.\n * This is used by Node.js-based frameworks (Next.js, TanStack Start, etc.)\n * to persist keyless configuration to the file system.\n *\n * @param fs - Node.js fs module or compatible adapter\n * @param path - Node.js path module or compatible adapter\n * @param options - Configuration options\n * @returns A KeylessStorage implementation\n */\nexport function createNodeFileStorage(\n fs: FileSystemAdapter,\n path: PathAdapter,\n options: NodeFileStorageOptions = {},\n): KeylessStorage {\n const { cwd = () => process.cwd(), frameworkPackageName = '@clerk/shared' } = options;\n\n let inMemoryLock = false;\n\n const getClerkDir = () => path.join(cwd(), CLERK_HIDDEN);\n const getTempDir = () => path.join(getClerkDir(), TEMP_DIR_NAME);\n const getConfigPath = () => path.join(getTempDir(), CONFIG_FILE);\n const getReadmePath = () => path.join(getTempDir(), README_FILE);\n const getLockPath = () => path.join(cwd(), CLERK_LOCK);\n\n const isLocked = (): boolean => inMemoryLock || fs.existsSync(getLockPath());\n\n const lock = (): boolean => {\n if (isLocked()) {\n return false;\n }\n inMemoryLock = true;\n try {\n fs.writeFileSync(getLockPath(), 'This file can be deleted if your app is stuck.', {\n encoding: 'utf8',\n mode: 0o644,\n });\n return true;\n } catch {\n inMemoryLock = false;\n return false;\n }\n };\n\n const unlock = (): void => {\n inMemoryLock = false;\n try {\n if (fs.existsSync(getLockPath())) {\n fs.rmSync(getLockPath(), { force: true });\n }\n } catch {\n // Ignore\n }\n };\n\n const ensureDirectoryExists = () => {\n const tempDir = getTempDir();\n if (!fs.existsSync(tempDir)) {\n fs.mkdirSync(tempDir, { recursive: true });\n }\n };\n\n const updateGitignore = () => {\n const gitignorePath = path.join(cwd(), '.gitignore');\n const entry = `/${CLERK_HIDDEN}/`;\n\n if (!fs.existsSync(gitignorePath)) {\n fs.writeFileSync(gitignorePath, '', { encoding: 'utf8', mode: 0o644 });\n }\n\n const content = fs.readFileSync(gitignorePath, { encoding: 'utf-8' });\n if (!content.includes(entry)) {\n fs.appendFileSync(gitignorePath, `\\n# clerk configuration (can include secrets)\\n${entry}\\n`);\n }\n };\n\n const writeReadme = () => {\n const readme = `## DO NOT COMMIT\nThis directory is auto-generated from \\`${frameworkPackageName}\\` because you are running in Keyless mode.\nAvoid committing the \\`.clerk/\\` directory as it includes the secret key of the unclaimed instance.\n`;\n fs.writeFileSync(getReadmePath(), readme, { encoding: 'utf8', mode: 0o600 });\n };\n\n return {\n read(): string {\n try {\n if (!fs.existsSync(getConfigPath())) {\n return '';\n }\n return fs.readFileSync(getConfigPath(), { encoding: 'utf-8' });\n } catch {\n return '';\n }\n },\n\n write(data: string): void {\n if (!lock()) {\n return;\n }\n try {\n ensureDirectoryExists();\n updateGitignore();\n writeReadme();\n fs.writeFileSync(getConfigPath(), data, { encoding: 'utf8', mode: 0o600 });\n } finally {\n unlock();\n }\n },\n\n remove(): void {\n if (!lock()) {\n return;\n }\n try {\n if (fs.existsSync(getClerkDir())) {\n fs.rmSync(getClerkDir(), { recursive: true, force: true });\n }\n } finally {\n unlock();\n }\n },\n };\n}\n","import { clerkDevelopmentCache, createConfirmationMessage, createKeylessModeMessage } from './devCache';\nimport type { AccountlessApplication } from './types';\n\n/**\n * Storage adapter interface for keyless mode.\n * Implementations can use file system, cookies, or other storage mechanisms.\n *\n * Implementations are responsible for their own concurrency handling\n * (e.g., file locking for file-based storage).\n */\nexport interface KeylessStorage {\n /**\n * Reads the stored keyless configuration.\n *\n * @returns The JSON string of the stored config, or empty string if not found.\n */\n read(): string;\n\n /**\n * Writes the keyless configuration to storage.\n *\n * @param data - The JSON string to store.\n */\n write(data: string): void;\n\n /**\n * Removes the keyless configuration from storage.\n */\n remove(): void;\n}\n\n/**\n * API adapter for keyless mode operations.\n * This abstraction allows the service to work without depending on @clerk/backend.\n */\nexport interface KeylessAPI {\n /**\n * Creates a new accountless application.\n *\n * @param requestHeaders - Optional headers to include with the request.\n * @returns The created AccountlessApplication or null if failed.\n */\n createAccountlessApplication(requestHeaders?: Headers): Promise<AccountlessApplication | null>;\n\n /**\n * Notifies the backend that onboarding is complete (instance has been claimed).\n *\n * @param requestHeaders - Optional headers to include with the request.\n * @returns The updated AccountlessApplication or null if failed.\n */\n completeOnboarding(requestHeaders?: Headers): Promise<AccountlessApplication | null>;\n}\n\n/**\n * Options for creating a keyless service.\n */\nexport interface KeylessServiceOptions {\n /**\n * Storage adapter for reading/writing keyless configuration.\n */\n storage: KeylessStorage;\n\n /**\n * API adapter for keyless operations (create application, complete onboarding).\n */\n api: KeylessAPI;\n\n /**\n * Optional: Framework name for metadata (e.g., 'Next.js', 'TanStack Start').\n */\n framework?: string;\n\n /**\n * Optional: Framework version for metadata.\n */\n frameworkVersion?: string;\n}\n\n/**\n * Result type for key resolution.\n */\nexport interface KeylessResult {\n publishableKey: string | undefined;\n secretKey: string | undefined;\n claimUrl: string | undefined;\n apiKeysUrl: string | undefined;\n}\n\n/**\n * The keyless service interface.\n */\nexport interface KeylessService {\n /**\n * Gets existing keyless keys or creates new ones via the API.\n */\n getOrCreateKeys: () => Promise<AccountlessApplication | null>;\n\n /**\n * Reads existing keyless keys without creating new ones.\n */\n readKeys: () => AccountlessApplication | undefined;\n\n /**\n * Removes the keyless configuration.\n */\n removeKeys: () => void;\n\n /**\n * Notifies the backend that the instance has been claimed/onboarded.\n * This should be called once when the user claims their instance.\n */\n completeOnboarding: () => Promise<AccountlessApplication | null>;\n\n /**\n * Logs a keyless mode message to the console (throttled to once per process).\n */\n logKeylessMessage: (claimUrl: string) => void;\n\n /**\n * Resolves Clerk keys, falling back to keyless mode if configured keys are missing.\n *\n * @param configuredPublishableKey - The publishable key from options or environment\n * @param configuredSecretKey - The secret key from options or environment\n * @returns The resolved keys (either configured or from keyless mode)\n */\n resolveKeysWithKeylessFallback: (\n configuredPublishableKey: string | undefined,\n configuredSecretKey: string | undefined,\n ) => Promise<KeylessResult>;\n}\n\n/**\n * Creates metadata headers for the keyless service.\n */\nfunction createMetadataHeaders(framework?: string, frameworkVersion?: string): Headers {\n const headers = new Headers();\n\n if (framework) {\n headers.set('Clerk-Framework', framework);\n }\n if (frameworkVersion) {\n headers.set('Clerk-Framework-Version', frameworkVersion);\n }\n\n return headers;\n}\n\n/**\n * Creates a keyless service that handles accountless application creation and storage.\n * This provides a simple API for frameworks to integrate keyless mode.\n *\n * @param options - Configuration for the service including storage and API adapters\n * @returns A keyless service instance\n *\n * @example\n * ```ts\n * import { createKeylessService } from '@clerk/shared/keyless';\n *\n * const keylessService = createKeylessService({\n * storage: createFileStorage(),\n * api: createKeylessAPI({ secretKey }),\n * framework: 'TanStack Start',\n * });\n *\n * const keys = await keylessService.getOrCreateKeys(request);\n * if (keys) {\n * console.log('Publishable Key:', keys.publishableKey);\n * }\n * ```\n */\nexport function createKeylessService(options: KeylessServiceOptions): KeylessService {\n const { storage, api, framework, frameworkVersion } = options;\n\n let hasLoggedKeylessMessage = false;\n\n const safeParseConfig = (): AccountlessApplication | undefined => {\n try {\n const data = storage.read();\n if (!data) {\n return undefined;\n }\n return JSON.parse(data) as AccountlessApplication;\n } catch {\n return undefined;\n }\n };\n\n return {\n async getOrCreateKeys(): Promise<AccountlessApplication | null> {\n // Check for existing config first\n const existingConfig = safeParseConfig();\n if (existingConfig?.publishableKey && existingConfig?.secretKey) {\n return existingConfig;\n }\n\n // Create metadata headers\n const headers = createMetadataHeaders(framework, frameworkVersion);\n\n // Create new keys via the API\n const accountlessApplication = await api.createAccountlessApplication(headers);\n\n if (accountlessApplication) {\n storage.write(JSON.stringify(accountlessApplication));\n }\n\n return accountlessApplication;\n },\n\n readKeys(): AccountlessApplication | undefined {\n return safeParseConfig();\n },\n\n removeKeys(): void {\n storage.remove();\n },\n\n async completeOnboarding(): Promise<AccountlessApplication | null> {\n const headers = createMetadataHeaders(framework, frameworkVersion);\n return api.completeOnboarding(headers);\n },\n\n logKeylessMessage(claimUrl: string): void {\n if (!hasLoggedKeylessMessage) {\n hasLoggedKeylessMessage = true;\n console.log(`[Clerk]: Running in keyless mode. Claim your keys at: ${claimUrl}`);\n }\n },\n\n async resolveKeysWithKeylessFallback(\n configuredPublishableKey: string | undefined,\n configuredSecretKey: string | undefined,\n ): Promise<KeylessResult> {\n let publishableKey = configuredPublishableKey;\n let secretKey = configuredSecretKey;\n let claimUrl: string | undefined;\n let apiKeysUrl: string | undefined;\n\n try {\n const locallyStoredKeys = safeParseConfig();\n\n // Check if running with claimed keys (configured keys match locally stored keyless keys)\n const runningWithClaimedKeys =\n Boolean(configuredPublishableKey) && configuredPublishableKey === locallyStoredKeys?.publishableKey;\n\n if (runningWithClaimedKeys && locallyStoredKeys) {\n // Complete onboarding when running with claimed keys\n try {\n await clerkDevelopmentCache?.run(() => this.completeOnboarding(), {\n cacheKey: `${locallyStoredKeys.publishableKey}_complete`,\n onSuccessStale: 24 * 60 * 60 * 1000, // 24 hours\n });\n } catch {\n // noop\n }\n\n clerkDevelopmentCache?.log({\n cacheKey: `${locallyStoredKeys.publishableKey}_claimed`,\n msg: createConfirmationMessage(),\n });\n\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n }\n\n // In keyless mode, try to read/create keys from the file system\n if (!publishableKey && !secretKey) {\n const keylessApp: AccountlessApplication | null = await this.getOrCreateKeys();\n\n if (keylessApp) {\n publishableKey = keylessApp.publishableKey;\n secretKey = keylessApp.secretKey;\n claimUrl = keylessApp.claimUrl;\n apiKeysUrl = keylessApp.apiKeysUrl;\n\n clerkDevelopmentCache?.log({\n cacheKey: keylessApp.publishableKey,\n msg: createKeylessModeMessage(keylessApp),\n });\n }\n }\n } catch {\n // noop - fall through to return whatever keys we have\n }\n\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n },\n };\n}\n","import { clerkDevelopmentCache, createConfirmationMessage, createKeylessModeMessage } from './devCache';\nimport type { KeylessService } from './service';\nimport type { AccountlessApplication } from './types';\n\nexport interface KeylessResult {\n publishableKey: string | undefined;\n secretKey: string | undefined;\n claimUrl: string | undefined;\n apiKeysUrl: string | undefined;\n}\n\n/**\n * Resolves Clerk keys, falling back to keyless mode in development if configured keys are missing.\n *\n * @param configuredPublishableKey - The publishable key from options or environment\n * @param configuredSecretKey - The secret key from options or environment\n * @param keylessService - The keyless service instance (or null if unavailable)\n * @param canUseKeyless - Whether keyless mode is enabled in the current environment\n * @returns The resolved keys (either configured or from keyless mode)\n */\nexport async function resolveKeysWithKeylessFallback(\n configuredPublishableKey: string | undefined,\n configuredSecretKey: string | undefined,\n keylessService: KeylessService | null,\n canUseKeyless: boolean,\n): Promise<KeylessResult> {\n let publishableKey = configuredPublishableKey;\n let secretKey = configuredSecretKey;\n let claimUrl: string | undefined;\n let apiKeysUrl: string | undefined;\n\n if (!canUseKeyless) {\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n }\n\n if (!keylessService) {\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n }\n\n try {\n const locallyStoredKeys = keylessService.readKeys();\n\n // Check if running with claimed keys (configured keys match locally stored keyless keys)\n const runningWithClaimedKeys =\n Boolean(configuredPublishableKey) && configuredPublishableKey === locallyStoredKeys?.publishableKey;\n\n if (runningWithClaimedKeys && locallyStoredKeys) {\n // Complete onboarding when running with claimed keys\n try {\n await clerkDevelopmentCache?.run(() => keylessService.completeOnboarding(), {\n cacheKey: `${locallyStoredKeys.publishableKey}_complete`,\n onSuccessStale: 24 * 60 * 60 * 1000, // 24 hours\n });\n } catch {\n // noop\n }\n\n clerkDevelopmentCache?.log({\n cacheKey: `${locallyStoredKeys.publishableKey}_claimed`,\n msg: createConfirmationMessage(),\n });\n\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n }\n\n // In keyless mode, try to read/create keys from the file system\n if (!publishableKey && !secretKey) {\n const keylessApp: AccountlessApplication | null = await keylessService.getOrCreateKeys();\n\n if (keylessApp) {\n publishableKey = keylessApp.publishableKey;\n secretKey = keylessApp.secretKey;\n claimUrl = keylessApp.claimUrl;\n apiKeysUrl = keylessApp.apiKeysUrl;\n\n clerkDevelopmentCache?.log({\n cacheKey: keylessApp.publishableKey,\n msg: createKeylessModeMessage(keylessApp),\n });\n }\n }\n } catch {\n // noop - fall through to return whatever keys we have\n }\n\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n}\n"],"mappings":";;;AAIA,MAAM,uBAAuB,MAAU;;;;;;;AA+BvC,SAAgB,sBAAiD;AAC/D,KAAI,CAACA,qDAA0B,CAC7B;AAGF,KAAI,CAAC,WAAW,gCACd,YAAW,kCAAkC;EAC3C,yBAAS,IAAI,KAAoD;EAEjE,KAAK,SAAU,EAAE,UAAU,OAAO;AAChC,OAAI,KAAK,QAAQ,IAAI,SAAS,IAAI,KAAK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AAmB;AAE/C,OAAI;AACF,UAAM,uBAAuB,UAAU,eAAe,oBAAoB,EAAE;KAC1E,UAAU,GAAG,kBAAkB,eAAe;KAC9C,gBAAgB,OAAU,KAAK;KAChC,CAAC;WACI;AAIR,0BAAuB,IAAI;IACzB,UAAU,GAAG,kBAAkB,eAAe;IAC9C,KAAK,2BAA2B;IACjC,CAAC;AAEF,UAAO;IAAE;IAAgB;IAAW;IAAU;IAAY;;AAI5D,MAAI,CAAC,kBAAkB,CAAC,WAAW;GACjC,MAAMC,aAA4C,MAAM,eAAe,iBAAiB;AAExF,OAAI,YAAY;AACd,qBAAiB,WAAW;AAC5B,gBAAY,WAAW;AACvB,eAAW,WAAW;AACtB,iBAAa,WAAW;AAExB,2BAAuB,IAAI;KACzB,UAAU,WAAW;KACrB,KAAK,yBAAyB,WAAW;KAC1C,CAAC;;;SAGA;AAIR,QAAO;EAAE;EAAgB;EAAW;EAAU;EAAY"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","names":["claimUrl: string | undefined","apiKeysUrl: string | undefined","keylessApp: AccountlessApplication | null","claimUrl: string | undefined","apiKeysUrl: string | undefined","keylessApp: AccountlessApplication | null"],"sources":["../../../src/keyless/devCache.ts","../../../src/keyless/nodeFileStorage.ts","../../../src/keyless/service.ts","../../../src/keyless/resolveKeysWithKeylessFallback.ts"],"sourcesContent":["import { isDevelopmentEnvironment } from '../utils/runtimeEnvironment';\nimport type { AccountlessApplication, PublicKeylessApplication } from './types';\n\n// 10 minutes in milliseconds\nconst THROTTLE_DURATION_MS = 10 * 60 * 1000;\n\nexport interface ClerkDevCache {\n __cache: Map<string, { expiresAt: number; data?: unknown }>;\n /**\n * Log a message with throttling to prevent spam.\n */\n log: (params: { cacheKey: string; msg: string }) => void;\n /**\n * Run an async callback with caching.\n */\n run: <T>(\n callback: () => Promise<T>,\n options: {\n cacheKey: string;\n onSuccessStale?: number;\n onErrorStale?: number;\n },\n ) => Promise<T | undefined>;\n}\n\ndeclare global {\n var __clerk_internal_keyless_logger: ClerkDevCache | undefined;\n}\n\n/**\n * Creates a development-only cache for keyless mode logging and API calls.\n * This prevents console spam and duplicate API requests.\n *\n * @returns The cache instance or undefined in non-development environments\n */\nexport function createClerkDevCache(): ClerkDevCache | undefined {\n if (!isDevelopmentEnvironment()) {\n return undefined;\n }\n\n if (!globalThis.__clerk_internal_keyless_logger) {\n globalThis.__clerk_internal_keyless_logger = {\n __cache: new Map<string, { expiresAt: number; data?: unknown }>(),\n\n log: function ({ cacheKey, msg }) {\n if (this.__cache.has(cacheKey) && Date.now() < (this.__cache.get(cacheKey)?.expiresAt || 0)) {\n return;\n }\n\n console.log(msg);\n\n this.__cache.set(cacheKey, {\n expiresAt: Date.now() + THROTTLE_DURATION_MS,\n });\n },\n\n run: async function (\n callback,\n { cacheKey, onSuccessStale = THROTTLE_DURATION_MS, onErrorStale = THROTTLE_DURATION_MS },\n ) {\n if (this.__cache.has(cacheKey) && Date.now() < (this.__cache.get(cacheKey)?.expiresAt || 0)) {\n return this.__cache.get(cacheKey)?.data as ReturnType<typeof callback>;\n }\n\n try {\n const result = await callback();\n\n this.__cache.set(cacheKey, {\n expiresAt: Date.now() + onSuccessStale,\n data: result,\n });\n return result;\n } catch (e) {\n this.__cache.set(cacheKey, {\n expiresAt: Date.now() + onErrorStale,\n });\n\n throw e;\n }\n },\n };\n }\n\n return globalThis.__clerk_internal_keyless_logger;\n}\n\n/**\n * Creates the console message shown when running in keyless mode.\n *\n * @param keys - The keyless application keys\n * @returns Formatted console message\n */\nexport function createKeylessModeMessage(keys: AccountlessApplication | PublicKeylessApplication): string {\n return `\\n\\x1b[35m\\n[Clerk]:\\x1b[0m You are running in keyless mode.\\nYou can \\x1b[35mclaim your keys\\x1b[0m by visiting ${keys.claimUrl}\\n`;\n}\n\n/**\n * Creates the console message shown when keys have been claimed.\n *\n * @returns Formatted console message\n */\nexport function createConfirmationMessage(): string {\n return `\\n\\x1b[35m\\n[Clerk]:\\x1b[0m Your application is running with your claimed keys.\\nYou can safely remove the \\x1b[35m.clerk/\\x1b[0m from your project.\\n`;\n}\n\n/**\n * Shared singleton instance of the development cache.\n */\nexport const clerkDevelopmentCache = createClerkDevCache();\n","import type { KeylessStorage } from './service';\n\nconst CLERK_HIDDEN = '.clerk';\nconst CLERK_LOCK = 'clerk.lock';\nconst TEMP_DIR_NAME = '.tmp';\nconst CONFIG_FILE = 'keyless.json';\nconst README_FILE = 'README.md';\n\nexport interface NodeFileStorageOptions {\n /**\n * Function that returns the current working directory.\n * Defaults to process.cwd().\n */\n cwd?: () => string;\n\n /**\n * The framework name for the README message.\n * @example '@clerk/nextjs'\n */\n frameworkPackageName?: string;\n}\n\nexport interface FileSystemAdapter {\n existsSync: (path: string) => boolean;\n readFileSync: (path: string, options: { encoding: BufferEncoding }) => string;\n writeFileSync: (path: string, data: string, options: { encoding: BufferEncoding; mode?: number }) => void;\n appendFileSync: (path: string, data: string) => void;\n mkdirSync: (path: string, options: { recursive: boolean }) => void;\n rmSync: (path: string, options: { force?: boolean; recursive?: boolean }) => void;\n}\n\nexport interface PathAdapter {\n join: (...paths: string[]) => string;\n}\n\n/**\n * Creates a file-based storage adapter for keyless mode.\n * This is used by Node.js-based frameworks (Next.js, TanStack Start, etc.)\n * to persist keyless configuration to the file system.\n *\n * @param fs - Node.js fs module or compatible adapter\n * @param path - Node.js path module or compatible adapter\n * @param options - Configuration options\n * @returns A KeylessStorage implementation\n */\nexport function createNodeFileStorage(\n fs: FileSystemAdapter,\n path: PathAdapter,\n options: NodeFileStorageOptions = {},\n): KeylessStorage {\n const { cwd = () => process.cwd(), frameworkPackageName = '@clerk/shared' } = options;\n\n let inMemoryLock = false;\n\n const getClerkDir = () => path.join(cwd(), CLERK_HIDDEN);\n const getTempDir = () => path.join(getClerkDir(), TEMP_DIR_NAME);\n const getConfigPath = () => path.join(getTempDir(), CONFIG_FILE);\n const getReadmePath = () => path.join(getTempDir(), README_FILE);\n const getLockPath = () => path.join(cwd(), CLERK_LOCK);\n\n const isLocked = (): boolean => inMemoryLock || fs.existsSync(getLockPath());\n\n const lock = (): boolean => {\n if (isLocked()) {\n return false;\n }\n inMemoryLock = true;\n try {\n fs.writeFileSync(getLockPath(), 'This file can be deleted if your app is stuck.', {\n encoding: 'utf8',\n mode: 0o644,\n });\n return true;\n } catch {\n inMemoryLock = false;\n return false;\n }\n };\n\n const unlock = (): void => {\n inMemoryLock = false;\n try {\n if (fs.existsSync(getLockPath())) {\n fs.rmSync(getLockPath(), { force: true });\n }\n } catch {\n // Ignore\n }\n };\n\n const ensureDirectoryExists = () => {\n const tempDir = getTempDir();\n if (!fs.existsSync(tempDir)) {\n fs.mkdirSync(tempDir, { recursive: true });\n }\n };\n\n const updateGitignore = () => {\n const gitignorePath = path.join(cwd(), '.gitignore');\n const entry = `/${CLERK_HIDDEN}/`;\n\n if (!fs.existsSync(gitignorePath)) {\n fs.writeFileSync(gitignorePath, '', { encoding: 'utf8', mode: 0o644 });\n }\n\n const content = fs.readFileSync(gitignorePath, { encoding: 'utf-8' });\n if (!content.includes(entry)) {\n fs.appendFileSync(gitignorePath, `\\n# clerk configuration (can include secrets)\\n${entry}\\n`);\n }\n };\n\n const writeReadme = () => {\n const readme = `## DO NOT COMMIT\nThis directory is auto-generated from \\`${frameworkPackageName}\\` because you are running in Keyless mode.\nAvoid committing the \\`.clerk/\\` directory as it includes the secret key of the unclaimed instance.\n`;\n fs.writeFileSync(getReadmePath(), readme, { encoding: 'utf8', mode: 0o600 });\n };\n\n return {\n read(): string {\n try {\n if (!fs.existsSync(getConfigPath())) {\n return '';\n }\n return fs.readFileSync(getConfigPath(), { encoding: 'utf-8' });\n } catch {\n return '';\n }\n },\n\n write(data: string): void {\n if (!lock()) {\n return;\n }\n try {\n ensureDirectoryExists();\n updateGitignore();\n writeReadme();\n fs.writeFileSync(getConfigPath(), data, { encoding: 'utf8', mode: 0o600 });\n } finally {\n unlock();\n }\n },\n\n remove(): void {\n if (!lock()) {\n return;\n }\n try {\n if (fs.existsSync(getClerkDir())) {\n fs.rmSync(getClerkDir(), { recursive: true, force: true });\n }\n } finally {\n unlock();\n }\n },\n };\n}\n","import { clerkDevelopmentCache, createConfirmationMessage, createKeylessModeMessage } from './devCache';\nimport type { AccountlessApplication } from './types';\n\n/**\n * Storage adapter interface for keyless mode.\n * Implementations can use file system, cookies, or other storage mechanisms.\n *\n * Implementations are responsible for their own concurrency handling\n * (e.g., file locking for file-based storage).\n */\nexport interface KeylessStorage {\n /**\n * Reads the stored keyless configuration.\n *\n * @returns The JSON string of the stored config, or empty string if not found.\n */\n read(): string;\n\n /**\n * Writes the keyless configuration to storage.\n *\n * @param data - The JSON string to store.\n */\n write(data: string): void;\n\n /**\n * Removes the keyless configuration from storage.\n */\n remove(): void;\n}\n\n/**\n * API adapter for keyless mode operations.\n * This abstraction allows the service to work without depending on @clerk/backend.\n */\nexport interface KeylessAPI {\n /**\n * Creates a new accountless application.\n *\n * @param requestHeaders - Optional headers to include with the request.\n * @returns The created AccountlessApplication or null if failed.\n */\n createAccountlessApplication(requestHeaders?: Headers): Promise<AccountlessApplication | null>;\n\n /**\n * Notifies the backend that onboarding is complete (instance has been claimed).\n *\n * @param requestHeaders - Optional headers to include with the request.\n * @returns The updated AccountlessApplication or null if failed.\n */\n completeOnboarding(requestHeaders?: Headers): Promise<AccountlessApplication | null>;\n}\n\n/**\n * Options for creating a keyless service.\n */\nexport interface KeylessServiceOptions {\n /**\n * Storage adapter for reading/writing keyless configuration.\n */\n storage: KeylessStorage;\n\n /**\n * API adapter for keyless operations (create application, complete onboarding).\n */\n api: KeylessAPI;\n\n /**\n * Optional: Framework name for metadata (e.g., 'Next.js', 'TanStack Start').\n */\n framework?: string;\n\n /**\n * Optional: Framework version for metadata.\n */\n frameworkVersion?: string;\n}\n\n/**\n * Result type for key resolution.\n */\nexport interface KeylessResult {\n publishableKey: string | undefined;\n secretKey: string | undefined;\n claimUrl: string | undefined;\n apiKeysUrl: string | undefined;\n}\n\n/**\n * The keyless service interface.\n */\nexport interface KeylessService {\n /**\n * Gets existing keyless keys or creates new ones via the API.\n */\n getOrCreateKeys: () => Promise<AccountlessApplication | null>;\n\n /**\n * Reads existing keyless keys without creating new ones.\n */\n readKeys: () => AccountlessApplication | undefined;\n\n /**\n * Removes the keyless configuration.\n */\n removeKeys: () => void;\n\n /**\n * Notifies the backend that the instance has been claimed/onboarded.\n * This should be called once when the user claims their instance.\n */\n completeOnboarding: () => Promise<AccountlessApplication | null>;\n\n /**\n * Logs a keyless mode message to the console (throttled to once per process).\n */\n logKeylessMessage: (claimUrl: string) => void;\n\n /**\n * Resolves Clerk keys, falling back to keyless mode if configured keys are missing.\n *\n * @param configuredPublishableKey - The publishable key from options or environment\n * @param configuredSecretKey - The secret key from options or environment\n * @returns The resolved keys (either configured or from keyless mode)\n */\n resolveKeysWithKeylessFallback: (\n configuredPublishableKey: string | undefined,\n configuredSecretKey: string | undefined,\n ) => Promise<KeylessResult>;\n}\n\n/**\n * Creates metadata headers for the keyless service.\n */\nfunction createMetadataHeaders(framework?: string, frameworkVersion?: string): Headers {\n const headers = new Headers();\n\n if (framework) {\n headers.set('Clerk-Framework', framework);\n }\n if (frameworkVersion) {\n headers.set('Clerk-Framework-Version', frameworkVersion);\n }\n\n return headers;\n}\n\n/**\n * Creates a keyless service that handles accountless application creation and storage.\n * This provides a simple API for frameworks to integrate keyless mode.\n *\n * @param options - Configuration for the service including storage and API adapters\n * @returns A keyless service instance\n *\n * @example\n * ```ts\n * import { createKeylessService } from '@clerk/shared/keyless';\n *\n * const keylessService = createKeylessService({\n * storage: createFileStorage(),\n * api: createKeylessAPI({ secretKey }),\n * framework: 'TanStack Start',\n * });\n *\n * const keys = await keylessService.getOrCreateKeys(request);\n * if (keys) {\n * console.log('Publishable Key:', keys.publishableKey);\n * }\n * ```\n */\nexport function createKeylessService(options: KeylessServiceOptions): KeylessService {\n const { storage, api, framework, frameworkVersion } = options;\n\n let hasLoggedKeylessMessage = false;\n\n const safeParseConfig = (): AccountlessApplication | undefined => {\n try {\n const data = storage.read();\n if (!data) {\n return undefined;\n }\n return JSON.parse(data) as AccountlessApplication;\n } catch {\n return undefined;\n }\n };\n\n return {\n async getOrCreateKeys(): Promise<AccountlessApplication | null> {\n // Check for existing config first\n const existingConfig = safeParseConfig();\n if (existingConfig?.publishableKey && existingConfig?.secretKey) {\n return existingConfig;\n }\n\n // Create metadata headers\n const headers = createMetadataHeaders(framework, frameworkVersion);\n\n // Create new keys via the API\n const accountlessApplication = await api.createAccountlessApplication(headers);\n\n if (accountlessApplication) {\n storage.write(JSON.stringify(accountlessApplication));\n }\n\n return accountlessApplication;\n },\n\n readKeys(): AccountlessApplication | undefined {\n return safeParseConfig();\n },\n\n removeKeys(): void {\n storage.remove();\n },\n\n async completeOnboarding(): Promise<AccountlessApplication | null> {\n const headers = createMetadataHeaders(framework, frameworkVersion);\n return api.completeOnboarding(headers);\n },\n\n logKeylessMessage(claimUrl: string): void {\n if (!hasLoggedKeylessMessage) {\n hasLoggedKeylessMessage = true;\n console.log(`[Clerk]: Running in keyless mode. Claim your keys at: ${claimUrl}`);\n }\n },\n\n async resolveKeysWithKeylessFallback(\n configuredPublishableKey: string | undefined,\n configuredSecretKey: string | undefined,\n ): Promise<KeylessResult> {\n let publishableKey = configuredPublishableKey;\n let secretKey = configuredSecretKey;\n let claimUrl: string | undefined;\n let apiKeysUrl: string | undefined;\n\n try {\n const locallyStoredKeys = safeParseConfig();\n\n // Check if running with claimed keys (configured keys match locally stored keyless keys)\n const runningWithClaimedKeys =\n Boolean(configuredPublishableKey) && configuredPublishableKey === locallyStoredKeys?.publishableKey;\n\n if (runningWithClaimedKeys && locallyStoredKeys) {\n // Complete onboarding when running with claimed keys\n try {\n await clerkDevelopmentCache?.run(() => this.completeOnboarding(), {\n cacheKey: `${locallyStoredKeys.publishableKey}_complete`,\n onSuccessStale: 24 * 60 * 60 * 1000, // 24 hours\n });\n } catch {\n // noop\n }\n\n clerkDevelopmentCache?.log({\n cacheKey: `${locallyStoredKeys.publishableKey}_claimed`,\n msg: createConfirmationMessage(),\n });\n\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n }\n\n // In keyless mode, try to read/create keys from the file system\n if (!publishableKey && !secretKey) {\n const keylessApp: AccountlessApplication | null = await this.getOrCreateKeys();\n\n if (keylessApp) {\n publishableKey = keylessApp.publishableKey;\n secretKey = keylessApp.secretKey;\n claimUrl = keylessApp.claimUrl;\n apiKeysUrl = keylessApp.apiKeysUrl;\n\n clerkDevelopmentCache?.log({\n cacheKey: keylessApp.publishableKey,\n msg: createKeylessModeMessage(keylessApp),\n });\n }\n }\n } catch {\n // noop - fall through to return whatever keys we have\n }\n\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n },\n };\n}\n","import { clerkDevelopmentCache, createConfirmationMessage, createKeylessModeMessage } from './devCache';\nimport type { KeylessService } from './service';\nimport type { AccountlessApplication } from './types';\n\nexport interface KeylessResult {\n publishableKey: string | undefined;\n secretKey: string | undefined;\n claimUrl: string | undefined;\n apiKeysUrl: string | undefined;\n}\n\n/**\n * Resolves Clerk keys, falling back to keyless mode in development if configured keys are missing.\n *\n * @param configuredPublishableKey - The publishable key from options or environment\n * @param configuredSecretKey - The secret key from options or environment\n * @param keylessService - The keyless service instance (or null if unavailable)\n * @param canUseKeyless - Whether keyless mode is enabled in the current environment\n * @returns The resolved keys (either configured or from keyless mode)\n */\nexport async function resolveKeysWithKeylessFallback(\n configuredPublishableKey: string | undefined,\n configuredSecretKey: string | undefined,\n keylessService: KeylessService | null,\n canUseKeyless: boolean,\n): Promise<KeylessResult> {\n let publishableKey = configuredPublishableKey;\n let secretKey = configuredSecretKey;\n let claimUrl: string | undefined;\n let apiKeysUrl: string | undefined;\n\n if (!canUseKeyless) {\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n }\n\n if (!keylessService) {\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n }\n\n try {\n const locallyStoredKeys = keylessService.readKeys();\n\n // Check if running with claimed keys (configured keys match locally stored keyless keys)\n const runningWithClaimedKeys =\n Boolean(configuredPublishableKey) && configuredPublishableKey === locallyStoredKeys?.publishableKey;\n\n if (runningWithClaimedKeys && locallyStoredKeys) {\n // Complete onboarding when running with claimed keys\n try {\n await clerkDevelopmentCache?.run(() => keylessService.completeOnboarding(), {\n cacheKey: `${locallyStoredKeys.publishableKey}_complete`,\n onSuccessStale: 24 * 60 * 60 * 1000, // 24 hours\n });\n } catch {\n // noop\n }\n\n clerkDevelopmentCache?.log({\n cacheKey: `${locallyStoredKeys.publishableKey}_claimed`,\n msg: createConfirmationMessage(),\n });\n\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n }\n\n // In keyless mode, try to read/create keys from the file system\n if (!publishableKey && !secretKey) {\n const keylessApp: AccountlessApplication | null = await keylessService.getOrCreateKeys();\n\n if (keylessApp) {\n publishableKey = keylessApp.publishableKey;\n secretKey = keylessApp.secretKey;\n claimUrl = keylessApp.claimUrl;\n apiKeysUrl = keylessApp.apiKeysUrl;\n\n clerkDevelopmentCache?.log({\n cacheKey: keylessApp.publishableKey,\n msg: createKeylessModeMessage(keylessApp),\n });\n }\n }\n } catch {\n // noop - fall through to return whatever keys we have\n }\n\n return { publishableKey, secretKey, claimUrl, apiKeysUrl };\n}\n"],"mappings":";;;AAIA,MAAM,uBAAuB,MAAU;;;;;;;AA+BvC,SAAgB,sBAAiD;AAC/D,KAAI,CAAC,0BAA0B,CAC7B;AAGF,KAAI,CAAC,WAAW,gCACd,YAAW,kCAAkC;EAC3C,yBAAS,IAAI,KAAoD;EAEjE,KAAK,SAAU,EAAE,UAAU,OAAO;AAChC,OAAI,KAAK,QAAQ,IAAI,SAAS,IAAI,KAAK,KAAK,IAAI,KAAK,QAAQ,IAAI,SAAS,EAAE,aAAa,GACvF;AAGF,WAAQ,IAAI,IAAI;AAEhB,QAAK,QAAQ,IAAI,UAAU,EACzB,WAAW,KAAK,KAAK,GAAG,sBACzB,CAAC;;EAGJ,KAAK,eACH,UACA,EAAE,UAAU,iBAAi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9C,KAAK,2BAA2B;IACjC,CAAC;AAEF,UAAO;IAAE;IAAgB;IAAW;IAAU;IAAY;;AAI5D,MAAI,CAAC,kBAAkB,CAAC,WAAW;GACjC,MAAMC,aAA4C,MAAM,eAAe,iBAAiB;AAExF,OAAI,YAAY;AACd,qBAAiB,WAAW;AAC5B,gBAAY,WAAW;AACvB,eAAW,WAAW;AACtB,iBAAa,WAAW;AAExB,2BAAuB,IAAI;KACzB,UAAU,WAAW;KACrB,KAAK,yBAAyB,WAAW;KAC1C,CAAC;;;SAGA;AAIR,QAAO;EAAE;EAAgB;EAAW;EAAU;EAAY"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"keys-BI9hmfja.js","names":["LEGACY_DEV_INSTANCE_SUFFIXES","isomorphicBtoa","decodedFrontendApi: string","isomorphicAtob","DEV_OR_STAGING_SUFFIXES"],"sources":["../../src/keys.ts"],"sourcesContent":["import { DEV_OR_STAGING_SUFFIXES, LEGACY_DEV_INSTANCE_SUFFIXES } from './constants';\nimport { isomorphicAtob } from './isomorphicAtob';\nimport { isomorphicBtoa } from './isomorphicBtoa';\nimport type { PublishableKey } from './types';\n\n/**\n * Configuration options for parsing publishable keys.\n */\ntype ParsePublishableKeyOptions = {\n /** Whether to throw an error if parsing fails */\n fatal?: boolean;\n /** Custom domain to use for satellite instances */\n domain?: string;\n /** Proxy URL to use instead of the decoded frontend API */\n proxyUrl?: string;\n /** Whether this is a satellite instance */\n isSatellite?: boolean;\n};\n\n/** Prefix used for production publishable keys */\nconst PUBLISHABLE_KEY_LIVE_PREFIX = 'pk_live_';\n\n/** Prefix used for development publishable keys */\nconst PUBLISHABLE_KEY_TEST_PREFIX = 'pk_test_';\n\n/**\n * Regular expression that matches development frontend API keys.\n * Matches patterns like: foo-bar-13.clerk.accounts.dev.\n */\nconst PUBLISHABLE_FRONTEND_API_DEV_REGEX = /^(([a-z]+)-){2}([0-9]{1,2})\\.clerk\\.accounts([a-z.]*)(dev|com)$/i;\n\n/**\n * Converts a frontend API URL into a base64-encoded publishable key.\n *\n * @param frontendApi - The frontend API URL (e.g., 'clerk.example.com').\n * @returns A base64-encoded publishable key with appropriate prefix (pk_live_ or pk_test_).\n */\nexport function buildPublishableKey(frontendApi: string): string {\n const isDevKey =\n PUBLISHABLE_FRONTEND_API_DEV_REGEX.test(frontendApi) ||\n (frontendApi.startsWith('clerk.') && LEGACY_DEV_INSTANCE_SUFFIXES.some(s => frontendApi.endsWith(s)));\n const keyPrefix = isDevKey ? PUBLISHABLE_KEY_TEST_PREFIX : PUBLISHABLE_KEY_LIVE_PREFIX;\n return `${keyPrefix}${isomorphicBtoa(`${frontendApi}$`)}`;\n}\n\n/**\n * Validates that a decoded publishable key has the correct format.\n * The decoded value should be a frontend API followed by exactly one '$' at the end.\n *\n * @param decoded - The decoded publishable key string to validate.\n * @returns `true` if the decoded key has valid format, `false` otherwise.\n */\nfunction isValidDecodedPublishableKey(decoded: string): boolean {\n if (!decoded.endsWith('$')) {\n return false;\n }\n\n const withoutTrailing = decoded.slice(0, -1);\n if (withoutTrailing.includes('$')) {\n return false;\n }\n\n return withoutTrailing.includes('.');\n}\n\nexport function parsePublishableKey(\n key: string | undefined,\n options: ParsePublishableKeyOptions & { fatal: true },\n): PublishableKey;\nexport function parsePublishableKey(\n key: string | undefined,\n options?: ParsePublishableKeyOptions,\n): PublishableKey | null;\n/**\n * Parses and validates a publishable key, extracting the frontend API and instance type.\n *\n * @param key - The publishable key to parse.\n * @param options - Configuration options for parsing.\n * @param options.fatal\n * @param options.domain\n * @param options.proxyUrl\n * @param options.isSatellite\n * @returns Parsed publishable key object with instanceType and frontendApi, or null if invalid.\n *\n * @throws {Error} When options.fatal is true and key is missing or invalid.\n */\nexport function parsePublishableKey(\n key: string | undefined,\n options: { fatal?: boolean; domain?: string; proxyUrl?: string; isSatellite?: boolean } = {},\n): PublishableKey | null {\n key = key || '';\n\n if (!key || !isPublishableKey(key)) {\n if (options.fatal && !key) {\n throw new Error(\n 'Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys',\n );\n }\n if (options.fatal && !isPublishableKey(key)) {\n throw new Error('Publishable key not valid.');\n }\n return null;\n }\n\n const instanceType = key.startsWith(PUBLISHABLE_KEY_LIVE_PREFIX) ? 'production' : 'development';\n\n let decodedFrontendApi: string;\n try {\n decodedFrontendApi = isomorphicAtob(key.split('_')[2]);\n } catch {\n if (options.fatal) {\n throw new Error('Publishable key not valid: Failed to decode key.');\n }\n return null;\n }\n\n if (!isValidDecodedPublishableKey(decodedFrontendApi)) {\n if (options.fatal) {\n throw new Error('Publishable key not valid: Decoded key has invalid format.');\n }\n return null;\n }\n\n let frontendApi = decodedFrontendApi.slice(0, -1);\n\n if (options.proxyUrl) {\n frontendApi = options.proxyUrl;\n } else if (instanceType !== 'development' && options.domain && options.isSatellite) {\n frontendApi = `clerk.${options.domain}`;\n }\n\n return {\n instanceType,\n frontendApi,\n };\n}\n\n/**\n * Checks if the provided key is a valid publishable key.\n *\n * @param key - The key to be checked. Defaults to an empty string if not provided.\n * @returns `true` if 'key' is a valid publishable key, `false` otherwise.\n */\nexport function isPublishableKey(key: string = '') {\n try {\n const hasValidPrefix = key.startsWith(PUBLISHABLE_KEY_LIVE_PREFIX) || key.startsWith(PUBLISHABLE_KEY_TEST_PREFIX);\n\n if (!hasValidPrefix) {\n return false;\n }\n\n const parts = key.split('_');\n if (parts.length !== 3) {\n return false;\n }\n\n const encodedPart = parts[2];\n if (!encodedPart) {\n return false;\n }\n\n const decoded = isomorphicAtob(encodedPart);\n return isValidDecodedPublishableKey(decoded);\n } catch {\n return false;\n }\n}\n\n/**\n * Creates a memoized cache for checking if URLs are development or staging environments.\n * Uses a Map to cache results for better performance on repeated checks.\n *\n * @returns An object with an isDevOrStagingUrl method that checks if a URL is dev/staging.\n */\nexport function createDevOrStagingUrlCache() {\n const devOrStagingUrlCache = new Map<string, boolean>();\n\n return {\n /**\n * Checks if a URL is a development or staging environment.\n *\n * @param url - The URL to check (string or URL object).\n * @returns `true` if the URL is a development or staging environment, `false` otherwise.\n */\n isDevOrStagingUrl: (url: string | URL): boolean => {\n if (!url) {\n return false;\n }\n\n const hostname = typeof url === 'string' ? url : url.hostname;\n let res = devOrStagingUrlCache.get(hostname);\n if (res === undefined) {\n res = DEV_OR_STAGING_SUFFIXES.some(s => hostname.endsWith(s));\n devOrStagingUrlCache.set(hostname, res);\n }\n return res;\n },\n };\n}\n\n/**\n * Checks if a publishable key is for a development environment.\n * Supports both legacy format (test_) and new format (pk_test_).\n *\n * @param apiKey - The API key to check.\n * @returns `true` if the key is for development, `false` otherwise.\n */\nexport function isDevelopmentFromPublishableKey(apiKey: string): boolean {\n return apiKey.startsWith('test_') || apiKey.startsWith('pk_test_');\n}\n\n/**\n * Checks if a publishable key is for a production environment.\n * Supports both legacy format (live_) and new format (pk_live_).\n *\n * @param apiKey - The API key to check.\n * @returns `true` if the key is for production, `false` otherwise.\n */\nexport function isProductionFromPublishableKey(apiKey: string): boolean {\n return apiKey.startsWith('live_') || apiKey.startsWith('pk_live_');\n}\n\n/**\n * Checks if a secret key is for a development environment.\n * Supports both legacy format (test_) and new format (sk_test_).\n *\n * @param apiKey - The secret key to check.\n * @returns `true` if the key is for development, `false` otherwise.\n */\nexport function isDevelopmentFromSecretKey(apiKey: string): boolean {\n return apiKey.startsWith('test_') || apiKey.startsWith('sk_test_');\n}\n\n/**\n * Checks if a secret key is for a production environment.\n * Supports both legacy format (live_) and new format (sk_live_).\n *\n * @param apiKey - The secret key to check.\n * @returns `true` if the key is for production, `false` otherwise.\n */\nexport function isProductionFromSecretKey(apiKey: string): boolean {\n return apiKey.startsWith('live_') || apiKey.startsWith('sk_live_');\n}\n\n/**\n * Generates a unique cookie suffix based on the publishable key using SHA-1 hashing.\n * The suffix is base64-encoded and URL-safe (+ and / characters are replaced).\n *\n * @param publishableKey - The publishable key to generate suffix from.\n * @param subtle - The SubtleCrypto interface to use for hashing (defaults to globalThis.crypto.subtle).\n * @returns A promise that resolves to an 8-character URL-safe base64 string.\n */\nexport async function getCookieSuffix(\n publishableKey: string,\n subtle: SubtleCrypto = globalThis.crypto.subtle,\n): Promise<string> {\n const data = new TextEncoder().encode(publishableKey);\n const digest = await subtle.digest('sha-1', data);\n const stringDigest = String.fromCharCode(...new Uint8Array(digest));\n // Base 64 Encoding with URL and Filename Safe Alphabet: https://datatracker.ietf.org/doc/html/rfc4648#section-5\n return isomorphicBtoa(stringDigest).replace(/\\+/gi, '-').replace(/\\//gi, '_').substring(0, 8);\n}\n\n/**\n * Creates a suffixed cookie name by appending the cookie suffix to the base name.\n * Used to create unique cookie names based on the publishable key.\n *\n * @param cookieName - The base cookie name.\n * @param cookieSuffix - The suffix to append (typically generated by getCookieSuffix).\n * @returns The suffixed cookie name in format: `${cookieName}_${cookieSuffix}`.\n */\nexport const getSuffixedCookieName = (cookieName: string, cookieSuffix: string): string => {\n return `${cookieName}_${cookieSuffix}`;\n};\n"],"mappings":";;;;;;AAoBA,MAAM,8BAA8B;;AAGpC,MAAM,8BAA8B;;;;;AAMpC,MAAM,qCAAqC;;;;;;;AAQ3C,SAAgB,oBAAoB,aAA6B;AAK/D,QAAO,GAHL,mCAAmC,KAAK,YAAY,IACnD,YAAY,WAAW,SAAS,IAAIA,+CAA6B,MAAK,MAAK,YAAY,SAAS,EAAE,CAAC,GACzE,8BAA8B,8BACrCC,sCAAe,GAAG,YAAY,GAAG;;;;;;;;;AAUzD,SAAS,6BAA6B,SAA0B;AAC9D,KAAI,CAAC,QAAQ,SAAS,IAAI,CACxB,QAAO;CAGT,MAAM,kBAAkB,QAAQ,MAAM,GAAG,GAAG;AAC5C,KAAI,gBAAgB,SAAS,IAAI,CAC/B,QAAO;AAGT,QAAO,gBAAgB,SAAS,IAAI;;;;;;;;;;;;;;;AAwBtC,SAAgB,oBACd,KACA,UAA0F,EAAE,EACrE;AACvB,OAAM,OAAO;AAEb,KAAI,CAAC,OAAO,CAAC,iBAAiB,IAAI,EAA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S,SAAS,EAAE,CAAC;AAC7D,wBAAqB,IAAI,UAAU,IAAI;;AAEzC,SAAO;IAEV;;;;;;;;;AAUH,SAAgB,gCAAgC,QAAyB;AACvE,QAAO,OAAO,WAAW,QAAQ,IAAI,OAAO,WAAW,WAAW;;;;;;;;;AAUpE,SAAgB,+BAA+B,QAAyB;AACtE,QAAO,OAAO,WAAW,QAAQ,IAAI,OAAO,WAAW,WAAW;;;;;;;;;AAUpE,SAAgB,2BAA2B,QAAyB;AAClE,QAAO,OAAO,WAAW,QAAQ,IAAI,OAAO,WAAW,WAAW;;;;;;;;;AAUpE,SAAgB,0BAA0B,QAAyB;AACjE,QAAO,OAAO,WAAW,QAAQ,IAAI,OAAO,WAAW,WAAW;;;;;;;;;;AAWpE,eAAsB,gBACpB,gBACA,SAAuB,WAAW,OAAO,QACxB;CACjB,MAAM,OAAO,IAAI,aAAa,CAAC,OAAO,eAAe;CACrD,MAAM,SAAS,MAAM,OAAO,OAAO,SAAS,KAAK;AAGjD,QAAOH,sCAFc,OAAO,aAAa,GAAG,IAAI,WAAW,OAAO,CAAC,CAEhC,CAAC,QAAQ,QAAQ,IAAI,CAAC,QAAQ,QAAQ,IAAI,CAAC,UAAU,GAAG,EAAE;;;;;;;;;;AAW/F,MAAa,yBAAyB,YAAoB,iBAAiC;AACzF,QAAO,GAAG,WAAW,GAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"keys-DuxzP8MU.mjs","names":["decodedFrontendApi: string"],"sources":["../../src/keys.ts"],"sourcesContent":["import { DEV_OR_STAGING_SUFFIXES, LEGACY_DEV_INSTANCE_SUFFIXES } from './constants';\nimport { isomorphicAtob } from './isomorphicAtob';\nimport { isomorphicBtoa } from './isomorphicBtoa';\nimport type { PublishableKey } from './types';\n\n/**\n * Configuration options for parsing publishable keys.\n */\ntype ParsePublishableKeyOptions = {\n /** Whether to throw an error if parsing fails */\n fatal?: boolean;\n /** Custom domain to use for satellite instances */\n domain?: string;\n /** Proxy URL to use instead of the decoded frontend API */\n proxyUrl?: string;\n /** Whether this is a satellite instance */\n isSatellite?: boolean;\n};\n\n/** Prefix used for production publishable keys */\nconst PUBLISHABLE_KEY_LIVE_PREFIX = 'pk_live_';\n\n/** Prefix used for development publishable keys */\nconst PUBLISHABLE_KEY_TEST_PREFIX = 'pk_test_';\n\n/**\n * Regular expression that matches development frontend API keys.\n * Matches patterns like: foo-bar-13.clerk.accounts.dev.\n */\nconst PUBLISHABLE_FRONTEND_API_DEV_REGEX = /^(([a-z]+)-){2}([0-9]{1,2})\\.clerk\\.accounts([a-z.]*)(dev|com)$/i;\n\n/**\n * Converts a frontend API URL into a base64-encoded publishable key.\n *\n * @param frontendApi - The frontend API URL (e.g., 'clerk.example.com').\n * @returns A base64-encoded publishable key with appropriate prefix (pk_live_ or pk_test_).\n */\nexport function buildPublishableKey(frontendApi: string): string {\n const isDevKey =\n PUBLISHABLE_FRONTEND_API_DEV_REGEX.test(frontendApi) ||\n (frontendApi.startsWith('clerk.') && LEGACY_DEV_INSTANCE_SUFFIXES.some(s => frontendApi.endsWith(s)));\n const keyPrefix = isDevKey ? PUBLISHABLE_KEY_TEST_PREFIX : PUBLISHABLE_KEY_LIVE_PREFIX;\n return `${keyPrefix}${isomorphicBtoa(`${frontendApi}$`)}`;\n}\n\n/**\n * Validates that a decoded publishable key has the correct format.\n * The decoded value should be a frontend API followed by exactly one '$' at the end.\n *\n * @param decoded - The decoded publishable key string to validate.\n * @returns `true` if the decoded key has valid format, `false` otherwise.\n */\nfunction isValidDecodedPublishableKey(decoded: string): boolean {\n if (!decoded.endsWith('$')) {\n return false;\n }\n\n const withoutTrailing = decoded.slice(0, -1);\n if (withoutTrailing.includes('$')) {\n return false;\n }\n\n return withoutTrailing.includes('.');\n}\n\nexport function parsePublishableKey(\n key: string | undefined,\n options: ParsePublishableKeyOptions & { fatal: true },\n): PublishableKey;\nexport function parsePublishableKey(\n key: string | undefined,\n options?: ParsePublishableKeyOptions,\n): PublishableKey | null;\n/**\n * Parses and validates a publishable key, extracting the frontend API and instance type.\n *\n * @param key - The publishable key to parse.\n * @param options - Configuration options for parsing.\n * @param options.fatal\n * @param options.domain\n * @param options.proxyUrl\n * @param options.isSatellite\n * @returns Parsed publishable key object with instanceType and frontendApi, or null if invalid.\n *\n * @throws {Error} When options.fatal is true and key is missing or invalid.\n */\nexport function parsePublishableKey(\n key: string | undefined,\n options: { fatal?: boolean; domain?: string; proxyUrl?: string; isSatellite?: boolean } = {},\n): PublishableKey | null {\n key = key || '';\n\n if (!key || !isPublishableKey(key)) {\n if (options.fatal && !key) {\n throw new Error(\n 'Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys',\n );\n }\n if (options.fatal && !isPublishableKey(key)) {\n throw new Error('Publishable key not valid.');\n }\n return null;\n }\n\n const instanceType = key.startsWith(PUBLISHABLE_KEY_LIVE_PREFIX) ? 'production' : 'development';\n\n let decodedFrontendApi: string;\n try {\n decodedFrontendApi = isomorphicAtob(key.split('_')[2]);\n } catch {\n if (options.fatal) {\n throw new Error('Publishable key not valid: Failed to decode key.');\n }\n return null;\n }\n\n if (!isValidDecodedPublishableKey(decodedFrontendApi)) {\n if (options.fatal) {\n throw new Error('Publishable key not valid: Decoded key has invalid format.');\n }\n return null;\n }\n\n let frontendApi = decodedFrontendApi.slice(0, -1);\n\n if (options.proxyUrl) {\n frontendApi = options.proxyUrl;\n } else if (instanceType !== 'development' && options.domain && options.isSatellite) {\n frontendApi = `clerk.${options.domain}`;\n }\n\n return {\n instanceType,\n frontendApi,\n };\n}\n\n/**\n * Checks if the provided key is a valid publishable key.\n *\n * @param key - The key to be checked. Defaults to an empty string if not provided.\n * @returns `true` if 'key' is a valid publishable key, `false` otherwise.\n */\nexport function isPublishableKey(key: string = '') {\n try {\n const hasValidPrefix = key.startsWith(PUBLISHABLE_KEY_LIVE_PREFIX) || key.startsWith(PUBLISHABLE_KEY_TEST_PREFIX);\n\n if (!hasValidPrefix) {\n return false;\n }\n\n const parts = key.split('_');\n if (parts.length !== 3) {\n return false;\n }\n\n const encodedPart = parts[2];\n if (!encodedPart) {\n return false;\n }\n\n const decoded = isomorphicAtob(encodedPart);\n return isValidDecodedPublishableKey(decoded);\n } catch {\n return false;\n }\n}\n\n/**\n * Creates a memoized cache for checking if URLs are development or staging environments.\n * Uses a Map to cache results for better performance on repeated checks.\n *\n * @returns An object with an isDevOrStagingUrl method that checks if a URL is dev/staging.\n */\nexport function createDevOrStagingUrlCache() {\n const devOrStagingUrlCache = new Map<string, boolean>();\n\n return {\n /**\n * Checks if a URL is a development or staging environment.\n *\n * @param url - The URL to check (string or URL object).\n * @returns `true` if the URL is a development or staging environment, `false` otherwise.\n */\n isDevOrStagingUrl: (url: string | URL): boolean => {\n if (!url) {\n return false;\n }\n\n const hostname = typeof url === 'string' ? url : url.hostname;\n let res = devOrStagingUrlCache.get(hostname);\n if (res === undefined) {\n res = DEV_OR_STAGING_SUFFIXES.some(s => hostname.endsWith(s));\n devOrStagingUrlCache.set(hostname, res);\n }\n return res;\n },\n };\n}\n\n/**\n * Checks if a publishable key is for a development environment.\n * Supports both legacy format (test_) and new format (pk_test_).\n *\n * @param apiKey - The API key to check.\n * @returns `true` if the key is for development, `false` otherwise.\n */\nexport function isDevelopmentFromPublishableKey(apiKey: string): boolean {\n return apiKey.startsWith('test_') || apiKey.startsWith('pk_test_');\n}\n\n/**\n * Checks if a publishable key is for a production environment.\n * Supports both legacy format (live_) and new format (pk_live_).\n *\n * @param apiKey - The API key to check.\n * @returns `true` if the key is for production, `false` otherwise.\n */\nexport function isProductionFromPublishableKey(apiKey: string): boolean {\n return apiKey.startsWith('live_') || apiKey.startsWith('pk_live_');\n}\n\n/**\n * Checks if a secret key is for a development environment.\n * Supports both legacy format (test_) and new format (sk_test_).\n *\n * @param apiKey - The secret key to check.\n * @returns `true` if the key is for development, `false` otherwise.\n */\nexport function isDevelopmentFromSecretKey(apiKey: string): boolean {\n return apiKey.startsWith('test_') || apiKey.startsWith('sk_test_');\n}\n\n/**\n * Checks if a secret key is for a production environment.\n * Supports both legacy format (live_) and new format (sk_live_).\n *\n * @param apiKey - The secret key to check.\n * @returns `true` if the key is for production, `false` otherwise.\n */\nexport function isProductionFromSecretKey(apiKey: string): boolean {\n return apiKey.startsWith('live_') || apiKey.startsWith('sk_live_');\n}\n\n/**\n * Generates a unique cookie suffix based on the publishable key using SHA-1 hashing.\n * The suffix is base64-encoded and URL-safe (+ and / characters are replaced).\n *\n * @param publishableKey - The publishable key to generate suffix from.\n * @param subtle - The SubtleCrypto interface to use for hashing (defaults to globalThis.crypto.subtle).\n * @returns A promise that resolves to an 8-character URL-safe base64 string.\n */\nexport async function getCookieSuffix(\n publishableKey: string,\n subtle: SubtleCrypto = globalThis.crypto.subtle,\n): Promise<string> {\n const data = new TextEncoder().encode(publishableKey);\n const digest = await subtle.digest('sha-1', data);\n const stringDigest = String.fromCharCode(...new Uint8Array(digest));\n // Base 64 Encoding with URL and Filename Safe Alphabet: https://datatracker.ietf.org/doc/html/rfc4648#section-5\n return isomorphicBtoa(stringDigest).replace(/\\+/gi, '-').replace(/\\//gi, '_').substring(0, 8);\n}\n\n/**\n * Creates a suffixed cookie name by appending the cookie suffix to the base name.\n * Used to create unique cookie names based on the publishable key.\n *\n * @param cookieName - The base cookie name.\n * @param cookieSuffix - The suffix to append (typically generated by getCookieSuffix).\n * @returns The suffixed cookie name in format: `${cookieName}_${cookieSuffix}`.\n */\nexport const getSuffixedCookieName = (cookieName: string, cookieSuffix: string): string => {\n return `${cookieName}_${cookieSuffix}`;\n};\n"],"mappings":";;;;;;AAoBA,MAAM,8BAA8B;;AAGpC,MAAM,8BAA8B;;;;;AAMpC,MAAM,qCAAqC;;;;;;;AAQ3C,SAAgB,oBAAoB,aAA6B;AAK/D,QAAO,GAHL,mCAAmC,KAAK,YAAY,IACnD,YAAY,WAAW,SAAS,IAAI,6BAA6B,MAAK,MAAK,YAAY,SAAS,EAAE,CAAC,GACzE,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@@
1
- import { h as PublishableKey } from "./index-Cc98l5ga.mjs";
2
- import "./moduleManager-BsmFyRrH.mjs";
3
-
4
- //#region src/keys.d.ts
5
- /**
6
- * Configuration options for parsing publishable keys.
7
- */
8
- type ParsePublishableKeyOptions = {
9
- /** Whether to throw an error if parsing fails */
10
- fatal?: boolean;
11
- /** Custom domain to use for satellite instances */
12
- domain?: string;
13
- /** Proxy URL to use instead of the decoded frontend API */
14
- proxyUrl?: string;
15
- /** Whether this is a satellite instance */
16
- isSatellite?: boolean;
17
- };
18
- /**
19
- * Converts a frontend API URL into a base64-encoded publishable key.
20
- *
21
- * @param frontendApi - The frontend API URL (e.g., 'clerk.example.com').
22
- * @returns A base64-encoded publishable key with appropriate prefix (pk_live_ or pk_test_).
23
- */
24
- declare function buildPublishableKey(frontendApi: string): string;
25
- declare function parsePublishableKey(key: string | undefined, options: ParsePublishableKeyOptions & {
26
- fatal: true;
27
- }): PublishableKey;
28
- declare function parsePublishableKey(key: string | undefined, options?: ParsePublishableKeyOptions): PublishableKey | null;
29
- /**
30
- * Checks if the provided key is a valid publishable key.
31
- *
32
- * @param key - The key to be checked. Defaults to an empty string if not provided.
33
- * @returns `true` if 'key' is a valid publishable key, `false` otherwise.
34
- */
35
- declare function isPublishableKey(key?: string): boolean;
36
- /**
37
- * Creates a memoized cache for checking if URLs are development or staging environments.
38
- * Uses a Map to cache results for better performance on repeated checks.
39
- *
40
- * @returns An object with an isDevOrStagingUrl method that checks if a URL is dev/staging.
41
- */
42
- declare function createDevOrStagingUrlCache(): {
43
- /**
44
- * Checks if a URL is a development or staging environment.
45
- *
46
- * @param url - The URL to check (string or URL object).
47
- * @returns `true` if the URL is a development or staging environment, `false` otherwise.
48
- */
49
- isDevOrStagingUrl: (url: string | URL) => boolean;
50
- };
51
- /**
52
- * Checks if a publishable key is for a development environment.
53
- * Supports both legacy format (test_) and new format (pk_test_).
54
- *
55
- * @param apiKey - The API key to check.
56
- * @returns `true` if the key is for development, `false` otherwise.
57
- */
58
- declare function isDevelopmentFromPublishableKey(apiKey: string): boolean;
59
- /**
60
- * Checks if a publishable key is for a production environment.
61
- * Supports both legacy format (live_) and new format (pk_live_).
62
- *
63
- * @param apiKey - The API key to check.
64
- * @returns `true` if the key is for production, `false` otherwise.
65
- */
66
- declare function isProductionFromPublishableKey(apiKey: string): boolean;
67
- /**
68
- * Checks if a secret key is for a development environment.
69
- * Supports both legacy format (test_) and new format (sk_test_).
70
- *
71
- * @param apiKey - The secret key to check.
72
- * @returns `true` if the key is for development, `false` otherwise.
73
- */
74
- declare function isDevelopmentFromSecretKey(apiKey: string): boolean;
75
- /**
76
- * Checks if a secret key is for a production environment.
77
- * Supports both legacy format (live_) and new format (sk_live_).
78
- *
79
- * @param apiKey - The secret key to check.
80
- * @returns `true` if the key is for production, `false` otherwise.
81
- */
82
- declare function isProductionFromSecretKey(apiKey: string): boolean;
83
- /**
84
- * Generates a unique cookie suffix based on the publishable key using SHA-1 hashing.
85
- * The suffix is base64-encoded and URL-safe (+ and / characters are replaced).
86
- *
87
- * @param publishableKey - The publishable key to generate suffix from.
88
- * @param subtle - The SubtleCrypto interface to use for hashing (defaults to globalThis.crypto.subtle).
89
- * @returns A promise that resolves to an 8-character URL-safe base64 string.
90
- */
91
- declare function getCookieSuffix(publishableKey: string, subtle?: SubtleCrypto): Promise<string>;
92
- /**
93
- * Creates a suffixed cookie name by appending the cookie suffix to the base name.
94
- * Used to create unique cookie names based on the publishable key.
95
- *
96
- * @param cookieName - The base cookie name.
97
- * @param cookieSuffix - The suffix to append (typically generated by getCookieSuffix).
98
- * @returns The suffixed cookie name in format: `${cookieName}_${cookieSuffix}`.
99
- */
100
- declare const getSuffixedCookieName: (cookieName: string, cookieSuffix: string) => string;
101
- //#endregion
102
- export { buildPublishableKey, createDevOrStagingUrlCache, getCookieSuffix, getSuffixedCookieName, isDevelopmentFromPublishableKey, isDevelopmentFromSecretKey, isProductionFromPublishableKey, isProductionFromSecretKey, isPublishableKey, parsePublishableKey };
103
- //# sourceMappingURL=keys.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"keys.d.mts","names":[],"sources":["../../src/keys.ts"],"sourcesContent":[],"mappings":";;;;;;;AAG8C,KAKzC,0BAAA,GAA0B;EA6Bf;EA4BA,KAAA,CAAA,EAAA,OAAA;EAIA;EA0EA,MAAA,CAAA,EAAA,MAAA;EA+BA;EAiCA,QAAA,CAAA,EAAA,MAAA;EAWA;EAWA,WAAA,CAAA,EAAA,OAAA;AAWhB,CAAA;AAYA;AAmBA;;;;;iBA1OgB,mBAAA;iBA4BA,mBAAA,mCAEL;;IACR;iBACa,mBAAA,oCAEJ,6BACT;;;;;;;iBAuEa,gBAAA;;;;;;;iBA+BA,0BAAA,CAAA;;;;;;;oCAUsB;;;;;;;;;iBAuBtB,+BAAA;;;;;;;;iBAWA,8BAAA;;;;;;;;iBAWA,0BAAA;;;;;;;;iBAWA,yBAAA;;;;;;;;;iBAYM,eAAA,kCAEZ,eACP;;;;;;;;;cAgBU"}