@vibedeckx/linux-x64 0.1.11 → 0.1.15
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.
- package/dist/ui/404/index.html +1 -1
- package/dist/ui/404.html +1 -1
- package/dist/ui/__next.__PAGE__.txt +1 -1
- package/dist/ui/__next._full.txt +1 -1
- package/dist/ui/__next._head.txt +1 -1
- package/dist/ui/__next._index.txt +1 -1
- package/dist/ui/__next._tree.txt +1 -1
- package/dist/ui/_not-found/__next._full.txt +1 -1
- package/dist/ui/_not-found/__next._head.txt +1 -1
- package/dist/ui/_not-found/__next._index.txt +1 -1
- package/dist/ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/ui/_not-found/__next._not-found.txt +1 -1
- package/dist/ui/_not-found/__next._tree.txt +1 -1
- package/dist/ui/_not-found/index.html +1 -1
- package/dist/ui/_not-found/index.txt +1 -1
- package/dist/ui/index.html +1 -1
- package/dist/ui/index.txt +1 -1
- package/node_modules/@ai-sdk/deepseek/dist/index.d.mts +68 -0
- package/node_modules/@ai-sdk/deepseek/dist/index.d.ts +68 -0
- package/node_modules/@ai-sdk/deepseek/dist/index.js +831 -0
- package/node_modules/@ai-sdk/deepseek/dist/index.js.map +1 -0
- package/node_modules/@ai-sdk/deepseek/dist/index.mjs +819 -0
- package/node_modules/@ai-sdk/deepseek/dist/index.mjs.map +1 -0
- package/node_modules/@ai-sdk/deepseek/package.json +74 -0
- package/node_modules/@ai-sdk/gateway/dist/index.d.mts +713 -0
- package/node_modules/@ai-sdk/gateway/dist/index.d.ts +713 -0
- package/node_modules/@ai-sdk/gateway/dist/index.js +1735 -0
- package/node_modules/@ai-sdk/gateway/dist/index.js.map +1 -0
- package/node_modules/@ai-sdk/gateway/dist/index.mjs +1768 -0
- package/node_modules/@ai-sdk/gateway/dist/index.mjs.map +1 -0
- package/node_modules/@ai-sdk/gateway/package.json +78 -0
- package/node_modules/@ai-sdk/provider/dist/index.d.mts +4030 -0
- package/node_modules/@ai-sdk/provider/dist/index.d.ts +4030 -0
- package/node_modules/@ai-sdk/provider/dist/index.js +448 -0
- package/node_modules/@ai-sdk/provider/dist/index.js.map +1 -0
- package/node_modules/@ai-sdk/provider/dist/index.mjs +404 -0
- package/node_modules/@ai-sdk/provider/dist/index.mjs.map +1 -0
- package/node_modules/@ai-sdk/provider/package.json +63 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.d.mts +1433 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.d.ts +1433 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.js +2850 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.js.map +1 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.mjs +2762 -0
- package/node_modules/@ai-sdk/provider-utils/dist/index.mjs.map +1 -0
- package/node_modules/@ai-sdk/provider-utils/package.json +79 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts +76 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts +7 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts +11 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts +47 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts +47 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts +16 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts +29 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts +47 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts +15 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts +16 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts +46 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts +20 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts +62 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts +6 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts +70 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts +50 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts +6 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts +50 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts +87 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts +81 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts +49 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts +200 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts +22 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts +11 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts +14 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts +69 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts +52 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts +12 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts +6 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts +178 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts +61 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts +8 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/index.d.ts +33 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts +2 -0
- package/node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/factory.d.ts +51 -0
- package/node_modules/@clerk/backend/dist/api/factory.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/index.d.ts +3 -0
- package/node_modules/@clerk/backend/dist/api/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/request.d.ts +76 -0
- package/node_modules/@clerk/backend/dist/api/request.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts +137 -0
- package/node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts +10 -0
- package/node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts +15 -0
- package/node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts +42 -0
- package/node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts +66 -0
- package/node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Client.d.ts +83 -0
- package/node_modules/@clerk/backend/dist/api/resources/Client.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts +9 -0
- package/node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts +141 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts +99 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts +167 -0
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts +7 -0
- package/node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/DeletedObject.d.ts +10 -0
- package/node_modules/@clerk/backend/dist/api/resources/DeletedObject.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Deserializer.d.ts +26 -0
- package/node_modules/@clerk/backend/dist/api/resources/Deserializer.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Domain.d.ts +15 -0
- package/node_modules/@clerk/backend/dist/api/resources/Domain.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Email.d.ts +17 -0
- package/node_modules/@clerk/backend/dist/api/resources/Email.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/EmailAddress.d.ts +47 -0
- package/node_modules/@clerk/backend/dist/api/resources/EmailAddress.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseAccount.d.ts +225 -0
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseAccount.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseConnection.d.ts +89 -0
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseConnection.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Enums.d.ts +42 -0
- package/node_modules/@clerk/backend/dist/api/resources/Enums.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/ExternalAccount.d.ts +134 -0
- package/node_modules/@clerk/backend/dist/api/resources/ExternalAccount.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Feature.d.ts +51 -0
- package/node_modules/@clerk/backend/dist/api/resources/Feature.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/HandshakePayload.d.ts +9 -0
- package/node_modules/@clerk/backend/dist/api/resources/HandshakePayload.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/IdPOAuthAccessToken.d.ts +23 -0
- package/node_modules/@clerk/backend/dist/api/resources/IdPOAuthAccessToken.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/IdentificationLink.d.ts +25 -0
- package/node_modules/@clerk/backend/dist/api/resources/IdentificationLink.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Instance.d.ts +9 -0
- package/node_modules/@clerk/backend/dist/api/resources/Instance.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/InstanceRestrictions.d.ts +11 -0
- package/node_modules/@clerk/backend/dist/api/resources/InstanceRestrictions.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/InstanceSettings.d.ts +11 -0
- package/node_modules/@clerk/backend/dist/api/resources/InstanceSettings.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Invitation.d.ts +76 -0
- package/node_modules/@clerk/backend/dist/api/resources/Invitation.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/JSON.d.ts +971 -0
- package/node_modules/@clerk/backend/dist/api/resources/JSON.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/JwtTemplate.d.ts +15 -0
- package/node_modules/@clerk/backend/dist/api/resources/JwtTemplate.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/M2MToken.d.ts +31 -0
- package/node_modules/@clerk/backend/dist/api/resources/M2MToken.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Machine.d.ts +17 -0
- package/node_modules/@clerk/backend/dist/api/resources/Machine.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/MachineScope.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/resources/MachineScope.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/MachineSecretKey.d.ts +10 -0
- package/node_modules/@clerk/backend/dist/api/resources/MachineSecretKey.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OAuthApplication.d.ts +169 -0
- package/node_modules/@clerk/backend/dist/api/resources/OAuthApplication.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OauthAccessToken.d.ts +83 -0
- package/node_modules/@clerk/backend/dist/api/resources/OauthAccessToken.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Organization.d.ts +115 -0
- package/node_modules/@clerk/backend/dist/api/resources/Organization.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationDomain.d.ts +18 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationDomain.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationInvitation.d.ts +116 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationInvitation.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationMembership.d.ts +140 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationMembership.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationSettings.d.ts +17 -0
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationSettings.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/PhoneNumber.d.ts +63 -0
- package/node_modules/@clerk/backend/dist/api/resources/PhoneNumber.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/ProxyCheck.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/resources/ProxyCheck.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/RedirectUrl.d.ts +47 -0
- package/node_modules/@clerk/backend/dist/api/resources/RedirectUrl.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/SMSMessage.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/resources/SMSMessage.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/SamlConnection.d.ts +215 -0
- package/node_modules/@clerk/backend/dist/api/resources/SamlConnection.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Session.d.ts +176 -0
- package/node_modules/@clerk/backend/dist/api/resources/Session.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/SignInTokens.d.ts +13 -0
- package/node_modules/@clerk/backend/dist/api/resources/SignInTokens.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/SignUpAttempt.d.ts +44 -0
- package/node_modules/@clerk/backend/dist/api/resources/SignUpAttempt.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/TestingToken.d.ts +8 -0
- package/node_modules/@clerk/backend/dist/api/resources/TestingToken.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Token.d.ts +7 -0
- package/node_modules/@clerk/backend/dist/api/resources/Token.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/User.d.ts +296 -0
- package/node_modules/@clerk/backend/dist/api/resources/User.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Verification.d.ts +90 -0
- package/node_modules/@clerk/backend/dist/api/resources/Verification.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/WaitlistEntry.d.ts +67 -0
- package/node_modules/@clerk/backend/dist/api/resources/WaitlistEntry.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Web3Wallet.d.ts +36 -0
- package/node_modules/@clerk/backend/dist/api/resources/Web3Wallet.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/Webhooks.d.ts +32 -0
- package/node_modules/@clerk/backend/dist/api/resources/Webhooks.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/api/resources/index.d.ts +57 -0
- package/node_modules/@clerk/backend/dist/api/resources/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-7KLH7JRZ.mjs +394 -0
- package/node_modules/@clerk/backend/dist/chunk-7KLH7JRZ.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-I4B6KCGC.mjs +86 -0
- package/node_modules/@clerk/backend/dist/chunk-I4B6KCGC.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-P263NW7Z.mjs +25 -0
- package/node_modules/@clerk/backend/dist/chunk-P263NW7Z.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-QR37SKMP.mjs +6248 -0
- package/node_modules/@clerk/backend/dist/chunk-QR37SKMP.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-TOROEX6P.mjs +43 -0
- package/node_modules/@clerk/backend/dist/chunk-TOROEX6P.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/chunk-YBVFDYDR.mjs +26 -0
- package/node_modules/@clerk/backend/dist/chunk-YBVFDYDR.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/constants.d.ts +91 -0
- package/node_modules/@clerk/backend/dist/constants.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/createRedirect.d.ts +25 -0
- package/node_modules/@clerk/backend/dist/createRedirect.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/errors.d.ts +67 -0
- package/node_modules/@clerk/backend/dist/errors.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/errors.js +116 -0
- package/node_modules/@clerk/backend/dist/errors.js.map +1 -0
- package/node_modules/@clerk/backend/dist/errors.mjs +20 -0
- package/node_modules/@clerk/backend/dist/errors.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/fixtures/index.d.ts +105 -0
- package/node_modules/@clerk/backend/dist/fixtures/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/fixtures/machine.d.ts +72 -0
- package/node_modules/@clerk/backend/dist/fixtures/machine.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/index.d.ts +49 -0
- package/node_modules/@clerk/backend/dist/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/index.js +6575 -0
- package/node_modules/@clerk/backend/dist/index.js.map +1 -0
- package/node_modules/@clerk/backend/dist/index.mjs +38 -0
- package/node_modules/@clerk/backend/dist/index.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/internal.d.ts +20 -0
- package/node_modules/@clerk/backend/dist/internal.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/internal.js +6743 -0
- package/node_modules/@clerk/backend/dist/internal.js.map +1 -0
- package/node_modules/@clerk/backend/dist/internal.mjs +55 -0
- package/node_modules/@clerk/backend/dist/internal.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/algorithms.d.ts +3 -0
- package/node_modules/@clerk/backend/dist/jwt/algorithms.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/assertions.d.ts +10 -0
- package/node_modules/@clerk/backend/dist/jwt/assertions.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/cryptoKeys.d.ts +2 -0
- package/node_modules/@clerk/backend/dist/jwt/cryptoKeys.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/index.d.ts +7 -0
- package/node_modules/@clerk/backend/dist/jwt/index.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/index.js +539 -0
- package/node_modules/@clerk/backend/dist/jwt/index.js.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/index.mjs +64 -0
- package/node_modules/@clerk/backend/dist/jwt/index.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/legacyReturn.d.ts +4 -0
- package/node_modules/@clerk/backend/dist/jwt/legacyReturn.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/signJwt.d.ts +20 -0
- package/node_modules/@clerk/backend/dist/jwt/signJwt.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/types.d.ts +18 -0
- package/node_modules/@clerk/backend/dist/jwt/types.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/verifyJwt.d.ts +38 -0
- package/node_modules/@clerk/backend/dist/jwt/verifyJwt.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/jwt/verifyMachineJwt.d.ts +19 -0
- package/node_modules/@clerk/backend/dist/jwt/verifyMachineJwt.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/mock-server.d.ts +4 -0
- package/node_modules/@clerk/backend/dist/mock-server.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/proxy.d.ts +72 -0
- package/node_modules/@clerk/backend/dist/proxy.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/proxy.js +227 -0
- package/node_modules/@clerk/backend/dist/proxy.js.map +1 -0
- package/node_modules/@clerk/backend/dist/proxy.mjs +208 -0
- package/node_modules/@clerk/backend/dist/proxy.mjs.map +1 -0
- package/node_modules/@clerk/backend/dist/runtime/browser/crypto.mjs +1 -0
- package/node_modules/@clerk/backend/dist/runtime/node/crypto.js +1 -0
- package/node_modules/@clerk/backend/dist/runtime/node/crypto.mjs +1 -0
- package/node_modules/@clerk/backend/dist/runtime.d.ts +26 -0
- package/node_modules/@clerk/backend/dist/runtime.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/authObjects.d.ts +193 -0
- package/node_modules/@clerk/backend/dist/tokens/authObjects.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/authStatus.d.ts +120 -0
- package/node_modules/@clerk/backend/dist/tokens/authStatus.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/authenticateContext.d.ts +78 -0
- package/node_modules/@clerk/backend/dist/tokens/authenticateContext.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/clerkRequest.d.ts +29 -0
- package/node_modules/@clerk/backend/dist/tokens/clerkRequest.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/clerkUrl.d.ts +18 -0
- package/node_modules/@clerk/backend/dist/tokens/clerkUrl.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/cookie.d.ts +3 -0
- package/node_modules/@clerk/backend/dist/tokens/cookie.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/factory.d.ts +29 -0
- package/node_modules/@clerk/backend/dist/tokens/factory.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/handshake.d.ts +64 -0
- package/node_modules/@clerk/backend/dist/tokens/handshake.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/keys.d.ts +54 -0
- package/node_modules/@clerk/backend/dist/tokens/keys.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/machine.d.ts +85 -0
- package/node_modules/@clerk/backend/dist/tokens/machine.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/organizationMatcher.d.ts +11 -0
- package/node_modules/@clerk/backend/dist/tokens/organizationMatcher.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/request.d.ts +60 -0
- package/node_modules/@clerk/backend/dist/tokens/request.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/tokenTypes.d.ts +19 -0
- package/node_modules/@clerk/backend/dist/tokens/tokenTypes.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/types.d.ts +253 -0
- package/node_modules/@clerk/backend/dist/tokens/types.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/tokens/verify.d.ts +109 -0
- package/node_modules/@clerk/backend/dist/tokens/verify.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/decorateObjectWithResources.d.ts +22 -0
- package/node_modules/@clerk/backend/dist/util/decorateObjectWithResources.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/mergePreDefinedOptions.d.ts +2 -0
- package/node_modules/@clerk/backend/dist/util/mergePreDefinedOptions.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/optionsAssertions.d.ts +3 -0
- package/node_modules/@clerk/backend/dist/util/optionsAssertions.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/path.d.ts +4 -0
- package/node_modules/@clerk/backend/dist/util/path.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/rfc4648.d.ts +26 -0
- package/node_modules/@clerk/backend/dist/util/rfc4648.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/util/shared.d.ts +7 -0
- package/node_modules/@clerk/backend/dist/util/shared.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/webhooks.d.ts +50 -0
- package/node_modules/@clerk/backend/dist/webhooks.d.ts.map +1 -0
- package/node_modules/@clerk/backend/dist/webhooks.js +104 -0
- package/node_modules/@clerk/backend/dist/webhooks.js.map +1 -0
- package/node_modules/@clerk/backend/dist/webhooks.mjs +72 -0
- package/node_modules/@clerk/backend/dist/webhooks.mjs.map +1 -0
- package/node_modules/@clerk/backend/errors/package.json +5 -0
- package/node_modules/@clerk/backend/internal/package.json +5 -0
- package/node_modules/@clerk/backend/jwt/package.json +5 -0
- package/node_modules/@clerk/backend/package.json +140 -0
- package/node_modules/@clerk/backend/proxy/package.json +5 -0
- package/node_modules/@clerk/backend/webhooks/package.json +5 -0
- package/node_modules/@clerk/fastify/dist/chunk-RY4T2JMQ.mjs +53 -0
- package/node_modules/@clerk/fastify/dist/chunk-RY4T2JMQ.mjs.map +1 -0
- package/node_modules/@clerk/fastify/dist/index-CWnSaB0B.d.mts +25 -0
- package/node_modules/@clerk/fastify/dist/index-CWnSaB0B.d.ts +25 -0
- package/node_modules/@clerk/fastify/dist/index.d.mts +16 -0
- package/node_modules/@clerk/fastify/dist/index.d.ts +16 -0
- package/node_modules/@clerk/fastify/dist/index.js +250 -0
- package/node_modules/@clerk/fastify/dist/index.js.map +1 -0
- package/node_modules/@clerk/fastify/dist/index.mjs +168 -0
- package/node_modules/@clerk/fastify/dist/index.mjs.map +1 -0
- package/node_modules/@clerk/fastify/dist/types.d.mts +4 -0
- package/node_modules/@clerk/fastify/dist/types.d.ts +4 -0
- package/node_modules/@clerk/fastify/dist/types.js +19 -0
- package/node_modules/@clerk/fastify/dist/types.js.map +1 -0
- package/node_modules/@clerk/fastify/dist/types.mjs +1 -0
- package/node_modules/@clerk/fastify/dist/types.mjs.map +1 -0
- package/node_modules/@clerk/fastify/dist/webhooks.d.mts +19 -0
- package/node_modules/@clerk/fastify/dist/webhooks.d.ts +19 -0
- package/node_modules/@clerk/fastify/dist/webhooks.js +66 -0
- package/node_modules/@clerk/fastify/dist/webhooks.js.map +1 -0
- package/node_modules/@clerk/fastify/dist/webhooks.mjs +18 -0
- package/node_modules/@clerk/fastify/dist/webhooks.mjs.map +1 -0
- package/node_modules/@clerk/fastify/package.json +93 -0
- package/node_modules/@clerk/fastify/webhooks/package.json +5 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.mts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.ts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.js +15 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.mjs +13 -0
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.mts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.ts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.js +23 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.mjs +23 -0
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-Du_JQmnH.js +253 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-Du_JQmnH.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-Un7v7f6J.mjs +229 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-Un7v7f6J.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-B7aH39AU.js +33 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-B7aH39AU.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-CBHAr6Ld.mjs +15 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-CBHAr6Ld.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.mts +26 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.ts +26 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.js +5 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.mts +72 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.ts +72 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/authorization.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/browser-CMFCxUv7.mjs +81 -0
- package/node_modules/@clerk/shared/dist/runtime/browser-CMFCxUv7.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/browser-CaHqvEp1.js +111 -0
- package/node_modules/@clerk/shared/dist/runtime/browser-CaHqvEp1.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.d.mts +35 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.d.ts +35 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.js +7 -0
- package/node_modules/@clerk/shared/dist/runtime/browser.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.js +13 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.mjs +12 -0
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/chunk-nOFOJqeH.js +30 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.mts +22 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.ts +22 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.js +12 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.mjs +11 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-CaS4sM5w.js +138 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-CaS4sM5w.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-DqAmLuLY.mjs +108 -0
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-DqAmLuLY.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/color.d.mts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/color.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/color.d.ts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/color.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/color.js +142 -0
- package/node_modules/@clerk/shared/dist/runtime/color.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/color.mjs +131 -0
- package/node_modules/@clerk/shared/dist/runtime/color.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/complexity-DEun2UD2.js +60 -0
- package/node_modules/@clerk/shared/dist/runtime/complexity-DEun2UD2.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/complexity-DydNJOmy.mjs +48 -0
- package/node_modules/@clerk/shared/dist/runtime/complexity-DydNJOmy.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-BUzkV8jh.js +155 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-BUzkV8jh.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-Bta24VLk.mjs +47 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-Bta24VLk.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-BulbbNR9.mjs +71 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-BulbbNR9.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-WYhx_umW.js +125 -0
- package/node_modules/@clerk/shared/dist/runtime/constants-WYhx_umW.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.d.mts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.d.ts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.js +15 -0
- package/node_modules/@clerk/shared/dist/runtime/constants.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.mts +30 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.ts +30 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.js +34 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.mjs +32 -0
- package/node_modules/@clerk/shared/dist/runtime/cookie.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-Bq0Rf2GM.js +31 -0
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-Bq0Rf2GM.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-CYCAgyvC.mjs +26 -0
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-CYCAgyvC.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/date.d.mts +37 -0
- package/node_modules/@clerk/shared/dist/runtime/date.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/date.d.ts +37 -0
- package/node_modules/@clerk/shared/dist/runtime/date.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/date.js +87 -0
- package/node_modules/@clerk/shared/dist/runtime/date.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/date.mjs +82 -0
- package/node_modules/@clerk/shared/dist/runtime/date.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated--jK9xTNh.mjs +70 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated--jK9xTNh.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated-841w0zq7.js +87 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated-841w0zq7.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.mts +40 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.ts +40 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/deprecated.mjs +4 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState-CQUgOdaO.mjs +64 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState-CQUgOdaO.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState-zgq99aY1.js +82 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState-zgq99aY1.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.mts +28 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.ts +28 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.js +5 -0
- package/node_modules/@clerk/shared/dist/runtime/deriveState.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.mts +13 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.ts +13 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.js +61 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.mjs +57 -0
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/index.d.mts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/index.d.ts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/index.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/index.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.d.mts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.d.ts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/encoders-CAjYroSe.mjs +24 -0
- package/node_modules/@clerk/shared/dist/runtime/encoders-CAjYroSe.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/encoders-C_EA3--l.js +48 -0
- package/node_modules/@clerk/shared/dist/runtime/encoders-C_EA3--l.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/error-D-ayZ5nL.mjs +467 -0
- package/node_modules/@clerk/shared/dist/runtime/error-D-ayZ5nL.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/error-kcck_bbZ.js +634 -0
- package/node_modules/@clerk/shared/dist/runtime/error-kcck_bbZ.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/error.d.mts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/error.d.ts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/error.js +35 -0
- package/node_modules/@clerk/shared/dist/runtime/error.mjs +4 -0
- package/node_modules/@clerk/shared/dist/runtime/errors-FAXDzRsM.js +323 -0
- package/node_modules/@clerk/shared/dist/runtime/errors-FAXDzRsM.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/errors-oOcNTWU9.mjs +167 -0
- package/node_modules/@clerk/shared/dist/runtime/errors-oOcNTWU9.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/esm-D9kK-xzr.js +127 -0
- package/node_modules/@clerk/shared/dist/runtime/esm-D9kK-xzr.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/esm-DGPYZuZb.mjs +126 -0
- package/node_modules/@clerk/shared/dist/runtime/esm-DGPYZuZb.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus-TFTcHo0F.mjs +92 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus-TFTcHo0F.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus-mLhN9dkg.js +98 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus-mLhN9dkg.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.mts +117 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.ts +117 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/eventBus.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/file.d.mts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/file.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/file.d.ts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/file.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/file.js +34 -0
- package/node_modules/@clerk/shared/dist/runtime/file.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/file.mjs +32 -0
- package/node_modules/@clerk/shared/dist/runtime/file.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.mts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.ts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.js +30 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.mjs +29 -0
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.mts +46 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.ts +46 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.js +83 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.mjs +83 -0
- package/node_modules/@clerk/shared/dist/runtime/getToken.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/globs-D0Kpu4g1.js +21 -0
- package/node_modules/@clerk/shared/dist/runtime/globs-D0Kpu4g1.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/globs-u_gXJPLt.mjs +14 -0
- package/node_modules/@clerk/shared/dist/runtime/globs-u_gXJPLt.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.d.mts +7 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.d.ts +7 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/globs.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-4-yw9hYF.d.ts +7 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-4-yw9hYF.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BWsoUzyL.d.mts +7 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BWsoUzyL.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BmJC8Cue.js +19 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BmJC8Cue.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-iAIjw-kJ.mjs +13 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-iAIjw-kJ.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.mts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.ts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.js +11 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.mjs +11 -0
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/hex-txii11Pj.mjs +8 -0
- package/node_modules/@clerk/shared/dist/runtime/hex-txii11Pj.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/hex-zF8OyMcG.js +14 -0
- package/node_modules/@clerk/shared/dist/runtime/hex-zF8OyMcG.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index-BK_NVS1t.d.ts +10885 -0
- package/node_modules/@clerk/shared/dist/runtime/index-BK_NVS1t.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index-Cc98l5ga.d.mts +10885 -0
- package/node_modules/@clerk/shared/dist/runtime/index-Cc98l5ga.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index.d.mts +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index.d.ts +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/index.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/index.mjs +5 -0
- package/node_modules/@clerk/shared/dist/runtime/index.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-BqNbQ8Of.js +38 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-BqNbQ8Of.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-Cp_aXKsI.mjs +32 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-Cp_aXKsI.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-Cbd4CVu9.js +48 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-Cbd4CVu9.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-DRQuwtHF.mjs +42 -0
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-DRQuwtHF.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/instance-BmZr0cdE.mjs +11 -0
- package/node_modules/@clerk/shared/dist/runtime/instance-BmZr0cdE.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/instance-C1LlVxIp.js +17 -0
- package/node_modules/@clerk/shared/dist/runtime/instance-C1LlVxIp.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts +31 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts +31 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.js +29 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.mjs +29 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.mts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.ts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.js +45 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.mjs +35 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.mts +54 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.ts +54 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.js +16 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.mts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.ts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.js +9 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.mjs +8 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.mts +113 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.ts +113 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.js +28 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.mts +5 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.ts +5 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.mts +13 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.ts +13 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.mts +10 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.ts +10 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.js +14 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.mjs +13 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.mts +61 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.ts +61 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.js +176 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.mjs +167 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.mts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.ts +11 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.js +21 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.mjs +20 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.mts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.ts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.js +54 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.mjs +54 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.mts +20 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.ts +20 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.mts +6 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.ts +6 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.mts +36 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.ts +36 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.js +11 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.mjs +9 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.mts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.ts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.js +33 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.mjs +32 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.mts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.ts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.mts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.ts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.js +106 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.mjs +106 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.js +32 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.mjs +28 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.mts +31 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.ts +31 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.js +61 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.mjs +57 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.mts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.ts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.js +36 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.mjs +34 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.d.mts +4 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.d.ts +4 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.js +37 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.mjs +14 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.mts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.ts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.js +17 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.mjs +14 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.mts +25 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.ts +25 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.js +43 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.mjs +42 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.mts +32 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.ts +32 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.js +143 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.mjs +143 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.mts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.ts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.js +28 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.mjs +25 -0
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-CoF80qYz.mjs +14 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-CoF80qYz.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-Hkpnx2p8.js +20 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-Hkpnx2p8.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.mts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.ts +9 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-DWmLcIHi.mjs +10 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-DWmLcIHi.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-_pSA92Q9.js +16 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-_pSA92Q9.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.mts +5 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.ts +5 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.mts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.ts +23 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.js +84 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.mjs +83 -0
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.mts +271 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.ts +271 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.js +363 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.mjs +357 -0
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keys-BI9hmfja.js +240 -0
- package/node_modules/@clerk/shared/dist/runtime/keys-BI9hmfja.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keys-DuxzP8MU.mjs +181 -0
- package/node_modules/@clerk/shared/dist/runtime/keys-DuxzP8MU.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.d.mts +103 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.d.ts +103 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.js +15 -0
- package/node_modules/@clerk/shared/dist/runtime/keys.mjs +6 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.mts +88 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.ts +88 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.js +241 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.mjs +230 -0
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript-BnB9d_IW.js +45 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript-BnB9d_IW.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript-UG_epen4.mjs +40 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript-UG_epen4.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.mts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.ts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/loadScript.mjs +4 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.mts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.ts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.js +48 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.mjs +48 -0
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/logger-BOte4sQb.js +24 -0
- package/node_modules/@clerk/shared/dist/runtime/logger-BOte4sQb.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/logger-DISzhF9M.mjs +18 -0
- package/node_modules/@clerk/shared/dist/runtime/logger-DISzhF9M.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.d.mts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.d.ts +12 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/logger.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-BsmFyRrH.d.mts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-BsmFyRrH.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-WB15hU3T.d.ts +21 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-WB15hU3T.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.d.mts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.d.ts +2 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.js +0 -0
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.mjs +0 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-DFm5qdPh.js +59 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-DFm5qdPh.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-Dkdkho_6.mjs +48 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-Dkdkho_6.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.mts +34 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.ts +34 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.js +8 -0
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.mjs +7 -0
- package/node_modules/@clerk/shared/dist/runtime/noop-B7RzLU-c.mjs +6 -0
- package/node_modules/@clerk/shared/dist/runtime/noop-B7RzLU-c.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/noop-CVg8oVJr.js +12 -0
- package/node_modules/@clerk/shared/dist/runtime/noop-CVg8oVJr.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.mts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.ts +19 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.js +190 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.mjs +188 -0
- package/node_modules/@clerk/shared/dist/runtime/oauth.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/object-DYaB_9gA.mjs +26 -0
- package/node_modules/@clerk/shared/dist/runtime/object-DYaB_9gA.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/object-DklYlVP-.js +50 -0
- package/node_modules/@clerk/shared/dist/runtime/object-DklYlVP-.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/object.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/object.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/object.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/object.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/object.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/object.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/organization-BzM6mhUv.js +20 -0
- package/node_modules/@clerk/shared/dist/runtime/organization-BzM6mhUv.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/organization-Cy_ag_4B.mjs +14 -0
- package/node_modules/@clerk/shared/dist/runtime/organization-Cy_ag_4B.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.d.mts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.d.ts +15 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/organization.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/path-BLD6zl1u.mjs +10 -0
- package/node_modules/@clerk/shared/dist/runtime/path-BLD6zl1u.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/path-ci3QmWY8.js +16 -0
- package/node_modules/@clerk/shared/dist/runtime/path-ci3QmWY8.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.mts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.ts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.js +20 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.mjs +20 -0
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-7eww5BY6.mjs +252 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-7eww5BY6.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-Do-462DY.js +264 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-Do-462DY.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.mts +85 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.ts +85 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.d.mts +20 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.d.ts +20 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.js +35 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.mjs +35 -0
- package/node_modules/@clerk/shared/dist/runtime/poller.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy-BcfViKjn.mjs +31 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy-BcfViKjn.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy-DahrnOq8.js +55 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy-DahrnOq8.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.mts +24 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.ts +24 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.js +6 -0
- package/node_modules/@clerk/shared/dist/runtime/proxy.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/queryParams-DSUymAGT.js +72 -0
- package/node_modules/@clerk/shared/dist/runtime/queryParams-DSUymAGT.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/queryParams-Dlt0oVDg.mjs +55 -0
- package/node_modules/@clerk/shared/dist/runtime/queryParams-Dlt0oVDg.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/querystring-BFj_iDi0.js +42 -0
- package/node_modules/@clerk/shared/dist/runtime/querystring-BFj_iDi0.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/querystring-pXtwII0l.mjs +30 -0
- package/node_modules/@clerk/shared/dist/runtime/querystring-pXtwII0l.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.mts +1647 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.ts +1647 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.js +3082 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.mjs +3039 -0
- package/node_modules/@clerk/shared/dist/runtime/react/index.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/retry-DGCmqlcR.js +64 -0
- package/node_modules/@clerk/shared/dist/runtime/retry-DGCmqlcR.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/retry-DqRIhHV5.mjs +58 -0
- package/node_modules/@clerk/shared/dist/runtime/retry-DqRIhHV5.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.d.mts +60 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.d.ts +60 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.js +3 -0
- package/node_modules/@clerk/shared/dist/runtime/retry.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/router.d.mts +100 -0
- package/node_modules/@clerk/shared/dist/runtime/router.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/router.d.ts +100 -0
- package/node_modules/@clerk/shared/dist/runtime/router.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/router.js +153 -0
- package/node_modules/@clerk/shared/dist/runtime/router.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/router.mjs +145 -0
- package/node_modules/@clerk/shared/dist/runtime/router.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-D1yr0yUs.mjs +23 -0
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-D1yr0yUs.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-DJJWo5AR.js +41 -0
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-DJJWo5AR.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.mts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.ts +18 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.js +28 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.mjs +28 -0
- package/node_modules/@clerk/shared/dist/runtime/safeImport.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.js +24 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.mjs +23 -0
- package/node_modules/@clerk/shared/dist/runtime/saml.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/strength-DMrZQDoO.js +31 -0
- package/node_modules/@clerk/shared/dist/runtime/strength-DMrZQDoO.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/strength-DPtAse7d.mjs +25 -0
- package/node_modules/@clerk/shared/dist/runtime/strength-DPtAse7d.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry--P0a0tSk.js +573 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry--P0a0tSk.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry-DE2JFEBf.mjs +520 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry-DE2JFEBf.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.mts +143 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.ts +143 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.js +16 -0
- package/node_modules/@clerk/shared/dist/runtime/telemetry.mjs +8 -0
- package/node_modules/@clerk/shared/dist/runtime/types/index.d.mts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/types/index.d.ts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/types/index.js +0 -0
- package/node_modules/@clerk/shared/dist/runtime/types/index.mjs +0 -0
- package/node_modules/@clerk/shared/dist/runtime/ui/index.d.mts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/ui/index.d.ts +3 -0
- package/node_modules/@clerk/shared/dist/runtime/ui/index.js +0 -0
- package/node_modules/@clerk/shared/dist/runtime/ui/index.mjs +0 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore-BX6Ucmg5.js +171 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore-BX6Ucmg5.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore-ClYSgvuy.mjs +117 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore-ClYSgvuy.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.mts +63 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.ts +63 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.js +11 -0
- package/node_modules/@clerk/shared/dist/runtime/underscore.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/url-C6gPMFx5.mjs +154 -0
- package/node_modules/@clerk/shared/dist/runtime/url-C6gPMFx5.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url-CKcDCvyG.d.ts +144 -0
- package/node_modules/@clerk/shared/dist/runtime/url-CKcDCvyG.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url-CoXV4i87.js +407 -0
- package/node_modules/@clerk/shared/dist/runtime/url-CoXV4i87.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url-DaPDWryr.mjs +264 -0
- package/node_modules/@clerk/shared/dist/runtime/url-DaPDWryr.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url-Ou22U773.d.mts +144 -0
- package/node_modules/@clerk/shared/dist/runtime/url-Ou22U773.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url-sAcxbiir.js +255 -0
- package/node_modules/@clerk/shared/dist/runtime/url-sAcxbiir.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url.d.mts +78 -0
- package/node_modules/@clerk/shared/dist/runtime/url.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url.d.ts +78 -0
- package/node_modules/@clerk/shared/dist/runtime/url.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/url.js +21 -0
- package/node_modules/@clerk/shared/dist/runtime/url.mjs +5 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.mts +65 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.ts +65 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.js +19 -0
- package/node_modules/@clerk/shared/dist/runtime/utils/index.mjs +8 -0
- package/node_modules/@clerk/shared/dist/runtime/utils-TXJdVJx7.mjs +71 -0
- package/node_modules/@clerk/shared/dist/runtime/utils-TXJdVJx7.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/utils-Y3tB5LFT.js +100 -0
- package/node_modules/@clerk/shared/dist/runtime/utils-Y3tB5LFT.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.mts +58 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.ts +58 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.js +82 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.mjs +78 -0
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-BSa0YYBu.mjs +27 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-BSa0YYBu.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-CoS6g9-B.js +39 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-CoS6g9-B.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.mts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.ts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.mjs +3 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-CB9iynCD.mjs +23 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-CB9iynCD.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DGxKWlwM.js +29 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DGxKWlwM.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DLpcirWQ.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DLpcirWQ.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DZxkXjac.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DZxkXjac.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.d.mts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.d.ts +8 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.js +33 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.mjs +32 -0
- package/node_modules/@clerk/shared/dist/runtime/web3.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.mts +16 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.ts +16 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.js +35 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.js.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.mjs +33 -0
- package/node_modules/@clerk/shared/dist/runtime/webauthn.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.mts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.ts +17 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.js +4 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.mjs +4 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-CDy8bBJS.mjs +123 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-CDy8bBJS.mjs.map +1 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-D-HZtmjt.js +128 -0
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-D-HZtmjt.js.map +1 -0
- package/node_modules/@clerk/shared/dist/types/index.d.mts +10584 -0
- package/node_modules/@clerk/shared/dist/types/index.d.mts.map +1 -0
- package/node_modules/@clerk/shared/dist/types/index.d.ts +10584 -0
- package/node_modules/@clerk/shared/dist/types/index.d.ts.map +1 -0
- package/node_modules/@clerk/shared/dist/types/index.js +0 -0
- package/node_modules/@clerk/shared/dist/types/index.mjs +0 -0
- package/node_modules/@clerk/shared/package.json +183 -0
- package/node_modules/@clerk/shared/scripts/postinstall.mjs +77 -0
- package/node_modules/@fastify/accept-negotiator/index.js +170 -0
- package/node_modules/@fastify/accept-negotiator/package.json +77 -0
- package/node_modules/@fastify/ajv-compiler/eslint.config.js +6 -0
- package/node_modules/@fastify/ajv-compiler/index.js +53 -0
- package/node_modules/@fastify/ajv-compiler/lib/default-ajv-options.js +14 -0
- package/node_modules/@fastify/ajv-compiler/lib/serializer-compiler.js +27 -0
- package/node_modules/@fastify/ajv-compiler/lib/validator-compiler.js +58 -0
- package/node_modules/@fastify/ajv-compiler/package.json +84 -0
- package/node_modules/@fastify/ajv-compiler/standalone.js +44 -0
- package/node_modules/@fastify/error/eslint.config.js +6 -0
- package/node_modules/@fastify/error/index.js +100 -0
- package/node_modules/@fastify/error/package.json +75 -0
- package/node_modules/@fastify/fast-json-stringify-compiler/eslint.config.js +6 -0
- package/node_modules/@fastify/fast-json-stringify-compiler/index.js +8 -0
- package/node_modules/@fastify/fast-json-stringify-compiler/package.json +71 -0
- package/node_modules/@fastify/fast-json-stringify-compiler/standalone.js +58 -0
- package/node_modules/@fastify/forwarded/index.js +59 -0
- package/node_modules/@fastify/forwarded/package.json +74 -0
- package/node_modules/@fastify/merge-json-schemas/eslint.config.js +6 -0
- package/node_modules/@fastify/merge-json-schemas/index.js +357 -0
- package/node_modules/@fastify/merge-json-schemas/lib/errors.js +36 -0
- package/node_modules/@fastify/merge-json-schemas/lib/resolvers.js +127 -0
- package/node_modules/@fastify/merge-json-schemas/package.json +67 -0
- package/node_modules/@fastify/proxy-addr/eslint.config.js +6 -0
- package/node_modules/@fastify/proxy-addr/index.js +331 -0
- package/node_modules/@fastify/proxy-addr/package.json +73 -0
- package/node_modules/@fastify/send/eslint.config.js +6 -0
- package/node_modules/@fastify/send/index.js +28 -0
- package/node_modules/@fastify/send/lib/collapseLeadingSlashes.js +25 -0
- package/node_modules/@fastify/send/lib/containsDotFile.js +23 -0
- package/node_modules/@fastify/send/lib/contentRange.js +18 -0
- package/node_modules/@fastify/send/lib/createHtmlDocument.js +29 -0
- package/node_modules/@fastify/send/lib/createHttpError.js +23 -0
- package/node_modules/@fastify/send/lib/isUtf8MimeType.js +12 -0
- package/node_modules/@fastify/send/lib/normalizeList.js +28 -0
- package/node_modules/@fastify/send/lib/parseBytesRange.js +133 -0
- package/node_modules/@fastify/send/lib/parseTokenList.js +46 -0
- package/node_modules/@fastify/send/lib/send.js +729 -0
- package/node_modules/@fastify/send/package.json +81 -0
- package/node_modules/@fastify/static/eslint.config.js +7 -0
- package/node_modules/@fastify/static/index.js +580 -0
- package/node_modules/@fastify/static/lib/dirList.js +211 -0
- package/node_modules/@fastify/static/package.json +87 -0
- package/node_modules/@fastify/websocket/eslint.config.js +6 -0
- package/node_modules/@fastify/websocket/index.js +251 -0
- package/node_modules/@fastify/websocket/package.json +83 -0
- package/node_modules/@fastify/websocket/tsconfig.json +3 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts +4 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js +16 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts +34 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js +170 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts +6 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js +307 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts +2 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.js +7 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts +41 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.js +322 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.min.js +12 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/package.json +3 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts +5 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.js +49 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts +2 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.js +8 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts +7 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.js +176 -0
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts +4 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.js +12 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts +34 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.js +167 -0
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts +6 -0
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.js +299 -0
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts +2 -0
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.js +3 -0
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.d.ts +41 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.js +317 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.min.js +12 -0
- package/node_modules/@isaacs/cliui/dist/esm/index.min.js.map +7 -0
- package/node_modules/@isaacs/cliui/dist/esm/package.json +3 -0
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts +5 -0
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.js +46 -0
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts +2 -0
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.js +4 -0
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts +7 -0
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts.map +1 -0
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.js +172 -0
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.js.map +1 -0
- package/node_modules/@isaacs/cliui/package.json +163 -0
- package/node_modules/@lukeed/ms/dist/index.js +37 -0
- package/node_modules/@lukeed/ms/dist/index.min.js +1 -0
- package/node_modules/@lukeed/ms/dist/index.mjs +34 -0
- package/node_modules/@lukeed/ms/license +9 -0
- package/node_modules/@lukeed/ms/package.json +48 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.d.mts +239 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.d.ts +239 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.js +1205 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.js.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.mjs +1197 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.mjs.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.d.mts +156 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.d.ts +156 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.js +1103 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.js.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.mjs +1096 -0
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.mjs.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.d.mts +1252 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.d.ts +1252 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.js +437 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.js.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.mjs +393 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.mjs.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/package.json +56 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.d.mts +352 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.d.ts +352 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.js +803 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.js.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.mjs +737 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.mjs.map +1 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/package.json +78 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/index.js +126 -0
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/package.json +41 -0
- package/node_modules/@openrouter/ai-sdk-provider/package.json +75 -0
- package/node_modules/@opentelemetry/api/build/esm/api/context.js +110 -0
- package/node_modules/@opentelemetry/api/build/esm/api/diag.js +121 -0
- package/node_modules/@opentelemetry/api/build/esm/api/metrics.js +60 -0
- package/node_modules/@opentelemetry/api/build/esm/api/propagation.js +89 -0
- package/node_modules/@opentelemetry/api/build/esm/api/trace.js +77 -0
- package/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js +56 -0
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js +98 -0
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js +20 -0
- package/node_modules/@opentelemetry/api/build/esm/baggage/types.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/baggage/utils.js +47 -0
- package/node_modules/@opentelemetry/api/build/esm/common/Attributes.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/common/Exception.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/common/Time.js +2 -0
- package/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js +67 -0
- package/node_modules/@opentelemetry/api/build/esm/context/context.js +52 -0
- package/node_modules/@opentelemetry/api/build/esm/context/types.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/context-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js +102 -0
- package/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js +59 -0
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js +41 -0
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/noopLogger.js +31 -0
- package/node_modules/@opentelemetry/api/build/esm/diag/types.js +41 -0
- package/node_modules/@opentelemetry/api/build/esm/diag-api.js +26 -0
- package/node_modules/@opentelemetry/api/build/esm/experimental/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredOptions.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredTracer.js +92 -0
- package/node_modules/@opentelemetry/api/build/esm/index.js +53 -0
- package/node_modules/@opentelemetry/api/build/esm/internal/global-utils.js +59 -0
- package/node_modules/@opentelemetry/api/build/esm/internal/semver.js +118 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/Meter.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/MeterProvider.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/Metric.js +22 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js +181 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js +31 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics/ObservableResult.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/metrics-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/globalThis.js +35 -0
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/platform/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/platform/node/globalThis.js +19 -0
- package/node_modules/@opentelemetry/api/build/esm/platform/node/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js +34 -0
- package/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js +38 -0
- package/node_modules/@opentelemetry/api/build/esm/propagation-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js +68 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js +76 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js +32 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js +53 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js +54 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/Sampler.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js +39 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/SpanOptions.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/attributes.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/context-utils.js +73 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js +102 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js +41 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js +20 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js +24 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/link.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/span.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/span_context.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/span_kind.js +43 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js +42 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/status.js +20 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js +23 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_state.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_options.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_provider.js +17 -0
- package/node_modules/@opentelemetry/api/build/esm/trace-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esm/version.js +18 -0
- package/node_modules/@opentelemetry/api/build/esnext/api/context.js +77 -0
- package/node_modules/@opentelemetry/api/build/esnext/api/diag.js +89 -0
- package/node_modules/@opentelemetry/api/build/esnext/api/metrics.js +57 -0
- package/node_modules/@opentelemetry/api/build/esnext/api/propagation.js +85 -0
- package/node_modules/@opentelemetry/api/build/esnext/api/trace.js +75 -0
- package/node_modules/@opentelemetry/api/build/esnext/baggage/context-helpers.js +56 -0
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/baggage-impl.js +51 -0
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/symbol.js +20 -0
- package/node_modules/@opentelemetry/api/build/esnext/baggage/types.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/baggage/utils.js +46 -0
- package/node_modules/@opentelemetry/api/build/esnext/common/Attributes.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/common/Exception.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/common/Time.js +2 -0
- package/node_modules/@opentelemetry/api/build/esnext/context/NoopContextManager.js +34 -0
- package/node_modules/@opentelemetry/api/build/esnext/context/context.js +51 -0
- package/node_modules/@opentelemetry/api/build/esnext/context/types.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/context-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag/ComponentLogger.js +55 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag/consoleLogger.js +53 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/logLevelLogger.js +41 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/noopLogger.js +31 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag/types.js +41 -0
- package/node_modules/@opentelemetry/api/build/esnext/diag-api.js +26 -0
- package/node_modules/@opentelemetry/api/build/esnext/experimental/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredOptions.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredTracer.js +88 -0
- package/node_modules/@opentelemetry/api/build/esnext/index.js +53 -0
- package/node_modules/@opentelemetry/api/build/esnext/internal/global-utils.js +58 -0
- package/node_modules/@opentelemetry/api/build/esnext/internal/semver.js +118 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Meter.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/MeterProvider.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Metric.js +22 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeter.js +113 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeterProvider.js +27 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics/ObservableResult.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/metrics-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/globalThis.js +35 -0
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/platform/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/globalThis.js +19 -0
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/index.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/propagation/NoopTextMapPropagator.js +30 -0
- package/node_modules/@opentelemetry/api/build/esnext/propagation/TextMapPropagator.js +38 -0
- package/node_modules/@opentelemetry/api/build/esnext/propagation-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/NonRecordingSpan.js +65 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracer.js +71 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracerProvider.js +28 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracer.js +51 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracerProvider.js +50 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/Sampler.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/SamplingResult.js +39 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/SpanOptions.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/attributes.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/context-utils.js +73 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-impl.js +99 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-validators.js +41 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/utils.js +20 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/invalid-span-constants.js +24 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/link.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/span.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_context.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_kind.js +43 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/spancontext-utils.js +42 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/status.js +20 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_flags.js +23 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_state.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_options.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_provider.js +17 -0
- package/node_modules/@opentelemetry/api/build/esnext/trace-api.js +21 -0
- package/node_modules/@opentelemetry/api/build/esnext/version.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/api/context.js +81 -0
- package/node_modules/@opentelemetry/api/build/src/api/diag.js +93 -0
- package/node_modules/@opentelemetry/api/build/src/api/metrics.js +61 -0
- package/node_modules/@opentelemetry/api/build/src/api/propagation.js +89 -0
- package/node_modules/@opentelemetry/api/build/src/api/trace.js +79 -0
- package/node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js +63 -0
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js +55 -0
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js +23 -0
- package/node_modules/@opentelemetry/api/build/src/baggage/types.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/baggage/utils.js +51 -0
- package/node_modules/@opentelemetry/api/build/src/common/Attributes.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/common/Exception.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/common/Time.js +3 -0
- package/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js +38 -0
- package/node_modules/@opentelemetry/api/build/src/context/context.js +55 -0
- package/node_modules/@opentelemetry/api/build/src/context/types.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/context-api.js +24 -0
- package/node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js +59 -0
- package/node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js +57 -0
- package/node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js +45 -0
- package/node_modules/@opentelemetry/api/build/src/diag/internal/noopLogger.js +35 -0
- package/node_modules/@opentelemetry/api/build/src/diag/types.js +44 -0
- package/node_modules/@opentelemetry/api/build/src/diag-api.js +29 -0
- package/node_modules/@opentelemetry/api/build/src/experimental/index.js +22 -0
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredOptions.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredTracer.js +93 -0
- package/node_modules/@opentelemetry/api/build/src/index.js +81 -0
- package/node_modules/@opentelemetry/api/build/src/internal/global-utils.js +64 -0
- package/node_modules/@opentelemetry/api/build/src/internal/semver.js +122 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/Meter.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/MeterProvider.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/Metric.js +25 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js +127 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js +31 -0
- package/node_modules/@opentelemetry/api/build/src/metrics/ObservableResult.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/metrics-api.js +24 -0
- package/node_modules/@opentelemetry/api/build/src/platform/browser/globalThis.js +38 -0
- package/node_modules/@opentelemetry/api/build/src/platform/browser/index.js +29 -0
- package/node_modules/@opentelemetry/api/build/src/platform/index.js +29 -0
- package/node_modules/@opentelemetry/api/build/src/platform/node/globalThis.js +22 -0
- package/node_modules/@opentelemetry/api/build/src/platform/node/index.js +29 -0
- package/node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js +34 -0
- package/node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js +41 -0
- package/node_modules/@opentelemetry/api/build/src/propagation-api.js +24 -0
- package/node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js +69 -0
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js +75 -0
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js +32 -0
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js +55 -0
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js +54 -0
- package/node_modules/@opentelemetry/api/build/src/trace/Sampler.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js +42 -0
- package/node_modules/@opentelemetry/api/build/src/trace/SpanOptions.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/attributes.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/context-utils.js +82 -0
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js +103 -0
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js +46 -0
- package/node_modules/@opentelemetry/api/build/src/trace/internal/utils.js +24 -0
- package/node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js +27 -0
- package/node_modules/@opentelemetry/api/build/src/trace/link.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/span.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/span_context.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/span_kind.js +46 -0
- package/node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js +49 -0
- package/node_modules/@opentelemetry/api/build/src/trace/status.js +23 -0
- package/node_modules/@opentelemetry/api/build/src/trace/trace_flags.js +26 -0
- package/node_modules/@opentelemetry/api/build/src/trace/trace_state.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/tracer.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_options.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_provider.js +18 -0
- package/node_modules/@opentelemetry/api/build/src/trace-api.js +24 -0
- package/node_modules/@opentelemetry/api/build/src/version.js +21 -0
- package/node_modules/@opentelemetry/api/package.json +113 -0
- package/node_modules/@pinojs/redact/eslint.config.js +1 -0
- package/node_modules/@pinojs/redact/index.js +529 -0
- package/node_modules/@pinojs/redact/package.json +37 -0
- package/node_modules/@pinojs/redact/scripts/sync-version.mjs +20 -0
- package/node_modules/@pinojs/redact/tsconfig.json +19 -0
- package/node_modules/@stablelib/base64/lib/base64.bench.js +23 -0
- package/node_modules/@stablelib/base64/lib/base64.js +282 -0
- package/node_modules/@stablelib/base64/lib/base64.test.js +82 -0
- package/node_modules/@stablelib/base64/package.json +25 -0
- package/node_modules/@stablelib/base64/tsconfig.json +27 -0
- package/node_modules/@standard-schema/spec/dist/index.cjs +18 -0
- package/node_modules/@standard-schema/spec/dist/index.d.cts +119 -0
- package/node_modules/@standard-schema/spec/dist/index.d.ts +119 -0
- package/node_modules/@standard-schema/spec/dist/index.js +0 -0
- package/node_modules/@standard-schema/spec/package.json +52 -0
- package/node_modules/@stricli/core/dist/index.cjs +2286 -0
- package/node_modules/@stricli/core/dist/index.d.cts +1443 -0
- package/node_modules/@stricli/core/dist/index.d.ts +1443 -0
- package/node_modules/@stricli/core/dist/index.js +2237 -0
- package/node_modules/@stricli/core/package.json +62 -0
- package/node_modules/@tanstack/query-core/build/legacy/chunk-PXG64RU4.js +25 -0
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.cjs +108 -0
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.js +81 -0
- package/node_modules/@tanstack/query-core/build/legacy/hydration.cjs +178 -0
- package/node_modules/@tanstack/query-core/build/legacy/hydration.js +152 -0
- package/node_modules/@tanstack/query-core/build/legacy/index.cjs +110 -0
- package/node_modules/@tanstack/query-core/build/legacy/index.js +73 -0
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.cjs +146 -0
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.js +126 -0
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.cjs +93 -0
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.js +74 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutation.cjs +332 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutation.js +305 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.cjs +170 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.js +137 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.cjs +190 -0
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.js +164 -0
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.cjs +113 -0
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.js +88 -0
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.cjs +97 -0
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.js +70 -0
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.cjs +250 -0
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.js +224 -0
- package/node_modules/@tanstack/query-core/build/legacy/query.cjs +478 -0
- package/node_modules/@tanstack/query-core/build/legacy/query.js +459 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.cjs +131 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.js +105 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.cjs +349 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.js +324 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.cjs +513 -0
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.js +496 -0
- package/node_modules/@tanstack/query-core/build/legacy/removable.cjs +69 -0
- package/node_modules/@tanstack/query-core/build/legacy/removable.js +43 -0
- package/node_modules/@tanstack/query-core/build/legacy/retryer.cjs +165 -0
- package/node_modules/@tanstack/query-core/build/legacy/retryer.js +139 -0
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.cjs +82 -0
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.js +59 -0
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.cjs +51 -0
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.js +28 -0
- package/node_modules/@tanstack/query-core/build/legacy/thenable.cjs +76 -0
- package/node_modules/@tanstack/query-core/build/legacy/thenable.js +52 -0
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.cjs +110 -0
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.js +81 -0
- package/node_modules/@tanstack/query-core/build/legacy/types.cjs +37 -0
- package/node_modules/@tanstack/query-core/build/legacy/types.js +12 -0
- package/node_modules/@tanstack/query-core/build/legacy/utils.cjs +329 -0
- package/node_modules/@tanstack/query-core/build/legacy/utils.js +282 -0
- package/node_modules/@tanstack/query-core/build/modern/focusManager.cjs +94 -0
- package/node_modules/@tanstack/query-core/build/modern/focusManager.js +68 -0
- package/node_modules/@tanstack/query-core/build/modern/hydration.cjs +173 -0
- package/node_modules/@tanstack/query-core/build/modern/hydration.js +145 -0
- package/node_modules/@tanstack/query-core/build/modern/index.cjs +110 -0
- package/node_modules/@tanstack/query-core/build/modern/index.js +71 -0
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +142 -0
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js +120 -0
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs +92 -0
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js +71 -0
- package/node_modules/@tanstack/query-core/build/modern/mutation.cjs +305 -0
- package/node_modules/@tanstack/query-core/build/modern/mutation.js +279 -0
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.cjs +149 -0
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.js +124 -0
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.cjs +165 -0
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.js +140 -0
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.cjs +113 -0
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.js +86 -0
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.cjs +84 -0
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.js +58 -0
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.cjs +228 -0
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.js +203 -0
- package/node_modules/@tanstack/query-core/build/modern/query.cjs +452 -0
- package/node_modules/@tanstack/query-core/build/modern/query.js +434 -0
- package/node_modules/@tanstack/query-core/build/modern/queryCache.cjs +122 -0
- package/node_modules/@tanstack/query-core/build/modern/queryCache.js +97 -0
- package/node_modules/@tanstack/query-core/build/modern/queryClient.cjs +322 -0
- package/node_modules/@tanstack/query-core/build/modern/queryClient.js +305 -0
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.cjs +486 -0
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.js +470 -0
- package/node_modules/@tanstack/query-core/build/modern/removable.cjs +58 -0
- package/node_modules/@tanstack/query-core/build/modern/removable.js +33 -0
- package/node_modules/@tanstack/query-core/build/modern/retryer.cjs +161 -0
- package/node_modules/@tanstack/query-core/build/modern/retryer.js +133 -0
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.cjs +82 -0
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.js +57 -0
- package/node_modules/@tanstack/query-core/build/modern/subscribable.cjs +51 -0
- package/node_modules/@tanstack/query-core/build/modern/subscribable.js +26 -0
- package/node_modules/@tanstack/query-core/build/modern/thenable.cjs +75 -0
- package/node_modules/@tanstack/query-core/build/modern/thenable.js +49 -0
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.cjs +98 -0
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.js +70 -0
- package/node_modules/@tanstack/query-core/build/modern/types.cjs +37 -0
- package/node_modules/@tanstack/query-core/build/modern/types.js +10 -0
- package/node_modules/@tanstack/query-core/build/modern/utils.cjs +329 -0
- package/node_modules/@tanstack/query-core/build/modern/utils.js +280 -0
- package/node_modules/@tanstack/query-core/package.json +65 -0
- package/node_modules/@vercel/oidc/dist/auth-config.d.ts +30 -0
- package/node_modules/@vercel/oidc/dist/auth-config.js +84 -0
- package/node_modules/@vercel/oidc/dist/get-context.d.ts +6 -0
- package/node_modules/@vercel/oidc/dist/get-context.js +34 -0
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.d.ts +49 -0
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.js +80 -0
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.test.d.ts +1 -0
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.test.js +245 -0
- package/node_modules/@vercel/oidc/dist/index-browser.d.ts +3 -0
- package/node_modules/@vercel/oidc/dist/index-browser.js +38 -0
- package/node_modules/@vercel/oidc/dist/index-browser.test.d.ts +1 -0
- package/node_modules/@vercel/oidc/dist/index-browser.test.js +33 -0
- package/node_modules/@vercel/oidc/dist/index.d.ts +2 -0
- package/node_modules/@vercel/oidc/dist/index.js +33 -0
- package/node_modules/@vercel/oidc/dist/oauth.d.ts +17 -0
- package/node_modules/@vercel/oidc/dist/oauth.js +88 -0
- package/node_modules/@vercel/oidc/dist/token-error.d.ts +5 -0
- package/node_modules/@vercel/oidc/dist/token-error.js +40 -0
- package/node_modules/@vercel/oidc/dist/token-io.d.ts +2 -0
- package/node_modules/@vercel/oidc/dist/token-io.js +78 -0
- package/node_modules/@vercel/oidc/dist/token-util.d.ts +21 -0
- package/node_modules/@vercel/oidc/dist/token-util.js +198 -0
- package/node_modules/@vercel/oidc/dist/token-util.test.d.ts +1 -0
- package/node_modules/@vercel/oidc/dist/token-util.test.js +229 -0
- package/node_modules/@vercel/oidc/dist/token.d.ts +1 -0
- package/node_modules/@vercel/oidc/dist/token.js +53 -0
- package/node_modules/@vercel/oidc/dist/token.test.d.ts +1 -0
- package/node_modules/@vercel/oidc/dist/token.test.js +84 -0
- package/node_modules/@vercel/oidc/package.json +52 -0
- package/node_modules/abstract-logging/index.js +18 -0
- package/node_modules/abstract-logging/package.json +25 -0
- package/node_modules/abstract-logging/test.js +17 -0
- package/node_modules/agent-base/dist/helpers.d.ts +15 -0
- package/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/node_modules/agent-base/dist/helpers.js +66 -0
- package/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/node_modules/agent-base/dist/index.d.ts +41 -0
- package/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/node_modules/agent-base/dist/index.js +178 -0
- package/node_modules/agent-base/dist/index.js.map +1 -0
- package/node_modules/agent-base/package.json +46 -0
- package/node_modules/ai/dist/index.d.mts +6403 -0
- package/node_modules/ai/dist/index.d.ts +6403 -0
- package/node_modules/ai/dist/index.js +13569 -0
- package/node_modules/ai/dist/index.js.map +1 -0
- package/node_modules/ai/dist/index.mjs +13532 -0
- package/node_modules/ai/dist/index.mjs.map +1 -0
- package/node_modules/ai/dist/internal/index.d.mts +314 -0
- package/node_modules/ai/dist/internal/index.d.ts +314 -0
- package/node_modules/ai/dist/internal/index.js +1319 -0
- package/node_modules/ai/dist/internal/index.js.map +1 -0
- package/node_modules/ai/dist/internal/index.mjs +1303 -0
- package/node_modules/ai/dist/internal/index.mjs.map +1 -0
- package/node_modules/ai/package.json +118 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/package.json +127 -0
- package/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/node_modules/ajv-formats/dist/formats.js +208 -0
- package/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/node_modules/ajv-formats/dist/index.js +37 -0
- package/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/node_modules/ajv-formats/dist/limit.js +69 -0
- package/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/node_modules/ajv-formats/package.json +74 -0
- package/node_modules/atomic-sleep/index.js +38 -0
- package/node_modules/atomic-sleep/package.json +37 -0
- package/node_modules/atomic-sleep/test.js +47 -0
- package/node_modules/avvio/boot.js +621 -0
- package/node_modules/avvio/eslint.config.js +6 -0
- package/node_modules/avvio/lib/create-promise.js +45 -0
- package/node_modules/avvio/lib/debug.js +19 -0
- package/node_modules/avvio/lib/errors.js +38 -0
- package/node_modules/avvio/lib/execute-with-thenable.js +36 -0
- package/node_modules/avvio/lib/get-plugin-name.js +34 -0
- package/node_modules/avvio/lib/is-bundled-or-typescript-plugin.js +23 -0
- package/node_modules/avvio/lib/is-promise-like.js +17 -0
- package/node_modules/avvio/lib/plugin.js +279 -0
- package/node_modules/avvio/lib/symbols.js +26 -0
- package/node_modules/avvio/lib/thenify.js +60 -0
- package/node_modules/avvio/lib/time-tree.js +200 -0
- package/node_modules/avvio/lib/validate-plugin.js +26 -0
- package/node_modules/avvio/package.json +74 -0
- package/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
- package/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/balanced-match/dist/commonjs/index.js +59 -0
- package/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
- package/node_modules/balanced-match/dist/commonjs/package.json +3 -0
- package/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
- package/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
- package/node_modules/balanced-match/dist/esm/index.js +54 -0
- package/node_modules/balanced-match/dist/esm/index.js.map +1 -0
- package/node_modules/balanced-match/dist/esm/package.json +3 -0
- package/node_modules/balanced-match/package.json +68 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/better-sqlite3/lib/database.js +90 -0
- package/node_modules/better-sqlite3/lib/index.js +3 -0
- package/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
- package/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
- package/node_modules/better-sqlite3/lib/methods/function.js +31 -0
- package/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
- package/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
- package/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
- package/node_modules/better-sqlite3/lib/methods/table.js +189 -0
- package/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
- package/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
- package/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
- package/node_modules/better-sqlite3/lib/util.js +12 -0
- package/node_modules/better-sqlite3/package.json +54 -0
- package/node_modules/bindings/bindings.js +221 -0
- package/node_modules/bindings/package.json +28 -0
- package/node_modules/bl/BufferList.js +396 -0
- package/node_modules/bl/bl.js +84 -0
- package/node_modules/bl/package.json +37 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts +6 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/brace-expansion/dist/commonjs/index.js +201 -0
- package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
- package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts +6 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
- package/node_modules/brace-expansion/dist/esm/index.js +197 -0
- package/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
- package/node_modules/brace-expansion/dist/esm/package.json +3 -0
- package/node_modules/brace-expansion/package.json +64 -0
- package/node_modules/buffer/index.js +1817 -0
- package/node_modules/buffer/package.json +96 -0
- package/node_modules/bundle-name/index.js +5 -0
- package/node_modules/bundle-name/license +9 -0
- package/node_modules/bundle-name/package.json +45 -0
- package/node_modules/chownr/chownr.js +167 -0
- package/node_modules/chownr/package.json +29 -0
- package/node_modules/content-disposition/index.js +458 -0
- package/node_modules/content-disposition/package.json +44 -0
- package/node_modules/cookie/dist/index.d.ts +148 -0
- package/node_modules/cookie/dist/index.js +350 -0
- package/node_modules/cookie/dist/index.js.map +1 -0
- package/node_modules/cookie/package.json +47 -0
- package/node_modules/cookies/index.js +290 -0
- package/node_modules/cookies/package.json +38 -0
- package/node_modules/cross-spawn/index.js +39 -0
- package/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/node_modules/cross-spawn/lib/parse.js +91 -0
- package/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/node_modules/cross-spawn/package.json +73 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/decompress-response/index.js +58 -0
- package/node_modules/decompress-response/license +9 -0
- package/node_modules/decompress-response/package.json +56 -0
- package/node_modules/deep-extend/index.js +1 -0
- package/node_modules/deep-extend/lib/deep-extend.js +150 -0
- package/node_modules/deep-extend/package.json +62 -0
- package/node_modules/default-browser/index.js +34 -0
- package/node_modules/default-browser/license +9 -0
- package/node_modules/default-browser/package.json +54 -0
- package/node_modules/default-browser/windows.js +57 -0
- package/node_modules/default-browser-id/index.js +25 -0
- package/node_modules/default-browser-id/license +9 -0
- package/node_modules/default-browser-id/package.json +41 -0
- package/node_modules/define-lazy-prop/index.js +18 -0
- package/node_modules/define-lazy-prop/license +9 -0
- package/node_modules/define-lazy-prop/package.json +51 -0
- package/node_modules/depd/index.js +538 -0
- package/node_modules/depd/lib/browser/index.js +77 -0
- package/node_modules/depd/package.json +45 -0
- package/node_modules/dequal/dist/index.js +86 -0
- package/node_modules/dequal/dist/index.min.js +1 -0
- package/node_modules/dequal/dist/index.mjs +84 -0
- package/node_modules/dequal/license +21 -0
- package/node_modules/dequal/lite/index.js +31 -0
- package/node_modules/dequal/lite/index.min.js +1 -0
- package/node_modules/dequal/lite/index.mjs +29 -0
- package/node_modules/dequal/package.json +57 -0
- package/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/node_modules/detect-libc/lib/elf.js +39 -0
- package/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/node_modules/detect-libc/lib/process.js +24 -0
- package/node_modules/detect-libc/package.json +44 -0
- package/node_modules/duplexify/example.js +21 -0
- package/node_modules/duplexify/index.js +238 -0
- package/node_modules/duplexify/package.json +39 -0
- package/node_modules/duplexify/test.js +339 -0
- package/node_modules/end-of-stream/index.js +96 -0
- package/node_modules/end-of-stream/package.json +37 -0
- package/node_modules/escape-html/index.js +78 -0
- package/node_modules/escape-html/package.json +24 -0
- package/node_modules/eventsource-parser/dist/index.cjs +106 -0
- package/node_modules/eventsource-parser/dist/index.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/index.d.cts +144 -0
- package/node_modules/eventsource-parser/dist/index.d.ts +144 -0
- package/node_modules/eventsource-parser/dist/index.js +106 -0
- package/node_modules/eventsource-parser/dist/index.js.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.cjs +28 -0
- package/node_modules/eventsource-parser/dist/stream.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.d.cts +118 -0
- package/node_modules/eventsource-parser/dist/stream.d.ts +118 -0
- package/node_modules/eventsource-parser/dist/stream.js +29 -0
- package/node_modules/eventsource-parser/dist/stream.js.map +1 -0
- package/node_modules/eventsource-parser/package.json +115 -0
- package/node_modules/eventsource-parser/stream.js +2 -0
- package/node_modules/expand-template/index.js +26 -0
- package/node_modules/expand-template/package.json +29 -0
- package/node_modules/expand-template/test.js +67 -0
- package/node_modules/fast-decode-uri-component/bench.js +35 -0
- package/node_modules/fast-decode-uri-component/index.js +115 -0
- package/node_modules/fast-decode-uri-component/package.json +33 -0
- package/node_modules/fast-decode-uri-component/test.js +32 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-json-stringify/build/build-schema-validator.js +26 -0
- package/node_modules/fast-json-stringify/eslint.config.js +9 -0
- package/node_modules/fast-json-stringify/index.js +1312 -0
- package/node_modules/fast-json-stringify/lib/location.js +24 -0
- package/node_modules/fast-json-stringify/lib/merge-schemas.js +9 -0
- package/node_modules/fast-json-stringify/lib/schema-validator.js +1134 -0
- package/node_modules/fast-json-stringify/lib/serializer.js +141 -0
- package/node_modules/fast-json-stringify/lib/standalone.js +34 -0
- package/node_modules/fast-json-stringify/lib/validator.js +96 -0
- package/node_modules/fast-json-stringify/package.json +89 -0
- package/node_modules/fast-querystring/lib/index.js +20 -0
- package/node_modules/fast-querystring/lib/internals/querystring.js +96 -0
- package/node_modules/fast-querystring/lib/parse.js +126 -0
- package/node_modules/fast-querystring/lib/stringify.js +69 -0
- package/node_modules/fast-querystring/package.json +56 -0
- package/node_modules/fast-sha256/package.json +42 -0
- package/node_modules/fast-sha256/sha256.js +427 -0
- package/node_modules/fast-sha256/sha256.min.js +1 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +340 -0
- package/node_modules/fast-uri/lib/schemes.js +267 -0
- package/node_modules/fast-uri/lib/utils.js +336 -0
- package/node_modules/fast-uri/package.json +69 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fastify/build/build-error-serializer.js +35 -0
- package/node_modules/fastify/build/build-validation.js +169 -0
- package/node_modules/fastify/build/sync-version.js +11 -0
- package/node_modules/fastify/eslint.config.js +35 -0
- package/node_modules/fastify/fastify.js +985 -0
- package/node_modules/fastify/integration/server.js +29 -0
- package/node_modules/fastify/integration/test.sh +23 -0
- package/node_modules/fastify/lib/config-validator.js +1266 -0
- package/node_modules/fastify/lib/content-type-parser.js +413 -0
- package/node_modules/fastify/lib/content-type.js +160 -0
- package/node_modules/fastify/lib/context.js +98 -0
- package/node_modules/fastify/lib/decorate.js +152 -0
- package/node_modules/fastify/lib/error-handler.js +173 -0
- package/node_modules/fastify/lib/error-serializer.js +134 -0
- package/node_modules/fastify/lib/error-status.js +14 -0
- package/node_modules/fastify/lib/errors.js +516 -0
- package/node_modules/fastify/lib/four-oh-four.js +190 -0
- package/node_modules/fastify/lib/handle-request.js +195 -0
- package/node_modules/fastify/lib/head-route.js +45 -0
- package/node_modules/fastify/lib/hooks.js +429 -0
- package/node_modules/fastify/lib/initial-config-validation.js +37 -0
- package/node_modules/fastify/lib/logger-factory.js +136 -0
- package/node_modules/fastify/lib/logger-pino.js +68 -0
- package/node_modules/fastify/lib/noop-set.js +10 -0
- package/node_modules/fastify/lib/plugin-override.js +90 -0
- package/node_modules/fastify/lib/plugin-utils.js +169 -0
- package/node_modules/fastify/lib/promise.js +23 -0
- package/node_modules/fastify/lib/reply.js +1030 -0
- package/node_modules/fastify/lib/req-id-gen-factory.js +52 -0
- package/node_modules/fastify/lib/request.js +393 -0
- package/node_modules/fastify/lib/route.js +686 -0
- package/node_modules/fastify/lib/schema-controller.js +164 -0
- package/node_modules/fastify/lib/schemas.js +207 -0
- package/node_modules/fastify/lib/server.js +441 -0
- package/node_modules/fastify/lib/symbols.js +71 -0
- package/node_modules/fastify/lib/validation.js +280 -0
- package/node_modules/fastify/lib/warnings.js +57 -0
- package/node_modules/fastify/lib/wrap-thenable.js +84 -0
- package/node_modules/fastify/package.json +225 -0
- package/node_modules/fastify/scripts/validate-ecosystem-links.js +179 -0
- package/node_modules/fastify-plugin/eslint.config.js +6 -0
- package/node_modules/fastify-plugin/lib/getPluginName.js +25 -0
- package/node_modules/fastify-plugin/lib/toCamelCase.js +10 -0
- package/node_modules/fastify-plugin/package.json +70 -0
- package/node_modules/fastify-plugin/plugin.js +67 -0
- package/node_modules/fastq/bench.js +66 -0
- package/node_modules/fastq/eslint.config.js +11 -0
- package/node_modules/fastq/example.js +14 -0
- package/node_modules/fastq/example.mjs +9 -0
- package/node_modules/fastq/package.json +49 -0
- package/node_modules/fastq/queue.js +346 -0
- package/node_modules/file-uri-to-path/index.js +66 -0
- package/node_modules/file-uri-to-path/package.json +32 -0
- package/node_modules/find-my-way/example.js +29 -0
- package/node_modules/find-my-way/index.js +839 -0
- package/node_modules/find-my-way/lib/constrainer.js +172 -0
- package/node_modules/find-my-way/lib/handler-storage.js +175 -0
- package/node_modules/find-my-way/lib/http-methods.js +13 -0
- package/node_modules/find-my-way/lib/node.js +228 -0
- package/node_modules/find-my-way/lib/null-object.js +8 -0
- package/node_modules/find-my-way/lib/pretty-print.js +168 -0
- package/node_modules/find-my-way/lib/strategies/accept-host.js +36 -0
- package/node_modules/find-my-way/lib/strategies/accept-version.js +64 -0
- package/node_modules/find-my-way/lib/strategies/http-method.js +15 -0
- package/node_modules/find-my-way/lib/url-sanitizer.js +105 -0
- package/node_modules/find-my-way/package.json +57 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +2 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.js +58 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/index.d.ts +58 -0
- package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/index.js +123 -0
- package/node_modules/foreground-child/dist/commonjs/index.js.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/package.json +3 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +6 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js +38 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +10 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.js +50 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts +2 -0
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/all-signals.js +52 -0
- package/node_modules/foreground-child/dist/esm/all-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/index.d.ts +58 -0
- package/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/index.js +115 -0
- package/node_modules/foreground-child/dist/esm/index.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/package.json +3 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +6 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.js +34 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts +10 -0
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/watchdog.js +46 -0
- package/node_modules/foreground-child/dist/esm/watchdog.js.map +1 -0
- package/node_modules/foreground-child/package.json +106 -0
- package/node_modules/fs-constants/browser.js +1 -0
- package/node_modules/fs-constants/index.js +1 -0
- package/node_modules/fs-constants/package.json +19 -0
- package/node_modules/github-from-package/index.js +17 -0
- package/node_modules/github-from-package/package.json +30 -0
- package/node_modules/github-from-package/readme.markdown +53 -0
- package/node_modules/glob/dist/commonjs/glob.d.ts +388 -0
- package/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/glob.js +247 -0
- package/node_modules/glob/dist/commonjs/glob.js.map +1 -0
- package/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
- package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
- package/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
- package/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
- package/node_modules/glob/dist/commonjs/index.d.ts +97 -0
- package/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/index.js +68 -0
- package/node_modules/glob/dist/commonjs/index.js.map +1 -0
- package/node_modules/glob/dist/commonjs/package.json +3 -0
- package/node_modules/glob/dist/commonjs/pattern.d.ts +76 -0
- package/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/pattern.js +219 -0
- package/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
- package/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
- package/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/node_modules/glob/dist/commonjs/processor.js.map +1 -0
- package/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
- package/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/node_modules/glob/dist/commonjs/walker.js.map +1 -0
- package/node_modules/glob/dist/esm/bin.d.mts +3 -0
- package/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
- package/node_modules/glob/dist/esm/bin.mjs +346 -0
- package/node_modules/glob/dist/esm/bin.mjs.map +1 -0
- package/node_modules/glob/dist/esm/glob.d.ts +388 -0
- package/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/glob.js +243 -0
- package/node_modules/glob/dist/esm/glob.js.map +1 -0
- package/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
- package/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/node_modules/glob/dist/esm/has-magic.js.map +1 -0
- package/node_modules/glob/dist/esm/ignore.d.ts +24 -0
- package/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/ignore.js +115 -0
- package/node_modules/glob/dist/esm/ignore.js.map +1 -0
- package/node_modules/glob/dist/esm/index.d.ts +97 -0
- package/node_modules/glob/dist/esm/index.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/index.js +55 -0
- package/node_modules/glob/dist/esm/index.js.map +1 -0
- package/node_modules/glob/dist/esm/package.json +3 -0
- package/node_modules/glob/dist/esm/pattern.d.ts +76 -0
- package/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/pattern.js +215 -0
- package/node_modules/glob/dist/esm/pattern.js.map +1 -0
- package/node_modules/glob/dist/esm/processor.d.ts +59 -0
- package/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/processor.js +294 -0
- package/node_modules/glob/dist/esm/processor.js.map +1 -0
- package/node_modules/glob/dist/esm/walker.d.ts +97 -0
- package/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/walker.js +381 -0
- package/node_modules/glob/dist/esm/walker.js.map +1 -0
- package/node_modules/glob/package.json +97 -0
- package/node_modules/glob-to-regexp/index.js +130 -0
- package/node_modules/glob-to-regexp/package.json +23 -0
- package/node_modules/glob-to-regexp/test.js +235 -0
- package/node_modules/http-errors/index.js +290 -0
- package/node_modules/http-errors/package.json +54 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts +47 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/index.js +180 -0
- package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/https-proxy-agent/package.json +50 -0
- package/node_modules/ieee754/index.js +85 -0
- package/node_modules/ieee754/package.json +52 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/ini/ini.js +206 -0
- package/node_modules/ini/package.json +33 -0
- package/node_modules/ip-address/dist/address-error.d.ts +5 -0
- package/node_modules/ip-address/dist/address-error.d.ts.map +1 -0
- package/node_modules/ip-address/dist/address-error.js +12 -0
- package/node_modules/ip-address/dist/address-error.js.map +1 -0
- package/node_modules/ip-address/dist/common.d.ts +15 -0
- package/node_modules/ip-address/dist/common.d.ts.map +1 -0
- package/node_modules/ip-address/dist/common.js +46 -0
- package/node_modules/ip-address/dist/common.js.map +1 -0
- package/node_modules/ip-address/dist/ip-address.d.ts +8 -0
- package/node_modules/ip-address/dist/ip-address.d.ts.map +1 -0
- package/node_modules/ip-address/dist/ip-address.js +35 -0
- package/node_modules/ip-address/dist/ip-address.js.map +1 -0
- package/node_modules/ip-address/dist/ipv4.d.ts +209 -0
- package/node_modules/ip-address/dist/ipv4.d.ts.map +1 -0
- package/node_modules/ip-address/dist/ipv4.js +360 -0
- package/node_modules/ip-address/dist/ipv4.js.map +1 -0
- package/node_modules/ip-address/dist/ipv6.d.ts +428 -0
- package/node_modules/ip-address/dist/ipv6.d.ts.map +1 -0
- package/node_modules/ip-address/dist/ipv6.js +1003 -0
- package/node_modules/ip-address/dist/ipv6.js.map +1 -0
- package/node_modules/ip-address/dist/v4/constants.d.ts +5 -0
- package/node_modules/ip-address/dist/v4/constants.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v4/constants.js +8 -0
- package/node_modules/ip-address/dist/v4/constants.js.map +1 -0
- package/node_modules/ip-address/dist/v6/constants.d.ts +45 -0
- package/node_modules/ip-address/dist/v6/constants.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v6/constants.js +76 -0
- package/node_modules/ip-address/dist/v6/constants.js.map +1 -0
- package/node_modules/ip-address/dist/v6/helpers.d.ts +18 -0
- package/node_modules/ip-address/dist/v6/helpers.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v6/helpers.js +45 -0
- package/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +6 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
- package/node_modules/ip-address/package.json +78 -0
- package/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js +1067 -0
- package/node_modules/ipaddr.js/package.json +36 -0
- package/node_modules/is-docker/cli.js +5 -0
- package/node_modules/is-docker/index.js +29 -0
- package/node_modules/is-docker/license +9 -0
- package/node_modules/is-docker/package.json +44 -0
- package/node_modules/is-inside-container/cli.js +5 -0
- package/node_modules/is-inside-container/index.js +23 -0
- package/node_modules/is-inside-container/license +9 -0
- package/node_modules/is-inside-container/package.json +51 -0
- package/node_modules/is-wsl/index.js +36 -0
- package/node_modules/is-wsl/license +9 -0
- package/node_modules/is-wsl/package.json +58 -0
- package/node_modules/isexe/index.js +57 -0
- package/node_modules/isexe/mode.js +41 -0
- package/node_modules/isexe/package.json +31 -0
- package/node_modules/isexe/windows.js +42 -0
- package/node_modules/jackspeak/dist/commonjs/index.d.ts +323 -0
- package/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/jackspeak/dist/commonjs/index.js +944 -0
- package/node_modules/jackspeak/dist/commonjs/index.js.map +1 -0
- package/node_modules/jackspeak/dist/commonjs/index.min.js +33 -0
- package/node_modules/jackspeak/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/jackspeak/dist/commonjs/package.json +3 -0
- package/node_modules/jackspeak/dist/esm/index.d.ts +323 -0
- package/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -0
- package/node_modules/jackspeak/dist/esm/index.js +936 -0
- package/node_modules/jackspeak/dist/esm/index.js.map +1 -0
- package/node_modules/jackspeak/dist/esm/index.min.js +33 -0
- package/node_modules/jackspeak/dist/esm/index.min.js.map +7 -0
- package/node_modules/jackspeak/dist/esm/package.json +3 -0
- package/node_modules/jackspeak/package.json +115 -0
- package/node_modules/js-cookie/dist/js.cookie.js +147 -0
- package/node_modules/js-cookie/dist/js.cookie.min.js +2 -0
- package/node_modules/js-cookie/dist/js.cookie.min.mjs +2 -0
- package/node_modules/js-cookie/dist/js.cookie.mjs +134 -0
- package/node_modules/js-cookie/index.js +1 -0
- package/node_modules/js-cookie/package.json +71 -0
- package/node_modules/json-schema/lib/links.js +65 -0
- package/node_modules/json-schema/lib/validate.js +271 -0
- package/node_modules/json-schema/package.json +24 -0
- package/node_modules/json-schema-ref-resolver/eslint.config.js +6 -0
- package/node_modules/json-schema-ref-resolver/index.js +284 -0
- package/node_modules/json-schema-ref-resolver/package.json +76 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/keygrip/index.js +51 -0
- package/node_modules/keygrip/package.json +28 -0
- package/node_modules/light-my-request/build/build-validation.js +100 -0
- package/node_modules/light-my-request/eslint.config.js +9 -0
- package/node_modules/light-my-request/index.js +194 -0
- package/node_modules/light-my-request/lib/config-validator.js +919 -0
- package/node_modules/light-my-request/lib/form-data.js +79 -0
- package/node_modules/light-my-request/lib/parse-url.js +47 -0
- package/node_modules/light-my-request/lib/request.js +290 -0
- package/node_modules/light-my-request/lib/response.js +240 -0
- package/node_modules/light-my-request/node_modules/process-warning/eslint.config.js +6 -0
- package/node_modules/light-my-request/node_modules/process-warning/index.js +124 -0
- package/node_modules/light-my-request/node_modules/process-warning/package.json +73 -0
- package/node_modules/light-my-request/package.json +85 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts +1323 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.js +1595 -0
- package/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts +1323 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.js +1591 -0
- package/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/node_modules/lru-cache/package.json +93 -0
- package/node_modules/mime/Mime.js +97 -0
- package/node_modules/mime/cli.js +46 -0
- package/node_modules/mime/index.js +4 -0
- package/node_modules/mime/lite.js +4 -0
- package/node_modules/mime/package.json +52 -0
- package/node_modules/mime/types/other.js +1 -0
- package/node_modules/mime/types/standard.js +1 -0
- package/node_modules/mimic-response/index.js +77 -0
- package/node_modules/mimic-response/license +9 -0
- package/node_modules/mimic-response/package.json +42 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/ast.d.ts +22 -0
- package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/ast.js +845 -0
- package/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts +174 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.js +1127 -0
- package/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/esm/ast.d.ts +22 -0
- package/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/ast.js +841 -0
- package/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/index.d.ts +174 -0
- package/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/index.js +1114 -0
- package/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/node_modules/minimatch/dist/esm/package.json +3 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/node_modules/minimatch/package.json +73 -0
- package/node_modules/minimist/index.js +263 -0
- package/node_modules/minimist/package.json +75 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts +545 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/commonjs/index.js +1038 -0
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/minipass/dist/esm/index.d.ts +545 -0
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/esm/index.js +1020 -0
- package/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/minipass/package.json +77 -0
- package/node_modules/mkdirp-classic/index.js +98 -0
- package/node_modules/mkdirp-classic/package.json +18 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/nanoid/async/index.browser.cjs +69 -0
- package/node_modules/nanoid/async/index.browser.js +34 -0
- package/node_modules/nanoid/async/index.cjs +71 -0
- package/node_modules/nanoid/async/index.js +35 -0
- package/node_modules/nanoid/async/index.native.js +26 -0
- package/node_modules/nanoid/async/package.json +12 -0
- package/node_modules/nanoid/bin/nanoid.cjs +55 -0
- package/node_modules/nanoid/index.browser.cjs +72 -0
- package/node_modules/nanoid/index.browser.js +34 -0
- package/node_modules/nanoid/index.cjs +85 -0
- package/node_modules/nanoid/index.js +45 -0
- package/node_modules/nanoid/nanoid.js +1 -0
- package/node_modules/nanoid/non-secure/index.cjs +34 -0
- package/node_modules/nanoid/non-secure/index.js +21 -0
- package/node_modules/nanoid/non-secure/package.json +6 -0
- package/node_modules/nanoid/package.json +89 -0
- package/node_modules/nanoid/url-alphabet/index.cjs +7 -0
- package/node_modules/nanoid/url-alphabet/index.js +3 -0
- package/node_modules/nanoid/url-alphabet/package.json +6 -0
- package/node_modules/napi-build-utils/index.js +214 -0
- package/node_modules/napi-build-utils/package.json +42 -0
- package/node_modules/node-abi/abi_registry.json +439 -0
- package/node_modules/node-abi/index.js +179 -0
- package/node_modules/node-abi/package.json +45 -0
- package/node_modules/node-addon-api/index.js +12 -0
- package/node_modules/node-addon-api/package-support.json +21 -0
- package/node_modules/node-addon-api/package.json +480 -0
- package/node_modules/node-addon-api/tools/check-napi.js +99 -0
- package/node_modules/node-addon-api/tools/clang-format.js +71 -0
- package/node_modules/node-addon-api/tools/conversion.js +301 -0
- package/node_modules/node-addon-api/tools/eslint-format.js +79 -0
- package/node_modules/node-pty/lib/conpty_console_list_agent.js +16 -0
- package/node_modules/node-pty/lib/eventEmitter2.js +47 -0
- package/node_modules/node-pty/lib/eventEmitter2.test.js +30 -0
- package/node_modules/node-pty/lib/index.js +52 -0
- package/node_modules/node-pty/lib/interfaces.js +7 -0
- package/node_modules/node-pty/lib/shared/conout.js +11 -0
- package/node_modules/node-pty/lib/terminal.js +190 -0
- package/node_modules/node-pty/lib/terminal.test.js +139 -0
- package/node_modules/node-pty/lib/testUtils.test.js +28 -0
- package/node_modules/node-pty/lib/types.js +7 -0
- package/node_modules/node-pty/lib/unixTerminal.js +346 -0
- package/node_modules/node-pty/lib/unixTerminal.test.js +351 -0
- package/node_modules/node-pty/lib/utils.js +39 -0
- package/node_modules/node-pty/lib/windowsConoutConnection.js +125 -0
- package/node_modules/node-pty/lib/windowsPtyAgent.js +320 -0
- package/node_modules/node-pty/lib/windowsPtyAgent.test.js +90 -0
- package/node_modules/node-pty/lib/windowsTerminal.js +199 -0
- package/node_modules/node-pty/lib/windowsTerminal.test.js +219 -0
- package/node_modules/node-pty/lib/worker/conoutSocketWorker.js +22 -0
- package/node_modules/node-pty/package.json +64 -0
- package/node_modules/on-exit-leak-free/index.js +108 -0
- package/node_modules/on-exit-leak-free/package.json +37 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +33 -0
- package/node_modules/open/index.js +366 -0
- package/node_modules/open/license +9 -0
- package/node_modules/open/package.json +68 -0
- package/node_modules/open/xdg-open +1267 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +89 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.js +134 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.js.map +1 -0
- package/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -0
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts +89 -0
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +1 -0
- package/node_modules/package-json-from-dist/dist/esm/index.js +129 -0
- package/node_modules/package-json-from-dist/dist/esm/index.js.map +1 -0
- package/node_modules/package-json-from-dist/dist/esm/package.json +3 -0
- package/node_modules/package-json-from-dist/package.json +68 -0
- package/node_modules/path-key/index.js +16 -0
- package/node_modules/path-key/license +9 -0
- package/node_modules/path-key/package.json +39 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts +1115 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/index.js +2018 -0
- package/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts +1115 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/esm/index.js +1983 -0
- package/node_modules/path-scurry/dist/esm/index.js.map +1 -0
- package/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/node_modules/path-scurry/package.json +72 -0
- package/node_modules/pino/CNAME +1 -0
- package/node_modules/pino/bin.js +6 -0
- package/node_modules/pino/browser.js +547 -0
- package/node_modules/pino/build/sync-version.js +25 -0
- package/node_modules/pino/eslint.config.js +28 -0
- package/node_modules/pino/favicon.ico +0 -0
- package/node_modules/pino/file.js +12 -0
- package/node_modules/pino/inc-version.sh +42 -0
- package/node_modules/pino/index.html +55 -0
- package/node_modules/pino/lib/caller.js +30 -0
- package/node_modules/pino/lib/constants.js +28 -0
- package/node_modules/pino/lib/deprecations.js +8 -0
- package/node_modules/pino/lib/levels.js +241 -0
- package/node_modules/pino/lib/meta.js +3 -0
- package/node_modules/pino/lib/multistream.js +203 -0
- package/node_modules/pino/lib/proto.js +256 -0
- package/node_modules/pino/lib/redaction.js +114 -0
- package/node_modules/pino/lib/symbols.js +74 -0
- package/node_modules/pino/lib/time.js +39 -0
- package/node_modules/pino/lib/tools.js +427 -0
- package/node_modules/pino/lib/transport-stream.js +56 -0
- package/node_modules/pino/lib/transport.js +289 -0
- package/node_modules/pino/lib/worker.js +194 -0
- package/node_modules/pino/package.json +120 -0
- package/node_modules/pino/pino.js +234 -0
- package/node_modules/pino/tsconfig.json +14 -0
- package/node_modules/pino-abstract-transport/index.js +128 -0
- package/node_modules/pino-abstract-transport/package.json +41 -0
- package/node_modules/pino-std-serializers/eslint.config.js +7 -0
- package/node_modules/pino-std-serializers/index.js +36 -0
- package/node_modules/pino-std-serializers/lib/err-helpers.js +118 -0
- package/node_modules/pino-std-serializers/lib/err-proto.js +48 -0
- package/node_modules/pino-std-serializers/lib/err-with-cause.js +48 -0
- package/node_modules/pino-std-serializers/lib/err.js +45 -0
- package/node_modules/pino-std-serializers/lib/req.js +100 -0
- package/node_modules/pino-std-serializers/lib/res.js +47 -0
- package/node_modules/pino-std-serializers/package.json +42 -0
- package/node_modules/pino-std-serializers/tsconfig.json +13 -0
- package/node_modules/prebuild-install/asset.js +44 -0
- package/node_modules/prebuild-install/bin.js +78 -0
- package/node_modules/prebuild-install/download.js +142 -0
- package/node_modules/prebuild-install/error.js +14 -0
- package/node_modules/prebuild-install/help.txt +16 -0
- package/node_modules/prebuild-install/index.js +1 -0
- package/node_modules/prebuild-install/log.js +33 -0
- package/node_modules/prebuild-install/package.json +67 -0
- package/node_modules/prebuild-install/proxy.js +35 -0
- package/node_modules/prebuild-install/rc.js +64 -0
- package/node_modules/prebuild-install/util.js +143 -0
- package/node_modules/process-warning/eslint.config.js +6 -0
- package/node_modules/process-warning/index.js +124 -0
- package/node_modules/process-warning/package.json +73 -0
- package/node_modules/pump/empty.js +1 -0
- package/node_modules/pump/index.js +86 -0
- package/node_modules/pump/package.json +30 -0
- package/node_modules/pump/test-browser.js +66 -0
- package/node_modules/pump/test-node.js +53 -0
- package/node_modules/quick-format-unescaped/benchmark.js +24 -0
- package/node_modules/quick-format-unescaped/index.js +109 -0
- package/node_modules/quick-format-unescaped/package.json +29 -0
- package/node_modules/rc/browser.js +7 -0
- package/node_modules/rc/cli.js +4 -0
- package/node_modules/rc/index.js +53 -0
- package/node_modules/rc/lib/utils.js +104 -0
- package/node_modules/rc/package.json +29 -0
- package/node_modules/readable-stream/errors-browser.js +127 -0
- package/node_modules/readable-stream/errors.js +116 -0
- package/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +190 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +641 -0
- package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
- package/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
- package/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +68 -0
- package/node_modules/readable-stream/readable-browser.js +9 -0
- package/node_modules/readable-stream/readable.js +16 -0
- package/node_modules/real-require/package.json +49 -0
- package/node_modules/real-require/src/index.js +14 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/ret/dist/index.d.ts +7 -0
- package/node_modules/ret/dist/index.js +26 -0
- package/node_modules/ret/dist/index.js.map +1 -0
- package/node_modules/ret/dist/reconstruct.d.ts +2 -0
- package/node_modules/ret/dist/reconstruct.js +77 -0
- package/node_modules/ret/dist/reconstruct.js.map +1 -0
- package/node_modules/ret/dist/sets-lookup.d.ts +5 -0
- package/node_modules/ret/dist/sets-lookup.js +51 -0
- package/node_modules/ret/dist/sets-lookup.js.map +1 -0
- package/node_modules/ret/dist/sets.d.ts +9 -0
- package/node_modules/ret/dist/sets.js +43 -0
- package/node_modules/ret/dist/sets.js.map +1 -0
- package/node_modules/ret/dist/tokenizer.d.ts +8 -0
- package/node_modules/ret/dist/tokenizer.js +361 -0
- package/node_modules/ret/dist/tokenizer.js.map +1 -0
- package/node_modules/ret/dist/types/index.d.ts +3 -0
- package/node_modules/ret/dist/types/index.js +16 -0
- package/node_modules/ret/dist/types/index.js.map +1 -0
- package/node_modules/ret/dist/types/set-lookup.d.ts +8 -0
- package/node_modules/ret/dist/types/set-lookup.js +3 -0
- package/node_modules/ret/dist/types/set-lookup.js.map +1 -0
- package/node_modules/ret/dist/types/tokens.d.ts +41 -0
- package/node_modules/ret/dist/types/tokens.js +3 -0
- package/node_modules/ret/dist/types/tokens.js.map +1 -0
- package/node_modules/ret/dist/types/types.d.ts +10 -0
- package/node_modules/ret/dist/types/types.js +15 -0
- package/node_modules/ret/dist/types/types.js.map +1 -0
- package/node_modules/ret/dist/util.d.ts +18 -0
- package/node_modules/ret/dist/util.js +82 -0
- package/node_modules/ret/dist/util.js.map +1 -0
- package/node_modules/ret/dist/write-set-tokens.d.ts +14 -0
- package/node_modules/ret/dist/write-set-tokens.js +108 -0
- package/node_modules/ret/dist/write-set-tokens.js.map +1 -0
- package/node_modules/ret/package.json +42 -0
- package/node_modules/reusify/eslint.config.js +14 -0
- package/node_modules/reusify/package.json +50 -0
- package/node_modules/reusify/reusify.js +33 -0
- package/node_modules/reusify/test.js +66 -0
- package/node_modules/reusify/tsconfig.json +11 -0
- package/node_modules/rfdc/default.js +3 -0
- package/node_modules/rfdc/index.js +198 -0
- package/node_modules/rfdc/package.json +73 -0
- package/node_modules/run-applescript/index.js +37 -0
- package/node_modules/run-applescript/license +9 -0
- package/node_modules/run-applescript/package.json +42 -0
- package/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/safe-regex2/bin/safe-regex2.js +58 -0
- package/node_modules/safe-regex2/eslint.config.js +6 -0
- package/node_modules/safe-regex2/index.js +75 -0
- package/node_modules/safe-regex2/package.json +78 -0
- package/node_modules/safe-stable-stringify/esm/package.json +4 -0
- package/node_modules/safe-stable-stringify/esm/wrapper.js +6 -0
- package/node_modules/safe-stable-stringify/index.js +625 -0
- package/node_modules/safe-stable-stringify/package.json +65 -0
- package/node_modules/secure-json-parse/eslint.config.js +6 -0
- package/node_modules/secure-json-parse/index.js +161 -0
- package/node_modules/secure-json-parse/package.json +74 -0
- package/node_modules/semver/bin/semver.js +191 -0
- package/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/semver/classes/index.js +7 -0
- package/node_modules/semver/classes/range.js +557 -0
- package/node_modules/semver/classes/semver.js +333 -0
- package/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/semver/functions/major.js +5 -0
- package/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/semver/index.js +91 -0
- package/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/semver/internal/re.js +223 -0
- package/node_modules/semver/package.json +78 -0
- package/node_modules/semver/preload.js +4 -0
- package/node_modules/semver/range.bnf +16 -0
- package/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/set-cookie-parser/lib/set-cookie.js +242 -0
- package/node_modules/set-cookie-parser/package.json +45 -0
- package/node_modules/setprototypeof/index.js +17 -0
- package/node_modules/setprototypeof/package.json +38 -0
- package/node_modules/shebang-command/index.js +19 -0
- package/node_modules/shebang-command/license +9 -0
- package/node_modules/shebang-command/package.json +34 -0
- package/node_modules/shebang-regex/index.js +2 -0
- package/node_modules/shebang-regex/license +9 -0
- package/node_modules/shebang-regex/package.json +35 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/node_modules/signal-exit/package.json +106 -0
- package/node_modules/simple-concat/index.js +15 -0
- package/node_modules/simple-concat/package.json +47 -0
- package/node_modules/simple-get/index.js +108 -0
- package/node_modules/simple-get/package.json +67 -0
- package/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
- package/node_modules/smart-buffer/build/utils.js +108 -0
- package/node_modules/smart-buffer/package.json +79 -0
- package/node_modules/socks/build/client/socksclient.js +793 -0
- package/node_modules/socks/build/common/constants.js +108 -0
- package/node_modules/socks/build/common/helpers.js +167 -0
- package/node_modules/socks/build/common/receivebuffer.js +43 -0
- package/node_modules/socks/build/common/util.js +25 -0
- package/node_modules/socks/build/index.js +18 -0
- package/node_modules/socks/package.json +58 -0
- package/node_modules/socks-proxy-agent/dist/index.d.ts +27 -0
- package/node_modules/socks-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/socks-proxy-agent/dist/index.js +195 -0
- package/node_modules/socks-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/socks-proxy-agent/package.json +142 -0
- package/node_modules/sonic-boom/bench.js +98 -0
- package/node_modules/sonic-boom/check.js +18 -0
- package/node_modules/sonic-boom/example.js +8 -0
- package/node_modules/sonic-boom/fixtures/firehose.js +22 -0
- package/node_modules/sonic-boom/index.js +733 -0
- package/node_modules/sonic-boom/package.json +52 -0
- package/node_modules/split2/bench.js +27 -0
- package/node_modules/split2/index.js +141 -0
- package/node_modules/split2/package.json +39 -0
- package/node_modules/split2/test.js +409 -0
- package/node_modules/standardwebhooks/dist/index.d.ts +24 -0
- package/node_modules/standardwebhooks/dist/index.js +106 -0
- package/node_modules/standardwebhooks/dist/index.js.map +1 -0
- package/node_modules/standardwebhooks/dist/timing_safe_equal.d.ts +1 -0
- package/node_modules/standardwebhooks/dist/timing_safe_equal.js +30 -0
- package/node_modules/standardwebhooks/dist/timing_safe_equal.js.map +1 -0
- package/node_modules/standardwebhooks/package.json +45 -0
- package/node_modules/statuses/codes.json +65 -0
- package/node_modules/statuses/index.js +146 -0
- package/node_modules/statuses/package.json +49 -0
- package/node_modules/std-env/LICENCE +22 -0
- package/node_modules/std-env/dist/index.cjs +1 -0
- package/node_modules/std-env/dist/index.d.cts +92 -0
- package/node_modules/std-env/dist/index.d.mts +92 -0
- package/node_modules/std-env/dist/index.d.ts +92 -0
- package/node_modules/std-env/dist/index.mjs +1 -0
- package/node_modules/std-env/package.json +46 -0
- package/node_modules/stream-shift/index.js +21 -0
- package/node_modules/stream-shift/package.json +25 -0
- package/node_modules/stream-shift/test.js +48 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +34 -0
- package/node_modules/strip-json-comments/index.js +70 -0
- package/node_modules/strip-json-comments/license +21 -0
- package/node_modules/strip-json-comments/package.json +42 -0
- package/node_modules/tar-fs/index.js +363 -0
- package/node_modules/tar-fs/package.json +41 -0
- package/node_modules/tar-stream/extract.js +257 -0
- package/node_modules/tar-stream/headers.js +295 -0
- package/node_modules/tar-stream/index.js +2 -0
- package/node_modules/tar-stream/pack.js +255 -0
- package/node_modules/tar-stream/package.json +58 -0
- package/node_modules/tar-stream/sandbox.js +11 -0
- package/node_modules/thread-stream/bench.js +85 -0
- package/node_modules/thread-stream/eslint.config.js +10 -0
- package/node_modules/thread-stream/index.js +541 -0
- package/node_modules/thread-stream/lib/indexes.js +9 -0
- package/node_modules/thread-stream/lib/wait.js +68 -0
- package/node_modules/thread-stream/lib/worker.js +179 -0
- package/node_modules/thread-stream/package.json +52 -0
- package/node_modules/thread-stream/tsconfig.json +8 -0
- package/node_modules/toad-cache/dist/toad-cache.cjs +878 -0
- package/node_modules/toad-cache/dist/toad-cache.mjs +852 -0
- package/node_modules/toad-cache/package.json +82 -0
- package/node_modules/toidentifier/index.js +32 -0
- package/node_modules/toidentifier/package.json +38 -0
- package/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/tslib/modules/index.js +70 -0
- package/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/tslib/package.json +47 -0
- package/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/tslib/tslib.es6.js +402 -0
- package/node_modules/tslib/tslib.es6.mjs +401 -0
- package/node_modules/tslib/tslib.html +1 -0
- package/node_modules/tslib/tslib.js +484 -0
- package/node_modules/tsscmp/appveyor.yml +29 -0
- package/node_modules/tsscmp/lib/index.js +38 -0
- package/node_modules/tsscmp/package.json +29 -0
- package/node_modules/tunnel-agent/index.js +244 -0
- package/node_modules/tunnel-agent/package.json +22 -0
- package/node_modules/undici/index-fetch.js +65 -0
- package/node_modules/undici/index.js +234 -0
- package/node_modules/undici/lib/api/abort-signal.js +59 -0
- package/node_modules/undici/lib/api/api-connect.js +110 -0
- package/node_modules/undici/lib/api/api-pipeline.js +252 -0
- package/node_modules/undici/lib/api/api-request.js +214 -0
- package/node_modules/undici/lib/api/api-stream.js +209 -0
- package/node_modules/undici/lib/api/api-upgrade.js +111 -0
- package/node_modules/undici/lib/api/index.js +7 -0
- package/node_modules/undici/lib/api/readable.js +580 -0
- package/node_modules/undici/lib/cache/memory-cache-store.js +234 -0
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +461 -0
- package/node_modules/undici/lib/core/connect.js +137 -0
- package/node_modules/undici/lib/core/constants.js +143 -0
- package/node_modules/undici/lib/core/diagnostics.js +227 -0
- package/node_modules/undici/lib/core/errors.js +477 -0
- package/node_modules/undici/lib/core/request.js +438 -0
- package/node_modules/undici/lib/core/socks5-client.js +407 -0
- package/node_modules/undici/lib/core/socks5-utils.js +203 -0
- package/node_modules/undici/lib/core/symbols.js +75 -0
- package/node_modules/undici/lib/core/tree.js +160 -0
- package/node_modules/undici/lib/core/util.js +992 -0
- package/node_modules/undici/lib/dispatcher/agent.js +158 -0
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +219 -0
- package/node_modules/undici/lib/dispatcher/client-h1.js +1610 -0
- package/node_modules/undici/lib/dispatcher/client-h2.js +995 -0
- package/node_modules/undici/lib/dispatcher/client.js +659 -0
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +165 -0
- package/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
- package/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
- package/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
- package/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
- package/node_modules/undici/lib/dispatcher/pool.js +118 -0
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +318 -0
- package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +249 -0
- package/node_modules/undici/lib/encoding/index.js +33 -0
- package/node_modules/undici/lib/global.js +50 -0
- package/node_modules/undici/lib/handler/cache-handler.js +578 -0
- package/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
- package/node_modules/undici/lib/handler/decorator-handler.js +67 -0
- package/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
- package/node_modules/undici/lib/handler/redirect-handler.js +238 -0
- package/node_modules/undici/lib/handler/retry-handler.js +394 -0
- package/node_modules/undici/lib/handler/unwrap-handler.js +100 -0
- package/node_modules/undici/lib/handler/wrap-handler.js +105 -0
- package/node_modules/undici/lib/interceptor/cache.js +495 -0
- package/node_modules/undici/lib/interceptor/decompress.js +259 -0
- package/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
- package/node_modules/undici/lib/interceptor/dns.js +571 -0
- package/node_modules/undici/lib/interceptor/dump.js +112 -0
- package/node_modules/undici/lib/interceptor/redirect.js +21 -0
- package/node_modules/undici/lib/interceptor/response-error.js +95 -0
- package/node_modules/undici/lib/interceptor/retry.js +19 -0
- package/node_modules/undici/lib/llhttp/constants.js +531 -0
- package/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/utils.js +12 -0
- package/node_modules/undici/lib/mock/mock-agent.js +232 -0
- package/node_modules/undici/lib/mock/mock-call-history.js +248 -0
- package/node_modules/undici/lib/mock/mock-client.js +68 -0
- package/node_modules/undici/lib/mock/mock-errors.js +29 -0
- package/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
- package/node_modules/undici/lib/mock/mock-pool.js +68 -0
- package/node_modules/undici/lib/mock/mock-symbols.js +32 -0
- package/node_modules/undici/lib/mock/mock-utils.js +486 -0
- package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
- package/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
- package/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
- package/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
- package/node_modules/undici/lib/util/cache.js +407 -0
- package/node_modules/undici/lib/util/date.js +653 -0
- package/node_modules/undici/lib/util/promise.js +28 -0
- package/node_modules/undici/lib/util/runtime-features.js +124 -0
- package/node_modules/undici/lib/util/stats.js +32 -0
- package/node_modules/undici/lib/util/timers.js +425 -0
- package/node_modules/undici/lib/web/cache/cache.js +864 -0
- package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
- package/node_modules/undici/lib/web/cache/util.js +45 -0
- package/node_modules/undici/lib/web/cookies/constants.js +12 -0
- package/node_modules/undici/lib/web/cookies/index.js +199 -0
- package/node_modules/undici/lib/web/cookies/parse.js +322 -0
- package/node_modules/undici/lib/web/cookies/util.js +282 -0
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +399 -0
- package/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
- package/node_modules/undici/lib/web/eventsource/util.js +29 -0
- package/node_modules/undici/lib/web/fetch/body.js +509 -0
- package/node_modules/undici/lib/web/fetch/constants.js +131 -0
- package/node_modules/undici/lib/web/fetch/data-url.js +596 -0
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +575 -0
- package/node_modules/undici/lib/web/fetch/formdata.js +259 -0
- package/node_modules/undici/lib/web/fetch/global.js +40 -0
- package/node_modules/undici/lib/web/fetch/headers.js +719 -0
- package/node_modules/undici/lib/web/fetch/index.js +2397 -0
- package/node_modules/undici/lib/web/fetch/request.js +1115 -0
- package/node_modules/undici/lib/web/fetch/response.js +641 -0
- package/node_modules/undici/lib/web/fetch/util.js +1520 -0
- package/node_modules/undici/lib/web/infra/index.js +229 -0
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
- package/node_modules/undici/lib/web/webidl/index.js +1006 -0
- package/node_modules/undici/lib/web/websocket/connection.js +329 -0
- package/node_modules/undici/lib/web/websocket/constants.js +126 -0
- package/node_modules/undici/lib/web/websocket/events.js +331 -0
- package/node_modules/undici/lib/web/websocket/frame.js +133 -0
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +118 -0
- package/node_modules/undici/lib/web/websocket/receiver.js +450 -0
- package/node_modules/undici/lib/web/websocket/sender.js +109 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +497 -0
- package/node_modules/undici/lib/web/websocket/util.js +347 -0
- package/node_modules/undici/lib/web/websocket/websocket.js +751 -0
- package/node_modules/undici/package.json +152 -0
- package/node_modules/undici/scripts/strip-comments.js +10 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/node_modules/which/bin/node-which +52 -0
- package/node_modules/which/package.json +43 -0
- package/node_modules/which/which.js +125 -0
- package/node_modules/wrappy/package.json +29 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/node_modules/ws/lib/receiver.js +706 -0
- package/node_modules/ws/lib/sender.js +602 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +554 -0
- package/node_modules/ws/lib/websocket.js +1393 -0
- package/node_modules/ws/package.json +70 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/node_modules/wsl-utils/index.js +57 -0
- package/node_modules/wsl-utils/license +9 -0
- package/node_modules/wsl-utils/package.json +46 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +6 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +6 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +6 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +584 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +6 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1272 -0
- package/node_modules/zod/v4/classic/schemas.js +1157 -0
- package/node_modules/zod/v4/core/api.cjs +1222 -0
- package/node_modules/zod/v4/core/api.js +1082 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +83 -0
- package/node_modules/zod/v4/core/core.js +76 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +213 -0
- package/node_modules/zod/v4/core/errors.js +182 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +605 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +6 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +166 -0
- package/node_modules/zod/v4/core/regexes.js +133 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2124 -0
- package/node_modules/zod/v4/core/schemas.js +2093 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
- package/node_modules/zod/v4/core/to-json-schema.js +437 -0
- package/node_modules/zod/v4/core/util.cjs +710 -0
- package/node_modules/zod/v4/core/util.js +651 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/en.cjs +136 -0
- package/node_modules/zod/v4/locales/en.js +109 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +135 -0
- package/node_modules/zod/v4/locales/fr.js +108 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +104 -0
- package/node_modules/zod/v4/locales/index.js +49 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +6 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +136 -0
- package/node_modules/zod/v4/locales/uz.js +109 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +6 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1046 -0
- package/node_modules/zod/v4/mini/schemas.js +925 -0
- package/node_modules/zod/v4/package.json +6 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +6 -0
- package/package.json +22 -8
- /package/dist/ui/_next/static/{LTFUpv1yCAuV-maezyXfu → fr43YKswXaNzXUOemEtyl}/_buildManifest.js +0 -0
- /package/dist/ui/_next/static/{LTFUpv1yCAuV-maezyXfu → fr43YKswXaNzXUOemEtyl}/_clientMiddlewareManifest.json +0 -0
- /package/dist/ui/_next/static/{LTFUpv1yCAuV-maezyXfu → fr43YKswXaNzXUOemEtyl}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,3082 @@
|
|
|
1
|
+
const require_chunk = require('../chunk-nOFOJqeH.js');
|
|
2
|
+
require('../constants-WYhx_umW.js');
|
|
3
|
+
require('../isomorphicAtob-Hkpnx2p8.js');
|
|
4
|
+
require('../isomorphicBtoa-_pSA92Q9.js');
|
|
5
|
+
require('../keys-BI9hmfja.js');
|
|
6
|
+
const require_authorization_errors = require('../authorization-errors-B7aH39AU.js');
|
|
7
|
+
const require_authorization = require('../authorization-Du_JQmnH.js');
|
|
8
|
+
const require_deriveState = require('../deriveState-zgq99aY1.js');
|
|
9
|
+
const require_clerkRuntimeError = require('../clerkRuntimeError-CaS4sM5w.js');
|
|
10
|
+
const require_error = require('../error-kcck_bbZ.js');
|
|
11
|
+
const require_organization = require('../organization-BzM6mhUv.js');
|
|
12
|
+
require('../noop-CVg8oVJr.js');
|
|
13
|
+
require('../underscore-BX6Ucmg5.js');
|
|
14
|
+
const require_telemetry = require('../telemetry--P0a0tSk.js');
|
|
15
|
+
const require_createDeferredPromise = require('../createDeferredPromise-Bq0Rf2GM.js');
|
|
16
|
+
const require_errors = require('../errors-FAXDzRsM.js');
|
|
17
|
+
let react = require("react");
|
|
18
|
+
react = require_chunk.__toESM(react);
|
|
19
|
+
let __tanstack_query_core = require("@tanstack/query-core");
|
|
20
|
+
let dequal = require("dequal");
|
|
21
|
+
|
|
22
|
+
//#region src/react/hooks/createContextAndHook.ts
|
|
23
|
+
/**
|
|
24
|
+
* Assert that the context value exists, otherwise throw an error.
|
|
25
|
+
*
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
function assertContextExists(contextVal, msgOrCtx) {
|
|
29
|
+
if (!contextVal) throw typeof msgOrCtx === "string" ? new Error(msgOrCtx) : /* @__PURE__ */ new Error(`${msgOrCtx.displayName} not found`);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Create and return a Context and two hooks that return the context value.
|
|
33
|
+
* The Context type is derived from the type passed in by the user.
|
|
34
|
+
*
|
|
35
|
+
* The first hook returned guarantees that the context exists so the returned value is always `CtxValue`
|
|
36
|
+
* The second hook makes no guarantees, so the returned value can be `CtxValue | undefined`
|
|
37
|
+
*
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
const createContextAndHook = (displayName, options) => {
|
|
41
|
+
const { assertCtxFn = assertContextExists } = options || {};
|
|
42
|
+
const Ctx = react.default.createContext(void 0);
|
|
43
|
+
Ctx.displayName = displayName;
|
|
44
|
+
const useCtx = () => {
|
|
45
|
+
const ctx = react.default.useContext(Ctx);
|
|
46
|
+
assertCtxFn(ctx, `${displayName} not found`);
|
|
47
|
+
return ctx.value;
|
|
48
|
+
};
|
|
49
|
+
const useCtxWithoutGuarantee = () => {
|
|
50
|
+
const ctx = react.default.useContext(Ctx);
|
|
51
|
+
return ctx ? ctx.value : {};
|
|
52
|
+
};
|
|
53
|
+
return [
|
|
54
|
+
Ctx,
|
|
55
|
+
useCtx,
|
|
56
|
+
useCtxWithoutGuarantee
|
|
57
|
+
];
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/react/contexts.tsx
|
|
62
|
+
const [ClerkInstanceContext, useClerkInstanceContext] = createContextAndHook("ClerkInstanceContext");
|
|
63
|
+
const [InitialStateContext, _useInitialStateContext] = createContextAndHook("InitialStateContext");
|
|
64
|
+
/**
|
|
65
|
+
* Provides initial Clerk state (session, user, organization data) from server-side rendering
|
|
66
|
+
* to child components via React context.
|
|
67
|
+
*
|
|
68
|
+
* Passing in a promise is only supported for React >= 19.
|
|
69
|
+
*
|
|
70
|
+
* The initialState is snapshotted on mount and cannot change during the component lifecycle.
|
|
71
|
+
*
|
|
72
|
+
* Note that different parts of the React tree can use separate InitialStateProvider instances
|
|
73
|
+
* with different initialState values if needed.
|
|
74
|
+
*/
|
|
75
|
+
function InitialStateProvider({ children, initialState }) {
|
|
76
|
+
const [initialStateSnapshot] = (0, react.useState)(initialState);
|
|
77
|
+
const initialStateCtx = react.default.useMemo(() => ({ value: initialStateSnapshot }), [initialStateSnapshot]);
|
|
78
|
+
return /* @__PURE__ */ react.default.createElement(InitialStateContext.Provider, { value: initialStateCtx }, children);
|
|
79
|
+
}
|
|
80
|
+
function useInitialStateContext() {
|
|
81
|
+
const initialState = _useInitialStateContext();
|
|
82
|
+
if (initialState instanceof Promise) if ("use" in react.default && typeof react.default.use === "function") return react.default.use(initialState);
|
|
83
|
+
else throw new Error("initialState cannot be a promise if React version is less than 19");
|
|
84
|
+
return initialState;
|
|
85
|
+
}
|
|
86
|
+
const OptionsContext = react.default.createContext({});
|
|
87
|
+
const [CheckoutContext, useCheckoutContext] = createContextAndHook("CheckoutContext");
|
|
88
|
+
const __experimental_CheckoutProvider = ({ children,...rest }) => {
|
|
89
|
+
return /* @__PURE__ */ react.default.createElement(CheckoutContext.Provider, { value: { value: rest } }, children);
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
function useOptionsContext() {
|
|
95
|
+
const context = react.default.useContext(OptionsContext);
|
|
96
|
+
if (context === void 0) throw new Error("useOptions must be used within an OptionsContext");
|
|
97
|
+
return context;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
function useAssertWrappedByClerkProvider(displayNameOrFn) {
|
|
103
|
+
if (!react.default.useContext(ClerkInstanceContext)) {
|
|
104
|
+
if (typeof displayNameOrFn === "function") {
|
|
105
|
+
displayNameOrFn();
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
throw new Error(`${displayNameOrFn} can only be used within the <ClerkProvider /> component.
|
|
109
|
+
|
|
110
|
+
Possible fixes:
|
|
111
|
+
1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.
|
|
112
|
+
2. Check for multiple versions of the \`@clerk/shared\` package in your project. Use a tool like \`npm ls @clerk/shared\` to identify multiple versions, and update your dependencies to only rely on one.
|
|
113
|
+
|
|
114
|
+
Learn more: https://clerk.com/docs/components/clerk-provider`.trim());
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region src/react/stable-keys.ts
|
|
120
|
+
const USER_MEMBERSHIPS_KEY = "userMemberships";
|
|
121
|
+
const USER_INVITATIONS_KEY = "userInvitations";
|
|
122
|
+
const USER_SUGGESTIONS_KEY = "userSuggestions";
|
|
123
|
+
const DOMAINS_KEY = "domains";
|
|
124
|
+
const MEMBERSHIP_REQUESTS_KEY = "membershipRequests";
|
|
125
|
+
const MEMBERSHIPS_KEY = "memberships";
|
|
126
|
+
const INVITATIONS_KEY = "invitations";
|
|
127
|
+
const API_KEYS_KEY = "apiKeys";
|
|
128
|
+
const ORGANIZATION_CREATION_DEFAULTS_KEY = "organizationCreationDefaults";
|
|
129
|
+
const PLANS_KEY = "billing-plans";
|
|
130
|
+
const SUBSCRIPTION_KEY = "billing-subscription";
|
|
131
|
+
const PAYMENT_METHODS_KEY = "billing-payment-methods";
|
|
132
|
+
const PAYMENT_ATTEMPTS_KEY = "billing-payment-attempts";
|
|
133
|
+
const STATEMENTS_KEY = "billing-statements";
|
|
134
|
+
const STABLE_KEYS = {
|
|
135
|
+
USER_MEMBERSHIPS_KEY,
|
|
136
|
+
USER_INVITATIONS_KEY,
|
|
137
|
+
USER_SUGGESTIONS_KEY,
|
|
138
|
+
DOMAINS_KEY,
|
|
139
|
+
MEMBERSHIP_REQUESTS_KEY,
|
|
140
|
+
MEMBERSHIPS_KEY,
|
|
141
|
+
INVITATIONS_KEY,
|
|
142
|
+
PLANS_KEY,
|
|
143
|
+
SUBSCRIPTION_KEY,
|
|
144
|
+
PAYMENT_METHODS_KEY,
|
|
145
|
+
PAYMENT_ATTEMPTS_KEY,
|
|
146
|
+
STATEMENTS_KEY,
|
|
147
|
+
API_KEYS_KEY,
|
|
148
|
+
ORGANIZATION_CREATION_DEFAULTS_KEY
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* Internal stable keys for queries only used by our UI components.
|
|
152
|
+
* These keys are not used by the hooks themselves.
|
|
153
|
+
*/
|
|
154
|
+
const PAYMENT_ATTEMPT_KEY = "billing-payment-attempt";
|
|
155
|
+
const BILLING_PLANS_KEY = "billing-plan";
|
|
156
|
+
const BILLING_STATEMENTS_KEY = "billing-statement";
|
|
157
|
+
const USER_ENTERPRISE_CONNECTIONS_KEY = "userEnterpriseConnections";
|
|
158
|
+
const INTERNAL_STABLE_KEYS = {
|
|
159
|
+
PAYMENT_ATTEMPT_KEY,
|
|
160
|
+
BILLING_PLANS_KEY,
|
|
161
|
+
BILLING_STATEMENTS_KEY,
|
|
162
|
+
USER_ENTERPRISE_CONNECTIONS_KEY
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region src/react/hooks/createCacheKeys.ts
|
|
167
|
+
/**
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
function createCacheKeys(params) {
|
|
171
|
+
return {
|
|
172
|
+
queryKey: [
|
|
173
|
+
params.stablePrefix,
|
|
174
|
+
params.authenticated,
|
|
175
|
+
params.tracked,
|
|
176
|
+
params.untracked
|
|
177
|
+
],
|
|
178
|
+
invalidationKey: [
|
|
179
|
+
params.stablePrefix,
|
|
180
|
+
params.authenticated,
|
|
181
|
+
params.tracked
|
|
182
|
+
],
|
|
183
|
+
stableKey: params.stablePrefix,
|
|
184
|
+
authenticated: params.authenticated
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
//#endregion
|
|
189
|
+
//#region src/react/clerk-rq/keep-previous-data.ts
|
|
190
|
+
/**
|
|
191
|
+
* @internal
|
|
192
|
+
*/
|
|
193
|
+
function defineKeepPreviousDataFn(enabled) {
|
|
194
|
+
if (enabled) return function KeepPreviousDataFn(previousData) {
|
|
195
|
+
return previousData;
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region src/react/clerk-rq/use-clerk-query-client.ts
|
|
201
|
+
/**
|
|
202
|
+
* Creates a recursively self-referential Proxy that safely handles:
|
|
203
|
+
* - Arbitrary property access (e.g., obj.any.prop.path)
|
|
204
|
+
* - Function calls at any level (e.g., obj.a().b.c())
|
|
205
|
+
* - Construction (e.g., new obj.a.b())
|
|
206
|
+
*
|
|
207
|
+
* Always returns itself to allow infinite chaining without throwing.
|
|
208
|
+
*/
|
|
209
|
+
function createRecursiveProxy(label) {
|
|
210
|
+
const callableTarget = function noop$1() {};
|
|
211
|
+
let self;
|
|
212
|
+
self = new Proxy(callableTarget, {
|
|
213
|
+
get(_target, prop) {
|
|
214
|
+
if (prop === "then") return;
|
|
215
|
+
if (prop === "toString") return () => `[${label}]`;
|
|
216
|
+
if (prop === Symbol.toPrimitive) return () => 0;
|
|
217
|
+
return self;
|
|
218
|
+
},
|
|
219
|
+
apply() {
|
|
220
|
+
return self;
|
|
221
|
+
},
|
|
222
|
+
construct() {
|
|
223
|
+
return self;
|
|
224
|
+
},
|
|
225
|
+
has() {
|
|
226
|
+
return false;
|
|
227
|
+
},
|
|
228
|
+
set() {
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
return self;
|
|
233
|
+
}
|
|
234
|
+
const mockQueryClient = createRecursiveProxy("ClerkMockQueryClient");
|
|
235
|
+
const useClerkQueryClient = () => {
|
|
236
|
+
const clerk = useClerkInstanceContext();
|
|
237
|
+
const queryClient = clerk.__internal_queryClient;
|
|
238
|
+
const [, setQueryClientLoaded] = (0, react.useState)(typeof queryClient === "object" && "__tag" in queryClient && queryClient.__tag === "clerk-rq-client");
|
|
239
|
+
(0, react.useEffect)(() => {
|
|
240
|
+
const _setQueryClientLoaded = () => setQueryClientLoaded(true);
|
|
241
|
+
clerk.on("queryClientStatus", _setQueryClientLoaded);
|
|
242
|
+
return () => {
|
|
243
|
+
clerk.off("queryClientStatus", _setQueryClientLoaded);
|
|
244
|
+
};
|
|
245
|
+
}, [clerk, setQueryClientLoaded]);
|
|
246
|
+
const isLoaded = typeof queryClient === "object" && "__tag" in queryClient && queryClient.__tag === "clerk-rq-client";
|
|
247
|
+
return [queryClient?.client || mockQueryClient, isLoaded];
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region src/react/clerk-rq/useBaseQuery.ts
|
|
252
|
+
/**
|
|
253
|
+
* Stripped down version of useBaseQuery from @tanstack/query-core.
|
|
254
|
+
* This implementation allows for an observer to be created every time a query client changes.
|
|
255
|
+
*/
|
|
256
|
+
/**
|
|
257
|
+
* An alternative `useBaseQuery` implementation that allows for an observer to be created every time a query client changes.
|
|
258
|
+
*
|
|
259
|
+
* @internal
|
|
260
|
+
*/
|
|
261
|
+
function useBaseQuery(options, Observer) {
|
|
262
|
+
const [client, isQueryClientLoaded] = useClerkQueryClient();
|
|
263
|
+
const defaultedOptions = isQueryClientLoaded ? client.defaultQueryOptions(options) : options;
|
|
264
|
+
defaultedOptions._optimisticResults = "optimistic";
|
|
265
|
+
const observer = react.useMemo(() => {
|
|
266
|
+
return new Observer(client, defaultedOptions);
|
|
267
|
+
}, [client]);
|
|
268
|
+
const result = observer.getOptimisticResult(defaultedOptions);
|
|
269
|
+
const shouldSubscribe = options.subscribed !== false;
|
|
270
|
+
react.useSyncExternalStore(react.useCallback((onStoreChange) => {
|
|
271
|
+
const unsubscribe = shouldSubscribe ? observer.subscribe(__tanstack_query_core.notifyManager.batchCalls(onStoreChange)) : __tanstack_query_core.noop;
|
|
272
|
+
observer.updateResult();
|
|
273
|
+
return unsubscribe;
|
|
274
|
+
}, [observer, shouldSubscribe]), () => observer.getCurrentResult(), () => observer.getCurrentResult());
|
|
275
|
+
react.useEffect(() => {
|
|
276
|
+
observer.setOptions(defaultedOptions);
|
|
277
|
+
}, [defaultedOptions, observer]);
|
|
278
|
+
if (!isQueryClientLoaded) return {
|
|
279
|
+
data: void 0,
|
|
280
|
+
error: null,
|
|
281
|
+
isLoading: false,
|
|
282
|
+
isFetching: false,
|
|
283
|
+
status: "pending"
|
|
284
|
+
};
|
|
285
|
+
return !defaultedOptions.notifyOnChangeProps ? observer.trackResult(result) : result;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
//#endregion
|
|
289
|
+
//#region src/react/clerk-rq/useInfiniteQuery.ts
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
*/
|
|
293
|
+
function useClerkInfiniteQuery(options) {
|
|
294
|
+
return useBaseQuery(options, __tanstack_query_core.InfiniteQueryObserver);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
//#endregion
|
|
298
|
+
//#region src/react/clerk-rq/useQuery.ts
|
|
299
|
+
/**
|
|
300
|
+
*
|
|
301
|
+
*/
|
|
302
|
+
function useClerkQuery(options) {
|
|
303
|
+
return useBaseQuery(options, __tanstack_query_core.QueryObserver);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
//#endregion
|
|
307
|
+
//#region src/react/hooks/usePreviousValue.ts
|
|
308
|
+
/**
|
|
309
|
+
* A hook that retains the previous value of a primitive type.
|
|
310
|
+
* It uses a ref to prevent causing unnecessary re-renders.
|
|
311
|
+
*
|
|
312
|
+
* @internal
|
|
313
|
+
*
|
|
314
|
+
* @example
|
|
315
|
+
* ```
|
|
316
|
+
* Render 1: value = 'A' → returns null
|
|
317
|
+
* Render 2: value = 'B' → returns 'A'
|
|
318
|
+
* Render 3: value = 'B' → returns 'A'
|
|
319
|
+
* Render 4: value = 'B' → returns 'A'
|
|
320
|
+
* Render 5: value = 'C' → returns 'B'
|
|
321
|
+
* ```
|
|
322
|
+
*/
|
|
323
|
+
function usePreviousValue(value) {
|
|
324
|
+
const currentRef = (0, react.useRef)(value);
|
|
325
|
+
const previousRef = (0, react.useRef)(null);
|
|
326
|
+
if (currentRef.current !== value) {
|
|
327
|
+
previousRef.current = currentRef.current;
|
|
328
|
+
currentRef.current = value;
|
|
329
|
+
}
|
|
330
|
+
return previousRef.current;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
//#endregion
|
|
334
|
+
//#region src/react/hooks/useClearQueriesOnSignOut.ts
|
|
335
|
+
const withInfiniteKey = (key) => [key, `${key}-inf`];
|
|
336
|
+
/**
|
|
337
|
+
* Clears React Query caches associated with the given stable prefixes when
|
|
338
|
+
* the authenticated state transitions from signed-in to signed-out.
|
|
339
|
+
*
|
|
340
|
+
* @internal
|
|
341
|
+
*/
|
|
342
|
+
function useClearQueriesOnSignOut(options) {
|
|
343
|
+
const { isSignedOut, stableKeys, authenticated = true, onCleanup } = options;
|
|
344
|
+
const stableKeysRef = (0, react.useRef)(stableKeys);
|
|
345
|
+
const [queryClient] = useClerkQueryClient();
|
|
346
|
+
const previousIsSignedIn = usePreviousValue(!isSignedOut);
|
|
347
|
+
(0, react.useEffect)(() => {
|
|
348
|
+
if (authenticated !== true) return;
|
|
349
|
+
if (previousIsSignedIn && isSignedOut === true) {
|
|
350
|
+
queryClient.removeQueries({ predicate: (query) => {
|
|
351
|
+
const [cachedStableKey, queryAuthenticated] = query.queryKey;
|
|
352
|
+
return queryAuthenticated === true && typeof cachedStableKey === "string" && (Array.isArray(stableKeysRef.current) ? stableKeysRef.current.includes(cachedStableKey) : stableKeysRef.current === cachedStableKey);
|
|
353
|
+
} });
|
|
354
|
+
onCleanup?.();
|
|
355
|
+
}
|
|
356
|
+
}, [
|
|
357
|
+
authenticated,
|
|
358
|
+
isSignedOut,
|
|
359
|
+
previousIsSignedIn,
|
|
360
|
+
queryClient
|
|
361
|
+
]);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
//#endregion
|
|
365
|
+
//#region src/react/hooks/usePagesOrInfinite.shared.ts
|
|
366
|
+
/**
|
|
367
|
+
* A hook that safely merges user-provided pagination options with default values.
|
|
368
|
+
* It caches initial pagination values (page and size) until component unmount to prevent unwanted rerenders.
|
|
369
|
+
*
|
|
370
|
+
* @internal
|
|
371
|
+
*
|
|
372
|
+
* @example
|
|
373
|
+
* ```typescript
|
|
374
|
+
* // Example 1: With user-provided options
|
|
375
|
+
* const userOptions = { initialPage: 2, pageSize: 20, infinite: true };
|
|
376
|
+
* const defaults = { initialPage: 1, pageSize: 10, infinite: false };
|
|
377
|
+
* useWithSafeValues(userOptions, defaults);
|
|
378
|
+
* // Returns { initialPage: 2, pageSize: 20, infinite: true }
|
|
379
|
+
*
|
|
380
|
+
* // Example 2: With boolean true (use defaults)
|
|
381
|
+
* const params = true;
|
|
382
|
+
* const defaults = { initialPage: 1, pageSize: 10, infinite: false };
|
|
383
|
+
* useWithSafeValues(params, defaults);
|
|
384
|
+
* // Returns { initialPage: 1, pageSize: 10, infinite: false }
|
|
385
|
+
*
|
|
386
|
+
* // Example 3: With undefined options (fallback to defaults)
|
|
387
|
+
* const params = undefined;
|
|
388
|
+
* const defaults = { initialPage: 1, pageSize: 10, infinite: false };
|
|
389
|
+
* useWithSafeValues(params, defaults);
|
|
390
|
+
* // Returns { initialPage: 1, pageSize: 10, infinite: false }
|
|
391
|
+
* ```
|
|
392
|
+
*/
|
|
393
|
+
const useWithSafeValues = (params, defaultValues) => {
|
|
394
|
+
const shouldUseDefaults = typeof params === "boolean" && params;
|
|
395
|
+
const initialPageRef = (0, react.useRef)(shouldUseDefaults ? defaultValues.initialPage : params?.initialPage ?? defaultValues.initialPage);
|
|
396
|
+
const pageSizeRef = (0, react.useRef)(shouldUseDefaults ? defaultValues.pageSize : params?.pageSize ?? defaultValues.pageSize);
|
|
397
|
+
const newObj = {};
|
|
398
|
+
for (const key of Object.keys(defaultValues)) newObj[key] = shouldUseDefaults ? defaultValues[key] : params?.[key] ?? defaultValues[key];
|
|
399
|
+
return {
|
|
400
|
+
...newObj,
|
|
401
|
+
initialPage: initialPageRef.current,
|
|
402
|
+
pageSize: pageSizeRef.current
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* Calculates the offset count for pagination based on initial page and page size.
|
|
407
|
+
* This represents the number of items to skip before the first page.
|
|
408
|
+
*
|
|
409
|
+
* @param initialPage - The starting page number (1-based)
|
|
410
|
+
* @param pageSize - The number of items per page
|
|
411
|
+
* @returns The number of items to offset
|
|
412
|
+
*
|
|
413
|
+
* @example
|
|
414
|
+
* ```typescript
|
|
415
|
+
* calculateOffsetCount(1, 10); // Returns 0 (no offset for first page)
|
|
416
|
+
* calculateOffsetCount(2, 10); // Returns 10 (skip first 10 items)
|
|
417
|
+
* calculateOffsetCount(3, 20); // Returns 40 (skip first 40 items)
|
|
418
|
+
* ```
|
|
419
|
+
*/
|
|
420
|
+
function calculateOffsetCount(initialPage, pageSize) {
|
|
421
|
+
return (initialPage - 1) * pageSize;
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Calculates the total number of pages based on total count, offset, and page size.
|
|
425
|
+
*
|
|
426
|
+
* @param totalCount - The total number of items
|
|
427
|
+
* @param offsetCount - The number of items to offset (from calculateOffsetCount)
|
|
428
|
+
* @param pageSize - The number of items per page
|
|
429
|
+
* @returns The total number of pages
|
|
430
|
+
*
|
|
431
|
+
* @example
|
|
432
|
+
* ```typescript
|
|
433
|
+
* calculatePageCount(100, 0, 10); // Returns 10
|
|
434
|
+
* calculatePageCount(95, 0, 10); // Returns 10 (rounds up)
|
|
435
|
+
* calculatePageCount(100, 20, 10); // Returns 8 (100 - 20 = 80 items, 8 pages)
|
|
436
|
+
* ```
|
|
437
|
+
*/
|
|
438
|
+
function calculatePageCount(totalCount, offsetCount, pageSize) {
|
|
439
|
+
return Math.ceil((totalCount - offsetCount) / pageSize);
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* Determines if there is a next page available in non-infinite pagination mode.
|
|
443
|
+
*
|
|
444
|
+
* @param totalCount - The total number of items
|
|
445
|
+
* @param offsetCount - The number of items to offset
|
|
446
|
+
* @param currentPage - The current page number (1-based)
|
|
447
|
+
* @param pageSize - The number of items per page
|
|
448
|
+
* @returns True if there are more items beyond the current page
|
|
449
|
+
*
|
|
450
|
+
* @example
|
|
451
|
+
* ```typescript
|
|
452
|
+
* calculateHasNextPage(100, 0, 1, 10); // Returns true (page 1 of 10)
|
|
453
|
+
* calculateHasNextPage(100, 0, 10, 10); // Returns false (last page)
|
|
454
|
+
* calculateHasNextPage(25, 0, 2, 10); // Returns true (page 2, 5 more items)
|
|
455
|
+
* calculateHasNextPage(20, 0, 2, 10); // Returns false (exactly 2 pages)
|
|
456
|
+
* ```
|
|
457
|
+
*/
|
|
458
|
+
function calculateHasNextPage(totalCount, offsetCount, currentPage, pageSize) {
|
|
459
|
+
return totalCount - offsetCount > currentPage * pageSize;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Determines if there is a previous page available in non-infinite pagination mode.
|
|
463
|
+
*
|
|
464
|
+
* @param currentPage - The current page number (1-based)
|
|
465
|
+
* @param pageSize - The number of items per page
|
|
466
|
+
* @param offsetCount - The number of items to offset
|
|
467
|
+
* @returns True if there are pages before the current page
|
|
468
|
+
*
|
|
469
|
+
* @example
|
|
470
|
+
* ```typescript
|
|
471
|
+
* calculateHasPreviousPage(1, 10, 0); // Returns false (first page)
|
|
472
|
+
* calculateHasPreviousPage(2, 10, 0); // Returns true (can go back to page 1)
|
|
473
|
+
* calculateHasPreviousPage(1, 10, 10); // Returns false (first page with offset)
|
|
474
|
+
* ```
|
|
475
|
+
*/
|
|
476
|
+
function calculateHasPreviousPage(currentPage, pageSize, offsetCount) {
|
|
477
|
+
return (currentPage - 1) * pageSize > offsetCount;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
//#endregion
|
|
481
|
+
//#region src/react/hooks/usePagesOrInfinite.tsx
|
|
482
|
+
const usePagesOrInfinite = (params) => {
|
|
483
|
+
const { fetcher, config, keys } = params;
|
|
484
|
+
const [paginatedPage, setPaginatedPage] = (0, react.useState)(config.initialPage ?? 1);
|
|
485
|
+
const initialPageRef = (0, react.useRef)(config.initialPage ?? 1);
|
|
486
|
+
const pageSizeRef = (0, react.useRef)(config.pageSize ?? 10);
|
|
487
|
+
const enabled = config.enabled ?? true;
|
|
488
|
+
const isSignedIn = config.isSignedIn;
|
|
489
|
+
const triggerInfinite = config.infinite ?? false;
|
|
490
|
+
const cacheMode = config.__experimental_mode === "cache";
|
|
491
|
+
const keepPreviousData = config.keepPreviousData ?? false;
|
|
492
|
+
const [queryClient] = useClerkQueryClient();
|
|
493
|
+
const queriesEnabled = enabled && Boolean(fetcher) && !cacheMode && isSignedIn !== false;
|
|
494
|
+
const [forceUpdateCounter, setForceUpdateCounter] = (0, react.useState)(0);
|
|
495
|
+
const forceUpdate = (0, react.useCallback)((updater) => {
|
|
496
|
+
setForceUpdateCounter(updater);
|
|
497
|
+
}, []);
|
|
498
|
+
const pagesQueryKey = (0, react.useMemo)(() => {
|
|
499
|
+
const [stablePrefix, authenticated, tracked, untracked] = keys.queryKey;
|
|
500
|
+
return [
|
|
501
|
+
stablePrefix,
|
|
502
|
+
authenticated,
|
|
503
|
+
tracked,
|
|
504
|
+
{
|
|
505
|
+
...untracked,
|
|
506
|
+
args: {
|
|
507
|
+
...untracked.args,
|
|
508
|
+
initialPage: paginatedPage,
|
|
509
|
+
pageSize: pageSizeRef.current
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
];
|
|
513
|
+
}, [keys.queryKey, paginatedPage]);
|
|
514
|
+
const singlePageQuery = useClerkQuery({
|
|
515
|
+
queryKey: pagesQueryKey,
|
|
516
|
+
queryFn: ({ queryKey }) => {
|
|
517
|
+
const { args } = queryKey[3];
|
|
518
|
+
if (!fetcher) return;
|
|
519
|
+
return fetcher(args);
|
|
520
|
+
},
|
|
521
|
+
staleTime: 6e4,
|
|
522
|
+
enabled: queriesEnabled && !triggerInfinite,
|
|
523
|
+
placeholderData: defineKeepPreviousDataFn(keepPreviousData)
|
|
524
|
+
});
|
|
525
|
+
const infiniteQueryKey = (0, react.useMemo)(() => {
|
|
526
|
+
const [stablePrefix, authenticated, tracked, untracked] = keys.queryKey;
|
|
527
|
+
return [
|
|
528
|
+
stablePrefix + "-inf",
|
|
529
|
+
authenticated,
|
|
530
|
+
tracked,
|
|
531
|
+
untracked
|
|
532
|
+
];
|
|
533
|
+
}, [keys.queryKey]);
|
|
534
|
+
const infiniteQuery = useClerkInfiniteQuery({
|
|
535
|
+
queryKey: infiniteQueryKey,
|
|
536
|
+
initialPageParam: config.initialPage ?? 1,
|
|
537
|
+
getNextPageParam: (lastPage, allPages, lastPageParam) => {
|
|
538
|
+
const total = lastPage?.total_count ?? 0;
|
|
539
|
+
return (allPages.length + (config.initialPage ? config.initialPage - 1 : 0)) * (config.pageSize ?? 10) < total ? lastPageParam + 1 : void 0;
|
|
540
|
+
},
|
|
541
|
+
queryFn: ({ pageParam, queryKey }) => {
|
|
542
|
+
const { args } = queryKey[3];
|
|
543
|
+
if (!fetcher) return;
|
|
544
|
+
return fetcher({
|
|
545
|
+
...args,
|
|
546
|
+
initialPage: pageParam,
|
|
547
|
+
pageSize: pageSizeRef.current
|
|
548
|
+
});
|
|
549
|
+
},
|
|
550
|
+
staleTime: 6e4,
|
|
551
|
+
enabled: queriesEnabled && triggerInfinite
|
|
552
|
+
});
|
|
553
|
+
useClearQueriesOnSignOut({
|
|
554
|
+
isSignedOut: isSignedIn === false,
|
|
555
|
+
authenticated: keys.authenticated,
|
|
556
|
+
stableKeys: withInfiniteKey(keys.stableKey),
|
|
557
|
+
onCleanup: () => {
|
|
558
|
+
setPaginatedPage(initialPageRef.current);
|
|
559
|
+
Promise.resolve().then(() => forceUpdate((n) => n + 1));
|
|
560
|
+
}
|
|
561
|
+
});
|
|
562
|
+
const { data, count, page } = (0, react.useMemo)(() => {
|
|
563
|
+
if (triggerInfinite) {
|
|
564
|
+
const cachedData = queryClient.getQueryData(infiniteQueryKey);
|
|
565
|
+
const pages = queriesEnabled ? infiniteQuery.data?.pages ?? cachedData?.pages ?? [] : cachedData?.pages ?? [];
|
|
566
|
+
const validPages = Array.isArray(pages) ? pages.filter(Boolean) : [];
|
|
567
|
+
return {
|
|
568
|
+
data: validPages.map((a) => a?.data).flat().filter(Boolean) ?? [],
|
|
569
|
+
count: validPages[validPages.length - 1]?.total_count ?? 0,
|
|
570
|
+
page: validPages.length > 0 ? validPages.length : initialPageRef.current
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
const pageData = queriesEnabled ? singlePageQuery.data ?? queryClient.getQueryData(pagesQueryKey) : queryClient.getQueryData(pagesQueryKey);
|
|
574
|
+
return {
|
|
575
|
+
data: Array.isArray(pageData?.data) ? pageData.data : [],
|
|
576
|
+
count: typeof pageData?.total_count === "number" ? pageData.total_count : 0,
|
|
577
|
+
page: paginatedPage
|
|
578
|
+
};
|
|
579
|
+
}, [
|
|
580
|
+
queriesEnabled,
|
|
581
|
+
forceUpdateCounter,
|
|
582
|
+
triggerInfinite,
|
|
583
|
+
infiniteQuery.data?.pages,
|
|
584
|
+
singlePageQuery.data,
|
|
585
|
+
queryClient,
|
|
586
|
+
infiniteQueryKey,
|
|
587
|
+
pagesQueryKey,
|
|
588
|
+
paginatedPage
|
|
589
|
+
]);
|
|
590
|
+
const fetchPage = (0, react.useCallback)((numberOrgFn) => {
|
|
591
|
+
if (triggerInfinite) {
|
|
592
|
+
const next = typeof numberOrgFn === "function" ? numberOrgFn(page) : numberOrgFn;
|
|
593
|
+
const targetCount = Math.max(0, next);
|
|
594
|
+
const cachedData = queryClient.getQueryData(infiniteQueryKey);
|
|
595
|
+
if (targetCount - (infiniteQuery.data?.pages ?? cachedData?.pages ?? []).length > 0) infiniteQuery.fetchNextPage({ cancelRefetch: false });
|
|
596
|
+
return;
|
|
597
|
+
}
|
|
598
|
+
return setPaginatedPage(numberOrgFn);
|
|
599
|
+
}, [
|
|
600
|
+
infiniteQuery,
|
|
601
|
+
page,
|
|
602
|
+
triggerInfinite,
|
|
603
|
+
queryClient,
|
|
604
|
+
infiniteQueryKey
|
|
605
|
+
]);
|
|
606
|
+
const isLoading = triggerInfinite ? infiniteQuery.isLoading : singlePageQuery.isLoading;
|
|
607
|
+
const isFetching = triggerInfinite ? infiniteQuery.isFetching : singlePageQuery.isFetching;
|
|
608
|
+
const error = (triggerInfinite ? infiniteQuery.error : singlePageQuery.error) ?? null;
|
|
609
|
+
const isError = !!error;
|
|
610
|
+
const fetchNext = (0, react.useCallback)(() => {
|
|
611
|
+
if (triggerInfinite) {
|
|
612
|
+
infiniteQuery.fetchNextPage({ cancelRefetch: false });
|
|
613
|
+
return;
|
|
614
|
+
}
|
|
615
|
+
setPaginatedPage((n) => Math.max(0, n + 1));
|
|
616
|
+
}, [infiniteQuery, triggerInfinite]);
|
|
617
|
+
const fetchPrevious = (0, react.useCallback)(() => {
|
|
618
|
+
if (triggerInfinite) return;
|
|
619
|
+
setPaginatedPage((n) => Math.max(0, n - 1));
|
|
620
|
+
}, [triggerInfinite]);
|
|
621
|
+
const offsetCount = calculateOffsetCount(initialPageRef.current, pageSizeRef.current);
|
|
622
|
+
const pageCount = calculatePageCount(count, offsetCount, pageSizeRef.current);
|
|
623
|
+
const hasNextPage = triggerInfinite ? Boolean(infiniteQuery.hasNextPage) : calculateHasNextPage(count, offsetCount, page, pageSizeRef.current);
|
|
624
|
+
const hasPreviousPage = triggerInfinite ? Boolean(infiniteQuery.hasPreviousPage) : calculateHasPreviousPage(page, pageSizeRef.current, offsetCount);
|
|
625
|
+
const setData = (value) => {
|
|
626
|
+
if (triggerInfinite) {
|
|
627
|
+
queryClient.setQueryData(infiniteQueryKey, (prevValue = {}) => {
|
|
628
|
+
const prevPages = Array.isArray(prevValue?.pages) ? prevValue.pages : [];
|
|
629
|
+
const nextPages = typeof value === "function" ? value(prevPages) : value;
|
|
630
|
+
return {
|
|
631
|
+
...prevValue,
|
|
632
|
+
pages: nextPages
|
|
633
|
+
};
|
|
634
|
+
});
|
|
635
|
+
forceUpdate((n) => n + 1);
|
|
636
|
+
return Promise.resolve();
|
|
637
|
+
}
|
|
638
|
+
queryClient.setQueryData(pagesQueryKey, (prevValue = {
|
|
639
|
+
data: [],
|
|
640
|
+
total_count: 0
|
|
641
|
+
}) => {
|
|
642
|
+
return typeof value === "function" ? value(prevValue) : value;
|
|
643
|
+
});
|
|
644
|
+
forceUpdate((n) => n + 1);
|
|
645
|
+
return Promise.resolve();
|
|
646
|
+
};
|
|
647
|
+
const revalidate = async () => {
|
|
648
|
+
await queryClient.invalidateQueries({ queryKey: keys.invalidationKey });
|
|
649
|
+
const [stablePrefix, ...rest] = keys.invalidationKey;
|
|
650
|
+
return queryClient.invalidateQueries({ queryKey: [stablePrefix + "-inf", ...rest] });
|
|
651
|
+
};
|
|
652
|
+
return {
|
|
653
|
+
data,
|
|
654
|
+
count,
|
|
655
|
+
error,
|
|
656
|
+
isLoading,
|
|
657
|
+
isFetching,
|
|
658
|
+
isError,
|
|
659
|
+
page,
|
|
660
|
+
pageCount,
|
|
661
|
+
fetchPage,
|
|
662
|
+
fetchNext,
|
|
663
|
+
fetchPrevious,
|
|
664
|
+
hasNextPage,
|
|
665
|
+
hasPreviousPage,
|
|
666
|
+
revalidate,
|
|
667
|
+
setData
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
//#endregion
|
|
672
|
+
//#region src/react/hooks/useAPIKeys.tsx
|
|
673
|
+
/**
|
|
674
|
+
* @internal
|
|
675
|
+
*
|
|
676
|
+
* The `useAPIKeys()` hook provides access to paginated API keys for the current user or organization.
|
|
677
|
+
*
|
|
678
|
+
* @example
|
|
679
|
+
* ### Basic usage with default pagination
|
|
680
|
+
*
|
|
681
|
+
* ```tsx
|
|
682
|
+
* const { data, isLoading, page, pageCount, fetchNext, fetchPrevious } = useAPIKeys({
|
|
683
|
+
* subject: 'user_123',
|
|
684
|
+
* pageSize: 10,
|
|
685
|
+
* initialPage: 1,
|
|
686
|
+
* });
|
|
687
|
+
* ```
|
|
688
|
+
*
|
|
689
|
+
* @example
|
|
690
|
+
* ### With search query
|
|
691
|
+
*
|
|
692
|
+
* ```tsx
|
|
693
|
+
* const [searchValue, setSearchValue] = useState('');
|
|
694
|
+
* const debouncedSearch = useDebounce(searchValue, 500);
|
|
695
|
+
*
|
|
696
|
+
* const { data, isLoading } = useAPIKeys({
|
|
697
|
+
* subject: 'user_123',
|
|
698
|
+
* query: debouncedSearch.trim(),
|
|
699
|
+
* pageSize: 10,
|
|
700
|
+
* });
|
|
701
|
+
* ```
|
|
702
|
+
*
|
|
703
|
+
* @example
|
|
704
|
+
* ### Infinite scroll
|
|
705
|
+
*
|
|
706
|
+
* ```tsx
|
|
707
|
+
* const { data, isLoading, fetchNext, hasNextPage } = useAPIKeys({
|
|
708
|
+
* subject: 'user_123',
|
|
709
|
+
* infinite: true,
|
|
710
|
+
* });
|
|
711
|
+
* ```
|
|
712
|
+
*/
|
|
713
|
+
function useAPIKeys(params) {
|
|
714
|
+
useAssertWrappedByClerkProvider("useAPIKeys");
|
|
715
|
+
const safeValues = useWithSafeValues(params, {
|
|
716
|
+
initialPage: 1,
|
|
717
|
+
pageSize: 10,
|
|
718
|
+
keepPreviousData: false,
|
|
719
|
+
infinite: false,
|
|
720
|
+
subject: "",
|
|
721
|
+
query: "",
|
|
722
|
+
enabled: true
|
|
723
|
+
});
|
|
724
|
+
const clerk = useClerkInstanceContext();
|
|
725
|
+
clerk.telemetry?.record(require_telemetry.eventMethodCalled("useAPIKeys"));
|
|
726
|
+
const hookParams = {
|
|
727
|
+
initialPage: safeValues.initialPage,
|
|
728
|
+
pageSize: safeValues.pageSize,
|
|
729
|
+
...safeValues.subject ? { subject: safeValues.subject } : {},
|
|
730
|
+
...safeValues.query ? { query: safeValues.query } : {}
|
|
731
|
+
};
|
|
732
|
+
const isEnabled = (safeValues.enabled ?? true) && clerk.loaded;
|
|
733
|
+
return usePagesOrInfinite({
|
|
734
|
+
fetcher: clerk.apiKeys?.getAll ? (params$1) => clerk.apiKeys.getAll({
|
|
735
|
+
...params$1,
|
|
736
|
+
subject: safeValues.subject
|
|
737
|
+
}) : void 0,
|
|
738
|
+
config: {
|
|
739
|
+
keepPreviousData: safeValues.keepPreviousData,
|
|
740
|
+
infinite: safeValues.infinite,
|
|
741
|
+
enabled: isEnabled,
|
|
742
|
+
isSignedIn: clerk.user !== null,
|
|
743
|
+
initialPage: safeValues.initialPage,
|
|
744
|
+
pageSize: safeValues.pageSize
|
|
745
|
+
},
|
|
746
|
+
keys: createCacheKeys({
|
|
747
|
+
stablePrefix: STABLE_KEYS.API_KEYS_KEY,
|
|
748
|
+
authenticated: true,
|
|
749
|
+
tracked: { subject: safeValues.subject },
|
|
750
|
+
untracked: { args: hookParams }
|
|
751
|
+
})
|
|
752
|
+
});
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
//#endregion
|
|
756
|
+
//#region src/react/hooks/base/useOrganizationBase.ts
|
|
757
|
+
function useOrganizationBase() {
|
|
758
|
+
const clerk = useClerkInstanceContext();
|
|
759
|
+
const initialState = useInitialStateContext();
|
|
760
|
+
const getInitialState = (0, react.useCallback)(() => initialState?.organization, [initialState?.organization]);
|
|
761
|
+
return (0, react.useSyncExternalStore)((0, react.useCallback)((callback) => clerk.addListener(callback, { skipInitialEmit: true }), [clerk]), (0, react.useCallback)(() => {
|
|
762
|
+
if (!clerk.loaded || !clerk.__internal_lastEmittedResources) return getInitialState();
|
|
763
|
+
return clerk.__internal_lastEmittedResources.organization;
|
|
764
|
+
}, [clerk, getInitialState]), getInitialState);
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
//#endregion
|
|
768
|
+
//#region src/react/hooks/base/useSessionBase.ts
|
|
769
|
+
function useSessionBase() {
|
|
770
|
+
const clerk = useClerkInstanceContext();
|
|
771
|
+
const initialState = useInitialStateContext();
|
|
772
|
+
const getInitialState = (0, react.useCallback)(() => {
|
|
773
|
+
return initialState ? require_deriveState.deriveFromSsrInitialState(initialState)?.session : void 0;
|
|
774
|
+
}, [initialState]);
|
|
775
|
+
return (0, react.useSyncExternalStore)((0, react.useCallback)((callback) => clerk.addListener(callback, { skipInitialEmit: true }), [clerk]), (0, react.useCallback)(() => {
|
|
776
|
+
if (!clerk.loaded || !clerk.__internal_lastEmittedResources) return getInitialState();
|
|
777
|
+
return clerk.__internal_lastEmittedResources.session;
|
|
778
|
+
}, [clerk, getInitialState]), getInitialState);
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
//#endregion
|
|
782
|
+
//#region src/react/hooks/useClerk.ts
|
|
783
|
+
/**
|
|
784
|
+
* > [!WARNING]
|
|
785
|
+
* > This hook should only be used for advanced use cases, such as building a completely custom OAuth flow or as an escape hatch to access to the `Clerk` object.
|
|
786
|
+
*
|
|
787
|
+
* The `useClerk()` hook provides access to the [`Clerk`](https://clerk.com/docs/reference/objects/clerk) object, allowing you to build alternatives to any Clerk Component.
|
|
788
|
+
*
|
|
789
|
+
* @function
|
|
790
|
+
*
|
|
791
|
+
* @returns The `useClerk()` hook returns the `Clerk` object, which includes all the methods and properties listed in the [`Clerk` reference](https://clerk.com/docs/reference/objects/clerk).
|
|
792
|
+
*
|
|
793
|
+
* @example
|
|
794
|
+
*
|
|
795
|
+
* The following example uses the `useClerk()` hook to access the `clerk` object. The `clerk` object is used to call the [`openSignIn()`](https://clerk.com/docs/reference/objects/clerk#sign-in) method to open the sign-in modal.
|
|
796
|
+
*
|
|
797
|
+
* <Tabs items='React,Next.js'>
|
|
798
|
+
* <Tab>
|
|
799
|
+
*
|
|
800
|
+
* ```tsx {{ filename: 'src/Home.tsx' }}
|
|
801
|
+
* import { useClerk } from '@clerk/react'
|
|
802
|
+
*
|
|
803
|
+
* export default function Home() {
|
|
804
|
+
* const clerk = useClerk()
|
|
805
|
+
*
|
|
806
|
+
* return <button onClick={() => clerk.openSignIn({})}>Sign in</button>
|
|
807
|
+
* }
|
|
808
|
+
* ```
|
|
809
|
+
*
|
|
810
|
+
* </Tab>
|
|
811
|
+
* <Tab>
|
|
812
|
+
*
|
|
813
|
+
* {@include ../../../docs/use-clerk.md#nextjs-01}
|
|
814
|
+
*
|
|
815
|
+
* </Tab>
|
|
816
|
+
* </Tabs>
|
|
817
|
+
*/
|
|
818
|
+
const useClerk = () => {
|
|
819
|
+
useAssertWrappedByClerkProvider("useClerk");
|
|
820
|
+
return useClerkInstanceContext();
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
//#endregion
|
|
824
|
+
//#region src/react/hooks/useAttemptToEnableOrganizations.ts
|
|
825
|
+
/**
|
|
826
|
+
* Attempts to enable the organizations environment setting for a given caller
|
|
827
|
+
*
|
|
828
|
+
* @internal
|
|
829
|
+
*/
|
|
830
|
+
function useAttemptToEnableOrganizations(caller) {
|
|
831
|
+
const clerk = useClerk();
|
|
832
|
+
const hasAttempted = (0, react.useRef)(false);
|
|
833
|
+
(0, react.useEffect)(() => {
|
|
834
|
+
if (hasAttempted.current) return;
|
|
835
|
+
hasAttempted.current = true;
|
|
836
|
+
clerk.__internal_attemptToEnableEnvironmentSetting?.({
|
|
837
|
+
for: "organizations",
|
|
838
|
+
caller
|
|
839
|
+
});
|
|
840
|
+
}, [clerk, caller]);
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
//#endregion
|
|
844
|
+
//#region src/react/hooks/useOrganization.tsx
|
|
845
|
+
const undefinedPaginatedResource$1 = {
|
|
846
|
+
data: void 0,
|
|
847
|
+
count: void 0,
|
|
848
|
+
error: void 0,
|
|
849
|
+
isLoading: false,
|
|
850
|
+
isFetching: false,
|
|
851
|
+
isError: false,
|
|
852
|
+
page: void 0,
|
|
853
|
+
pageCount: void 0,
|
|
854
|
+
fetchPage: void 0,
|
|
855
|
+
fetchNext: void 0,
|
|
856
|
+
fetchPrevious: void 0,
|
|
857
|
+
hasNextPage: false,
|
|
858
|
+
hasPreviousPage: false,
|
|
859
|
+
revalidate: void 0,
|
|
860
|
+
setData: void 0
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* The `useOrganization()` hook retrieves attributes of the currently Active Organization.
|
|
864
|
+
*
|
|
865
|
+
* @example
|
|
866
|
+
* ### Expand and paginate attributes
|
|
867
|
+
*
|
|
868
|
+
* To keep network usage to a minimum, developers are required to opt-in by specifying which resource they need to fetch and paginate through. By default, the `memberships`, `invitations`, `membershipRequests`, and `domains` attributes are not populated. You must pass `true` or an object with the desired properties to fetch and paginate the data.
|
|
869
|
+
*
|
|
870
|
+
* ```tsx
|
|
871
|
+
* // invitations.data will never be populated.
|
|
872
|
+
* const { invitations } = useOrganization()
|
|
873
|
+
*
|
|
874
|
+
* // Use default values to fetch invitations, such as initialPage = 1 and pageSize = 10
|
|
875
|
+
* const { invitations } = useOrganization({
|
|
876
|
+
* invitations: true,
|
|
877
|
+
* })
|
|
878
|
+
*
|
|
879
|
+
* // Pass your own values to fetch invitations
|
|
880
|
+
* const { invitations } = useOrganization({
|
|
881
|
+
* invitations: {
|
|
882
|
+
* pageSize: 20,
|
|
883
|
+
* initialPage: 2, // skips the first page
|
|
884
|
+
* },
|
|
885
|
+
* })
|
|
886
|
+
*
|
|
887
|
+
* // Aggregate pages in order to render an infinite list
|
|
888
|
+
* const { invitations } = useOrganization({
|
|
889
|
+
* invitations: {
|
|
890
|
+
* infinite: true,
|
|
891
|
+
* },
|
|
892
|
+
* })
|
|
893
|
+
* ```
|
|
894
|
+
*
|
|
895
|
+
* @example
|
|
896
|
+
* ### Infinite pagination
|
|
897
|
+
*
|
|
898
|
+
* The following example demonstrates how to use the `infinite` property to fetch and append new data to the existing list. The `memberships` attribute will be populated with the first page of the Organization's memberships. When the "Load more" button is clicked, the `fetchNext` helper function will be called to append the next page of memberships to the list.
|
|
899
|
+
*
|
|
900
|
+
* ```tsx
|
|
901
|
+
* import { useOrganization } from '@clerk/react'
|
|
902
|
+
*
|
|
903
|
+
* export default function MemberList() {
|
|
904
|
+
* const { memberships } = useOrganization({
|
|
905
|
+
* memberships: {
|
|
906
|
+
* infinite: true, // Append new data to the existing list
|
|
907
|
+
* keepPreviousData: true, // Persist the cached data until the new data has been fetched
|
|
908
|
+
* },
|
|
909
|
+
* })
|
|
910
|
+
*
|
|
911
|
+
* if (!memberships) {
|
|
912
|
+
* // Handle loading state
|
|
913
|
+
* return null
|
|
914
|
+
* }
|
|
915
|
+
*
|
|
916
|
+
* return (
|
|
917
|
+
* <div>
|
|
918
|
+
* <h2>Organization members</h2>
|
|
919
|
+
* <ul>
|
|
920
|
+
* {memberships.data?.map((membership) => (
|
|
921
|
+
* <li key={membership.id}>
|
|
922
|
+
* {membership.publicUserData.firstName} {membership.publicUserData.lastName} <
|
|
923
|
+
* {membership.publicUserData.identifier}> :: {membership.role}
|
|
924
|
+
* </li>
|
|
925
|
+
* ))}
|
|
926
|
+
* </ul>
|
|
927
|
+
*
|
|
928
|
+
* <button
|
|
929
|
+
* disabled={!memberships.hasNextPage} // Disable the button if there are no more available pages to be fetched
|
|
930
|
+
* onClick={memberships.fetchNext}
|
|
931
|
+
* >
|
|
932
|
+
* Load more
|
|
933
|
+
* </button>
|
|
934
|
+
* </div>
|
|
935
|
+
* )
|
|
936
|
+
* }
|
|
937
|
+
* ```
|
|
938
|
+
*
|
|
939
|
+
* @example
|
|
940
|
+
* ### Simple pagination
|
|
941
|
+
*
|
|
942
|
+
* The following example demonstrates how to use the `fetchPrevious` and `fetchNext` helper functions to paginate through the data. The `memberships` attribute will be populated with the first page of the Organization's memberships. When the "Previous page" or "Next page" button is clicked, the `fetchPrevious` or `fetchNext` helper function will be called to fetch the previous or next page of memberships.
|
|
943
|
+
*
|
|
944
|
+
* Notice the difference between this example's pagination and the infinite pagination example above.
|
|
945
|
+
*
|
|
946
|
+
* ```tsx
|
|
947
|
+
* import { useOrganization } from '@clerk/react'
|
|
948
|
+
*
|
|
949
|
+
* export default function MemberList() {
|
|
950
|
+
* const { memberships } = useOrganization({
|
|
951
|
+
* memberships: {
|
|
952
|
+
* keepPreviousData: true, // Persist the cached data until the new data has been fetched
|
|
953
|
+
* },
|
|
954
|
+
* })
|
|
955
|
+
*
|
|
956
|
+
* if (!memberships) {
|
|
957
|
+
* // Handle loading state
|
|
958
|
+
* return null
|
|
959
|
+
* }
|
|
960
|
+
*
|
|
961
|
+
* return (
|
|
962
|
+
* <div>
|
|
963
|
+
* <h2>Organization members</h2>
|
|
964
|
+
* <ul>
|
|
965
|
+
* {memberships.data?.map((membership) => (
|
|
966
|
+
* <li key={membership.id}>
|
|
967
|
+
* {membership.publicUserData.firstName} {membership.publicUserData.lastName} <
|
|
968
|
+
* {membership.publicUserData.identifier}> :: {membership.role}
|
|
969
|
+
* </li>
|
|
970
|
+
* ))}
|
|
971
|
+
* </ul>
|
|
972
|
+
*
|
|
973
|
+
* <button disabled={!memberships.hasPreviousPage} onClick={memberships.fetchPrevious}>
|
|
974
|
+
* Previous page
|
|
975
|
+
* </button>
|
|
976
|
+
*
|
|
977
|
+
* <button disabled={!memberships.hasNextPage} onClick={memberships.fetchNext}>
|
|
978
|
+
* Next page
|
|
979
|
+
* </button>
|
|
980
|
+
* </div>
|
|
981
|
+
* )
|
|
982
|
+
* }
|
|
983
|
+
* ```
|
|
984
|
+
*/
|
|
985
|
+
function useOrganization(params) {
|
|
986
|
+
const { domains: domainListParams, membershipRequests: membershipRequestsListParams, memberships: membersListParams, invitations: invitationsListParams } = params || {};
|
|
987
|
+
useAssertWrappedByClerkProvider("useOrganization");
|
|
988
|
+
useAttemptToEnableOrganizations("useOrganization");
|
|
989
|
+
const organization = useOrganizationBase();
|
|
990
|
+
const session = useSessionBase();
|
|
991
|
+
const domainSafeValues = useWithSafeValues(domainListParams, {
|
|
992
|
+
initialPage: 1,
|
|
993
|
+
pageSize: 10,
|
|
994
|
+
keepPreviousData: false,
|
|
995
|
+
infinite: false,
|
|
996
|
+
enrollmentMode: void 0
|
|
997
|
+
});
|
|
998
|
+
const membershipRequestSafeValues = useWithSafeValues(membershipRequestsListParams, {
|
|
999
|
+
initialPage: 1,
|
|
1000
|
+
pageSize: 10,
|
|
1001
|
+
status: "pending",
|
|
1002
|
+
keepPreviousData: false,
|
|
1003
|
+
infinite: false
|
|
1004
|
+
});
|
|
1005
|
+
const membersSafeValues = useWithSafeValues(membersListParams, {
|
|
1006
|
+
initialPage: 1,
|
|
1007
|
+
pageSize: 10,
|
|
1008
|
+
role: void 0,
|
|
1009
|
+
keepPreviousData: false,
|
|
1010
|
+
infinite: false,
|
|
1011
|
+
query: void 0
|
|
1012
|
+
});
|
|
1013
|
+
const invitationsSafeValues = useWithSafeValues(invitationsListParams, {
|
|
1014
|
+
initialPage: 1,
|
|
1015
|
+
pageSize: 10,
|
|
1016
|
+
status: ["pending"],
|
|
1017
|
+
keepPreviousData: false,
|
|
1018
|
+
infinite: false
|
|
1019
|
+
});
|
|
1020
|
+
const clerk = useClerkInstanceContext();
|
|
1021
|
+
clerk.telemetry?.record(require_telemetry.eventMethodCalled("useOrganization"));
|
|
1022
|
+
const domainParams = typeof domainListParams === "undefined" ? void 0 : {
|
|
1023
|
+
initialPage: domainSafeValues.initialPage,
|
|
1024
|
+
pageSize: domainSafeValues.pageSize,
|
|
1025
|
+
enrollmentMode: domainSafeValues.enrollmentMode
|
|
1026
|
+
};
|
|
1027
|
+
const membershipRequestParams = typeof membershipRequestsListParams === "undefined" ? void 0 : {
|
|
1028
|
+
initialPage: membershipRequestSafeValues.initialPage,
|
|
1029
|
+
pageSize: membershipRequestSafeValues.pageSize,
|
|
1030
|
+
status: membershipRequestSafeValues.status
|
|
1031
|
+
};
|
|
1032
|
+
const membersParams = typeof membersListParams === "undefined" ? void 0 : {
|
|
1033
|
+
initialPage: membersSafeValues.initialPage,
|
|
1034
|
+
pageSize: membersSafeValues.pageSize,
|
|
1035
|
+
role: membersSafeValues.role,
|
|
1036
|
+
query: membersSafeValues.query
|
|
1037
|
+
};
|
|
1038
|
+
const invitationsParams = typeof invitationsListParams === "undefined" ? void 0 : {
|
|
1039
|
+
initialPage: invitationsSafeValues.initialPage,
|
|
1040
|
+
pageSize: invitationsSafeValues.pageSize,
|
|
1041
|
+
status: invitationsSafeValues.status
|
|
1042
|
+
};
|
|
1043
|
+
const domains = usePagesOrInfinite({
|
|
1044
|
+
fetcher: organization?.getDomains,
|
|
1045
|
+
config: {
|
|
1046
|
+
keepPreviousData: domainSafeValues.keepPreviousData,
|
|
1047
|
+
infinite: domainSafeValues.infinite,
|
|
1048
|
+
enabled: !!domainParams,
|
|
1049
|
+
isSignedIn: organization !== null,
|
|
1050
|
+
initialPage: domainSafeValues.initialPage,
|
|
1051
|
+
pageSize: domainSafeValues.pageSize
|
|
1052
|
+
},
|
|
1053
|
+
keys: createCacheKeys({
|
|
1054
|
+
stablePrefix: STABLE_KEYS.DOMAINS_KEY,
|
|
1055
|
+
authenticated: true,
|
|
1056
|
+
tracked: { organizationId: organization?.id },
|
|
1057
|
+
untracked: { args: domainParams }
|
|
1058
|
+
})
|
|
1059
|
+
});
|
|
1060
|
+
const membershipRequests = usePagesOrInfinite({
|
|
1061
|
+
fetcher: organization?.getMembershipRequests,
|
|
1062
|
+
config: {
|
|
1063
|
+
keepPreviousData: membershipRequestSafeValues.keepPreviousData,
|
|
1064
|
+
infinite: membershipRequestSafeValues.infinite,
|
|
1065
|
+
enabled: !!membershipRequestParams,
|
|
1066
|
+
isSignedIn: organization !== null,
|
|
1067
|
+
initialPage: membershipRequestSafeValues.initialPage,
|
|
1068
|
+
pageSize: membershipRequestSafeValues.pageSize
|
|
1069
|
+
},
|
|
1070
|
+
keys: createCacheKeys({
|
|
1071
|
+
stablePrefix: STABLE_KEYS.MEMBERSHIP_REQUESTS_KEY,
|
|
1072
|
+
authenticated: true,
|
|
1073
|
+
tracked: { organizationId: organization?.id },
|
|
1074
|
+
untracked: { args: membershipRequestParams }
|
|
1075
|
+
})
|
|
1076
|
+
});
|
|
1077
|
+
const memberships = usePagesOrInfinite({
|
|
1078
|
+
fetcher: organization?.getMemberships,
|
|
1079
|
+
config: {
|
|
1080
|
+
keepPreviousData: membersSafeValues.keepPreviousData,
|
|
1081
|
+
infinite: membersSafeValues.infinite,
|
|
1082
|
+
enabled: !!membersParams,
|
|
1083
|
+
isSignedIn: organization !== null,
|
|
1084
|
+
initialPage: membersSafeValues.initialPage,
|
|
1085
|
+
pageSize: membersSafeValues.pageSize
|
|
1086
|
+
},
|
|
1087
|
+
keys: createCacheKeys({
|
|
1088
|
+
stablePrefix: STABLE_KEYS.MEMBERSHIPS_KEY,
|
|
1089
|
+
authenticated: true,
|
|
1090
|
+
tracked: { organizationId: organization?.id },
|
|
1091
|
+
untracked: { args: membersParams }
|
|
1092
|
+
})
|
|
1093
|
+
});
|
|
1094
|
+
const invitations = usePagesOrInfinite({
|
|
1095
|
+
fetcher: organization?.getInvitations,
|
|
1096
|
+
config: {
|
|
1097
|
+
keepPreviousData: invitationsSafeValues.keepPreviousData,
|
|
1098
|
+
infinite: invitationsSafeValues.infinite,
|
|
1099
|
+
enabled: !!invitationsParams,
|
|
1100
|
+
isSignedIn: organization !== null,
|
|
1101
|
+
initialPage: invitationsSafeValues.initialPage,
|
|
1102
|
+
pageSize: invitationsSafeValues.pageSize
|
|
1103
|
+
},
|
|
1104
|
+
keys: createCacheKeys({
|
|
1105
|
+
stablePrefix: STABLE_KEYS.INVITATIONS_KEY,
|
|
1106
|
+
authenticated: true,
|
|
1107
|
+
tracked: { organizationId: organization?.id },
|
|
1108
|
+
untracked: { args: invitationsParams }
|
|
1109
|
+
})
|
|
1110
|
+
});
|
|
1111
|
+
if (organization === void 0) return {
|
|
1112
|
+
isLoaded: false,
|
|
1113
|
+
organization: void 0,
|
|
1114
|
+
membership: void 0,
|
|
1115
|
+
domains: undefinedPaginatedResource$1,
|
|
1116
|
+
membershipRequests: undefinedPaginatedResource$1,
|
|
1117
|
+
memberships: undefinedPaginatedResource$1,
|
|
1118
|
+
invitations: undefinedPaginatedResource$1
|
|
1119
|
+
};
|
|
1120
|
+
if (organization === null) return {
|
|
1121
|
+
isLoaded: true,
|
|
1122
|
+
organization: null,
|
|
1123
|
+
membership: null,
|
|
1124
|
+
domains: null,
|
|
1125
|
+
membershipRequests: null,
|
|
1126
|
+
memberships: null,
|
|
1127
|
+
invitations: null
|
|
1128
|
+
};
|
|
1129
|
+
/** In SSR context we include only the organization object when loadOrg is set to true. */
|
|
1130
|
+
if (!clerk.loaded && organization) return {
|
|
1131
|
+
isLoaded: true,
|
|
1132
|
+
organization,
|
|
1133
|
+
membership: void 0,
|
|
1134
|
+
domains: undefinedPaginatedResource$1,
|
|
1135
|
+
membershipRequests: undefinedPaginatedResource$1,
|
|
1136
|
+
memberships: undefinedPaginatedResource$1,
|
|
1137
|
+
invitations: undefinedPaginatedResource$1
|
|
1138
|
+
};
|
|
1139
|
+
return {
|
|
1140
|
+
isLoaded: clerk.loaded,
|
|
1141
|
+
organization,
|
|
1142
|
+
membership: require_organization.getCurrentOrganizationMembership(session.user.organizationMemberships, organization.id),
|
|
1143
|
+
domains,
|
|
1144
|
+
membershipRequests,
|
|
1145
|
+
memberships,
|
|
1146
|
+
invitations
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
//#endregion
|
|
1151
|
+
//#region src/react/hooks/base/useUserBase.ts
|
|
1152
|
+
function useUserBase() {
|
|
1153
|
+
const clerk = useClerkInstanceContext();
|
|
1154
|
+
const initialState = useInitialStateContext();
|
|
1155
|
+
const getInitialState = (0, react.useCallback)(() => initialState?.user, [initialState?.user]);
|
|
1156
|
+
return (0, react.useSyncExternalStore)((0, react.useCallback)((callback) => {
|
|
1157
|
+
return clerk.addListener(callback, { skipInitialEmit: true });
|
|
1158
|
+
}, [clerk]), (0, react.useCallback)(() => {
|
|
1159
|
+
if (!clerk.loaded || !clerk.__internal_lastEmittedResources) return getInitialState();
|
|
1160
|
+
return clerk.__internal_lastEmittedResources.user;
|
|
1161
|
+
}, [clerk, getInitialState]), getInitialState);
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
//#endregion
|
|
1165
|
+
//#region src/react/hooks/useOrganizationCreationDefaults.shared.ts
|
|
1166
|
+
function useOrganizationCreationDefaultsCacheKeys(params) {
|
|
1167
|
+
const { userId } = params;
|
|
1168
|
+
return (0, react.useMemo)(() => {
|
|
1169
|
+
return createCacheKeys({
|
|
1170
|
+
stablePrefix: STABLE_KEYS.ORGANIZATION_CREATION_DEFAULTS_KEY,
|
|
1171
|
+
authenticated: Boolean(userId),
|
|
1172
|
+
tracked: { userId: userId ?? null },
|
|
1173
|
+
untracked: { args: {} }
|
|
1174
|
+
});
|
|
1175
|
+
}, [userId]);
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
//#endregion
|
|
1179
|
+
//#region src/react/hooks/useOrganizationCreationDefaults.tsx
|
|
1180
|
+
const HOOK_NAME$1 = "useOrganizationCreationDefaults";
|
|
1181
|
+
/**
|
|
1182
|
+
* The `useOrganizationCreationDefaults()` hook retrieves the organization creation defaults for the current user.
|
|
1183
|
+
*
|
|
1184
|
+
* @example
|
|
1185
|
+
* ### Basic usage
|
|
1186
|
+
*
|
|
1187
|
+
* ```tsx
|
|
1188
|
+
* import { useOrganizationCreationDefaults } from '@clerk/clerk-react'
|
|
1189
|
+
*
|
|
1190
|
+
* export default function CreateOrganizationForm() {
|
|
1191
|
+
* const { data, isLoading } = useOrganizationCreationDefaults()
|
|
1192
|
+
*
|
|
1193
|
+
* if (isLoading) return <div>Loading...</div>
|
|
1194
|
+
*
|
|
1195
|
+
* return (
|
|
1196
|
+
* <form>
|
|
1197
|
+
* <input defaultValue={data?.form.name} placeholder="Organization name" />
|
|
1198
|
+
* <input defaultValue={data?.form.slug} placeholder="Slug" />
|
|
1199
|
+
* <button type="submit">Create</button>
|
|
1200
|
+
* </form>
|
|
1201
|
+
* )
|
|
1202
|
+
* }
|
|
1203
|
+
* ```
|
|
1204
|
+
*/
|
|
1205
|
+
function useOrganizationCreationDefaults(params = {}) {
|
|
1206
|
+
useAssertWrappedByClerkProvider(HOOK_NAME$1);
|
|
1207
|
+
const { keepPreviousData = true, enabled = true } = params;
|
|
1208
|
+
const clerk = useClerkInstanceContext();
|
|
1209
|
+
const user = useUserBase();
|
|
1210
|
+
const featureEnabled = clerk.__internal_environment?.organizationSettings?.organizationCreationDefaults?.enabled ?? false;
|
|
1211
|
+
clerk.telemetry?.record(require_telemetry.eventMethodCalled(HOOK_NAME$1));
|
|
1212
|
+
const { queryKey } = useOrganizationCreationDefaultsCacheKeys({ userId: user?.id ?? null });
|
|
1213
|
+
const queryEnabled = Boolean(user) && enabled && featureEnabled && clerk.loaded;
|
|
1214
|
+
const query = useClerkQuery({
|
|
1215
|
+
queryKey,
|
|
1216
|
+
queryFn: user?.getOrganizationCreationDefaults,
|
|
1217
|
+
enabled: queryEnabled,
|
|
1218
|
+
placeholderData: defineKeepPreviousDataFn(keepPreviousData)
|
|
1219
|
+
});
|
|
1220
|
+
return {
|
|
1221
|
+
data: query.data,
|
|
1222
|
+
error: query.error ?? null,
|
|
1223
|
+
isLoading: query.isLoading,
|
|
1224
|
+
isFetching: query.isFetching
|
|
1225
|
+
};
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
//#endregion
|
|
1229
|
+
//#region src/react/hooks/useOrganizationList.tsx
|
|
1230
|
+
const undefinedPaginatedResource = {
|
|
1231
|
+
data: void 0,
|
|
1232
|
+
count: void 0,
|
|
1233
|
+
error: void 0,
|
|
1234
|
+
isLoading: false,
|
|
1235
|
+
isFetching: false,
|
|
1236
|
+
isError: false,
|
|
1237
|
+
page: void 0,
|
|
1238
|
+
pageCount: void 0,
|
|
1239
|
+
fetchPage: void 0,
|
|
1240
|
+
fetchNext: void 0,
|
|
1241
|
+
fetchPrevious: void 0,
|
|
1242
|
+
hasNextPage: false,
|
|
1243
|
+
hasPreviousPage: false,
|
|
1244
|
+
revalidate: void 0,
|
|
1245
|
+
setData: void 0
|
|
1246
|
+
};
|
|
1247
|
+
/**
|
|
1248
|
+
* The `useOrganizationList()` hook provides access to the current user's organization memberships, invitations, and suggestions. It also includes methods for creating new organizations and managing the active organization.
|
|
1249
|
+
*
|
|
1250
|
+
* @example
|
|
1251
|
+
* ### Expanding and paginating attributes
|
|
1252
|
+
*
|
|
1253
|
+
* To keep network usage to a minimum, developers are required to opt-in by specifying which resource they need to fetch and paginate through. So by default, the `userMemberships`, `userInvitations`, and `userSuggestions` attributes are not populated. You must pass true or an object with the desired properties to fetch and paginate the data.
|
|
1254
|
+
*
|
|
1255
|
+
* ```tsx
|
|
1256
|
+
* // userMemberships.data will never be populated
|
|
1257
|
+
* const { userMemberships } = useOrganizationList()
|
|
1258
|
+
*
|
|
1259
|
+
* // Use default values to fetch userMemberships, such as initialPage = 1 and pageSize = 10
|
|
1260
|
+
* const { userMemberships } = useOrganizationList({
|
|
1261
|
+
* userMemberships: true,
|
|
1262
|
+
* })
|
|
1263
|
+
*
|
|
1264
|
+
* // Pass your own values to fetch userMemberships
|
|
1265
|
+
* const { userMemberships } = useOrganizationList({
|
|
1266
|
+
* userMemberships: {
|
|
1267
|
+
* pageSize: 20,
|
|
1268
|
+
* initialPage: 2, // skips the first page
|
|
1269
|
+
* },
|
|
1270
|
+
* })
|
|
1271
|
+
*
|
|
1272
|
+
* // Aggregate pages in order to render an infinite list
|
|
1273
|
+
* const { userMemberships } = useOrganizationList({
|
|
1274
|
+
* userMemberships: {
|
|
1275
|
+
* infinite: true,
|
|
1276
|
+
* },
|
|
1277
|
+
* })
|
|
1278
|
+
* ```
|
|
1279
|
+
*
|
|
1280
|
+
* @example
|
|
1281
|
+
* ### Infinite pagination
|
|
1282
|
+
*
|
|
1283
|
+
* The following example demonstrates how to use the `infinite` property to fetch and append new data to the existing list. The `userMemberships` attribute will be populated with the first page of the user's Organization memberships. When the "Load more" button is clicked, the `fetchNext` helper function will be called to append the next page of memberships to the list.
|
|
1284
|
+
*
|
|
1285
|
+
* ```tsx {{ filename: 'src/components/JoinedOrganizations.tsx' }}
|
|
1286
|
+
* import { useOrganizationList } from '@clerk/react'
|
|
1287
|
+
* import React from 'react'
|
|
1288
|
+
*
|
|
1289
|
+
* const JoinedOrganizations = () => {
|
|
1290
|
+
* const { isLoaded, setActive, userMemberships } = useOrganizationList({
|
|
1291
|
+
* userMemberships: {
|
|
1292
|
+
* infinite: true,
|
|
1293
|
+
* },
|
|
1294
|
+
* })
|
|
1295
|
+
*
|
|
1296
|
+
* if (!isLoaded) {
|
|
1297
|
+
* return <>Loading</>
|
|
1298
|
+
* }
|
|
1299
|
+
*
|
|
1300
|
+
* return (
|
|
1301
|
+
* <>
|
|
1302
|
+
* <ul>
|
|
1303
|
+
* {userMemberships.data?.map((mem) => (
|
|
1304
|
+
* <li key={mem.id}>
|
|
1305
|
+
* <span>{mem.organization.name}</span>
|
|
1306
|
+
* <button onClick={() => setActive({ organization: mem.organization.id })}>Select</button>
|
|
1307
|
+
* </li>
|
|
1308
|
+
* ))}
|
|
1309
|
+
* </ul>
|
|
1310
|
+
*
|
|
1311
|
+
* <button disabled={!userMemberships.hasNextPage} onClick={() => userMemberships.fetchNext()}>
|
|
1312
|
+
* Load more
|
|
1313
|
+
* </button>
|
|
1314
|
+
* </>
|
|
1315
|
+
* )
|
|
1316
|
+
* }
|
|
1317
|
+
*
|
|
1318
|
+
* export default JoinedOrganizations
|
|
1319
|
+
* ```
|
|
1320
|
+
*
|
|
1321
|
+
* @example
|
|
1322
|
+
* ### Simple pagination
|
|
1323
|
+
*
|
|
1324
|
+
* The following example demonstrates how to use the `fetchPrevious` and `fetchNext` helper functions to paginate through the data. The `userInvitations` attribute will be populated with the first page of invitations. When the "Previous page" or "Next page" button is clicked, the `fetchPrevious` or `fetchNext` helper function will be called to fetch the previous or next page of invitations.
|
|
1325
|
+
*
|
|
1326
|
+
* Notice the difference between this example's pagination and the infinite pagination example above.
|
|
1327
|
+
*
|
|
1328
|
+
* ```tsx {{ filename: 'src/components/UserInvitationsTable.tsx' }}
|
|
1329
|
+
* import { useOrganizationList } from '@clerk/react'
|
|
1330
|
+
* import React from 'react'
|
|
1331
|
+
*
|
|
1332
|
+
* const UserInvitationsTable = () => {
|
|
1333
|
+
* const { isLoaded, userInvitations } = useOrganizationList({
|
|
1334
|
+
* userInvitations: {
|
|
1335
|
+
* infinite: true,
|
|
1336
|
+
* keepPreviousData: true,
|
|
1337
|
+
* },
|
|
1338
|
+
* })
|
|
1339
|
+
*
|
|
1340
|
+
* if (!isLoaded || userInvitations.isLoading) {
|
|
1341
|
+
* return <>Loading</>
|
|
1342
|
+
* }
|
|
1343
|
+
*
|
|
1344
|
+
* return (
|
|
1345
|
+
* <>
|
|
1346
|
+
* <table>
|
|
1347
|
+
* <thead>
|
|
1348
|
+
* <tr>
|
|
1349
|
+
* <th>Email</th>
|
|
1350
|
+
* <th>Org name</th>
|
|
1351
|
+
* </tr>
|
|
1352
|
+
* </thead>
|
|
1353
|
+
*
|
|
1354
|
+
* <tbody>
|
|
1355
|
+
* {userInvitations.data?.map((inv) => (
|
|
1356
|
+
* <tr key={inv.id}>
|
|
1357
|
+
* <th>{inv.emailAddress}</th>
|
|
1358
|
+
* <th>{inv.publicOrganizationData.name}</th>
|
|
1359
|
+
* </tr>
|
|
1360
|
+
* ))}
|
|
1361
|
+
* </tbody>
|
|
1362
|
+
* </table>
|
|
1363
|
+
*
|
|
1364
|
+
* <button disabled={!userInvitations.hasPreviousPage} onClick={userInvitations.fetchPrevious}>
|
|
1365
|
+
* Prev
|
|
1366
|
+
* </button>
|
|
1367
|
+
* <button disabled={!userInvitations.hasNextPage} onClick={userInvitations.fetchNext}>
|
|
1368
|
+
* Next
|
|
1369
|
+
* </button>
|
|
1370
|
+
* </>
|
|
1371
|
+
* )
|
|
1372
|
+
* }
|
|
1373
|
+
*
|
|
1374
|
+
* export default UserInvitationsTable
|
|
1375
|
+
* ```
|
|
1376
|
+
*/
|
|
1377
|
+
function useOrganizationList(params) {
|
|
1378
|
+
const { userMemberships, userInvitations, userSuggestions } = params || {};
|
|
1379
|
+
useAssertWrappedByClerkProvider("useOrganizationList");
|
|
1380
|
+
useAttemptToEnableOrganizations("useOrganizationList");
|
|
1381
|
+
const userMembershipsSafeValues = useWithSafeValues(userMemberships, {
|
|
1382
|
+
initialPage: 1,
|
|
1383
|
+
pageSize: 10,
|
|
1384
|
+
keepPreviousData: false,
|
|
1385
|
+
infinite: false
|
|
1386
|
+
});
|
|
1387
|
+
const userInvitationsSafeValues = useWithSafeValues(userInvitations, {
|
|
1388
|
+
initialPage: 1,
|
|
1389
|
+
pageSize: 10,
|
|
1390
|
+
status: "pending",
|
|
1391
|
+
keepPreviousData: false,
|
|
1392
|
+
infinite: false
|
|
1393
|
+
});
|
|
1394
|
+
const userSuggestionsSafeValues = useWithSafeValues(userSuggestions, {
|
|
1395
|
+
initialPage: 1,
|
|
1396
|
+
pageSize: 10,
|
|
1397
|
+
status: "pending",
|
|
1398
|
+
keepPreviousData: false,
|
|
1399
|
+
infinite: false
|
|
1400
|
+
});
|
|
1401
|
+
const clerk = useClerkInstanceContext();
|
|
1402
|
+
const user = useUserBase();
|
|
1403
|
+
clerk.telemetry?.record(require_telemetry.eventMethodCalled("useOrganizationList"));
|
|
1404
|
+
const userMembershipsParams = typeof userMemberships === "undefined" ? void 0 : {
|
|
1405
|
+
initialPage: userMembershipsSafeValues.initialPage,
|
|
1406
|
+
pageSize: userMembershipsSafeValues.pageSize
|
|
1407
|
+
};
|
|
1408
|
+
const userInvitationsParams = typeof userInvitations === "undefined" ? void 0 : {
|
|
1409
|
+
initialPage: userInvitationsSafeValues.initialPage,
|
|
1410
|
+
pageSize: userInvitationsSafeValues.pageSize,
|
|
1411
|
+
status: userInvitationsSafeValues.status
|
|
1412
|
+
};
|
|
1413
|
+
const userSuggestionsParams = typeof userSuggestions === "undefined" ? void 0 : {
|
|
1414
|
+
initialPage: userSuggestionsSafeValues.initialPage,
|
|
1415
|
+
pageSize: userSuggestionsSafeValues.pageSize,
|
|
1416
|
+
status: userSuggestionsSafeValues.status
|
|
1417
|
+
};
|
|
1418
|
+
const isClerkLoaded = !!(clerk.loaded && user);
|
|
1419
|
+
const memberships = usePagesOrInfinite({
|
|
1420
|
+
fetcher: user?.getOrganizationMemberships,
|
|
1421
|
+
config: {
|
|
1422
|
+
keepPreviousData: userMembershipsSafeValues.keepPreviousData,
|
|
1423
|
+
infinite: userMembershipsSafeValues.infinite,
|
|
1424
|
+
enabled: !!userMembershipsParams,
|
|
1425
|
+
isSignedIn: user !== null,
|
|
1426
|
+
initialPage: userMembershipsSafeValues.initialPage,
|
|
1427
|
+
pageSize: userMembershipsSafeValues.pageSize
|
|
1428
|
+
},
|
|
1429
|
+
keys: createCacheKeys({
|
|
1430
|
+
stablePrefix: STABLE_KEYS.USER_MEMBERSHIPS_KEY,
|
|
1431
|
+
authenticated: true,
|
|
1432
|
+
tracked: { userId: user?.id },
|
|
1433
|
+
untracked: { args: userMembershipsParams }
|
|
1434
|
+
})
|
|
1435
|
+
});
|
|
1436
|
+
const invitations = usePagesOrInfinite({
|
|
1437
|
+
fetcher: user?.getOrganizationInvitations,
|
|
1438
|
+
config: {
|
|
1439
|
+
keepPreviousData: userInvitationsSafeValues.keepPreviousData,
|
|
1440
|
+
infinite: userInvitationsSafeValues.infinite,
|
|
1441
|
+
enabled: !!userInvitationsParams,
|
|
1442
|
+
isSignedIn: user !== null,
|
|
1443
|
+
initialPage: userInvitationsSafeValues.initialPage,
|
|
1444
|
+
pageSize: userInvitationsSafeValues.pageSize
|
|
1445
|
+
},
|
|
1446
|
+
keys: createCacheKeys({
|
|
1447
|
+
stablePrefix: STABLE_KEYS.USER_INVITATIONS_KEY,
|
|
1448
|
+
authenticated: true,
|
|
1449
|
+
tracked: { userId: user?.id },
|
|
1450
|
+
untracked: { args: userInvitationsParams }
|
|
1451
|
+
})
|
|
1452
|
+
});
|
|
1453
|
+
const suggestions = usePagesOrInfinite({
|
|
1454
|
+
fetcher: user?.getOrganizationSuggestions,
|
|
1455
|
+
config: {
|
|
1456
|
+
keepPreviousData: userSuggestionsSafeValues.keepPreviousData,
|
|
1457
|
+
infinite: userSuggestionsSafeValues.infinite,
|
|
1458
|
+
enabled: !!userSuggestionsParams,
|
|
1459
|
+
isSignedIn: user !== null,
|
|
1460
|
+
initialPage: userSuggestionsSafeValues.initialPage,
|
|
1461
|
+
pageSize: userSuggestionsSafeValues.pageSize
|
|
1462
|
+
},
|
|
1463
|
+
keys: createCacheKeys({
|
|
1464
|
+
stablePrefix: STABLE_KEYS.USER_SUGGESTIONS_KEY,
|
|
1465
|
+
authenticated: true,
|
|
1466
|
+
tracked: { userId: user?.id },
|
|
1467
|
+
untracked: { args: userSuggestionsParams }
|
|
1468
|
+
})
|
|
1469
|
+
});
|
|
1470
|
+
if (!isClerkLoaded) return {
|
|
1471
|
+
isLoaded: false,
|
|
1472
|
+
createOrganization: void 0,
|
|
1473
|
+
setActive: void 0,
|
|
1474
|
+
userMemberships: undefinedPaginatedResource,
|
|
1475
|
+
userInvitations: undefinedPaginatedResource,
|
|
1476
|
+
userSuggestions: undefinedPaginatedResource
|
|
1477
|
+
};
|
|
1478
|
+
return {
|
|
1479
|
+
isLoaded: isClerkLoaded,
|
|
1480
|
+
setActive: clerk.setActive,
|
|
1481
|
+
createOrganization: clerk.createOrganization,
|
|
1482
|
+
userMemberships: memberships,
|
|
1483
|
+
userInvitations: invitations,
|
|
1484
|
+
userSuggestions: suggestions
|
|
1485
|
+
};
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
//#endregion
|
|
1489
|
+
//#region src/react/hooks/useSafeLayoutEffect.tsx
|
|
1490
|
+
/**
|
|
1491
|
+
* @internal
|
|
1492
|
+
*/
|
|
1493
|
+
const useSafeLayoutEffect = typeof window !== "undefined" ? react.default.useLayoutEffect : react.default.useEffect;
|
|
1494
|
+
|
|
1495
|
+
//#endregion
|
|
1496
|
+
//#region src/react/hooks/useSession.ts
|
|
1497
|
+
const hookName$2 = `useSession`;
|
|
1498
|
+
/**
|
|
1499
|
+
* The `useSession()` hook provides access to the current user's [`Session`](https://clerk.com/docs/reference/objects/session) object, as well as helpers for setting the active session.
|
|
1500
|
+
*
|
|
1501
|
+
* @unionReturnHeadings
|
|
1502
|
+
* ["Initialization", "Signed out", "Signed in"]
|
|
1503
|
+
*
|
|
1504
|
+
* @function
|
|
1505
|
+
*
|
|
1506
|
+
* @param [options] - An object containing options for the `useSession()` hook.
|
|
1507
|
+
* @example
|
|
1508
|
+
* ### Access the `Session` object
|
|
1509
|
+
*
|
|
1510
|
+
* The following example uses the `useSession()` hook to access the `Session` object, which has the `lastActiveAt` property. The `lastActiveAt` property is a `Date` object used to show the time the session was last active.
|
|
1511
|
+
*
|
|
1512
|
+
* <Tabs items='React,Next.js'>
|
|
1513
|
+
* <Tab>
|
|
1514
|
+
*
|
|
1515
|
+
* ```tsx {{ filename: 'src/Home.tsx' }}
|
|
1516
|
+
* import { useSession } from '@clerk/react'
|
|
1517
|
+
*
|
|
1518
|
+
* export default function Home() {
|
|
1519
|
+
* const { isLoaded, session, isSignedIn } = useSession()
|
|
1520
|
+
*
|
|
1521
|
+
* if (!isLoaded) {
|
|
1522
|
+
* // Handle loading state
|
|
1523
|
+
* return null
|
|
1524
|
+
* }
|
|
1525
|
+
* if (!isSignedIn) {
|
|
1526
|
+
* // Handle signed out state
|
|
1527
|
+
* return null
|
|
1528
|
+
* }
|
|
1529
|
+
*
|
|
1530
|
+
* return (
|
|
1531
|
+
* <div>
|
|
1532
|
+
* <p>This session has been active since {session.lastActiveAt.toLocaleString()}</p>
|
|
1533
|
+
* </div>
|
|
1534
|
+
* )
|
|
1535
|
+
* }
|
|
1536
|
+
* ```
|
|
1537
|
+
*
|
|
1538
|
+
* </Tab>
|
|
1539
|
+
* <Tab>
|
|
1540
|
+
*
|
|
1541
|
+
* {@include ../../../docs/use-session.md#nextjs-01}
|
|
1542
|
+
*
|
|
1543
|
+
* </Tab>
|
|
1544
|
+
* </Tabs>
|
|
1545
|
+
*/
|
|
1546
|
+
const useSession = () => {
|
|
1547
|
+
useAssertWrappedByClerkProvider(hookName$2);
|
|
1548
|
+
const session = useSessionBase();
|
|
1549
|
+
const clerk = useClerkInstanceContext();
|
|
1550
|
+
clerk.telemetry?.record(require_telemetry.eventMethodCalled(hookName$2));
|
|
1551
|
+
if (session === void 0) return {
|
|
1552
|
+
isLoaded: false,
|
|
1553
|
+
isSignedIn: void 0,
|
|
1554
|
+
session: void 0
|
|
1555
|
+
};
|
|
1556
|
+
if (session === null) return {
|
|
1557
|
+
isLoaded: true,
|
|
1558
|
+
isSignedIn: false,
|
|
1559
|
+
session: null
|
|
1560
|
+
};
|
|
1561
|
+
return {
|
|
1562
|
+
isLoaded: true,
|
|
1563
|
+
isSignedIn: clerk.isSignedIn,
|
|
1564
|
+
session
|
|
1565
|
+
};
|
|
1566
|
+
};
|
|
1567
|
+
|
|
1568
|
+
//#endregion
|
|
1569
|
+
//#region src/react/hooks/base/useClientBase.ts
|
|
1570
|
+
const initialSnapshot = void 0;
|
|
1571
|
+
const getInitialSnapshot = () => initialSnapshot;
|
|
1572
|
+
function useClientBase() {
|
|
1573
|
+
const clerk = useClerkInstanceContext();
|
|
1574
|
+
return (0, react.useSyncExternalStore)((0, react.useCallback)((callback) => clerk.addListener(callback, { skipInitialEmit: true }), [clerk]), (0, react.useCallback)(() => {
|
|
1575
|
+
if (!clerk.loaded || !clerk.__internal_lastEmittedResources) return initialSnapshot;
|
|
1576
|
+
return clerk.__internal_lastEmittedResources.client;
|
|
1577
|
+
}, [clerk]), getInitialSnapshot);
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
//#endregion
|
|
1581
|
+
//#region src/react/hooks/useSessionList.ts
|
|
1582
|
+
const hookName$1 = "useSessionList";
|
|
1583
|
+
/**
|
|
1584
|
+
* The `useSessionList()` hook returns an array of [`Session`](https://clerk.com/docs/reference/objects/session) objects that have been registered on the client device.
|
|
1585
|
+
*
|
|
1586
|
+
* @unionReturnHeadings
|
|
1587
|
+
* ["Initialization", "Loaded"]
|
|
1588
|
+
*
|
|
1589
|
+
* @function
|
|
1590
|
+
*
|
|
1591
|
+
* @example
|
|
1592
|
+
* ### Get a list of sessions
|
|
1593
|
+
*
|
|
1594
|
+
* The following example uses `useSessionList()` to get a list of sessions that have been registered on the client device. The `sessions` property is used to show the number of times the user has visited the page.
|
|
1595
|
+
*
|
|
1596
|
+
* <Tabs items='React,Next.js'>
|
|
1597
|
+
* <Tab>
|
|
1598
|
+
*
|
|
1599
|
+
* ```tsx {{ filename: 'src/Home.tsx' }}
|
|
1600
|
+
* import { useSessionList } from '@clerk/react'
|
|
1601
|
+
*
|
|
1602
|
+
* export default function Home() {
|
|
1603
|
+
* const { isLoaded, sessions } = useSessionList()
|
|
1604
|
+
*
|
|
1605
|
+
* if (!isLoaded) {
|
|
1606
|
+
* // Handle loading state
|
|
1607
|
+
* return null
|
|
1608
|
+
* }
|
|
1609
|
+
*
|
|
1610
|
+
* return (
|
|
1611
|
+
* <div>
|
|
1612
|
+
* <p>Welcome back. You've been here {sessions.length} times before.</p>
|
|
1613
|
+
* </div>
|
|
1614
|
+
* )
|
|
1615
|
+
* }
|
|
1616
|
+
* ```
|
|
1617
|
+
*
|
|
1618
|
+
* </Tab>
|
|
1619
|
+
* <Tab>
|
|
1620
|
+
*
|
|
1621
|
+
* {@include ../../../docs/use-session-list.md#nextjs-01}
|
|
1622
|
+
*
|
|
1623
|
+
* </Tab>
|
|
1624
|
+
* </Tabs>
|
|
1625
|
+
*/
|
|
1626
|
+
const useSessionList = () => {
|
|
1627
|
+
useAssertWrappedByClerkProvider(hookName$1);
|
|
1628
|
+
const isomorphicClerk = useClerkInstanceContext();
|
|
1629
|
+
const client = useClientBase();
|
|
1630
|
+
useClerkInstanceContext().telemetry?.record(require_telemetry.eventMethodCalled(hookName$1));
|
|
1631
|
+
if (!client) return {
|
|
1632
|
+
isLoaded: false,
|
|
1633
|
+
sessions: void 0,
|
|
1634
|
+
setActive: void 0
|
|
1635
|
+
};
|
|
1636
|
+
return {
|
|
1637
|
+
isLoaded: true,
|
|
1638
|
+
sessions: client.sessions,
|
|
1639
|
+
setActive: isomorphicClerk.setActive
|
|
1640
|
+
};
|
|
1641
|
+
};
|
|
1642
|
+
|
|
1643
|
+
//#endregion
|
|
1644
|
+
//#region src/react/hooks/useUser.ts
|
|
1645
|
+
const hookName = "useUser";
|
|
1646
|
+
/**
|
|
1647
|
+
* The `useUser()` hook provides access to the current user's [`User`](https://clerk.com/docs/reference/objects/user) object, which contains all the data for a single user in your application and provides methods to manage their account. This hook also allows you to check if the user is signed in and if Clerk has loaded and initialized.
|
|
1648
|
+
*
|
|
1649
|
+
* @unionReturnHeadings
|
|
1650
|
+
* ["Initialization", "Signed out", "Signed in"]
|
|
1651
|
+
*
|
|
1652
|
+
* @example
|
|
1653
|
+
* ### Get the current user
|
|
1654
|
+
*
|
|
1655
|
+
* The following example uses the `useUser()` hook to access the [`User`](https://clerk.com/docs/reference/objects/user) object, which contains the current user's data such as their full name. The `isLoaded` and `isSignedIn` properties are used to handle the loading state and to check if the user is signed in, respectively.
|
|
1656
|
+
*
|
|
1657
|
+
* ```tsx {{ filename: 'src/Example.tsx' }}
|
|
1658
|
+
* import { useUser } from '@clerk/react'
|
|
1659
|
+
*
|
|
1660
|
+
* export default function Example() {
|
|
1661
|
+
* const { isSignedIn, user, isLoaded } = useUser()
|
|
1662
|
+
*
|
|
1663
|
+
* if (!isLoaded) {
|
|
1664
|
+
* return <div>Loading...</div>
|
|
1665
|
+
* }
|
|
1666
|
+
*
|
|
1667
|
+
* if (!isSignedIn) {
|
|
1668
|
+
* return <div>Sign in to view this page</div>
|
|
1669
|
+
* }
|
|
1670
|
+
*
|
|
1671
|
+
* return <div>Hello {user.firstName}!</div>
|
|
1672
|
+
* }
|
|
1673
|
+
* ```
|
|
1674
|
+
*
|
|
1675
|
+
* @example
|
|
1676
|
+
* ### Update user data
|
|
1677
|
+
*
|
|
1678
|
+
* The following example uses the `useUser()` hook to access the [`User`](https://clerk.com/docs/reference/objects/user) object, which calls the [`update()`](https://clerk.com/docs/reference/objects/user#update) method to update the current user's information.
|
|
1679
|
+
*
|
|
1680
|
+
* <Tabs items='React,Next.js'>
|
|
1681
|
+
* <Tab>
|
|
1682
|
+
*
|
|
1683
|
+
* ```tsx {{ filename: 'src/Home.tsx' }}
|
|
1684
|
+
* import { useUser } from '@clerk/react'
|
|
1685
|
+
*
|
|
1686
|
+
* export default function Home() {
|
|
1687
|
+
* const { isSignedIn, isLoaded, user } = useUser()
|
|
1688
|
+
*
|
|
1689
|
+
* if (!isLoaded) {
|
|
1690
|
+
* // Handle loading state
|
|
1691
|
+
* return null
|
|
1692
|
+
* }
|
|
1693
|
+
*
|
|
1694
|
+
* if (!isSignedIn) return null
|
|
1695
|
+
*
|
|
1696
|
+
* const updateUser = async () => {
|
|
1697
|
+
* await user.update({
|
|
1698
|
+
* firstName: 'John',
|
|
1699
|
+
* lastName: 'Doe',
|
|
1700
|
+
* })
|
|
1701
|
+
* }
|
|
1702
|
+
*
|
|
1703
|
+
* return (
|
|
1704
|
+
* <>
|
|
1705
|
+
* <button onClick={updateUser}>Update your name</button>
|
|
1706
|
+
* <p>user.firstName: {user.firstName}</p>
|
|
1707
|
+
* <p>user.lastName: {user.lastName}</p>
|
|
1708
|
+
* </>
|
|
1709
|
+
* )
|
|
1710
|
+
* }
|
|
1711
|
+
* ```
|
|
1712
|
+
* </Tab>
|
|
1713
|
+
* <Tab>
|
|
1714
|
+
*
|
|
1715
|
+
* {@include ../../../docs/use-user.md#nextjs-01}
|
|
1716
|
+
*
|
|
1717
|
+
* </Tab>
|
|
1718
|
+
* </Tabs>
|
|
1719
|
+
*
|
|
1720
|
+
* @example
|
|
1721
|
+
* ### Reload user data
|
|
1722
|
+
*
|
|
1723
|
+
* The following example uses the `useUser()` hook to access the [`User`](https://clerk.com/docs/reference/objects/user) object, which calls the [`reload()`](https://clerk.com/docs/reference/objects/user#reload) method to get the latest user's information.
|
|
1724
|
+
*
|
|
1725
|
+
* <Tabs items='React,Next.js'>
|
|
1726
|
+
* <Tab>
|
|
1727
|
+
*
|
|
1728
|
+
* ```tsx {{ filename: 'src/Home.tsx' }}
|
|
1729
|
+
* import { useUser } from '@clerk/react'
|
|
1730
|
+
*
|
|
1731
|
+
* export default function Home() {
|
|
1732
|
+
* const { isSignedIn, isLoaded, user } = useUser();
|
|
1733
|
+
*
|
|
1734
|
+
* if (!isLoaded) {
|
|
1735
|
+
* // Handle loading state
|
|
1736
|
+
* return null;
|
|
1737
|
+
* }
|
|
1738
|
+
*
|
|
1739
|
+
* if (!isSignedIn) return null;
|
|
1740
|
+
*
|
|
1741
|
+
* const updateUser = async () => {
|
|
1742
|
+
* // Update data via an API endpoint
|
|
1743
|
+
* const updateMetadata = await fetch('/api/updateMetadata', {
|
|
1744
|
+
* method: 'POST',
|
|
1745
|
+
* body: JSON.stringify({
|
|
1746
|
+
* role: 'admin'
|
|
1747
|
+
* })
|
|
1748
|
+
* });
|
|
1749
|
+
*
|
|
1750
|
+
* // Check if the update was successful
|
|
1751
|
+
* if ((await updateMetadata.json()).message !== 'success') {
|
|
1752
|
+
* throw new Error('Error updating');
|
|
1753
|
+
* }
|
|
1754
|
+
*
|
|
1755
|
+
* // If the update was successful, reload the user data
|
|
1756
|
+
* await user.reload();
|
|
1757
|
+
* };
|
|
1758
|
+
*
|
|
1759
|
+
* return (
|
|
1760
|
+
* <>
|
|
1761
|
+
* <button onClick={updateUser}>Update your metadata</button>
|
|
1762
|
+
* <p>user role: {user.publicMetadata.role}</p>
|
|
1763
|
+
* </>
|
|
1764
|
+
* );
|
|
1765
|
+
* }
|
|
1766
|
+
* ```
|
|
1767
|
+
*
|
|
1768
|
+
* </Tab>
|
|
1769
|
+
* <Tab>
|
|
1770
|
+
*
|
|
1771
|
+
* {@include ../../../docs/use-user.md#nextjs-02}
|
|
1772
|
+
*
|
|
1773
|
+
* </Tab>
|
|
1774
|
+
* </Tabs>
|
|
1775
|
+
*/
|
|
1776
|
+
function useUser() {
|
|
1777
|
+
useAssertWrappedByClerkProvider(hookName);
|
|
1778
|
+
const user = useUserBase();
|
|
1779
|
+
useClerkInstanceContext().telemetry?.record(require_telemetry.eventMethodCalled(hookName));
|
|
1780
|
+
if (user === void 0) return {
|
|
1781
|
+
isLoaded: false,
|
|
1782
|
+
isSignedIn: void 0,
|
|
1783
|
+
user: void 0
|
|
1784
|
+
};
|
|
1785
|
+
if (user === null) return {
|
|
1786
|
+
isLoaded: true,
|
|
1787
|
+
isSignedIn: false,
|
|
1788
|
+
user: null
|
|
1789
|
+
};
|
|
1790
|
+
return {
|
|
1791
|
+
isLoaded: true,
|
|
1792
|
+
isSignedIn: true,
|
|
1793
|
+
user
|
|
1794
|
+
};
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
//#endregion
|
|
1798
|
+
//#region src/react/hooks/useDeepEqualMemo.ts
|
|
1799
|
+
const useDeepEqualMemoize = (value) => {
|
|
1800
|
+
const ref = react.default.useRef(value);
|
|
1801
|
+
if (!(0, dequal.dequal)(value, ref.current)) ref.current = value;
|
|
1802
|
+
return react.default.useMemo(() => ref.current, [ref.current]);
|
|
1803
|
+
};
|
|
1804
|
+
/**
|
|
1805
|
+
* @internal
|
|
1806
|
+
*/
|
|
1807
|
+
const useDeepEqualMemo = (factory, dependencyArray) => {
|
|
1808
|
+
return react.default.useMemo(factory, useDeepEqualMemoize(dependencyArray));
|
|
1809
|
+
};
|
|
1810
|
+
/**
|
|
1811
|
+
* @internal
|
|
1812
|
+
*/
|
|
1813
|
+
const isDeeplyEqual = dequal.dequal;
|
|
1814
|
+
|
|
1815
|
+
//#endregion
|
|
1816
|
+
//#region src/react/hooks/useReverification.ts
|
|
1817
|
+
const CLERK_API_REVERIFICATION_ERROR_CODE = "session_reverification_required";
|
|
1818
|
+
/**
|
|
1819
|
+
*
|
|
1820
|
+
*/
|
|
1821
|
+
async function resolveResult(result) {
|
|
1822
|
+
try {
|
|
1823
|
+
const r = await result;
|
|
1824
|
+
if (r instanceof Response) return r.json();
|
|
1825
|
+
return r;
|
|
1826
|
+
} catch (e) {
|
|
1827
|
+
if (require_error.isClerkAPIResponseError(e) && e.errors.find(({ code }) => code === CLERK_API_REVERIFICATION_ERROR_CODE)) return require_authorization_errors.reverificationError();
|
|
1828
|
+
throw e;
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
/**
|
|
1832
|
+
*
|
|
1833
|
+
*/
|
|
1834
|
+
function createReverificationHandler(params) {
|
|
1835
|
+
/**
|
|
1836
|
+
*
|
|
1837
|
+
*/
|
|
1838
|
+
function assertReverification(fetcher) {
|
|
1839
|
+
return (async (...args) => {
|
|
1840
|
+
let result = await resolveResult(fetcher(...args));
|
|
1841
|
+
if (require_authorization_errors.isReverificationHint(result)) {
|
|
1842
|
+
/**
|
|
1843
|
+
* Create a promise
|
|
1844
|
+
*/
|
|
1845
|
+
const resolvers = require_createDeferredPromise.createDeferredPromise();
|
|
1846
|
+
const isValidMetadata = require_authorization.validateReverificationConfig(result.clerk_error.metadata?.reverification);
|
|
1847
|
+
const level = isValidMetadata ? isValidMetadata().level : void 0;
|
|
1848
|
+
const cancel = () => {
|
|
1849
|
+
resolvers.reject(new require_clerkRuntimeError.ClerkRuntimeError("User cancelled attempted verification", { code: "reverification_cancelled" }));
|
|
1850
|
+
};
|
|
1851
|
+
const complete = () => {
|
|
1852
|
+
resolvers.resolve(true);
|
|
1853
|
+
};
|
|
1854
|
+
if (params.onNeedsReverification === void 0)
|
|
1855
|
+
/**
|
|
1856
|
+
* On success resolve the pending promise
|
|
1857
|
+
* On cancel reject the pending promise
|
|
1858
|
+
*/
|
|
1859
|
+
params.openUIComponent?.({
|
|
1860
|
+
level,
|
|
1861
|
+
afterVerification: complete,
|
|
1862
|
+
afterVerificationCancelled: cancel
|
|
1863
|
+
});
|
|
1864
|
+
else params.onNeedsReverification({
|
|
1865
|
+
cancel,
|
|
1866
|
+
complete,
|
|
1867
|
+
level
|
|
1868
|
+
});
|
|
1869
|
+
/**
|
|
1870
|
+
* Wait until the promise from above have been resolved or rejected
|
|
1871
|
+
*/
|
|
1872
|
+
await resolvers.promise;
|
|
1873
|
+
/**
|
|
1874
|
+
* After the promise resolved successfully try the original request one more time
|
|
1875
|
+
*/
|
|
1876
|
+
result = await resolveResult(fetcher(...args));
|
|
1877
|
+
}
|
|
1878
|
+
return result;
|
|
1879
|
+
});
|
|
1880
|
+
}
|
|
1881
|
+
return assertReverification;
|
|
1882
|
+
}
|
|
1883
|
+
/**
|
|
1884
|
+
* > [!WARNING]
|
|
1885
|
+
* >
|
|
1886
|
+
* > Depending on the SDK you're using, this feature requires `@clerk/nextjs@6.12.7` or later, `@clerk/react@5.25.1` or later, and `@clerk/clerk-js@5.57.1` or later.
|
|
1887
|
+
*
|
|
1888
|
+
* The `useReverification()` hook is used to handle a session's reverification flow. If a request requires reverification, a modal will display, prompting the user to verify their credentials. Upon successful verification, the original request will automatically retry.
|
|
1889
|
+
*
|
|
1890
|
+
* @function
|
|
1891
|
+
*
|
|
1892
|
+
* @returns The `useReverification()` hook returns an array with the "enhanced" fetcher.
|
|
1893
|
+
*
|
|
1894
|
+
* @example
|
|
1895
|
+
* ### Handle cancellation of the reverification process
|
|
1896
|
+
*
|
|
1897
|
+
* The following example demonstrates how to handle scenarios where a user cancels the reverification flow, such as closing the modal, which might result in `myData` being `null`.
|
|
1898
|
+
*
|
|
1899
|
+
* In the following example, `myFetcher` would be a function in your backend that fetches data from the route that requires reverification. See the [guide on how to require reverification](https://clerk.com/docs/guides/secure/reverification) for more information.
|
|
1900
|
+
*
|
|
1901
|
+
* ```tsx {{ filename: 'src/components/MyButton.tsx' }}
|
|
1902
|
+
* import { useReverification } from '@clerk/react'
|
|
1903
|
+
* import { isReverificationCancelledError } from '@clerk/react/error'
|
|
1904
|
+
*
|
|
1905
|
+
* type MyData = {
|
|
1906
|
+
* balance: number
|
|
1907
|
+
* }
|
|
1908
|
+
*
|
|
1909
|
+
* export function MyButton() {
|
|
1910
|
+
* const fetchMyData = () => fetch('/api/balance').then(res=> res.json() as Promise<MyData>)
|
|
1911
|
+
* const enhancedFetcher = useReverification(fetchMyData);
|
|
1912
|
+
*
|
|
1913
|
+
* const handleClick = async () => {
|
|
1914
|
+
* try {
|
|
1915
|
+
* const myData = await enhancedFetcher()
|
|
1916
|
+
* // ^ is types as `MyData`
|
|
1917
|
+
* } catch (e) {
|
|
1918
|
+
* // Handle error returned from the fetcher here
|
|
1919
|
+
*
|
|
1920
|
+
* // You can also handle cancellation with the following
|
|
1921
|
+
* if (isReverificationCancelledError(err)) {
|
|
1922
|
+
* // Handle the cancellation error here
|
|
1923
|
+
* }
|
|
1924
|
+
* }
|
|
1925
|
+
* }
|
|
1926
|
+
*
|
|
1927
|
+
* return <button onClick={handleClick}>Update User</button>
|
|
1928
|
+
* }
|
|
1929
|
+
* ```
|
|
1930
|
+
*/
|
|
1931
|
+
const useReverification = (fetcher, options) => {
|
|
1932
|
+
const { __internal_openReverification, telemetry } = useClerk();
|
|
1933
|
+
const fetcherRef = (0, react.useRef)(fetcher);
|
|
1934
|
+
const optionsRef = (0, react.useRef)(options);
|
|
1935
|
+
telemetry?.record(require_telemetry.eventMethodCalled("useReverification", { onNeedsReverification: Boolean(options?.onNeedsReverification) }));
|
|
1936
|
+
useSafeLayoutEffect(() => {
|
|
1937
|
+
fetcherRef.current = fetcher;
|
|
1938
|
+
optionsRef.current = options;
|
|
1939
|
+
});
|
|
1940
|
+
return (0, react.useCallback)((...args) => {
|
|
1941
|
+
return createReverificationHandler({
|
|
1942
|
+
openUIComponent: __internal_openReverification,
|
|
1943
|
+
telemetry,
|
|
1944
|
+
...optionsRef.current
|
|
1945
|
+
})(fetcherRef.current)(...args);
|
|
1946
|
+
}, [__internal_openReverification, telemetry]);
|
|
1947
|
+
};
|
|
1948
|
+
|
|
1949
|
+
//#endregion
|
|
1950
|
+
//#region src/react/hooks/useBillingIsEnabled.ts
|
|
1951
|
+
/**
|
|
1952
|
+
* @internal
|
|
1953
|
+
*/
|
|
1954
|
+
function useBillingIsEnabled(params) {
|
|
1955
|
+
const clerk = useClerkInstanceContext();
|
|
1956
|
+
const enabledFromParam = params?.enabled ?? true;
|
|
1957
|
+
const environment = clerk.__internal_environment;
|
|
1958
|
+
const user = useUserBase();
|
|
1959
|
+
const organization = useOrganizationBase();
|
|
1960
|
+
const userBillingEnabled = environment?.commerceSettings.billing.user.enabled;
|
|
1961
|
+
const orgBillingEnabled = environment?.commerceSettings.billing.organization.enabled;
|
|
1962
|
+
const billingEnabled = params?.for === "organization" ? orgBillingEnabled : params?.for === "user" ? userBillingEnabled : userBillingEnabled || orgBillingEnabled;
|
|
1963
|
+
const isOrganization = params?.for === "organization";
|
|
1964
|
+
const requireUserAndOrganizationWhenAuthenticated = params?.authenticated ?? true ? (isOrganization ? Boolean(organization?.id) : true) && Boolean(user?.id) : true;
|
|
1965
|
+
return billingEnabled && enabledFromParam && clerk.loaded && requireUserAndOrganizationWhenAuthenticated;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
//#endregion
|
|
1969
|
+
//#region src/react/hooks/createBillingPaginatedHook.tsx
|
|
1970
|
+
/**
|
|
1971
|
+
* A hook factory that creates paginated data fetching hooks for commerce-related resources.
|
|
1972
|
+
* It provides a standardized way to create hooks that can fetch either user or Organization resources
|
|
1973
|
+
* with built-in pagination support.
|
|
1974
|
+
*
|
|
1975
|
+
* The generated hooks handle:
|
|
1976
|
+
* - Clerk authentication context
|
|
1977
|
+
* - Resource-specific data fetching
|
|
1978
|
+
* - Pagination (both traditional and infinite scroll)
|
|
1979
|
+
* - Telemetry tracking
|
|
1980
|
+
* - Type safety for the specific resource.
|
|
1981
|
+
*
|
|
1982
|
+
* @internal
|
|
1983
|
+
*/
|
|
1984
|
+
function createBillingPaginatedHook({ hookName: hookName$3, resourceType, useFetcher, options }) {
|
|
1985
|
+
return function useBillingHook(params) {
|
|
1986
|
+
const { for: _for, enabled: externalEnabled,...paginationParams } = params || {};
|
|
1987
|
+
const safeFor = _for || "user";
|
|
1988
|
+
useAssertWrappedByClerkProvider(hookName$3);
|
|
1989
|
+
const fetchFn = useFetcher(safeFor);
|
|
1990
|
+
const safeValues = useWithSafeValues(paginationParams, {
|
|
1991
|
+
initialPage: 1,
|
|
1992
|
+
pageSize: 10,
|
|
1993
|
+
keepPreviousData: false,
|
|
1994
|
+
infinite: false,
|
|
1995
|
+
__experimental_mode: void 0
|
|
1996
|
+
});
|
|
1997
|
+
const clerk = useClerkInstanceContext();
|
|
1998
|
+
const user = useUserBase();
|
|
1999
|
+
const organization = useOrganizationBase();
|
|
2000
|
+
clerk.telemetry?.record(require_telemetry.eventMethodCalled(hookName$3));
|
|
2001
|
+
const isForOrganization = safeFor === "organization";
|
|
2002
|
+
const billingEnabled = useBillingIsEnabled({
|
|
2003
|
+
for: safeFor,
|
|
2004
|
+
enabled: externalEnabled,
|
|
2005
|
+
authenticated: !options?.unauthenticated
|
|
2006
|
+
});
|
|
2007
|
+
const hookParams = typeof paginationParams === "undefined" ? void 0 : {
|
|
2008
|
+
initialPage: safeValues.initialPage,
|
|
2009
|
+
pageSize: safeValues.pageSize,
|
|
2010
|
+
...options?.unauthenticated ? {} : isForOrganization ? { orgId: organization?.id } : {}
|
|
2011
|
+
};
|
|
2012
|
+
const isEnabled = !!hookParams && clerk.loaded && !!billingEnabled;
|
|
2013
|
+
return usePagesOrInfinite({
|
|
2014
|
+
fetcher: fetchFn,
|
|
2015
|
+
config: {
|
|
2016
|
+
keepPreviousData: safeValues.keepPreviousData,
|
|
2017
|
+
infinite: safeValues.infinite,
|
|
2018
|
+
enabled: isEnabled,
|
|
2019
|
+
...options?.unauthenticated ? {} : { isSignedIn: user !== null },
|
|
2020
|
+
__experimental_mode: safeValues.__experimental_mode,
|
|
2021
|
+
initialPage: safeValues.initialPage,
|
|
2022
|
+
pageSize: safeValues.pageSize
|
|
2023
|
+
},
|
|
2024
|
+
keys: createCacheKeys({
|
|
2025
|
+
stablePrefix: resourceType,
|
|
2026
|
+
authenticated: !options?.unauthenticated,
|
|
2027
|
+
tracked: options?.unauthenticated ? { for: safeFor } : {
|
|
2028
|
+
userId: user?.id,
|
|
2029
|
+
...isForOrganization ? { orgId: organization?.id } : {}
|
|
2030
|
+
},
|
|
2031
|
+
untracked: { args: hookParams }
|
|
2032
|
+
})
|
|
2033
|
+
});
|
|
2034
|
+
};
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
//#endregion
|
|
2038
|
+
//#region src/react/hooks/useStatements.tsx
|
|
2039
|
+
/**
|
|
2040
|
+
* @internal
|
|
2041
|
+
*/
|
|
2042
|
+
const useStatements = createBillingPaginatedHook({
|
|
2043
|
+
hookName: "useStatements",
|
|
2044
|
+
resourceType: STABLE_KEYS.STATEMENTS_KEY,
|
|
2045
|
+
useFetcher: () => {
|
|
2046
|
+
const clerk = useClerkInstanceContext();
|
|
2047
|
+
if (clerk.loaded) return clerk.billing.getStatements;
|
|
2048
|
+
}
|
|
2049
|
+
});
|
|
2050
|
+
|
|
2051
|
+
//#endregion
|
|
2052
|
+
//#region src/react/hooks/usePaymentAttempts.tsx
|
|
2053
|
+
/**
|
|
2054
|
+
* @internal
|
|
2055
|
+
*/
|
|
2056
|
+
const usePaymentAttempts = createBillingPaginatedHook({
|
|
2057
|
+
hookName: "usePaymentAttempts",
|
|
2058
|
+
resourceType: STABLE_KEYS.PAYMENT_ATTEMPTS_KEY,
|
|
2059
|
+
useFetcher: () => {
|
|
2060
|
+
const clerk = useClerkInstanceContext();
|
|
2061
|
+
if (clerk.loaded) return clerk.billing.getPaymentAttempts;
|
|
2062
|
+
}
|
|
2063
|
+
});
|
|
2064
|
+
|
|
2065
|
+
//#endregion
|
|
2066
|
+
//#region src/react/hooks/usePaymentMethods.tsx
|
|
2067
|
+
/**
|
|
2068
|
+
* @internal
|
|
2069
|
+
*/
|
|
2070
|
+
const usePaymentMethods = createBillingPaginatedHook({
|
|
2071
|
+
hookName: "usePaymentMethods",
|
|
2072
|
+
resourceType: STABLE_KEYS.PAYMENT_METHODS_KEY,
|
|
2073
|
+
useFetcher: (resource) => {
|
|
2074
|
+
const organization = useOrganizationBase();
|
|
2075
|
+
const user = useUserBase();
|
|
2076
|
+
if (resource === "organization") return organization?.getPaymentMethods;
|
|
2077
|
+
return user?.getPaymentMethods;
|
|
2078
|
+
}
|
|
2079
|
+
});
|
|
2080
|
+
|
|
2081
|
+
//#endregion
|
|
2082
|
+
//#region src/react/hooks/usePlans.tsx
|
|
2083
|
+
/**
|
|
2084
|
+
* @internal
|
|
2085
|
+
*/
|
|
2086
|
+
const usePlans = createBillingPaginatedHook({
|
|
2087
|
+
hookName: "usePlans",
|
|
2088
|
+
resourceType: STABLE_KEYS.PLANS_KEY,
|
|
2089
|
+
useFetcher: (_for) => {
|
|
2090
|
+
const clerk = useClerkInstanceContext();
|
|
2091
|
+
if (!clerk.loaded) return;
|
|
2092
|
+
return (params) => clerk.billing.getPlans({
|
|
2093
|
+
...params,
|
|
2094
|
+
for: _for
|
|
2095
|
+
});
|
|
2096
|
+
},
|
|
2097
|
+
options: { unauthenticated: true }
|
|
2098
|
+
});
|
|
2099
|
+
|
|
2100
|
+
//#endregion
|
|
2101
|
+
//#region src/react/hooks/useSubscription.shared.ts
|
|
2102
|
+
function useSubscriptionCacheKeys(params) {
|
|
2103
|
+
const { userId, orgId, for: forType } = params;
|
|
2104
|
+
return (0, react.useMemo)(() => {
|
|
2105
|
+
const safeOrgId = forType === "organization" ? orgId : void 0;
|
|
2106
|
+
return createCacheKeys({
|
|
2107
|
+
stablePrefix: STABLE_KEYS.SUBSCRIPTION_KEY,
|
|
2108
|
+
authenticated: true,
|
|
2109
|
+
tracked: {
|
|
2110
|
+
userId,
|
|
2111
|
+
orgId: safeOrgId
|
|
2112
|
+
},
|
|
2113
|
+
untracked: { args: { orgId: safeOrgId } }
|
|
2114
|
+
});
|
|
2115
|
+
}, [
|
|
2116
|
+
userId,
|
|
2117
|
+
orgId,
|
|
2118
|
+
forType
|
|
2119
|
+
]);
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
//#endregion
|
|
2123
|
+
//#region src/react/hooks/useSubscription.tsx
|
|
2124
|
+
const HOOK_NAME = "useSubscription";
|
|
2125
|
+
/**
|
|
2126
|
+
* @internal
|
|
2127
|
+
*/
|
|
2128
|
+
function useSubscription(params) {
|
|
2129
|
+
useAssertWrappedByClerkProvider(HOOK_NAME);
|
|
2130
|
+
const clerk = useClerkInstanceContext();
|
|
2131
|
+
const user = useUserBase();
|
|
2132
|
+
const organization = useOrganizationBase();
|
|
2133
|
+
const billingEnabled = useBillingIsEnabled(params);
|
|
2134
|
+
const recordedRef = (0, react.useRef)(false);
|
|
2135
|
+
(0, react.useEffect)(() => {
|
|
2136
|
+
if (!recordedRef.current && clerk?.telemetry) {
|
|
2137
|
+
clerk.telemetry.record(require_telemetry.eventMethodCalled(HOOK_NAME));
|
|
2138
|
+
recordedRef.current = true;
|
|
2139
|
+
}
|
|
2140
|
+
}, [clerk]);
|
|
2141
|
+
const keepPreviousData = params?.keepPreviousData ?? false;
|
|
2142
|
+
const [queryClient] = useClerkQueryClient();
|
|
2143
|
+
const { queryKey, invalidationKey, stableKey, authenticated } = useSubscriptionCacheKeys({
|
|
2144
|
+
userId: user?.id,
|
|
2145
|
+
orgId: organization?.id,
|
|
2146
|
+
for: params?.for
|
|
2147
|
+
});
|
|
2148
|
+
const queriesEnabled = Boolean(user?.id && billingEnabled);
|
|
2149
|
+
useClearQueriesOnSignOut({
|
|
2150
|
+
isSignedOut: user === null,
|
|
2151
|
+
authenticated,
|
|
2152
|
+
stableKeys: stableKey
|
|
2153
|
+
});
|
|
2154
|
+
const query = useClerkQuery({
|
|
2155
|
+
queryKey,
|
|
2156
|
+
queryFn: ({ queryKey: queryKey$1 }) => {
|
|
2157
|
+
const obj = queryKey$1[3];
|
|
2158
|
+
return clerk.billing.getSubscription(obj.args);
|
|
2159
|
+
},
|
|
2160
|
+
staleTime: 1e3 * 60,
|
|
2161
|
+
enabled: queriesEnabled,
|
|
2162
|
+
placeholderData: defineKeepPreviousDataFn(keepPreviousData && queriesEnabled)
|
|
2163
|
+
});
|
|
2164
|
+
const revalidate = (0, react.useCallback)(() => queryClient.invalidateQueries({ queryKey: invalidationKey }), [queryClient, invalidationKey]);
|
|
2165
|
+
return {
|
|
2166
|
+
data: query.data,
|
|
2167
|
+
error: query.error ?? void 0,
|
|
2168
|
+
isLoading: query.isLoading,
|
|
2169
|
+
isFetching: query.isFetching,
|
|
2170
|
+
revalidate
|
|
2171
|
+
};
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
//#endregion
|
|
2175
|
+
//#region src/react/hooks/useCheckout.ts
|
|
2176
|
+
/**
|
|
2177
|
+
* @function
|
|
2178
|
+
*
|
|
2179
|
+
* @param [options] - An object containing the configuration for the checkout flow.
|
|
2180
|
+
*
|
|
2181
|
+
* **Required** if the hook is used without a `<CheckoutProvider />` wrapping the component tree.
|
|
2182
|
+
*/
|
|
2183
|
+
const useCheckout = (options) => {
|
|
2184
|
+
const contextOptions = useCheckoutContext();
|
|
2185
|
+
const { for: forOrganization, planId, planPeriod } = options || contextOptions;
|
|
2186
|
+
const organization = useOrganizationBase();
|
|
2187
|
+
const { isLoaded, user } = useUser();
|
|
2188
|
+
const clerk = useClerkInstanceContext();
|
|
2189
|
+
if (user === null && isLoaded) throw new Error("Clerk: Ensure that `useCheckout` is inside a component wrapped with `<Show when=\"signed-in\" />`.");
|
|
2190
|
+
if (isLoaded && forOrganization === "organization" && organization === null) throw new Error("Clerk: Ensure your flow checks for an active organization. Retrieve `orgId` from `useAuth()` and confirm it is defined. For SSR, see: https://clerk.com/docs/reference/backend/types/auth-object#how-to-access-the-auth-object");
|
|
2191
|
+
const signal = (0, react.useCallback)(() => {
|
|
2192
|
+
return clerk.__experimental_checkout({
|
|
2193
|
+
planId,
|
|
2194
|
+
planPeriod,
|
|
2195
|
+
for: forOrganization
|
|
2196
|
+
});
|
|
2197
|
+
}, [
|
|
2198
|
+
user?.id,
|
|
2199
|
+
organization?.id,
|
|
2200
|
+
planId,
|
|
2201
|
+
planPeriod,
|
|
2202
|
+
forOrganization
|
|
2203
|
+
]);
|
|
2204
|
+
const subscribe = (0, react.useCallback)((callback) => {
|
|
2205
|
+
if (!clerk.loaded) return () => {};
|
|
2206
|
+
return clerk.__internal_state.__internal_effect(() => {
|
|
2207
|
+
signal();
|
|
2208
|
+
callback();
|
|
2209
|
+
});
|
|
2210
|
+
}, [
|
|
2211
|
+
signal,
|
|
2212
|
+
clerk.loaded,
|
|
2213
|
+
clerk.__internal_state
|
|
2214
|
+
]);
|
|
2215
|
+
const getSnapshot = (0, react.useCallback)(() => {
|
|
2216
|
+
return signal();
|
|
2217
|
+
}, [signal]);
|
|
2218
|
+
return (0, react.useSyncExternalStore)(subscribe, getSnapshot, getSnapshot);
|
|
2219
|
+
};
|
|
2220
|
+
|
|
2221
|
+
//#endregion
|
|
2222
|
+
//#region src/react/hooks/useStatementQuery.shared.ts
|
|
2223
|
+
function useStatementQueryCacheKeys(params) {
|
|
2224
|
+
const { statementId, userId, orgId, for: forType } = params;
|
|
2225
|
+
return (0, react.useMemo)(() => {
|
|
2226
|
+
return createCacheKeys({
|
|
2227
|
+
stablePrefix: INTERNAL_STABLE_KEYS.BILLING_STATEMENTS_KEY,
|
|
2228
|
+
authenticated: true,
|
|
2229
|
+
tracked: {
|
|
2230
|
+
statementId,
|
|
2231
|
+
forType,
|
|
2232
|
+
userId,
|
|
2233
|
+
orgId
|
|
2234
|
+
},
|
|
2235
|
+
untracked: { args: {
|
|
2236
|
+
id: statementId ?? void 0,
|
|
2237
|
+
orgId: orgId ?? void 0
|
|
2238
|
+
} }
|
|
2239
|
+
});
|
|
2240
|
+
}, [
|
|
2241
|
+
statementId,
|
|
2242
|
+
forType,
|
|
2243
|
+
userId,
|
|
2244
|
+
orgId
|
|
2245
|
+
]);
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
//#endregion
|
|
2249
|
+
//#region src/react/hooks/useStatementQuery.tsx
|
|
2250
|
+
/**
|
|
2251
|
+
* @internal
|
|
2252
|
+
*/
|
|
2253
|
+
function useStatementQuery(params = {}) {
|
|
2254
|
+
const { statementId = null, keepPreviousData = false, for: forType = "user" } = params;
|
|
2255
|
+
const clerk = useClerkInstanceContext();
|
|
2256
|
+
const user = useUserBase();
|
|
2257
|
+
const organization = useOrganizationBase();
|
|
2258
|
+
const organizationId = forType === "organization" ? organization?.id ?? null : null;
|
|
2259
|
+
const { queryKey, stableKey, authenticated } = useStatementQueryCacheKeys({
|
|
2260
|
+
statementId,
|
|
2261
|
+
userId: user?.id ?? null,
|
|
2262
|
+
orgId: organizationId,
|
|
2263
|
+
for: forType
|
|
2264
|
+
});
|
|
2265
|
+
const billingEnabled = useBillingIsEnabled(params);
|
|
2266
|
+
const queryEnabled = Boolean(statementId) && billingEnabled;
|
|
2267
|
+
useClearQueriesOnSignOut({
|
|
2268
|
+
isSignedOut: user === null,
|
|
2269
|
+
authenticated,
|
|
2270
|
+
stableKeys: stableKey
|
|
2271
|
+
});
|
|
2272
|
+
const query = useClerkQuery({
|
|
2273
|
+
queryKey,
|
|
2274
|
+
queryFn: () => {
|
|
2275
|
+
if (!statementId) throw new Error("statementId is required to fetch a statement");
|
|
2276
|
+
return clerk.billing.getStatement({
|
|
2277
|
+
id: statementId,
|
|
2278
|
+
orgId: organizationId ?? void 0
|
|
2279
|
+
});
|
|
2280
|
+
},
|
|
2281
|
+
enabled: queryEnabled,
|
|
2282
|
+
placeholderData: defineKeepPreviousDataFn(keepPreviousData),
|
|
2283
|
+
staleTime: 1e3 * 60
|
|
2284
|
+
});
|
|
2285
|
+
return {
|
|
2286
|
+
data: query.data,
|
|
2287
|
+
error: query.error ?? null,
|
|
2288
|
+
isLoading: query.isLoading,
|
|
2289
|
+
isFetching: query.isFetching
|
|
2290
|
+
};
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2293
|
+
//#endregion
|
|
2294
|
+
//#region src/react/hooks/usePlanDetailsQuery.shared.ts
|
|
2295
|
+
function usePlanDetailsQueryCacheKeys(params) {
|
|
2296
|
+
const { planId } = params;
|
|
2297
|
+
return (0, react.useMemo)(() => {
|
|
2298
|
+
return createCacheKeys({
|
|
2299
|
+
stablePrefix: INTERNAL_STABLE_KEYS.BILLING_PLANS_KEY,
|
|
2300
|
+
authenticated: false,
|
|
2301
|
+
tracked: { planId: planId ?? null },
|
|
2302
|
+
untracked: { args: { id: planId ?? void 0 } }
|
|
2303
|
+
});
|
|
2304
|
+
}, [planId]);
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
//#endregion
|
|
2308
|
+
//#region src/react/hooks/usePlanDetailsQuery.tsx
|
|
2309
|
+
/**
|
|
2310
|
+
* @internal
|
|
2311
|
+
*/
|
|
2312
|
+
function __internal_usePlanDetailsQuery(params = {}) {
|
|
2313
|
+
const { planId, initialPlan = null, keepPreviousData = true } = params;
|
|
2314
|
+
const clerk = useClerkInstanceContext();
|
|
2315
|
+
const targetPlanId = planId ?? initialPlan?.id ?? null;
|
|
2316
|
+
const { queryKey } = usePlanDetailsQueryCacheKeys({ planId: targetPlanId });
|
|
2317
|
+
const billingEnabled = useBillingIsEnabled({ authenticated: false });
|
|
2318
|
+
const query = useClerkQuery({
|
|
2319
|
+
queryKey,
|
|
2320
|
+
queryFn: () => {
|
|
2321
|
+
if (!targetPlanId) throw new Error("planId is required to fetch plan details");
|
|
2322
|
+
return clerk.billing.getPlan({ id: targetPlanId });
|
|
2323
|
+
},
|
|
2324
|
+
enabled: Boolean(targetPlanId) && billingEnabled,
|
|
2325
|
+
initialData: initialPlan ?? void 0,
|
|
2326
|
+
placeholderData: defineKeepPreviousDataFn(keepPreviousData),
|
|
2327
|
+
initialDataUpdatedAt: 0
|
|
2328
|
+
});
|
|
2329
|
+
return {
|
|
2330
|
+
data: query.data,
|
|
2331
|
+
error: query.error ?? null,
|
|
2332
|
+
isLoading: query.isLoading,
|
|
2333
|
+
isFetching: query.isFetching
|
|
2334
|
+
};
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2337
|
+
//#endregion
|
|
2338
|
+
//#region src/react/hooks/usePaymentAttemptQuery.shared.ts
|
|
2339
|
+
function usePaymentAttemptQueryCacheKeys(params) {
|
|
2340
|
+
const { paymentAttemptId, userId, orgId, for: forType } = params;
|
|
2341
|
+
return (0, react.useMemo)(() => {
|
|
2342
|
+
return createCacheKeys({
|
|
2343
|
+
stablePrefix: INTERNAL_STABLE_KEYS.PAYMENT_ATTEMPT_KEY,
|
|
2344
|
+
authenticated: true,
|
|
2345
|
+
tracked: {
|
|
2346
|
+
paymentAttemptId,
|
|
2347
|
+
forType,
|
|
2348
|
+
userId,
|
|
2349
|
+
orgId
|
|
2350
|
+
},
|
|
2351
|
+
untracked: { args: {
|
|
2352
|
+
id: paymentAttemptId ?? void 0,
|
|
2353
|
+
orgId: orgId ?? void 0
|
|
2354
|
+
} }
|
|
2355
|
+
});
|
|
2356
|
+
}, [
|
|
2357
|
+
paymentAttemptId,
|
|
2358
|
+
forType,
|
|
2359
|
+
userId,
|
|
2360
|
+
orgId
|
|
2361
|
+
]);
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
//#endregion
|
|
2365
|
+
//#region src/react/hooks/usePaymentAttemptQuery.tsx
|
|
2366
|
+
/**
|
|
2367
|
+
* @internal
|
|
2368
|
+
*/
|
|
2369
|
+
function usePaymentAttemptQuery(params) {
|
|
2370
|
+
const { paymentAttemptId, keepPreviousData = false, for: forType = "user" } = params;
|
|
2371
|
+
const clerk = useClerkInstanceContext();
|
|
2372
|
+
const user = useUserBase();
|
|
2373
|
+
const organization = useOrganizationBase();
|
|
2374
|
+
const organizationId = forType === "organization" ? organization?.id ?? null : null;
|
|
2375
|
+
const { queryKey, stableKey, authenticated } = usePaymentAttemptQueryCacheKeys({
|
|
2376
|
+
paymentAttemptId,
|
|
2377
|
+
userId: user?.id ?? null,
|
|
2378
|
+
orgId: organizationId,
|
|
2379
|
+
for: forType
|
|
2380
|
+
});
|
|
2381
|
+
const billingEnabled = useBillingIsEnabled(params);
|
|
2382
|
+
const queryEnabled = Boolean(paymentAttemptId) && billingEnabled;
|
|
2383
|
+
useClearQueriesOnSignOut({
|
|
2384
|
+
isSignedOut: user === null,
|
|
2385
|
+
authenticated,
|
|
2386
|
+
stableKeys: stableKey
|
|
2387
|
+
});
|
|
2388
|
+
const query = useClerkQuery({
|
|
2389
|
+
queryKey,
|
|
2390
|
+
queryFn: ({ queryKey: queryKey$1 }) => {
|
|
2391
|
+
const args = queryKey$1[3].args;
|
|
2392
|
+
return clerk.billing.getPaymentAttempt(args);
|
|
2393
|
+
},
|
|
2394
|
+
enabled: queryEnabled,
|
|
2395
|
+
placeholderData: defineKeepPreviousDataFn(keepPreviousData),
|
|
2396
|
+
staleTime: 1e3 * 60
|
|
2397
|
+
});
|
|
2398
|
+
return {
|
|
2399
|
+
data: query.data,
|
|
2400
|
+
error: query.error ?? null,
|
|
2401
|
+
isLoading: query.isLoading,
|
|
2402
|
+
isFetching: query.isFetching
|
|
2403
|
+
};
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
//#endregion
|
|
2407
|
+
//#region src/react/hooks/useUserEnterpriseConnections.shared.ts
|
|
2408
|
+
/**
|
|
2409
|
+
* @internal
|
|
2410
|
+
*/
|
|
2411
|
+
function useUserEnterpriseConnectionsCacheKeys(params) {
|
|
2412
|
+
const { userId, withOrganizationAccountLinking = false } = params;
|
|
2413
|
+
return (0, react.useMemo)(() => {
|
|
2414
|
+
return createCacheKeys({
|
|
2415
|
+
stablePrefix: INTERNAL_STABLE_KEYS.USER_ENTERPRISE_CONNECTIONS_KEY,
|
|
2416
|
+
authenticated: Boolean(userId),
|
|
2417
|
+
tracked: {
|
|
2418
|
+
userId: userId ?? null,
|
|
2419
|
+
withOrganizationAccountLinking
|
|
2420
|
+
},
|
|
2421
|
+
untracked: { args: {} }
|
|
2422
|
+
});
|
|
2423
|
+
}, [userId, withOrganizationAccountLinking]);
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
//#endregion
|
|
2427
|
+
//#region src/react/hooks/useUserEnterpriseConnections.tsx
|
|
2428
|
+
/**
|
|
2429
|
+
* Enterprise connections for the signed-in user
|
|
2430
|
+
*
|
|
2431
|
+
* @internal
|
|
2432
|
+
*/
|
|
2433
|
+
function useUserEnterpriseConnections(params = {}) {
|
|
2434
|
+
const { keepPreviousData = true, enabled = true, withOrganizationAccountLinking = false } = params;
|
|
2435
|
+
const clerk = useClerkInstanceContext();
|
|
2436
|
+
const user = useUserBase();
|
|
2437
|
+
const { queryKey, stableKey, authenticated } = useUserEnterpriseConnectionsCacheKeys({
|
|
2438
|
+
userId: user?.id ?? null,
|
|
2439
|
+
withOrganizationAccountLinking
|
|
2440
|
+
});
|
|
2441
|
+
const queryEnabled = enabled && clerk.loaded && Boolean(user);
|
|
2442
|
+
useClearQueriesOnSignOut({
|
|
2443
|
+
isSignedOut: user === null,
|
|
2444
|
+
authenticated,
|
|
2445
|
+
stableKeys: stableKey
|
|
2446
|
+
});
|
|
2447
|
+
const query = useClerkQuery({
|
|
2448
|
+
queryKey,
|
|
2449
|
+
queryFn: () => user?.getEnterpriseConnections({ withOrganizationAccountLinking }),
|
|
2450
|
+
enabled: queryEnabled,
|
|
2451
|
+
placeholderData: defineKeepPreviousDataFn(keepPreviousData)
|
|
2452
|
+
});
|
|
2453
|
+
return {
|
|
2454
|
+
data: query.data,
|
|
2455
|
+
error: query.error ?? null,
|
|
2456
|
+
isLoading: query.isLoading,
|
|
2457
|
+
isFetching: query.isFetching
|
|
2458
|
+
};
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2461
|
+
//#endregion
|
|
2462
|
+
//#region src/react/utils.ts
|
|
2463
|
+
function assertClerkSingletonExists(clerk) {
|
|
2464
|
+
if (!clerk) require_errors.clerkCoreErrorNoClerkSingleton();
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
//#endregion
|
|
2468
|
+
//#region src/react/ClerkContextProvider.tsx
|
|
2469
|
+
function ClerkContextProvider(props) {
|
|
2470
|
+
const clerk = props.clerk;
|
|
2471
|
+
assertClerkSingletonExists(clerk);
|
|
2472
|
+
if (props.initialState instanceof Promise && !("use" in react.default && typeof react.default.use === "function")) throw new Error("initialState cannot be a promise if React version is less than 19");
|
|
2473
|
+
const clerkCtx = react.default.useMemo(() => ({ value: clerk }), [props.clerkStatus]);
|
|
2474
|
+
return /* @__PURE__ */ react.default.createElement(InitialStateProvider, { initialState: props.initialState }, /* @__PURE__ */ react.default.createElement(ClerkInstanceContext.Provider, { value: clerkCtx }, /* @__PURE__ */ react.default.createElement(__experimental_CheckoutProvider, { value: void 0 }, props.children)));
|
|
2475
|
+
}
|
|
2476
|
+
|
|
2477
|
+
//#endregion
|
|
2478
|
+
//#region src/react/stripe-react/utils.ts
|
|
2479
|
+
const usePrevious = (value) => {
|
|
2480
|
+
const ref = (0, react.useRef)(value);
|
|
2481
|
+
(0, react.useEffect)(() => {
|
|
2482
|
+
ref.current = value;
|
|
2483
|
+
}, [value]);
|
|
2484
|
+
return ref.current;
|
|
2485
|
+
};
|
|
2486
|
+
const useAttachEvent = (element, event, cb) => {
|
|
2487
|
+
const cbDefined = !!cb;
|
|
2488
|
+
const cbRef = (0, react.useRef)(cb);
|
|
2489
|
+
(0, react.useEffect)(() => {
|
|
2490
|
+
cbRef.current = cb;
|
|
2491
|
+
}, [cb]);
|
|
2492
|
+
(0, react.useEffect)(() => {
|
|
2493
|
+
if (!cbDefined || !element) return () => {};
|
|
2494
|
+
const decoratedCb = (...args) => {
|
|
2495
|
+
if (cbRef.current) cbRef.current(...args);
|
|
2496
|
+
};
|
|
2497
|
+
element.on(event, decoratedCb);
|
|
2498
|
+
return () => {
|
|
2499
|
+
element.off(event, decoratedCb);
|
|
2500
|
+
};
|
|
2501
|
+
}, [
|
|
2502
|
+
cbDefined,
|
|
2503
|
+
event,
|
|
2504
|
+
element,
|
|
2505
|
+
cbRef
|
|
2506
|
+
]);
|
|
2507
|
+
};
|
|
2508
|
+
|
|
2509
|
+
//#endregion
|
|
2510
|
+
//#region src/react/stripe-react/index.tsx
|
|
2511
|
+
const ElementsContext = react.default.createContext(null);
|
|
2512
|
+
ElementsContext.displayName = "ElementsContext";
|
|
2513
|
+
const parseElementsContext = (ctx, useCase) => {
|
|
2514
|
+
if (!ctx) throw new Error(`Could not find Elements context; You need to wrap the part of your app that ${useCase} in an <Elements> provider.`);
|
|
2515
|
+
return ctx;
|
|
2516
|
+
};
|
|
2517
|
+
/**
|
|
2518
|
+
* The `Elements` provider allows you to use [Element components](https://stripe.com/docs/stripe-js/react#element-components) and access the [Stripe object](https://stripe.com/docs/js/initializing) in any nested component.
|
|
2519
|
+
* Render an `Elements` provider at the root of your React app so that it is available everywhere you need it.
|
|
2520
|
+
*
|
|
2521
|
+
* To use the `Elements` provider, call `loadStripe` from `@stripe/stripe-js` with your publishable key.
|
|
2522
|
+
* The `loadStripe` function will asynchronously load the Stripe.js script and initialize a `Stripe` object.
|
|
2523
|
+
* Pass the returned `Promise` to `Elements`.
|
|
2524
|
+
*
|
|
2525
|
+
* @docs https://stripe.com/docs/stripe-js/react#elements-provider
|
|
2526
|
+
*/
|
|
2527
|
+
const Elements = (({ stripe: rawStripeProp, options, children }) => {
|
|
2528
|
+
const parsed = react.default.useMemo(() => parseStripeProp(rawStripeProp), [rawStripeProp]);
|
|
2529
|
+
const [ctx, setContext] = react.default.useState(() => ({
|
|
2530
|
+
stripe: parsed.tag === "sync" ? parsed.stripe : null,
|
|
2531
|
+
elements: parsed.tag === "sync" ? parsed.stripe.elements(options) : null
|
|
2532
|
+
}));
|
|
2533
|
+
react.default.useEffect(() => {
|
|
2534
|
+
let isMounted = true;
|
|
2535
|
+
const safeSetContext = (stripe) => {
|
|
2536
|
+
setContext((ctx$1) => {
|
|
2537
|
+
if (ctx$1.stripe) return ctx$1;
|
|
2538
|
+
return {
|
|
2539
|
+
stripe,
|
|
2540
|
+
elements: stripe.elements(options)
|
|
2541
|
+
};
|
|
2542
|
+
});
|
|
2543
|
+
};
|
|
2544
|
+
if (parsed.tag === "async" && !ctx.stripe) parsed.stripePromise.then((stripe) => {
|
|
2545
|
+
if (stripe && isMounted) safeSetContext(stripe);
|
|
2546
|
+
});
|
|
2547
|
+
else if (parsed.tag === "sync" && !ctx.stripe) safeSetContext(parsed.stripe);
|
|
2548
|
+
return () => {
|
|
2549
|
+
isMounted = false;
|
|
2550
|
+
};
|
|
2551
|
+
}, [
|
|
2552
|
+
parsed,
|
|
2553
|
+
ctx,
|
|
2554
|
+
options
|
|
2555
|
+
]);
|
|
2556
|
+
const prevStripe = usePrevious(rawStripeProp);
|
|
2557
|
+
react.default.useEffect(() => {
|
|
2558
|
+
if (prevStripe !== null && prevStripe !== rawStripeProp) console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.");
|
|
2559
|
+
}, [prevStripe, rawStripeProp]);
|
|
2560
|
+
const prevOptions = usePrevious(options);
|
|
2561
|
+
react.default.useEffect(() => {
|
|
2562
|
+
if (!ctx.elements) return;
|
|
2563
|
+
const updates = extractAllowedOptionsUpdates(options, prevOptions, ["clientSecret", "fonts"]);
|
|
2564
|
+
if (updates) ctx.elements.update(updates);
|
|
2565
|
+
}, [
|
|
2566
|
+
options,
|
|
2567
|
+
prevOptions,
|
|
2568
|
+
ctx.elements
|
|
2569
|
+
]);
|
|
2570
|
+
return /* @__PURE__ */ react.default.createElement(ElementsContext.Provider, { value: ctx }, children);
|
|
2571
|
+
});
|
|
2572
|
+
const useElementsContextWithUseCase = (useCaseMessage) => {
|
|
2573
|
+
return parseElementsContext(react.default.useContext(ElementsContext), useCaseMessage);
|
|
2574
|
+
};
|
|
2575
|
+
const useElements = () => {
|
|
2576
|
+
const { elements } = useElementsContextWithUseCase("calls useElements()");
|
|
2577
|
+
return elements;
|
|
2578
|
+
};
|
|
2579
|
+
const INVALID_STRIPE_ERROR = "Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.";
|
|
2580
|
+
const validateStripe = (maybeStripe, errorMsg = INVALID_STRIPE_ERROR) => {
|
|
2581
|
+
if (maybeStripe === null || isStripe(maybeStripe)) return maybeStripe;
|
|
2582
|
+
throw new Error(errorMsg);
|
|
2583
|
+
};
|
|
2584
|
+
const parseStripeProp = (raw, errorMsg = INVALID_STRIPE_ERROR) => {
|
|
2585
|
+
if (isPromise(raw)) return {
|
|
2586
|
+
tag: "async",
|
|
2587
|
+
stripePromise: Promise.resolve(raw).then((result) => validateStripe(result, errorMsg))
|
|
2588
|
+
};
|
|
2589
|
+
const stripe = validateStripe(raw, errorMsg);
|
|
2590
|
+
if (stripe === null) return { tag: "empty" };
|
|
2591
|
+
return {
|
|
2592
|
+
tag: "sync",
|
|
2593
|
+
stripe
|
|
2594
|
+
};
|
|
2595
|
+
};
|
|
2596
|
+
const isUnknownObject = (raw) => {
|
|
2597
|
+
return raw !== null && typeof raw === "object";
|
|
2598
|
+
};
|
|
2599
|
+
const isPromise = (raw) => {
|
|
2600
|
+
return isUnknownObject(raw) && typeof raw.then === "function";
|
|
2601
|
+
};
|
|
2602
|
+
const isStripe = (raw) => {
|
|
2603
|
+
return isUnknownObject(raw) && typeof raw.elements === "function" && typeof raw.createToken === "function" && typeof raw.createPaymentMethod === "function" && typeof raw.confirmCardPayment === "function";
|
|
2604
|
+
};
|
|
2605
|
+
const extractAllowedOptionsUpdates = (options, prevOptions, immutableKeys) => {
|
|
2606
|
+
if (!isUnknownObject(options)) return null;
|
|
2607
|
+
return Object.keys(options).reduce((newOptions, key) => {
|
|
2608
|
+
const isUpdated = !isUnknownObject(prevOptions) || !isEqual(options[key], prevOptions[key]);
|
|
2609
|
+
if (immutableKeys.includes(key)) {
|
|
2610
|
+
if (isUpdated) console.warn(`Unsupported prop change: options.${key} is not a mutable property.`);
|
|
2611
|
+
return newOptions;
|
|
2612
|
+
}
|
|
2613
|
+
if (!isUpdated) return newOptions;
|
|
2614
|
+
return {
|
|
2615
|
+
...newOptions || {},
|
|
2616
|
+
[key]: options[key]
|
|
2617
|
+
};
|
|
2618
|
+
}, null);
|
|
2619
|
+
};
|
|
2620
|
+
const PLAIN_OBJECT_STR = "[object Object]";
|
|
2621
|
+
const isEqual = (left, right) => {
|
|
2622
|
+
if (!isUnknownObject(left) || !isUnknownObject(right)) return left === right;
|
|
2623
|
+
const leftArray = Array.isArray(left);
|
|
2624
|
+
if (leftArray !== Array.isArray(right)) return false;
|
|
2625
|
+
const leftPlainObject = Object.prototype.toString.call(left) === PLAIN_OBJECT_STR;
|
|
2626
|
+
if (leftPlainObject !== (Object.prototype.toString.call(right) === PLAIN_OBJECT_STR)) return false;
|
|
2627
|
+
if (!leftPlainObject && !leftArray) return left === right;
|
|
2628
|
+
const leftKeys = Object.keys(left);
|
|
2629
|
+
const rightKeys = Object.keys(right);
|
|
2630
|
+
if (leftKeys.length !== rightKeys.length) return false;
|
|
2631
|
+
const keySet = {};
|
|
2632
|
+
for (let i = 0; i < leftKeys.length; i += 1) keySet[leftKeys[i]] = true;
|
|
2633
|
+
for (let i = 0; i < rightKeys.length; i += 1) keySet[rightKeys[i]] = true;
|
|
2634
|
+
const allKeys = Object.keys(keySet);
|
|
2635
|
+
if (allKeys.length !== leftKeys.length) return false;
|
|
2636
|
+
const l = left;
|
|
2637
|
+
const r = right;
|
|
2638
|
+
const pred = (key) => {
|
|
2639
|
+
return isEqual(l[key], r[key]);
|
|
2640
|
+
};
|
|
2641
|
+
return allKeys.every(pred);
|
|
2642
|
+
};
|
|
2643
|
+
const useStripe = () => {
|
|
2644
|
+
const { stripe } = useElementsOrCheckoutSdkContextWithUseCase("calls useStripe()");
|
|
2645
|
+
return stripe;
|
|
2646
|
+
};
|
|
2647
|
+
const useElementsOrCheckoutSdkContextWithUseCase = (useCaseString) => {
|
|
2648
|
+
return parseElementsContext(react.default.useContext(ElementsContext), useCaseString);
|
|
2649
|
+
};
|
|
2650
|
+
const capitalized = (str) => str.charAt(0).toUpperCase() + str.slice(1);
|
|
2651
|
+
const createElementComponent = (type, isServer) => {
|
|
2652
|
+
const displayName = `${capitalized(type)}Element`;
|
|
2653
|
+
const ClientElement = ({ id, className, fallback, options = {}, onBlur, onFocus, onReady, onChange, onEscape, onClick, onLoadError, onLoaderStart, onNetworksChange, onConfirm, onCancel, onShippingAddressChange, onShippingRateChange }) => {
|
|
2654
|
+
const ctx = useElementsOrCheckoutSdkContextWithUseCase(`mounts <${displayName}>`);
|
|
2655
|
+
const elements = "elements" in ctx ? ctx.elements : null;
|
|
2656
|
+
const [element, setElement] = react.default.useState(null);
|
|
2657
|
+
const elementRef = react.default.useRef(null);
|
|
2658
|
+
const domNode = react.default.useRef(null);
|
|
2659
|
+
const [isReady, setReady] = (0, react.useState)(false);
|
|
2660
|
+
useAttachEvent(element, "blur", onBlur);
|
|
2661
|
+
useAttachEvent(element, "focus", onFocus);
|
|
2662
|
+
useAttachEvent(element, "escape", onEscape);
|
|
2663
|
+
useAttachEvent(element, "click", onClick);
|
|
2664
|
+
useAttachEvent(element, "loaderror", onLoadError);
|
|
2665
|
+
useAttachEvent(element, "loaderstart", onLoaderStart);
|
|
2666
|
+
useAttachEvent(element, "networkschange", onNetworksChange);
|
|
2667
|
+
useAttachEvent(element, "confirm", onConfirm);
|
|
2668
|
+
useAttachEvent(element, "cancel", onCancel);
|
|
2669
|
+
useAttachEvent(element, "shippingaddresschange", onShippingAddressChange);
|
|
2670
|
+
useAttachEvent(element, "shippingratechange", onShippingRateChange);
|
|
2671
|
+
useAttachEvent(element, "change", onChange);
|
|
2672
|
+
let readyCallback;
|
|
2673
|
+
if (onReady) readyCallback = () => {
|
|
2674
|
+
setReady(true);
|
|
2675
|
+
onReady(element);
|
|
2676
|
+
};
|
|
2677
|
+
useAttachEvent(element, "ready", readyCallback);
|
|
2678
|
+
react.default.useLayoutEffect(() => {
|
|
2679
|
+
if (elementRef.current === null && domNode.current !== null && elements) {
|
|
2680
|
+
let newElement = null;
|
|
2681
|
+
if (elements) newElement = elements.create(type, options);
|
|
2682
|
+
elementRef.current = newElement;
|
|
2683
|
+
setElement(newElement);
|
|
2684
|
+
if (newElement) newElement.mount(domNode.current);
|
|
2685
|
+
}
|
|
2686
|
+
}, [elements, options]);
|
|
2687
|
+
const prevOptions = usePrevious(options);
|
|
2688
|
+
react.default.useEffect(() => {
|
|
2689
|
+
if (!elementRef.current) return;
|
|
2690
|
+
const updates = extractAllowedOptionsUpdates(options, prevOptions, ["paymentRequest"]);
|
|
2691
|
+
if (updates && "update" in elementRef.current) elementRef.current.update(updates);
|
|
2692
|
+
}, [options, prevOptions]);
|
|
2693
|
+
react.default.useLayoutEffect(() => {
|
|
2694
|
+
return () => {
|
|
2695
|
+
if (elementRef.current && typeof elementRef.current.destroy === "function") try {
|
|
2696
|
+
elementRef.current.destroy();
|
|
2697
|
+
elementRef.current = null;
|
|
2698
|
+
} catch {}
|
|
2699
|
+
};
|
|
2700
|
+
}, []);
|
|
2701
|
+
return /* @__PURE__ */ react.default.createElement(react.default.Fragment, null, !isReady && fallback, /* @__PURE__ */ react.default.createElement("div", {
|
|
2702
|
+
id,
|
|
2703
|
+
style: {
|
|
2704
|
+
height: isReady ? "unset" : "0px",
|
|
2705
|
+
visibility: isReady ? "visible" : "hidden"
|
|
2706
|
+
},
|
|
2707
|
+
className,
|
|
2708
|
+
ref: domNode
|
|
2709
|
+
}));
|
|
2710
|
+
};
|
|
2711
|
+
const ServerElement = (props) => {
|
|
2712
|
+
useElementsOrCheckoutSdkContextWithUseCase(`mounts <${displayName}>`);
|
|
2713
|
+
const { id, className } = props;
|
|
2714
|
+
return /* @__PURE__ */ react.default.createElement("div", {
|
|
2715
|
+
id,
|
|
2716
|
+
className
|
|
2717
|
+
});
|
|
2718
|
+
};
|
|
2719
|
+
const Element = isServer ? ServerElement : ClientElement;
|
|
2720
|
+
Element.displayName = displayName;
|
|
2721
|
+
Element.__elementType = type;
|
|
2722
|
+
return Element;
|
|
2723
|
+
};
|
|
2724
|
+
const PaymentElement$1 = createElementComponent("payment", typeof window === "undefined");
|
|
2725
|
+
|
|
2726
|
+
//#endregion
|
|
2727
|
+
//#region src/react/billing/useInitializePaymentMethod.tsx
|
|
2728
|
+
/**
|
|
2729
|
+
* @internal
|
|
2730
|
+
*/
|
|
2731
|
+
function useInitializePaymentMethod(options) {
|
|
2732
|
+
const { for: forType } = options ?? {};
|
|
2733
|
+
const organization = useOrganizationBase();
|
|
2734
|
+
const user = useUserBase();
|
|
2735
|
+
const resource = forType === "organization" ? organization : user;
|
|
2736
|
+
const billingEnabled = useBillingIsEnabled(options);
|
|
2737
|
+
const stableKey = "billing-payment-method-initialize";
|
|
2738
|
+
const authenticated = true;
|
|
2739
|
+
const queryKey = (0, react.useMemo)(() => {
|
|
2740
|
+
return [
|
|
2741
|
+
stableKey,
|
|
2742
|
+
authenticated,
|
|
2743
|
+
{ resourceId: resource?.id },
|
|
2744
|
+
{}
|
|
2745
|
+
];
|
|
2746
|
+
}, [resource?.id]);
|
|
2747
|
+
const isEnabled = Boolean(resource?.id) && billingEnabled;
|
|
2748
|
+
useClearQueriesOnSignOut({
|
|
2749
|
+
isSignedOut: user === null,
|
|
2750
|
+
authenticated,
|
|
2751
|
+
stableKeys: stableKey
|
|
2752
|
+
});
|
|
2753
|
+
const query = useClerkQuery({
|
|
2754
|
+
queryKey,
|
|
2755
|
+
queryFn: async () => {
|
|
2756
|
+
if (!resource) return;
|
|
2757
|
+
return resource.initializePaymentMethod({ gateway: "stripe" });
|
|
2758
|
+
},
|
|
2759
|
+
enabled: isEnabled,
|
|
2760
|
+
staleTime: 1e3 * 60,
|
|
2761
|
+
refetchOnWindowFocus: false,
|
|
2762
|
+
placeholderData: defineKeepPreviousDataFn(isEnabled)
|
|
2763
|
+
});
|
|
2764
|
+
const [queryClient] = useClerkQueryClient();
|
|
2765
|
+
const initializePaymentMethod = (0, react.useCallback)(async () => {
|
|
2766
|
+
if (!resource) return;
|
|
2767
|
+
const result = await resource.initializePaymentMethod({ gateway: "stripe" });
|
|
2768
|
+
queryClient.setQueryData(queryKey, result);
|
|
2769
|
+
return result;
|
|
2770
|
+
}, [
|
|
2771
|
+
queryClient,
|
|
2772
|
+
queryKey,
|
|
2773
|
+
resource
|
|
2774
|
+
]);
|
|
2775
|
+
return {
|
|
2776
|
+
initializedPaymentMethod: query.data ?? void 0,
|
|
2777
|
+
initializePaymentMethod
|
|
2778
|
+
};
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
//#endregion
|
|
2782
|
+
//#region src/react/billing/useStripeClerkLibs.tsx
|
|
2783
|
+
/**
|
|
2784
|
+
* @internal
|
|
2785
|
+
*/
|
|
2786
|
+
function useStripeClerkLibs() {
|
|
2787
|
+
const clerk = useClerk();
|
|
2788
|
+
return useClerkQuery({
|
|
2789
|
+
queryKey: ["clerk-stripe-sdk"],
|
|
2790
|
+
queryFn: async () => {
|
|
2791
|
+
return { loadStripe: await clerk.__internal_loadStripeJs() };
|
|
2792
|
+
},
|
|
2793
|
+
staleTime: Infinity,
|
|
2794
|
+
refetchOnWindowFocus: false,
|
|
2795
|
+
placeholderData: defineKeepPreviousDataFn(true)
|
|
2796
|
+
}).data ?? null;
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
//#endregion
|
|
2800
|
+
//#region src/react/billing/useStripeLoader.tsx
|
|
2801
|
+
/**
|
|
2802
|
+
* @internal
|
|
2803
|
+
*/
|
|
2804
|
+
function useStripeLoader(options) {
|
|
2805
|
+
const { stripeClerkLibs, externalGatewayId, stripePublishableKey } = options;
|
|
2806
|
+
const queryKey = (0, react.useMemo)(() => {
|
|
2807
|
+
return ["stripe-sdk", {
|
|
2808
|
+
externalGatewayId,
|
|
2809
|
+
stripePublishableKey
|
|
2810
|
+
}];
|
|
2811
|
+
}, [externalGatewayId, stripePublishableKey]);
|
|
2812
|
+
const billingEnabled = useBillingIsEnabled({ authenticated: true });
|
|
2813
|
+
return useClerkQuery({
|
|
2814
|
+
queryKey,
|
|
2815
|
+
queryFn: () => {
|
|
2816
|
+
if (!stripeClerkLibs || !externalGatewayId || !stripePublishableKey) return null;
|
|
2817
|
+
return stripeClerkLibs.loadStripe(stripePublishableKey, { stripeAccount: externalGatewayId });
|
|
2818
|
+
},
|
|
2819
|
+
enabled: Boolean(stripeClerkLibs && externalGatewayId && stripePublishableKey) && billingEnabled,
|
|
2820
|
+
staleTime: 1e3 * 60,
|
|
2821
|
+
refetchOnWindowFocus: false,
|
|
2822
|
+
placeholderData: defineKeepPreviousDataFn(true)
|
|
2823
|
+
}).data;
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
//#endregion
|
|
2827
|
+
//#region src/react/billing/payment-element.tsx
|
|
2828
|
+
const useInternalEnvironment = () => {
|
|
2829
|
+
return useClerk().__internal_environment;
|
|
2830
|
+
};
|
|
2831
|
+
const useLocalization = () => {
|
|
2832
|
+
const clerk = useClerk();
|
|
2833
|
+
let locale = "en";
|
|
2834
|
+
try {
|
|
2835
|
+
locale = clerk.__internal_getOption("localization")?.locale || "en";
|
|
2836
|
+
} catch {}
|
|
2837
|
+
return locale.split("-")[0];
|
|
2838
|
+
};
|
|
2839
|
+
const usePaymentSourceUtils = (forResource = "user") => {
|
|
2840
|
+
const stripeClerkLibs = useStripeClerkLibs();
|
|
2841
|
+
const environment = useInternalEnvironment();
|
|
2842
|
+
const { initializedPaymentMethod, initializePaymentMethod } = useInitializePaymentMethod({ for: forResource });
|
|
2843
|
+
const stripePublishableKey = environment?.commerceSettings.billing.stripePublishableKey ?? void 0;
|
|
2844
|
+
return {
|
|
2845
|
+
stripe: useStripeLoader({
|
|
2846
|
+
stripeClerkLibs,
|
|
2847
|
+
externalGatewayId: initializedPaymentMethod?.externalGatewayId,
|
|
2848
|
+
stripePublishableKey
|
|
2849
|
+
}),
|
|
2850
|
+
initializePaymentMethod,
|
|
2851
|
+
externalClientSecret: initializedPaymentMethod?.externalClientSecret,
|
|
2852
|
+
paymentMethodOrder: initializedPaymentMethod?.paymentMethodOrder
|
|
2853
|
+
};
|
|
2854
|
+
};
|
|
2855
|
+
const [PaymentElementContext, usePaymentElementContext] = createContextAndHook("PaymentElementContext");
|
|
2856
|
+
const [StripeUtilsContext, useStripeUtilsContext] = createContextAndHook("StripeUtilsContext");
|
|
2857
|
+
const ValidateStripeUtils = ({ children }) => {
|
|
2858
|
+
const stripe = useStripe();
|
|
2859
|
+
const elements = useElements();
|
|
2860
|
+
return /* @__PURE__ */ react.default.createElement(StripeUtilsContext.Provider, { value: { value: {
|
|
2861
|
+
stripe,
|
|
2862
|
+
elements
|
|
2863
|
+
} } }, children);
|
|
2864
|
+
};
|
|
2865
|
+
const DummyStripeUtils = ({ children }) => {
|
|
2866
|
+
return /* @__PURE__ */ react.default.createElement(StripeUtilsContext.Provider, { value: { value: {} } }, children);
|
|
2867
|
+
};
|
|
2868
|
+
const PropsProvider = ({ children,...props }) => {
|
|
2869
|
+
const utils = usePaymentSourceUtils(props.for);
|
|
2870
|
+
const [isPaymentElementReady, setIsPaymentElementReady] = (0, react.useState)(false);
|
|
2871
|
+
return /* @__PURE__ */ react.default.createElement(PaymentElementContext.Provider, { value: { value: {
|
|
2872
|
+
...props,
|
|
2873
|
+
...utils,
|
|
2874
|
+
setIsPaymentElementReady,
|
|
2875
|
+
isPaymentElementReady
|
|
2876
|
+
} } }, children);
|
|
2877
|
+
};
|
|
2878
|
+
const PaymentElementProvider = ({ children,...props }) => {
|
|
2879
|
+
return /* @__PURE__ */ react.default.createElement(PropsProvider, props, /* @__PURE__ */ react.default.createElement(PaymentElementInternalRoot, null, children));
|
|
2880
|
+
};
|
|
2881
|
+
const PaymentElementInternalRoot = (props) => {
|
|
2882
|
+
const { stripe, externalClientSecret, stripeAppearance } = usePaymentElementContext();
|
|
2883
|
+
const locale = useLocalization();
|
|
2884
|
+
if (stripe && externalClientSecret) return /* @__PURE__ */ react.default.createElement(Elements, {
|
|
2885
|
+
key: externalClientSecret,
|
|
2886
|
+
stripe,
|
|
2887
|
+
options: {
|
|
2888
|
+
loader: "never",
|
|
2889
|
+
clientSecret: externalClientSecret,
|
|
2890
|
+
appearance: { variables: stripeAppearance },
|
|
2891
|
+
locale
|
|
2892
|
+
}
|
|
2893
|
+
}, /* @__PURE__ */ react.default.createElement(ValidateStripeUtils, null, props.children));
|
|
2894
|
+
return /* @__PURE__ */ react.default.createElement(DummyStripeUtils, null, props.children);
|
|
2895
|
+
};
|
|
2896
|
+
const PaymentElement = ({ fallback }) => {
|
|
2897
|
+
const { setIsPaymentElementReady, paymentMethodOrder, checkout, stripe, externalClientSecret, paymentDescription, for: _for } = usePaymentElementContext();
|
|
2898
|
+
const environment = useInternalEnvironment();
|
|
2899
|
+
const applePay = (0, react.useMemo)(() => {
|
|
2900
|
+
if (!checkout || !checkout.totals || !checkout.plan) return;
|
|
2901
|
+
return { recurringPaymentRequest: {
|
|
2902
|
+
paymentDescription: paymentDescription || "",
|
|
2903
|
+
managementURL: _for === "organization" ? environment?.displayConfig.organizationProfileUrl || "" : environment?.displayConfig.userProfileUrl || "",
|
|
2904
|
+
regularBilling: {
|
|
2905
|
+
amount: checkout.totals.totalDueNow?.amount || checkout.totals.grandTotal.amount,
|
|
2906
|
+
label: checkout.plan.name,
|
|
2907
|
+
recurringPaymentIntervalUnit: checkout.planPeriod === "annual" ? "year" : "month"
|
|
2908
|
+
}
|
|
2909
|
+
} };
|
|
2910
|
+
}, [
|
|
2911
|
+
checkout,
|
|
2912
|
+
paymentDescription,
|
|
2913
|
+
_for,
|
|
2914
|
+
environment
|
|
2915
|
+
]);
|
|
2916
|
+
const options = (0, react.useMemo)(() => {
|
|
2917
|
+
return {
|
|
2918
|
+
layout: {
|
|
2919
|
+
type: "tabs",
|
|
2920
|
+
defaultCollapsed: false
|
|
2921
|
+
},
|
|
2922
|
+
paymentMethodOrder,
|
|
2923
|
+
applePay
|
|
2924
|
+
};
|
|
2925
|
+
}, [applePay, paymentMethodOrder]);
|
|
2926
|
+
const onReady = (0, react.useCallback)(() => {
|
|
2927
|
+
setIsPaymentElementReady(true);
|
|
2928
|
+
}, [setIsPaymentElementReady]);
|
|
2929
|
+
if (!stripe || !externalClientSecret) return /* @__PURE__ */ react.default.createElement(react.default.Fragment, null, fallback);
|
|
2930
|
+
return /* @__PURE__ */ react.default.createElement(PaymentElement$1, {
|
|
2931
|
+
fallback,
|
|
2932
|
+
onReady,
|
|
2933
|
+
options
|
|
2934
|
+
});
|
|
2935
|
+
};
|
|
2936
|
+
const throwLibsMissingError = () => {
|
|
2937
|
+
throw new Error("Clerk: Unable to submit, Stripe libraries are not yet loaded. Be sure to check `isFormReady` before calling `submit`.");
|
|
2938
|
+
};
|
|
2939
|
+
const usePaymentElement = () => {
|
|
2940
|
+
const { isPaymentElementReady, initializePaymentMethod } = usePaymentElementContext();
|
|
2941
|
+
const { stripe, elements } = useStripeUtilsContext();
|
|
2942
|
+
const { externalClientSecret } = usePaymentElementContext();
|
|
2943
|
+
const submit = (0, react.useCallback)(async () => {
|
|
2944
|
+
if (!stripe || !elements) return throwLibsMissingError();
|
|
2945
|
+
const { setupIntent, error } = await stripe.confirmSetup({
|
|
2946
|
+
elements,
|
|
2947
|
+
confirmParams: { return_url: window.location.href },
|
|
2948
|
+
redirect: "if_required"
|
|
2949
|
+
});
|
|
2950
|
+
if (error) return {
|
|
2951
|
+
data: null,
|
|
2952
|
+
error: {
|
|
2953
|
+
gateway: "stripe",
|
|
2954
|
+
error: {
|
|
2955
|
+
code: error.code,
|
|
2956
|
+
message: error.message,
|
|
2957
|
+
type: error.type
|
|
2958
|
+
}
|
|
2959
|
+
}
|
|
2960
|
+
};
|
|
2961
|
+
return {
|
|
2962
|
+
data: {
|
|
2963
|
+
gateway: "stripe",
|
|
2964
|
+
paymentToken: setupIntent.payment_method
|
|
2965
|
+
},
|
|
2966
|
+
error: null
|
|
2967
|
+
};
|
|
2968
|
+
}, [stripe, elements]);
|
|
2969
|
+
const reset = (0, react.useCallback)(async () => {
|
|
2970
|
+
if (!stripe || !elements) return throwLibsMissingError();
|
|
2971
|
+
await initializePaymentMethod();
|
|
2972
|
+
}, [
|
|
2973
|
+
stripe,
|
|
2974
|
+
elements,
|
|
2975
|
+
initializePaymentMethod
|
|
2976
|
+
]);
|
|
2977
|
+
const isProviderReady = Boolean(stripe && externalClientSecret);
|
|
2978
|
+
if (!isProviderReady) return {
|
|
2979
|
+
submit: throwLibsMissingError,
|
|
2980
|
+
reset: throwLibsMissingError,
|
|
2981
|
+
isFormReady: false,
|
|
2982
|
+
provider: void 0,
|
|
2983
|
+
isProviderReady: false
|
|
2984
|
+
};
|
|
2985
|
+
return {
|
|
2986
|
+
submit,
|
|
2987
|
+
reset,
|
|
2988
|
+
isFormReady: isPaymentElementReady,
|
|
2989
|
+
provider: { name: "stripe" },
|
|
2990
|
+
isProviderReady
|
|
2991
|
+
};
|
|
2992
|
+
};
|
|
2993
|
+
|
|
2994
|
+
//#endregion
|
|
2995
|
+
//#region src/react/PortalProvider.tsx
|
|
2996
|
+
const [PortalContext, , usePortalContextWithoutGuarantee] = createContextAndHook("PortalProvider");
|
|
2997
|
+
/**
|
|
2998
|
+
* UNSAFE_PortalProvider allows you to specify a custom container for Clerk floating UI elements
|
|
2999
|
+
* (popovers, modals, tooltips, etc.) that use portals.
|
|
3000
|
+
*
|
|
3001
|
+
* Only components within this provider will be affected. Components outside the provider
|
|
3002
|
+
* will continue to use the default document.body for portals.
|
|
3003
|
+
*
|
|
3004
|
+
* This is particularly useful when using Clerk components inside external UI libraries
|
|
3005
|
+
* like Radix Dialog or React Aria Components, where portaled elements need to render
|
|
3006
|
+
* within the dialog's container to remain interactable.
|
|
3007
|
+
*
|
|
3008
|
+
* @example
|
|
3009
|
+
* ```tsx
|
|
3010
|
+
* function Example() {
|
|
3011
|
+
* const containerRef = useRef(null);
|
|
3012
|
+
* return (
|
|
3013
|
+
* <RadixDialog ref={containerRef}>
|
|
3014
|
+
* <UNSAFE_PortalProvider getContainer={() => containerRef.current}>
|
|
3015
|
+
* <UserButton />
|
|
3016
|
+
* </UNSAFE_PortalProvider>
|
|
3017
|
+
* </RadixDialog>
|
|
3018
|
+
* );
|
|
3019
|
+
* }
|
|
3020
|
+
* ```
|
|
3021
|
+
*/
|
|
3022
|
+
const UNSAFE_PortalProvider = ({ children, getContainer }) => {
|
|
3023
|
+
const contextValue = react.default.useMemo(() => ({ value: { getContainer } }), [getContainer]);
|
|
3024
|
+
return /* @__PURE__ */ react.default.createElement(PortalContext.Provider, { value: contextValue }, children);
|
|
3025
|
+
};
|
|
3026
|
+
UNSAFE_PortalProvider.displayName = "UNSAFE_PortalProvider";
|
|
3027
|
+
/**
|
|
3028
|
+
* Hook to get the current portal root container.
|
|
3029
|
+
* Returns the getContainer function from context if inside a PortalProvider,
|
|
3030
|
+
* otherwise returns a function that returns null (default behavior).
|
|
3031
|
+
*/
|
|
3032
|
+
const usePortalRoot = () => {
|
|
3033
|
+
const contextValue = usePortalContextWithoutGuarantee();
|
|
3034
|
+
if (contextValue && "getContainer" in contextValue && contextValue.getContainer) return contextValue.getContainer;
|
|
3035
|
+
return () => null;
|
|
3036
|
+
};
|
|
3037
|
+
|
|
3038
|
+
//#endregion
|
|
3039
|
+
exports.ClerkContextProvider = ClerkContextProvider;
|
|
3040
|
+
exports.ClerkInstanceContext = ClerkInstanceContext;
|
|
3041
|
+
exports.InitialStateProvider = InitialStateProvider;
|
|
3042
|
+
exports.OptionsContext = OptionsContext;
|
|
3043
|
+
exports.UNSAFE_PortalProvider = UNSAFE_PortalProvider;
|
|
3044
|
+
exports.__experimental_CheckoutProvider = __experimental_CheckoutProvider;
|
|
3045
|
+
exports.__experimental_PaymentElement = PaymentElement;
|
|
3046
|
+
exports.__experimental_PaymentElementProvider = PaymentElementProvider;
|
|
3047
|
+
exports.__experimental_useAPIKeys = useAPIKeys;
|
|
3048
|
+
exports.__experimental_useCheckout = useCheckout;
|
|
3049
|
+
exports.__experimental_usePaymentAttempts = usePaymentAttempts;
|
|
3050
|
+
exports.__experimental_usePaymentElement = usePaymentElement;
|
|
3051
|
+
exports.__experimental_usePaymentMethods = usePaymentMethods;
|
|
3052
|
+
exports.__experimental_usePlans = usePlans;
|
|
3053
|
+
exports.__experimental_useStatements = useStatements;
|
|
3054
|
+
exports.__experimental_useSubscription = useSubscription;
|
|
3055
|
+
exports.__internal_useClientBase = useClientBase;
|
|
3056
|
+
exports.__internal_useOrganizationBase = useOrganizationBase;
|
|
3057
|
+
exports.__internal_usePaymentAttemptQuery = usePaymentAttemptQuery;
|
|
3058
|
+
exports.__internal_usePlanDetailsQuery = __internal_usePlanDetailsQuery;
|
|
3059
|
+
exports.__internal_useSessionBase = useSessionBase;
|
|
3060
|
+
exports.__internal_useStatementQuery = useStatementQuery;
|
|
3061
|
+
exports.__internal_useUserBase = useUserBase;
|
|
3062
|
+
exports.__internal_useUserEnterpriseConnections = useUserEnterpriseConnections;
|
|
3063
|
+
exports.assertContextExists = assertContextExists;
|
|
3064
|
+
exports.createContextAndHook = createContextAndHook;
|
|
3065
|
+
exports.isDeeplyEqual = isDeeplyEqual;
|
|
3066
|
+
exports.useAssertWrappedByClerkProvider = useAssertWrappedByClerkProvider;
|
|
3067
|
+
exports.useAttemptToEnableOrganizations = useAttemptToEnableOrganizations;
|
|
3068
|
+
exports.useClerk = useClerk;
|
|
3069
|
+
exports.useClerkInstanceContext = useClerkInstanceContext;
|
|
3070
|
+
exports.useDeepEqualMemo = useDeepEqualMemo;
|
|
3071
|
+
exports.useInitialStateContext = useInitialStateContext;
|
|
3072
|
+
exports.useOptionsContext = useOptionsContext;
|
|
3073
|
+
exports.useOrganization = useOrganization;
|
|
3074
|
+
exports.useOrganizationCreationDefaults = useOrganizationCreationDefaults;
|
|
3075
|
+
exports.useOrganizationList = useOrganizationList;
|
|
3076
|
+
exports.usePortalRoot = usePortalRoot;
|
|
3077
|
+
exports.useReverification = useReverification;
|
|
3078
|
+
exports.useSafeLayoutEffect = useSafeLayoutEffect;
|
|
3079
|
+
exports.useSession = useSession;
|
|
3080
|
+
exports.useSessionList = useSessionList;
|
|
3081
|
+
exports.useUser = useUser;
|
|
3082
|
+
//# sourceMappingURL=index.js.map
|