@vibedeckx/linux-x64 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/process-manager.js +22 -9
- package/dist/routes/terminal-routes.js +7 -0
- package/dist/routes/websocket-routes.js +6 -0
- package/dist/ui/404/index.html +1 -1
- package/dist/ui/404.html +1 -1
- package/dist/ui/__next.__PAGE__.txt +2 -2
- package/dist/ui/__next._full.txt +2 -2
- 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/_next/static/chunks/{d272cd438400a22c.js → 869e15bfcbb5dbd1.js} +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 +2 -2
- package/package.json +1 -1
- package/node_modules/@ai-sdk/deepseek/dist/index.d.mts +0 -68
- package/node_modules/@ai-sdk/deepseek/dist/index.d.ts +0 -68
- package/node_modules/@ai-sdk/deepseek/dist/index.js.map +0 -1
- package/node_modules/@ai-sdk/deepseek/dist/index.mjs.map +0 -1
- package/node_modules/@ai-sdk/gateway/dist/index.d.mts +0 -713
- package/node_modules/@ai-sdk/gateway/dist/index.d.ts +0 -713
- package/node_modules/@ai-sdk/gateway/dist/index.js.map +0 -1
- package/node_modules/@ai-sdk/gateway/dist/index.mjs.map +0 -1
- package/node_modules/@ai-sdk/provider/dist/index.d.mts +0 -4030
- package/node_modules/@ai-sdk/provider/dist/index.d.ts +0 -4030
- package/node_modules/@ai-sdk/provider/dist/index.js.map +0 -1
- package/node_modules/@ai-sdk/provider/dist/index.mjs.map +0 -1
- package/node_modules/@ai-sdk/provider-utils/dist/index.d.mts +0 -1433
- package/node_modules/@ai-sdk/provider-utils/dist/index.d.ts +0 -1433
- package/node_modules/@ai-sdk/provider-utils/dist/index.js.map +0 -1
- package/node_modules/@ai-sdk/provider-utils/dist/index.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts +0 -76
- package/node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts +0 -7
- package/node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts +0 -11
- package/node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts +0 -47
- package/node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts +0 -47
- package/node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts +0 -16
- package/node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts +0 -29
- package/node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts +0 -47
- package/node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts +0 -15
- package/node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts +0 -16
- package/node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts +0 -46
- package/node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts +0 -20
- package/node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts +0 -62
- package/node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts +0 -6
- package/node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts +0 -70
- package/node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts +0 -50
- package/node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts +0 -6
- package/node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts +0 -50
- package/node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts +0 -87
- package/node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts +0 -81
- package/node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts +0 -49
- package/node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts +0 -200
- package/node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts +0 -22
- package/node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts +0 -11
- package/node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts +0 -14
- package/node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts +0 -69
- package/node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts +0 -52
- package/node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts +0 -12
- package/node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts +0 -6
- package/node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts +0 -178
- package/node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts +0 -61
- package/node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts +0 -8
- package/node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/index.d.ts +0 -33
- package/node_modules/@clerk/backend/dist/api/endpoints/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts +0 -2
- package/node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/factory.d.ts +0 -51
- package/node_modules/@clerk/backend/dist/api/factory.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/index.d.ts +0 -3
- package/node_modules/@clerk/backend/dist/api/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/request.d.ts +0 -76
- package/node_modules/@clerk/backend/dist/api/request.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts +0 -137
- package/node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts +0 -10
- package/node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts +0 -15
- package/node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts +0 -42
- package/node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts +0 -66
- package/node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Client.d.ts +0 -83
- package/node_modules/@clerk/backend/dist/api/resources/Client.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts +0 -9
- package/node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts +0 -141
- package/node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts +0 -99
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts +0 -167
- package/node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts +0 -7
- package/node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/DeletedObject.d.ts +0 -10
- package/node_modules/@clerk/backend/dist/api/resources/DeletedObject.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Deserializer.d.ts +0 -26
- package/node_modules/@clerk/backend/dist/api/resources/Deserializer.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Domain.d.ts +0 -15
- package/node_modules/@clerk/backend/dist/api/resources/Domain.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Email.d.ts +0 -17
- package/node_modules/@clerk/backend/dist/api/resources/Email.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/EmailAddress.d.ts +0 -47
- package/node_modules/@clerk/backend/dist/api/resources/EmailAddress.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseAccount.d.ts +0 -225
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseAccount.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseConnection.d.ts +0 -89
- package/node_modules/@clerk/backend/dist/api/resources/EnterpriseConnection.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Enums.d.ts +0 -42
- package/node_modules/@clerk/backend/dist/api/resources/Enums.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/ExternalAccount.d.ts +0 -134
- package/node_modules/@clerk/backend/dist/api/resources/ExternalAccount.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Feature.d.ts +0 -51
- package/node_modules/@clerk/backend/dist/api/resources/Feature.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/HandshakePayload.d.ts +0 -9
- package/node_modules/@clerk/backend/dist/api/resources/HandshakePayload.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/IdPOAuthAccessToken.d.ts +0 -23
- package/node_modules/@clerk/backend/dist/api/resources/IdPOAuthAccessToken.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/IdentificationLink.d.ts +0 -25
- package/node_modules/@clerk/backend/dist/api/resources/IdentificationLink.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Instance.d.ts +0 -9
- package/node_modules/@clerk/backend/dist/api/resources/Instance.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/InstanceRestrictions.d.ts +0 -11
- package/node_modules/@clerk/backend/dist/api/resources/InstanceRestrictions.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/InstanceSettings.d.ts +0 -11
- package/node_modules/@clerk/backend/dist/api/resources/InstanceSettings.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Invitation.d.ts +0 -76
- package/node_modules/@clerk/backend/dist/api/resources/Invitation.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/JSON.d.ts +0 -971
- package/node_modules/@clerk/backend/dist/api/resources/JSON.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/JwtTemplate.d.ts +0 -15
- package/node_modules/@clerk/backend/dist/api/resources/JwtTemplate.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/M2MToken.d.ts +0 -31
- package/node_modules/@clerk/backend/dist/api/resources/M2MToken.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Machine.d.ts +0 -17
- package/node_modules/@clerk/backend/dist/api/resources/Machine.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/MachineScope.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/resources/MachineScope.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/MachineSecretKey.d.ts +0 -10
- package/node_modules/@clerk/backend/dist/api/resources/MachineSecretKey.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OAuthApplication.d.ts +0 -169
- package/node_modules/@clerk/backend/dist/api/resources/OAuthApplication.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OauthAccessToken.d.ts +0 -83
- package/node_modules/@clerk/backend/dist/api/resources/OauthAccessToken.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Organization.d.ts +0 -115
- package/node_modules/@clerk/backend/dist/api/resources/Organization.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationDomain.d.ts +0 -18
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationDomain.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationInvitation.d.ts +0 -116
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationInvitation.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationMembership.d.ts +0 -140
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationMembership.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationSettings.d.ts +0 -17
- package/node_modules/@clerk/backend/dist/api/resources/OrganizationSettings.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/PhoneNumber.d.ts +0 -63
- package/node_modules/@clerk/backend/dist/api/resources/PhoneNumber.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/ProxyCheck.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/resources/ProxyCheck.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/RedirectUrl.d.ts +0 -47
- package/node_modules/@clerk/backend/dist/api/resources/RedirectUrl.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/SMSMessage.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/resources/SMSMessage.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/SamlConnection.d.ts +0 -215
- package/node_modules/@clerk/backend/dist/api/resources/SamlConnection.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Session.d.ts +0 -176
- package/node_modules/@clerk/backend/dist/api/resources/Session.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/SignInTokens.d.ts +0 -13
- package/node_modules/@clerk/backend/dist/api/resources/SignInTokens.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/SignUpAttempt.d.ts +0 -44
- package/node_modules/@clerk/backend/dist/api/resources/SignUpAttempt.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/TestingToken.d.ts +0 -8
- package/node_modules/@clerk/backend/dist/api/resources/TestingToken.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Token.d.ts +0 -7
- package/node_modules/@clerk/backend/dist/api/resources/Token.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/User.d.ts +0 -296
- package/node_modules/@clerk/backend/dist/api/resources/User.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Verification.d.ts +0 -90
- package/node_modules/@clerk/backend/dist/api/resources/Verification.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/WaitlistEntry.d.ts +0 -67
- package/node_modules/@clerk/backend/dist/api/resources/WaitlistEntry.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Web3Wallet.d.ts +0 -36
- package/node_modules/@clerk/backend/dist/api/resources/Web3Wallet.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/Webhooks.d.ts +0 -32
- package/node_modules/@clerk/backend/dist/api/resources/Webhooks.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/api/resources/index.d.ts +0 -57
- package/node_modules/@clerk/backend/dist/api/resources/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-7KLH7JRZ.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-I4B6KCGC.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-P263NW7Z.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-QR37SKMP.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-TOROEX6P.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/chunk-YBVFDYDR.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/constants.d.ts +0 -91
- package/node_modules/@clerk/backend/dist/constants.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/createRedirect.d.ts +0 -25
- package/node_modules/@clerk/backend/dist/createRedirect.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/errors.d.ts +0 -67
- package/node_modules/@clerk/backend/dist/errors.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/errors.js.map +0 -1
- package/node_modules/@clerk/backend/dist/errors.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/fixtures/index.d.ts +0 -105
- package/node_modules/@clerk/backend/dist/fixtures/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/fixtures/machine.d.ts +0 -72
- package/node_modules/@clerk/backend/dist/fixtures/machine.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/index.d.ts +0 -49
- package/node_modules/@clerk/backend/dist/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/index.js.map +0 -1
- package/node_modules/@clerk/backend/dist/index.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/internal.d.ts +0 -20
- package/node_modules/@clerk/backend/dist/internal.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/internal.js.map +0 -1
- package/node_modules/@clerk/backend/dist/internal.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/algorithms.d.ts +0 -3
- package/node_modules/@clerk/backend/dist/jwt/algorithms.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/assertions.d.ts +0 -10
- package/node_modules/@clerk/backend/dist/jwt/assertions.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/cryptoKeys.d.ts +0 -2
- package/node_modules/@clerk/backend/dist/jwt/cryptoKeys.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/index.d.ts +0 -7
- package/node_modules/@clerk/backend/dist/jwt/index.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/index.js.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/index.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/legacyReturn.d.ts +0 -4
- package/node_modules/@clerk/backend/dist/jwt/legacyReturn.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/signJwt.d.ts +0 -20
- package/node_modules/@clerk/backend/dist/jwt/signJwt.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/types.d.ts +0 -18
- package/node_modules/@clerk/backend/dist/jwt/types.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/verifyJwt.d.ts +0 -38
- package/node_modules/@clerk/backend/dist/jwt/verifyJwt.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/jwt/verifyMachineJwt.d.ts +0 -19
- package/node_modules/@clerk/backend/dist/jwt/verifyMachineJwt.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/mock-server.d.ts +0 -4
- package/node_modules/@clerk/backend/dist/mock-server.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/proxy.d.ts +0 -72
- package/node_modules/@clerk/backend/dist/proxy.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/proxy.js.map +0 -1
- package/node_modules/@clerk/backend/dist/proxy.mjs.map +0 -1
- package/node_modules/@clerk/backend/dist/runtime.d.ts +0 -26
- package/node_modules/@clerk/backend/dist/runtime.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/authObjects.d.ts +0 -193
- package/node_modules/@clerk/backend/dist/tokens/authObjects.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/authStatus.d.ts +0 -120
- package/node_modules/@clerk/backend/dist/tokens/authStatus.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/authenticateContext.d.ts +0 -78
- package/node_modules/@clerk/backend/dist/tokens/authenticateContext.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/clerkRequest.d.ts +0 -29
- package/node_modules/@clerk/backend/dist/tokens/clerkRequest.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/clerkUrl.d.ts +0 -18
- package/node_modules/@clerk/backend/dist/tokens/clerkUrl.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/cookie.d.ts +0 -3
- package/node_modules/@clerk/backend/dist/tokens/cookie.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/factory.d.ts +0 -29
- package/node_modules/@clerk/backend/dist/tokens/factory.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/handshake.d.ts +0 -64
- package/node_modules/@clerk/backend/dist/tokens/handshake.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/keys.d.ts +0 -54
- package/node_modules/@clerk/backend/dist/tokens/keys.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/machine.d.ts +0 -85
- package/node_modules/@clerk/backend/dist/tokens/machine.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/organizationMatcher.d.ts +0 -11
- package/node_modules/@clerk/backend/dist/tokens/organizationMatcher.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/request.d.ts +0 -60
- package/node_modules/@clerk/backend/dist/tokens/request.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/tokenTypes.d.ts +0 -19
- package/node_modules/@clerk/backend/dist/tokens/tokenTypes.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/types.d.ts +0 -253
- package/node_modules/@clerk/backend/dist/tokens/types.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/verify.d.ts +0 -109
- package/node_modules/@clerk/backend/dist/tokens/verify.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/decorateObjectWithResources.d.ts +0 -22
- package/node_modules/@clerk/backend/dist/util/decorateObjectWithResources.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/mergePreDefinedOptions.d.ts +0 -2
- package/node_modules/@clerk/backend/dist/util/mergePreDefinedOptions.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/optionsAssertions.d.ts +0 -3
- package/node_modules/@clerk/backend/dist/util/optionsAssertions.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/path.d.ts +0 -4
- package/node_modules/@clerk/backend/dist/util/path.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/rfc4648.d.ts +0 -26
- package/node_modules/@clerk/backend/dist/util/rfc4648.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/util/shared.d.ts +0 -7
- package/node_modules/@clerk/backend/dist/util/shared.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/webhooks.d.ts +0 -50
- package/node_modules/@clerk/backend/dist/webhooks.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/webhooks.js.map +0 -1
- package/node_modules/@clerk/backend/dist/webhooks.mjs.map +0 -1
- package/node_modules/@clerk/fastify/dist/chunk-RY4T2JMQ.mjs.map +0 -1
- package/node_modules/@clerk/fastify/dist/index-CWnSaB0B.d.mts +0 -25
- package/node_modules/@clerk/fastify/dist/index-CWnSaB0B.d.ts +0 -25
- package/node_modules/@clerk/fastify/dist/index.d.mts +0 -16
- package/node_modules/@clerk/fastify/dist/index.d.ts +0 -16
- package/node_modules/@clerk/fastify/dist/index.js.map +0 -1
- package/node_modules/@clerk/fastify/dist/index.mjs.map +0 -1
- package/node_modules/@clerk/fastify/dist/types.d.mts +0 -4
- package/node_modules/@clerk/fastify/dist/types.d.ts +0 -4
- package/node_modules/@clerk/fastify/dist/types.js.map +0 -1
- package/node_modules/@clerk/fastify/dist/types.mjs.map +0 -1
- package/node_modules/@clerk/fastify/dist/webhooks.d.mts +0 -19
- package/node_modules/@clerk/fastify/dist/webhooks.d.ts +0 -19
- package/node_modules/@clerk/fastify/dist/webhooks.js.map +0 -1
- package/node_modules/@clerk/fastify/dist/webhooks.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.mts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.ts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/alternativePhoneCode.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.mts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.ts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/apiUrlFromPublishableKey.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-Du_JQmnH.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-Un7v7f6J.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-B7aH39AU.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors-CBHAr6Ld.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.mts +0 -26
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.ts +0 -26
- package/node_modules/@clerk/shared/dist/runtime/authorization-errors.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.mts +0 -72
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.ts +0 -72
- package/node_modules/@clerk/shared/dist/runtime/authorization.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/browser-CMFCxUv7.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/browser-CaHqvEp1.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/browser.d.mts +0 -35
- package/node_modules/@clerk/shared/dist/runtime/browser.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/browser.d.ts +0 -35
- package/node_modules/@clerk/shared/dist/runtime/browser.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/buildAccountsBaseUrl.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.mts +0 -22
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.ts +0 -22
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkEventBus.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-CaS4sM5w.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/clerkRuntimeError-DqAmLuLY.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/color.d.mts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/color.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/color.d.ts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/color.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/color.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/color.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/complexity-DEun2UD2.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/complexity-DydNJOmy.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants-BUzkV8jh.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants-Bta24VLk.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants-BulbbNR9.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants-WYhx_umW.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants.d.mts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/constants.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/constants.d.ts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/constants.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.mts +0 -30
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.ts +0 -30
- package/node_modules/@clerk/shared/dist/runtime/cookie.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/cookie.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/cookie.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-Bq0Rf2GM.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/createDeferredPromise-CYCAgyvC.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/date.d.mts +0 -37
- package/node_modules/@clerk/shared/dist/runtime/date.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/date.d.ts +0 -37
- package/node_modules/@clerk/shared/dist/runtime/date.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/date.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/date.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deprecated--jK9xTNh.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deprecated-841w0zq7.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.mts +0 -40
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.ts +0 -40
- package/node_modules/@clerk/shared/dist/runtime/deprecated.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deriveState-CQUgOdaO.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deriveState-zgq99aY1.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.mts +0 -28
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.ts +0 -28
- package/node_modules/@clerk/shared/dist/runtime/deriveState.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.mts +0 -13
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.ts +0 -13
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/devBrowser.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/dom/index.d.mts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/dom/index.d.ts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.d.mts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/dom/waitForElement.d.ts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/encoders-CAjYroSe.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/encoders-C_EA3--l.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/error-D-ayZ5nL.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/error-kcck_bbZ.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/error.d.mts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/error.d.ts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/errors-FAXDzRsM.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/errors-oOcNTWU9.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/esm-D9kK-xzr.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/esm-DGPYZuZb.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/eventBus-TFTcHo0F.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/eventBus-mLhN9dkg.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.mts +0 -117
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.ts +0 -117
- package/node_modules/@clerk/shared/dist/runtime/eventBus.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/file.d.mts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/file.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/file.d.ts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/file.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/file.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/file.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.mts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.ts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getEnvVariable.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.mts +0 -46
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.ts +0 -46
- package/node_modules/@clerk/shared/dist/runtime/getToken.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getToken.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/getToken.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/globs-D0Kpu4g1.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/globs-u_gXJPLt.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/globs.d.mts +0 -7
- package/node_modules/@clerk/shared/dist/runtime/globs.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/globs.d.ts +0 -7
- package/node_modules/@clerk/shared/dist/runtime/globs.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-4-yw9hYF.d.ts +0 -7
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-4-yw9hYF.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BWsoUzyL.d.mts +0 -7
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BWsoUzyL.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-BmJC8Cue.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn-iAIjw-kJ.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.mts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.ts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/handleValueOrFn.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/hex-txii11Pj.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/hex-zF8OyMcG.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index-BK_NVS1t.d.ts +0 -10885
- package/node_modules/@clerk/shared/dist/runtime/index-BK_NVS1t.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index-Cc98l5ga.d.mts +0 -10885
- package/node_modules/@clerk/shared/dist/runtime/index-Cc98l5ga.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index.d.mts +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index.d.ts +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/index.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-BqNbQ8Of.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3EthProviders-Cp_aXKsI.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-Cbd4CVu9.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/injectedWeb3SolanaProviders-DRQuwtHF.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/instance-BmZr0cdE.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/instance-C1LlVxIp.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts +0 -31
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts +0 -31
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/completeSignUpFlow.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.mts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.ts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/componentGuards.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.mts +0 -54
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.ts +0 -54
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/constants.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.mts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.ts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/email.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/encoders.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.mts +0 -113
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.ts +0 -113
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/errors.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.mts +0 -5
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.ts +0 -5
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/hex.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.mts +0 -13
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.ts +0 -13
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/injectedWeb3SolanaProviders.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.mts +0 -10
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.ts +0 -10
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/organization.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.mts +0 -61
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.ts +0 -61
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passkeys.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.mts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.ts +0 -11
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/complexity.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.mts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.ts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/password.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.mts +0 -20
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.ts +0 -20
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/passwords/strength.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.mts +0 -6
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.ts +0 -6
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/path.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.mts +0 -36
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.ts +0 -36
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryParams.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.mts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.ts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/queryStateParams.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.mts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.ts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/querystring.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.mts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.ts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/redirectUrls.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/runtime.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.mts +0 -31
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.ts +0 -31
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/sessionTasks.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.mts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.ts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/thirdPartyDomains.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.d.mts +0 -4
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/url.d.ts +0 -4
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.mts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.ts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/user.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.mts +0 -25
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.ts +0 -25
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/warnings.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.mts +0 -32
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.ts +0 -32
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/web3.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.mts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.ts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/internal/clerk-js/windowNavigate.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-CoF80qYz.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob-Hkpnx2p8.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.mts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.ts +0 -9
- package/node_modules/@clerk/shared/dist/runtime/isomorphicAtob.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-DWmLcIHi.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa-_pSA92Q9.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.mts +0 -5
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.ts +0 -5
- package/node_modules/@clerk/shared/dist/runtime/isomorphicBtoa.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.mts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.ts +0 -23
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/jwtPayloadParser.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.mts +0 -271
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.ts +0 -271
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keyless/index.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keys-BI9hmfja.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keys-DuxzP8MU.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keys.d.mts +0 -103
- package/node_modules/@clerk/shared/dist/runtime/keys.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/keys.d.ts +0 -103
- package/node_modules/@clerk/shared/dist/runtime/keys.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.mts +0 -88
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.ts +0 -88
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadClerkJsScript.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadScript-BnB9d_IW.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadScript-UG_epen4.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.mts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.ts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/loadScript.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.mts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.ts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/localStorageBroadcastChannel.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/logger-BOte4sQb.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/logger-DISzhF9M.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/logger.d.mts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/logger.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/logger.d.ts +0 -12
- package/node_modules/@clerk/shared/dist/runtime/logger.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-BsmFyRrH.d.mts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-BsmFyRrH.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-WB15hU3T.d.ts +0 -21
- package/node_modules/@clerk/shared/dist/runtime/moduleManager-WB15hU3T.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.d.mts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/moduleManager.d.ts +0 -2
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-DFm5qdPh.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler-Dkdkho_6.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.mts +0 -34
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.ts +0 -34
- package/node_modules/@clerk/shared/dist/runtime/netlifyCacheHandler.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/noop-B7RzLU-c.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/noop-CVg8oVJr.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.mts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.ts +0 -19
- package/node_modules/@clerk/shared/dist/runtime/oauth.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/oauth.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/oauth.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/object-DYaB_9gA.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/object-DklYlVP-.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/object.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/object.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/object.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/object.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/organization-BzM6mhUv.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/organization-Cy_ag_4B.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/organization.d.mts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/organization.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/organization.d.ts +0 -15
- package/node_modules/@clerk/shared/dist/runtime/organization.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/path-BLD6zl1u.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/path-ci3QmWY8.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.mts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.ts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathMatcher.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-7eww5BY6.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp-Do-462DY.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.mts +0 -85
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.ts +0 -85
- package/node_modules/@clerk/shared/dist/runtime/pathToRegexp.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/poller.d.mts +0 -20
- package/node_modules/@clerk/shared/dist/runtime/poller.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/poller.d.ts +0 -20
- package/node_modules/@clerk/shared/dist/runtime/poller.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/poller.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/poller.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/proxy-BcfViKjn.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/proxy-DahrnOq8.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.mts +0 -24
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.ts +0 -24
- package/node_modules/@clerk/shared/dist/runtime/proxy.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/queryParams-DSUymAGT.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/queryParams-Dlt0oVDg.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/querystring-BFj_iDi0.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/querystring-pXtwII0l.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.mts +0 -1647
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.ts +0 -1647
- package/node_modules/@clerk/shared/dist/runtime/react/index.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/react/index.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/react/index.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/retry-DGCmqlcR.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/retry-DqRIhHV5.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/retry.d.mts +0 -60
- package/node_modules/@clerk/shared/dist/runtime/retry.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/retry.d.ts +0 -60
- package/node_modules/@clerk/shared/dist/runtime/retry.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/router.d.mts +0 -100
- package/node_modules/@clerk/shared/dist/runtime/router.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/router.d.ts +0 -100
- package/node_modules/@clerk/shared/dist/runtime/router.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/router.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/router.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-D1yr0yUs.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/runtimeEnvironment-DJJWo5AR.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.mts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.ts +0 -18
- package/node_modules/@clerk/shared/dist/runtime/safeImport.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/safeImport.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/safeImport.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/saml.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/saml.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/saml.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/saml.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/saml.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/saml.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/strength-DMrZQDoO.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/strength-DPtAse7d.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/telemetry--P0a0tSk.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/telemetry-DE2JFEBf.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.mts +0 -143
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.ts +0 -143
- package/node_modules/@clerk/shared/dist/runtime/telemetry.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/types/index.d.mts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/types/index.d.ts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/ui/index.d.mts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/ui/index.d.ts +0 -3
- package/node_modules/@clerk/shared/dist/runtime/underscore-BX6Ucmg5.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/underscore-ClYSgvuy.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.mts +0 -63
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.ts +0 -63
- package/node_modules/@clerk/shared/dist/runtime/underscore.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-C6gPMFx5.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-CKcDCvyG.d.ts +0 -144
- package/node_modules/@clerk/shared/dist/runtime/url-CKcDCvyG.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-CoXV4i87.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-DaPDWryr.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-Ou22U773.d.mts +0 -144
- package/node_modules/@clerk/shared/dist/runtime/url-Ou22U773.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url-sAcxbiir.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url.d.mts +0 -78
- package/node_modules/@clerk/shared/dist/runtime/url.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/url.d.ts +0 -78
- package/node_modules/@clerk/shared/dist/runtime/url.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.mts +0 -65
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.ts +0 -65
- package/node_modules/@clerk/shared/dist/runtime/utils/index.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/utils-TXJdVJx7.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/utils-Y3tB5LFT.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.mts +0 -58
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.ts +0 -58
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionCheck.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-BSa0YYBu.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionSelector-CoS6g9-B.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.mts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.ts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/versionSelector.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-CB9iynCD.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DGxKWlwM.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DLpcirWQ.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DLpcirWQ.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DZxkXjac.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/waitForElement-DZxkXjac.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/web3.d.mts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/web3.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/web3.d.ts +0 -8
- package/node_modules/@clerk/shared/dist/runtime/web3.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/web3.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/web3.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.mts +0 -16
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.ts +0 -16
- package/node_modules/@clerk/shared/dist/runtime/webauthn.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/webauthn.js.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/webauthn.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.mts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.ts +0 -17
- package/node_modules/@clerk/shared/dist/runtime/workerTimers/index.d.ts.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-CDy8bBJS.mjs.map +0 -1
- package/node_modules/@clerk/shared/dist/runtime/workerTimers-D-HZtmjt.js.map +0 -1
- package/node_modules/@clerk/shared/dist/types/index.d.mts +0 -10584
- package/node_modules/@clerk/shared/dist/types/index.d.mts.map +0 -1
- package/node_modules/@clerk/shared/dist/types/index.d.ts +0 -10584
- package/node_modules/@clerk/shared/dist/types/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts +0 -4
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts +0 -34
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts +0 -6
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts +0 -2
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts +0 -41
- package/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/index.min.js.map +0 -7
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts +0 -5
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts +0 -2
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts +0 -7
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts +0 -4
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts +0 -34
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts +0 -6
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts +0 -2
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/index.d.ts +0 -41
- package/node_modules/@isaacs/cliui/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/index.min.js.map +0 -7
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts +0 -5
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/string-width/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts +0 -2
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.js.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts +0 -7
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts.map +0 -1
- package/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.d.mts +0 -239
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.d.ts +0 -239
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/dist/index.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.d.mts +0 -156
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.d.ts +0 -156
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/dist/internal/index.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.d.mts +0 -1252
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.d.ts +0 -1252
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/dist/index.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.d.mts +0 -352
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.d.ts +0 -352
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/dist/index.mjs.map +0 -1
- package/node_modules/@standard-schema/spec/dist/index.d.cts +0 -119
- package/node_modules/@standard-schema/spec/dist/index.d.ts +0 -119
- package/node_modules/@stricli/core/dist/index.d.cts +0 -1443
- package/node_modules/@stricli/core/dist/index.d.ts +0 -1443
- package/node_modules/@vercel/oidc/dist/auth-config.d.ts +0 -30
- package/node_modules/@vercel/oidc/dist/get-context.d.ts +0 -6
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.d.ts +0 -49
- package/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.test.d.ts +0 -1
- package/node_modules/@vercel/oidc/dist/index-browser.d.ts +0 -3
- package/node_modules/@vercel/oidc/dist/index-browser.test.d.ts +0 -1
- package/node_modules/@vercel/oidc/dist/index.d.ts +0 -2
- package/node_modules/@vercel/oidc/dist/oauth.d.ts +0 -17
- package/node_modules/@vercel/oidc/dist/token-error.d.ts +0 -5
- package/node_modules/@vercel/oidc/dist/token-io.d.ts +0 -2
- package/node_modules/@vercel/oidc/dist/token-util.d.ts +0 -21
- package/node_modules/@vercel/oidc/dist/token-util.test.d.ts +0 -1
- package/node_modules/@vercel/oidc/dist/token.d.ts +0 -1
- package/node_modules/@vercel/oidc/dist/token.test.d.ts +0 -1
- package/node_modules/agent-base/dist/helpers.d.ts +0 -15
- package/node_modules/agent-base/dist/helpers.d.ts.map +0 -1
- package/node_modules/agent-base/dist/helpers.js.map +0 -1
- package/node_modules/agent-base/dist/index.d.ts +0 -41
- package/node_modules/agent-base/dist/index.d.ts.map +0 -1
- package/node_modules/agent-base/dist/index.js.map +0 -1
- package/node_modules/ai/dist/index.d.mts +0 -6403
- package/node_modules/ai/dist/index.d.ts +0 -6403
- package/node_modules/ai/dist/index.js.map +0 -1
- package/node_modules/ai/dist/index.mjs.map +0 -1
- package/node_modules/ai/dist/internal/index.d.mts +0 -314
- package/node_modules/ai/dist/internal/index.d.ts +0 -314
- package/node_modules/ai/dist/internal/index.js.map +0 -1
- package/node_modules/ai/dist/internal/index.mjs.map +0 -1
- package/node_modules/ajv/dist/2019.d.ts +0 -19
- package/node_modules/ajv/dist/2019.js.map +0 -1
- package/node_modules/ajv/dist/2020.d.ts +0 -19
- package/node_modules/ajv/dist/2020.js.map +0 -1
- package/node_modules/ajv/dist/ajv.d.ts +0 -18
- package/node_modules/ajv/dist/ajv.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
- package/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
- package/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
- package/node_modules/ajv/dist/compile/errors.d.ts +0 -13
- package/node_modules/ajv/dist/compile/errors.js.map +0 -1
- package/node_modules/ajv/dist/compile/index.d.ts +0 -80
- package/node_modules/ajv/dist/compile/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
- package/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
- package/node_modules/ajv/dist/compile/names.d.ts +0 -20
- package/node_modules/ajv/dist/compile/names.js.map +0 -1
- package/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
- package/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
- package/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
- package/node_modules/ajv/dist/compile/resolve.js.map +0 -1
- package/node_modules/ajv/dist/compile/rules.d.ts +0 -28
- package/node_modules/ajv/dist/compile/rules.js.map +0 -1
- package/node_modules/ajv/dist/compile/util.d.ts +0 -40
- package/node_modules/ajv/dist/compile/util.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
- package/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
- package/node_modules/ajv/dist/core.d.ts +0 -174
- package/node_modules/ajv/dist/core.js.map +0 -1
- package/node_modules/ajv/dist/jtd.d.ts +0 -47
- package/node_modules/ajv/dist/jtd.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/equal.js.map +0 -1
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
- package/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
- package/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/quote.js.map +0 -1
- package/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/re2.js.map +0 -1
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
- package/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/uri.js.map +0 -1
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
- package/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
- package/node_modules/ajv/dist/standalone/index.d.ts +0 -6
- package/node_modules/ajv/dist/standalone/index.js.map +0 -1
- package/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
- package/node_modules/ajv/dist/standalone/instance.js.map +0 -1
- package/node_modules/ajv/dist/types/index.d.ts +0 -183
- package/node_modules/ajv/dist/types/index.js.map +0 -1
- package/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
- package/node_modules/ajv/dist/types/json-schema.js.map +0 -1
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
- package/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
- package/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
- package/node_modules/ajv-formats/dist/formats.d.ts +0 -9
- package/node_modules/ajv-formats/dist/formats.js.map +0 -1
- package/node_modules/ajv-formats/dist/index.d.ts +0 -15
- package/node_modules/ajv-formats/dist/index.js.map +0 -1
- package/node_modules/ajv-formats/dist/limit.d.ts +0 -10
- package/node_modules/ajv-formats/dist/limit.js.map +0 -1
- package/node_modules/balanced-match/dist/commonjs/index.d.ts +0 -9
- package/node_modules/balanced-match/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/balanced-match/dist/commonjs/index.js.map +0 -1
- package/node_modules/balanced-match/dist/esm/index.d.ts +0 -9
- package/node_modules/balanced-match/dist/esm/index.d.ts.map +0 -1
- package/node_modules/balanced-match/dist/esm/index.js.map +0 -1
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts +0 -6
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/brace-expansion/dist/commonjs/index.js.map +0 -1
- package/node_modules/brace-expansion/dist/esm/index.d.ts +0 -6
- package/node_modules/brace-expansion/dist/esm/index.d.ts.map +0 -1
- package/node_modules/brace-expansion/dist/esm/index.js.map +0 -1
- package/node_modules/cookie/dist/index.d.ts +0 -148
- package/node_modules/cookie/dist/index.js.map +0 -1
- package/node_modules/eventsource-parser/dist/index.cjs.map +0 -1
- package/node_modules/eventsource-parser/dist/index.d.cts +0 -144
- package/node_modules/eventsource-parser/dist/index.d.ts +0 -144
- package/node_modules/eventsource-parser/dist/index.js.map +0 -1
- package/node_modules/eventsource-parser/dist/stream.cjs.map +0 -1
- package/node_modules/eventsource-parser/dist/stream.d.cts +0 -118
- package/node_modules/eventsource-parser/dist/stream.d.ts +0 -118
- package/node_modules/eventsource-parser/dist/stream.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +0 -2
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/all-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/index.d.ts +0 -58
- package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/index.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +0 -6
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +0 -10
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/watchdog.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts +0 -2
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/all-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/index.d.ts +0 -58
- package/node_modules/foreground-child/dist/esm/index.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/index.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +0 -6
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/proxy-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts +0 -10
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/watchdog.js.map +0 -1
- package/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
- package/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/glob.js.map +0 -1
- package/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
- package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
- package/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
- package/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
- package/node_modules/glob/dist/commonjs/index.d.ts +0 -97
- package/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/index.js.map +0 -1
- package/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
- package/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
- package/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
- package/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/processor.js.map +0 -1
- package/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
- package/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/walker.js.map +0 -1
- package/node_modules/glob/dist/esm/bin.d.mts +0 -3
- package/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
- package/node_modules/glob/dist/esm/bin.mjs.map +0 -1
- package/node_modules/glob/dist/esm/glob.d.ts +0 -388
- package/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/glob.js.map +0 -1
- package/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
- package/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/has-magic.js.map +0 -1
- package/node_modules/glob/dist/esm/ignore.d.ts +0 -24
- package/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/ignore.js.map +0 -1
- package/node_modules/glob/dist/esm/index.d.ts +0 -97
- package/node_modules/glob/dist/esm/index.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/index.js.map +0 -1
- package/node_modules/glob/dist/esm/pattern.d.ts +0 -76
- package/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/pattern.js.map +0 -1
- package/node_modules/glob/dist/esm/processor.d.ts +0 -59
- package/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/processor.js.map +0 -1
- package/node_modules/glob/dist/esm/walker.d.ts +0 -97
- package/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/walker.js.map +0 -1
- package/node_modules/https-proxy-agent/dist/index.d.ts +0 -47
- package/node_modules/https-proxy-agent/dist/index.d.ts.map +0 -1
- package/node_modules/https-proxy-agent/dist/index.js.map +0 -1
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -15
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +0 -1
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
- package/node_modules/ip-address/dist/address-error.d.ts +0 -5
- package/node_modules/ip-address/dist/address-error.d.ts.map +0 -1
- package/node_modules/ip-address/dist/address-error.js.map +0 -1
- package/node_modules/ip-address/dist/common.d.ts +0 -15
- package/node_modules/ip-address/dist/common.d.ts.map +0 -1
- package/node_modules/ip-address/dist/common.js.map +0 -1
- package/node_modules/ip-address/dist/ip-address.d.ts +0 -8
- package/node_modules/ip-address/dist/ip-address.d.ts.map +0 -1
- package/node_modules/ip-address/dist/ip-address.js.map +0 -1
- package/node_modules/ip-address/dist/ipv4.d.ts +0 -209
- package/node_modules/ip-address/dist/ipv4.d.ts.map +0 -1
- package/node_modules/ip-address/dist/ipv4.js.map +0 -1
- package/node_modules/ip-address/dist/ipv6.d.ts +0 -428
- package/node_modules/ip-address/dist/ipv6.d.ts.map +0 -1
- package/node_modules/ip-address/dist/ipv6.js.map +0 -1
- package/node_modules/ip-address/dist/v4/constants.d.ts +0 -5
- package/node_modules/ip-address/dist/v4/constants.d.ts.map +0 -1
- package/node_modules/ip-address/dist/v4/constants.js.map +0 -1
- package/node_modules/ip-address/dist/v6/constants.d.ts +0 -45
- package/node_modules/ip-address/dist/v6/constants.d.ts.map +0 -1
- package/node_modules/ip-address/dist/v6/constants.js.map +0 -1
- package/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
- package/node_modules/ip-address/dist/v6/helpers.d.ts.map +0 -1
- package/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -6
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +0 -1
- package/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/index.d.ts +0 -323
- package/node_modules/jackspeak/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/index.js.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/index.min.js.map +0 -7
- package/node_modules/jackspeak/dist/esm/index.d.ts +0 -323
- package/node_modules/jackspeak/dist/esm/index.d.ts.map +0 -1
- package/node_modules/jackspeak/dist/esm/index.js.map +0 -1
- package/node_modules/jackspeak/dist/esm/index.min.js.map +0 -7
- package/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1323
- package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
- package/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
- package/node_modules/lru-cache/dist/esm/index.d.ts +0 -1323
- package/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
- package/node_modules/lru-cache/dist/esm/index.js.map +0 -1
- package/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
- package/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -22
- package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
- package/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -15
- package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
- package/node_modules/minimatch/dist/commonjs/index.d.ts +0 -174
- package/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -22
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
- package/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
- package/node_modules/minimatch/dist/esm/ast.d.ts +0 -22
- package/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/ast.js.map +0 -1
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
- package/node_modules/minimatch/dist/esm/escape.d.ts +0 -15
- package/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/escape.js.map +0 -1
- package/node_modules/minimatch/dist/esm/index.d.ts +0 -174
- package/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/index.js.map +0 -1
- package/node_modules/minimatch/dist/esm/unescape.d.ts +0 -22
- package/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
- package/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
- package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
- package/node_modules/minipass/dist/esm/index.d.ts +0 -545
- package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
- package/node_modules/minipass/dist/esm/index.js.map +0 -1
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +0 -89
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/package-json-from-dist/dist/commonjs/index.js.map +0 -1
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts +0 -89
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +0 -1
- package/node_modules/package-json-from-dist/dist/esm/index.js.map +0 -1
- package/node_modules/path-scurry/dist/commonjs/index.d.ts +0 -1115
- package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/path-scurry/dist/commonjs/index.js.map +0 -1
- package/node_modules/path-scurry/dist/esm/index.d.ts +0 -1115
- package/node_modules/path-scurry/dist/esm/index.d.ts.map +0 -1
- package/node_modules/path-scurry/dist/esm/index.js.map +0 -1
- package/node_modules/ret/dist/index.d.ts +0 -7
- package/node_modules/ret/dist/index.js.map +0 -1
- package/node_modules/ret/dist/reconstruct.d.ts +0 -2
- package/node_modules/ret/dist/reconstruct.js.map +0 -1
- package/node_modules/ret/dist/sets-lookup.d.ts +0 -5
- package/node_modules/ret/dist/sets-lookup.js.map +0 -1
- package/node_modules/ret/dist/sets.d.ts +0 -9
- package/node_modules/ret/dist/sets.js.map +0 -1
- package/node_modules/ret/dist/tokenizer.d.ts +0 -8
- package/node_modules/ret/dist/tokenizer.js.map +0 -1
- package/node_modules/ret/dist/types/index.d.ts +0 -3
- package/node_modules/ret/dist/types/index.js.map +0 -1
- package/node_modules/ret/dist/types/set-lookup.d.ts +0 -8
- package/node_modules/ret/dist/types/set-lookup.js.map +0 -1
- package/node_modules/ret/dist/types/tokens.d.ts +0 -41
- package/node_modules/ret/dist/types/tokens.js.map +0 -1
- package/node_modules/ret/dist/types/types.d.ts +0 -10
- package/node_modules/ret/dist/types/types.js.map +0 -1
- package/node_modules/ret/dist/util.d.ts +0 -18
- package/node_modules/ret/dist/util.js.map +0 -1
- package/node_modules/ret/dist/write-set-tokens.d.ts +0 -14
- package/node_modules/ret/dist/write-set-tokens.js.map +0 -1
- package/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
- package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
- package/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
- package/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
- package/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
- package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
- package/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
- package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
- package/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
- package/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
- package/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
- package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
- package/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
- package/node_modules/socks-proxy-agent/dist/index.d.ts +0 -27
- package/node_modules/socks-proxy-agent/dist/index.d.ts.map +0 -1
- package/node_modules/socks-proxy-agent/dist/index.js.map +0 -1
- package/node_modules/standardwebhooks/dist/index.d.ts +0 -24
- package/node_modules/standardwebhooks/dist/index.js.map +0 -1
- package/node_modules/standardwebhooks/dist/timing_safe_equal.d.ts +0 -1
- package/node_modules/standardwebhooks/dist/timing_safe_equal.js.map +0 -1
- package/node_modules/std-env/dist/index.d.cts +0 -92
- package/node_modules/std-env/dist/index.d.mts +0 -92
- package/node_modules/std-env/dist/index.d.ts +0 -92
- /package/dist/ui/_next/static/{XLzUBsNMptwXfIl9-a4z_ → KwSMuRKWgTp_quB8AMAmD}/_buildManifest.js +0 -0
- /package/dist/ui/_next/static/{XLzUBsNMptwXfIl9-a4z_ → KwSMuRKWgTp_quB8AMAmD}/_clientMiddlewareManifest.json +0 -0
- /package/dist/ui/_next/static/{XLzUBsNMptwXfIl9-a4z_ → KwSMuRKWgTp_quB8AMAmD}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"algorithms.d.ts","sourceRoot":"","sources":["../../src/jwt/algorithms.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,IAAI,UAAyB,CAAC;AAE3C,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,MAAM,GAAG,qBAAqB,CAY/E"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type IssuerResolver = string | ((iss: string) => boolean);
|
|
2
|
-
export declare const assertAudienceClaim: (aud?: unknown, audience?: unknown) => void;
|
|
3
|
-
export declare const assertHeaderType: (typ?: unknown, allowedTypes?: string | string[]) => void;
|
|
4
|
-
export declare const assertHeaderAlgorithm: (alg: string) => void;
|
|
5
|
-
export declare const assertSubClaim: (sub?: string) => void;
|
|
6
|
-
export declare const assertAuthorizedPartiesClaim: (azp?: string, authorizedParties?: string[]) => void;
|
|
7
|
-
export declare const assertExpirationClaim: (exp: number, clockSkewInMs: number) => void;
|
|
8
|
-
export declare const assertActivationClaim: (nbf: number | undefined, clockSkewInMs: number) => void;
|
|
9
|
-
export declare const assertIssuedAtClaim: (iat: number | undefined, clockSkewInMs: number) => void;
|
|
10
|
-
//# sourceMappingURL=assertions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assertions.d.ts","sourceRoot":"","sources":["../../src/jwt/assertions.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC;AAMjE,eAAO,MAAM,mBAAmB,GAAI,MAAM,OAAO,EAAE,WAAW,OAAO,SAsCpE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,OAAO,EAAE,eAAc,MAAM,GAAG,MAAM,EAAU,SAatF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,KAAK,MAAM,SAQhD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,SAQ1C,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,MAAM,MAAM,EAAE,oBAAoB,MAAM,EAAE,SAWtF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,KAAK,MAAM,EAAE,eAAe,MAAM,SAoBvE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,KAAK,MAAM,GAAG,SAAS,EAAE,eAAe,MAAM,SAwBnF,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,KAAK,MAAM,GAAG,SAAS,EAAE,eAAe,MAAM,SAwBjF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cryptoKeys.d.ts","sourceRoot":"","sources":["../../src/jwt/cryptoKeys.ts"],"names":[],"mappings":"AAuBA,wBAAgB,SAAS,CACvB,GAAG,EAAE,UAAU,GAAG,MAAM,EACxB,SAAS,EAAE,qBAAqB,EAChC,QAAQ,EAAE,QAAQ,GAAG,MAAM,GAC1B,OAAO,CAAC,SAAS,CAAC,CASpB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type { VerifyJwtOptions } from './verifyJwt';
|
|
2
|
-
export type { SignJwtOptions } from './signJwt';
|
|
3
|
-
export declare const verifyJwt: (token: string, options: import("./verifyJwt").VerifyJwtOptions) => Promise<NonNullable<import("@clerk/shared/types").JwtPayload | undefined>>;
|
|
4
|
-
export declare const decodeJwt: (token: string) => import("@clerk/shared/types").Jwt;
|
|
5
|
-
export declare const signJwt: (payload: Record<string, unknown>, key: string | JsonWebKey, options: import("./signJwt").SignJwtOptions) => Promise<string>;
|
|
6
|
-
export declare const hasValidSignature: (jwt: import("@clerk/shared/types").Jwt, key: string | JsonWebKey) => Promise<NonNullable<boolean | undefined>>;
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/jwt/index.ts"],"names":[],"mappings":"AAIA,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,SAAS,gJAA+B,CAAC;AACtD,eAAO,MAAM,SAAS,sDAAmC,CAAC;AAE1D,eAAO,MAAM,OAAO,8HAA6B,CAAC;AAClD,eAAO,MAAM,iBAAiB,iHAAuC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/jwt/index.ts","../../src/jwt/legacyReturn.ts","../../src/errors.ts","../../src/runtime.ts","../../src/util/rfc4648.ts","../../src/jwt/algorithms.ts","../../src/jwt/cryptoKeys.ts","../../src/jwt/signJwt.ts","../../src/jwt/assertions.ts","../../src/jwt/verifyJwt.ts"],"sourcesContent":["import { withLegacyReturn, withLegacySyncReturn } from './legacyReturn';\nimport { signJwt as _signJwt } from './signJwt';\nimport { decodeJwt as _decodeJwt, hasValidSignature as _hasValidSignature, verifyJwt as _verifyJwt } from './verifyJwt';\n\nexport type { VerifyJwtOptions } from './verifyJwt';\nexport type { SignJwtOptions } from './signJwt';\n\n// Introduce compatibility layer to avoid more breaking changes\n// TODO(dimkl): This (probably be drop in the next major version)\n\nexport const verifyJwt = withLegacyReturn(_verifyJwt);\nexport const decodeJwt = withLegacySyncReturn(_decodeJwt);\n\nexport const signJwt = withLegacyReturn(_signJwt);\nexport const hasValidSignature = withLegacyReturn(_hasValidSignature);\n","import type { JwtReturnType } from './types';\n\n// TODO(dimkl): Will be probably be dropped in next major version\nexport function withLegacyReturn<T extends (...args: any[]) => Promise<JwtReturnType<any, any>>>(cb: T) {\n return async (...args: Parameters<T>): Promise<NonNullable<Awaited<ReturnType<T>>['data']>> | never => {\n const { data, errors } = await cb(...args);\n if (errors) {\n throw errors[0];\n }\n return data;\n };\n}\n\n// TODO(dimkl): Will be probably be dropped in next major version\nexport function withLegacySyncReturn<T extends (...args: any[]) => JwtReturnType<any, any>>(cb: T) {\n return (...args: Parameters<T>): NonNullable<Awaited<ReturnType<T>>['data']> | never => {\n const { data, errors } = cb(...args);\n if (errors) {\n throw errors[0];\n }\n return data;\n };\n}\n","import { ClerkError } from '@clerk/shared/error';\n\nexport type TokenCarrier = 'header' | 'cookie';\n\nexport const TokenVerificationErrorCode = {\n InvalidSecretKey: 'clerk_key_invalid',\n};\n\nexport type TokenVerificationErrorCode = (typeof TokenVerificationErrorCode)[keyof typeof TokenVerificationErrorCode];\n\nexport const TokenVerificationErrorReason = {\n TokenExpired: 'token-expired',\n TokenInvalid: 'token-invalid',\n TokenInvalidAlgorithm: 'token-invalid-algorithm',\n TokenInvalidAuthorizedParties: 'token-invalid-authorized-parties',\n TokenInvalidSignature: 'token-invalid-signature',\n TokenNotActiveYet: 'token-not-active-yet',\n TokenIatInTheFuture: 'token-iat-in-the-future',\n TokenVerificationFailed: 'token-verification-failed',\n InvalidSecretKey: 'secret-key-invalid',\n LocalJWKMissing: 'jwk-local-missing',\n RemoteJWKFailedToLoad: 'jwk-remote-failed-to-load',\n RemoteJWKInvalid: 'jwk-remote-invalid',\n RemoteJWKMissing: 'jwk-remote-missing',\n JWKFailedToResolve: 'jwk-failed-to-resolve',\n JWKKidMismatch: 'jwk-kid-mismatch',\n};\n\nexport type TokenVerificationErrorReason =\n (typeof TokenVerificationErrorReason)[keyof typeof TokenVerificationErrorReason];\n\nexport const TokenVerificationErrorAction = {\n ContactSupport: 'Contact support@clerk.com',\n EnsureClerkJWT: 'Make sure that this is a valid Clerk-generated JWT.',\n SetClerkJWTKey: 'Set the CLERK_JWT_KEY environment variable.',\n SetClerkSecretKey: 'Set the CLERK_SECRET_KEY environment variable.',\n EnsureClockSync: 'Make sure your system clock is in sync (e.g. turn off and on automatic time synchronization).',\n};\n\nexport type TokenVerificationErrorAction =\n (typeof TokenVerificationErrorAction)[keyof typeof TokenVerificationErrorAction];\n\nexport class TokenVerificationError extends Error {\n action?: TokenVerificationErrorAction;\n reason: TokenVerificationErrorReason;\n tokenCarrier?: TokenCarrier;\n\n constructor({\n action,\n message,\n reason,\n }: {\n action?: TokenVerificationErrorAction;\n message: string;\n reason: TokenVerificationErrorReason;\n }) {\n super(message);\n\n Object.setPrototypeOf(this, TokenVerificationError.prototype);\n\n this.reason = reason;\n this.message = message;\n this.action = action;\n }\n\n public getFullMessage() {\n return `${[this.message, this.action].filter(m => m).join(' ')} (reason=${this.reason}, token-carrier=${\n this.tokenCarrier\n })`;\n }\n}\n\nexport class SignJWTError extends Error {}\n\nexport const MachineTokenVerificationErrorCode = {\n TokenInvalid: 'token-invalid',\n InvalidSecretKey: 'secret-key-invalid',\n UnexpectedError: 'unexpected-error',\n TokenVerificationFailed: 'token-verification-failed',\n} as const;\n\nexport type MachineTokenVerificationErrorCode =\n (typeof MachineTokenVerificationErrorCode)[keyof typeof MachineTokenVerificationErrorCode];\n\nexport class MachineTokenVerificationError extends ClerkError {\n static kind = 'MachineTokenVerificationError';\n declare readonly code: MachineTokenVerificationErrorCode;\n readonly status?: number;\n readonly action?: TokenVerificationErrorAction;\n\n constructor({\n message,\n code,\n status,\n action,\n }: {\n message: string;\n code: MachineTokenVerificationErrorCode;\n status?: number;\n action?: TokenVerificationErrorAction;\n }) {\n super({ message, code });\n Object.setPrototypeOf(this, MachineTokenVerificationError.prototype);\n this.status = status;\n this.action = action;\n }\n\n // Keep message unformatted, matching ClerkAPIResponseError's approach\n protected static override formatMessage(_name: string, msg: string, _code: string, _docsUrl: string | undefined) {\n return msg;\n }\n\n public getFullMessage() {\n return `${this.message} (code=${this.code}, status=${this.status || 'n/a'})`;\n }\n}\n","/**\n * This file exports APIs that vary across runtimes (i.e. Node & Browser - V8 isolates)\n * as a singleton object.\n *\n * Runtime polyfills are written in VanillaJS for now to avoid TS complication. Moreover,\n * due to this issue https://github.com/microsoft/TypeScript/issues/44848, there is not a good way\n * to tell Typescript which conditional import to use during build type.\n *\n * The Runtime type definition ensures type safety for now.\n * Runtime js modules are copied into dist folder with bash script.\n *\n * TODO: Support TS runtime modules\n */\n\n// @ts-ignore - These are package subpaths\nimport { webcrypto as crypto } from '#crypto';\n\ntype Runtime = {\n crypto: Crypto;\n fetch: typeof globalThis.fetch;\n AbortController: typeof globalThis.AbortController;\n Blob: typeof globalThis.Blob;\n FormData: typeof globalThis.FormData;\n Headers: typeof globalThis.Headers;\n Request: typeof globalThis.Request;\n Response: typeof globalThis.Response;\n};\n\n// Invoking the global.fetch without binding it first to the globalObject fails in\n// Cloudflare Workers with an \"Illegal Invocation\" error.\n//\n// The globalThis object is supported for Node >= 12.0.\n//\n// https://github.com/supabase/supabase/issues/4417\nconst globalFetch = fetch.bind(globalThis);\n\nexport const runtime: Runtime = {\n crypto,\n get fetch() {\n // We need to use the globalFetch for Cloudflare Workers but the fetch for testing\n return process.env.NODE_ENV === 'test' ? fetch : globalFetch;\n },\n AbortController: globalThis.AbortController,\n Blob: globalThis.Blob,\n FormData: globalThis.FormData,\n Headers: globalThis.Headers,\n Request: globalThis.Request,\n Response: globalThis.Response,\n};\n","/**\n * The base64url helper was extracted from the rfc4648 package\n * in order to resolve CSJ/ESM interoperability issues\n *\n * https://github.com/swansontec/rfc4648.js\n *\n * For more context please refer to:\n * - https://github.com/evanw/esbuild/issues/1719\n * - https://github.com/evanw/esbuild/issues/532\n * - https://github.com/swansontec/rollup-plugin-mjs-entry\n */\nexport const base64url = {\n parse(string: string, opts?: ParseOptions): Uint8Array {\n return parse(string, base64UrlEncoding, opts);\n },\n\n stringify(data: ArrayLike<number>, opts?: StringifyOptions): string {\n return stringify(data, base64UrlEncoding, opts);\n },\n};\n\nconst base64UrlEncoding: Encoding = {\n chars: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_',\n bits: 6,\n};\n\ninterface Encoding {\n bits: number;\n chars: string;\n codes?: { [char: string]: number };\n}\n\ninterface ParseOptions {\n loose?: boolean;\n out?: new (size: number) => { [index: number]: number };\n}\n\ninterface StringifyOptions {\n pad?: boolean;\n}\n\nfunction parse(string: string, encoding: Encoding, opts: ParseOptions = {}): Uint8Array {\n // Build the character lookup table:\n if (!encoding.codes) {\n encoding.codes = {};\n for (let i = 0; i < encoding.chars.length; ++i) {\n encoding.codes[encoding.chars[i]] = i;\n }\n }\n\n // The string must have a whole number of bytes:\n if (!opts.loose && (string.length * encoding.bits) & 7) {\n throw new SyntaxError('Invalid padding');\n }\n\n // Count the padding bytes:\n let end = string.length;\n while (string[end - 1] === '=') {\n --end;\n\n // If we get a whole number of bytes, there is too much padding:\n if (!opts.loose && !(((string.length - end) * encoding.bits) & 7)) {\n throw new SyntaxError('Invalid padding');\n }\n }\n\n // Allocate the output:\n const out = new (opts.out ?? Uint8Array)(((end * encoding.bits) / 8) | 0) as Uint8Array;\n\n // Parse the data:\n let bits = 0; // Number of bits currently in the buffer\n let buffer = 0; // Bits waiting to be written out, MSB first\n let written = 0; // Next byte to write\n for (let i = 0; i < end; ++i) {\n // Read one character from the string:\n const value = encoding.codes[string[i]];\n if (value === undefined) {\n throw new SyntaxError('Invalid character ' + string[i]);\n }\n\n // Append the bits to the buffer:\n buffer = (buffer << encoding.bits) | value;\n bits += encoding.bits;\n\n // Write out some bits if the buffer has a byte's worth:\n if (bits >= 8) {\n bits -= 8;\n out[written++] = 0xff & (buffer >> bits);\n }\n }\n\n // Verify that we have received just enough bits:\n if (bits >= encoding.bits || 0xff & (buffer << (8 - bits))) {\n throw new SyntaxError('Unexpected end of data');\n }\n\n return out;\n}\n\nfunction stringify(data: ArrayLike<number>, encoding: Encoding, opts: StringifyOptions = {}): string {\n const { pad = true } = opts;\n const mask = (1 << encoding.bits) - 1;\n let out = '';\n\n let bits = 0; // Number of bits currently in the buffer\n let buffer = 0; // Bits waiting to be written out, MSB first\n for (let i = 0; i < data.length; ++i) {\n // Slurp data into the buffer:\n buffer = (buffer << 8) | (0xff & data[i]);\n bits += 8;\n\n // Write out as much as we can:\n while (bits > encoding.bits) {\n bits -= encoding.bits;\n out += encoding.chars[mask & (buffer >> bits)];\n }\n }\n\n // Partial character:\n if (bits) {\n out += encoding.chars[mask & (buffer << (encoding.bits - bits))];\n }\n\n // Add padding characters until we hit a byte boundary:\n if (pad) {\n while ((out.length * encoding.bits) & 7) {\n out += '=';\n }\n }\n\n return out;\n}\n","const algToHash: Record<string, string> = {\n RS256: 'SHA-256',\n RS384: 'SHA-384',\n RS512: 'SHA-512',\n};\nconst RSA_ALGORITHM_NAME = 'RSASSA-PKCS1-v1_5';\n\nconst jwksAlgToCryptoAlg: Record<string, string> = {\n RS256: RSA_ALGORITHM_NAME,\n RS384: RSA_ALGORITHM_NAME,\n RS512: RSA_ALGORITHM_NAME,\n};\n\nexport const algs = Object.keys(algToHash);\n\nexport function getCryptoAlgorithm(algorithmName: string): RsaHashedImportParams {\n const hash = algToHash[algorithmName];\n const name = jwksAlgToCryptoAlg[algorithmName];\n\n if (!hash || !name) {\n throw new Error(`Unsupported algorithm ${algorithmName}, expected one of ${algs.join(',')}.`);\n }\n\n return {\n hash: { name: algToHash[algorithmName] },\n name: jwksAlgToCryptoAlg[algorithmName],\n };\n}\n","import { isomorphicAtob } from '@clerk/shared/isomorphicAtob';\n\nimport { runtime } from '../runtime';\n\n// https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/importKey#pkcs_8_import\nfunction pemToBuffer(secret: string): ArrayBuffer {\n const trimmed = secret\n .replace(/-----BEGIN.*?-----/g, '')\n .replace(/-----END.*?-----/g, '')\n .replace(/\\s/g, '');\n\n const decoded = isomorphicAtob(trimmed);\n\n const buffer = new ArrayBuffer(decoded.length);\n const bufView = new Uint8Array(buffer);\n\n for (let i = 0, strLen = decoded.length; i < strLen; i++) {\n bufView[i] = decoded.charCodeAt(i);\n }\n\n return bufView;\n}\n\nexport function importKey(\n key: JsonWebKey | string,\n algorithm: RsaHashedImportParams,\n keyUsage: 'verify' | 'sign',\n): Promise<CryptoKey> {\n if (typeof key === 'object') {\n return runtime.crypto.subtle.importKey('jwk', key, algorithm, false, [keyUsage]);\n }\n\n const keyData = pemToBuffer(key);\n const format = keyUsage === 'sign' ? 'pkcs8' : 'spki';\n\n return runtime.crypto.subtle.importKey(format, keyData, algorithm, false, [keyUsage]);\n}\n","import { SignJWTError } from '../errors';\nimport { runtime } from '../runtime';\nimport { base64url } from '../util/rfc4648';\nimport { getCryptoAlgorithm } from './algorithms';\nimport { importKey } from './cryptoKeys';\nimport type { JwtReturnType } from './types';\n\nexport interface SignJwtOptions {\n algorithm?: string;\n header?: Record<string, unknown>;\n}\n\nfunction encodeJwtData(value: unknown): string {\n const stringified = JSON.stringify(value);\n const encoder = new TextEncoder();\n const encoded = encoder.encode(stringified);\n return base64url.stringify(encoded, { pad: false });\n}\n\n/**\n * Signs a JSON Web Token (JWT) with the given payload, key, and options.\n * This function is intended to be used *internally* by other Clerk packages and typically\n * should not be used directly.\n *\n * @internal\n * @param payload The payload to include in the JWT.\n * @param key The key to use for signing the JWT. Can be a string or a JsonWebKey.\n * @param options The options to use for signing the JWT.\n * @returns A Promise that resolves to the signed JWT string.\n * @throws An error if no algorithm is specified or if the specified algorithm is unsupported.\n * @throws An error if there is an issue with importing the key or signing the JWT.\n */\nexport async function signJwt(\n payload: Record<string, unknown>,\n key: string | JsonWebKey,\n options: SignJwtOptions,\n): Promise<JwtReturnType<string, Error>> {\n if (!options.algorithm) {\n throw new Error('No algorithm specified');\n }\n const encoder = new TextEncoder();\n\n const algorithm = getCryptoAlgorithm(options.algorithm);\n if (!algorithm) {\n return {\n errors: [new SignJWTError(`Unsupported algorithm ${options.algorithm}`)],\n };\n }\n\n const cryptoKey = await importKey(key, algorithm, 'sign');\n const header = options.header || { typ: 'JWT' };\n\n header.alg = options.algorithm;\n payload.iat = Math.floor(Date.now() / 1000);\n\n const encodedHeader = encodeJwtData(header);\n const encodedPayload = encodeJwtData(payload);\n const firstPart = `${encodedHeader}.${encodedPayload}`;\n\n try {\n const signature = await runtime.crypto.subtle.sign(algorithm, cryptoKey, encoder.encode(firstPart));\n const encodedSignature = `${firstPart}.${base64url.stringify(new Uint8Array(signature), { pad: false })}`;\n return { data: encodedSignature };\n } catch (error) {\n return { errors: [new SignJWTError((error as Error)?.message)] };\n }\n}\n","import { TokenVerificationError, TokenVerificationErrorAction, TokenVerificationErrorReason } from '../errors';\nimport { algs } from './algorithms';\n\nexport type IssuerResolver = string | ((iss: string) => boolean);\n\nconst isArrayString = (s: unknown): s is string[] => {\n return Array.isArray(s) && s.length > 0 && s.every(a => typeof a === 'string');\n};\n\nexport const assertAudienceClaim = (aud?: unknown, audience?: unknown) => {\n const audienceList = [audience].flat().filter(a => !!a);\n const audList = [aud].flat().filter(a => !!a);\n const shouldVerifyAudience = audienceList.length > 0 && audList.length > 0;\n\n if (!shouldVerifyAudience) {\n // Notice: Clerk JWTs use AZP claim instead of Audience\n //\n // return {\n // valid: false,\n // reason: `Invalid JWT audience claim (aud) ${JSON.stringify(\n // aud,\n // )}. Expected a string or a non-empty array of strings.`,\n // };\n return;\n }\n\n if (typeof aud === 'string') {\n if (!audienceList.includes(aud)) {\n throw new TokenVerificationError({\n action: TokenVerificationErrorAction.EnsureClerkJWT,\n reason: TokenVerificationErrorReason.TokenVerificationFailed,\n message: `Invalid JWT audience claim (aud) ${JSON.stringify(aud)}. Is not included in \"${JSON.stringify(\n audienceList,\n )}\".`,\n });\n }\n } else if (isArrayString(aud)) {\n if (!aud.some(a => audienceList.includes(a))) {\n throw new TokenVerificationError({\n action: TokenVerificationErrorAction.EnsureClerkJWT,\n reason: TokenVerificationErrorReason.TokenVerificationFailed,\n message: `Invalid JWT audience claim array (aud) ${JSON.stringify(aud)}. Is not included in \"${JSON.stringify(\n audienceList,\n )}\".`,\n });\n }\n }\n};\n\nexport const assertHeaderType = (typ?: unknown, allowedTypes: string | string[] = 'JWT') => {\n if (typeof typ === 'undefined') {\n return;\n }\n\n const allowed = Array.isArray(allowedTypes) ? allowedTypes : [allowedTypes];\n if (!allowed.includes(typ as string)) {\n throw new TokenVerificationError({\n action: TokenVerificationErrorAction.EnsureClerkJWT,\n reason: TokenVerificationErrorReason.TokenInvalid,\n message: `Invalid JWT type ${JSON.stringify(typ)}. Expected \"${allowed.join(', ')}\".`,\n });\n }\n};\n\nexport const assertHeaderAlgorithm = (alg: string) => {\n if (!algs.includes(alg)) {\n throw new TokenVerificationError({\n action: TokenVerificationErrorAction.EnsureClerkJWT,\n reason: TokenVerificationErrorReason.TokenInvalidAlgorithm,\n message: `Invalid JWT algorithm ${JSON.stringify(alg)}. Supported: ${algs}.`,\n });\n }\n};\n\nexport const assertSubClaim = (sub?: string) => {\n if (typeof sub !== 'string') {\n throw new TokenVerificationError({\n action: TokenVerificationErrorAction.EnsureClerkJWT,\n reason: TokenVerificationErrorReason.TokenVerificationFailed,\n message: `Subject claim (sub) is required and must be a string. Received ${JSON.stringify(sub)}.`,\n });\n }\n};\n\nexport const assertAuthorizedPartiesClaim = (azp?: string, authorizedParties?: string[]) => {\n if (!azp || !authorizedParties || authorizedParties.length === 0) {\n return;\n }\n\n if (!authorizedParties.includes(azp)) {\n throw new TokenVerificationError({\n reason: TokenVerificationErrorReason.TokenInvalidAuthorizedParties,\n message: `Invalid JWT Authorized party claim (azp) ${JSON.stringify(azp)}. Expected \"${authorizedParties}\".`,\n });\n }\n};\n\nexport const assertExpirationClaim = (exp: number, clockSkewInMs: number) => {\n if (typeof exp !== 'number') {\n throw new TokenVerificationError({\n action: TokenVerificationErrorAction.EnsureClerkJWT,\n reason: TokenVerificationErrorReason.TokenVerificationFailed,\n message: `Invalid JWT expiry date claim (exp) ${JSON.stringify(exp)}. Expected number.`,\n });\n }\n\n const currentDate = new Date(Date.now());\n const expiryDate = new Date(0);\n expiryDate.setUTCSeconds(exp);\n\n const expired = expiryDate.getTime() <= currentDate.getTime() - clockSkewInMs;\n if (expired) {\n throw new TokenVerificationError({\n reason: TokenVerificationErrorReason.TokenExpired,\n message: `JWT is expired. Expiry date: ${expiryDate.toUTCString()}, Current date: ${currentDate.toUTCString()}.`,\n });\n }\n};\n\nexport const assertActivationClaim = (nbf: number | undefined, clockSkewInMs: number) => {\n if (typeof nbf === 'undefined') {\n return;\n }\n\n if (typeof nbf !== 'number') {\n throw new TokenVerificationError({\n action: TokenVerificationErrorAction.EnsureClerkJWT,\n reason: TokenVerificationErrorReason.TokenVerificationFailed,\n message: `Invalid JWT not before date claim (nbf) ${JSON.stringify(nbf)}. Expected number.`,\n });\n }\n\n const currentDate = new Date(Date.now());\n const notBeforeDate = new Date(0);\n notBeforeDate.setUTCSeconds(nbf);\n\n const early = notBeforeDate.getTime() > currentDate.getTime() + clockSkewInMs;\n if (early) {\n throw new TokenVerificationError({\n reason: TokenVerificationErrorReason.TokenNotActiveYet,\n message: `JWT cannot be used prior to not before date claim (nbf). Not before date: ${notBeforeDate.toUTCString()}; Current date: ${currentDate.toUTCString()};`,\n });\n }\n};\n\nexport const assertIssuedAtClaim = (iat: number | undefined, clockSkewInMs: number) => {\n if (typeof iat === 'undefined') {\n return;\n }\n\n if (typeof iat !== 'number') {\n throw new TokenVerificationError({\n action: TokenVerificationErrorAction.EnsureClerkJWT,\n reason: TokenVerificationErrorReason.TokenVerificationFailed,\n message: `Invalid JWT issued at date claim (iat) ${JSON.stringify(iat)}. Expected number.`,\n });\n }\n\n const currentDate = new Date(Date.now());\n const issuedAtDate = new Date(0);\n issuedAtDate.setUTCSeconds(iat);\n\n const postIssued = issuedAtDate.getTime() > currentDate.getTime() + clockSkewInMs;\n if (postIssued) {\n throw new TokenVerificationError({\n reason: TokenVerificationErrorReason.TokenIatInTheFuture,\n message: `JWT issued at date claim (iat) is in the future. Issued at date: ${issuedAtDate.toUTCString()}; Current date: ${currentDate.toUTCString()};`,\n });\n }\n};\n","import type { Jwt, JwtPayload } from '@clerk/shared/types';\n\nimport { TokenVerificationError, TokenVerificationErrorAction, TokenVerificationErrorReason } from '../errors';\nimport { runtime } from '../runtime';\nimport { base64url } from '../util/rfc4648';\nimport { getCryptoAlgorithm } from './algorithms';\nimport {\n assertActivationClaim,\n assertAudienceClaim,\n assertAuthorizedPartiesClaim,\n assertExpirationClaim,\n assertHeaderAlgorithm,\n assertHeaderType,\n assertIssuedAtClaim,\n assertSubClaim,\n} from './assertions';\nimport { importKey } from './cryptoKeys';\nimport type { JwtReturnType } from './types';\n\nconst DEFAULT_CLOCK_SKEW_IN_MS = 5 * 1000;\n\nexport async function hasValidSignature(jwt: Jwt, key: JsonWebKey | string): Promise<JwtReturnType<boolean, Error>> {\n const { header, signature, raw } = jwt;\n const encoder = new TextEncoder();\n const data = encoder.encode([raw.header, raw.payload].join('.'));\n const algorithm = getCryptoAlgorithm(header.alg);\n\n try {\n const cryptoKey = await importKey(key, algorithm, 'verify');\n\n const verified = await runtime.crypto.subtle.verify(algorithm.name, cryptoKey, signature, data);\n return { data: verified };\n } catch (error) {\n return {\n errors: [\n new TokenVerificationError({\n reason: TokenVerificationErrorReason.TokenInvalidSignature,\n message: (error as Error)?.message,\n }),\n ],\n };\n }\n}\n\nexport function decodeJwt(token: string): JwtReturnType<Jwt, TokenVerificationError> {\n const tokenParts = (token || '').toString().split('.');\n if (tokenParts.length !== 3) {\n return {\n errors: [\n new TokenVerificationError({\n reason: TokenVerificationErrorReason.TokenInvalid,\n message: `Invalid JWT form. A JWT consists of three parts separated by dots.`,\n }),\n ],\n };\n }\n\n const [rawHeader, rawPayload, rawSignature] = tokenParts;\n\n const decoder = new TextDecoder();\n\n // To verify a JWS with SubtleCrypto you need to be careful to encode and decode\n // the data properly between binary and base64url representation. Unfortunately\n // the standard implementation in the V8 of btoa() and atob() are difficult to\n // work with as they use \"a Unicode string containing only characters in the\n // range U+0000 to U+00FF, each representing a binary byte with values 0x00 to\n // 0xFF respectively\" as the representation of binary data.\n\n // A better solution to represent binary data in Javascript is to use ES6 TypedArray\n // and use a Javascript library to convert them to base64url that honors RFC 4648.\n\n // Side note: The difference between base64 and base64url is the characters selected\n // for value 62 and 63 in the standard, base64 encode them to + and / while base64url\n // encode - and _.\n\n // More info at https://stackoverflow.com/questions/54062583/how-to-verify-a-signed-jwt-with-subtlecrypto-of-the-web-crypto-API\n const header = JSON.parse(decoder.decode(base64url.parse(rawHeader, { loose: true })));\n const payload = JSON.parse(decoder.decode(base64url.parse(rawPayload, { loose: true })));\n\n const signature = base64url.parse(rawSignature, { loose: true });\n\n const data = {\n header,\n payload,\n signature,\n raw: {\n header: rawHeader,\n payload: rawPayload,\n signature: rawSignature,\n text: token,\n },\n } satisfies Jwt;\n\n return { data };\n}\n\n/**\n * @inline\n */\nexport type VerifyJwtOptions = {\n /**\n * A string or list of [audiences](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.3). If passed, it is checked against the `aud` claim in the token.\n */\n audience?: string | string[];\n /**\n * An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack.\n * @example\n * ```ts\n * ['http://localhost:3000', 'https://example.com']\n * ```\n */\n authorizedParties?: string[];\n /**\n * Specifies the allowed time difference (in milliseconds) between the Clerk server (which generates the token) and the clock of the user's application server when validating a token.\n * @default 5000\n */\n clockSkewInMs?: number;\n /**\n * @internal\n */\n key: JsonWebKey | string;\n /**\n * A string or list of allowed [header types](https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.9).\n * @default 'JWT'\n */\n headerType?: string | string[];\n};\n\nexport async function verifyJwt(\n token: string,\n options: VerifyJwtOptions,\n): Promise<JwtReturnType<JwtPayload, TokenVerificationError>> {\n const { audience, authorizedParties, clockSkewInMs, key, headerType } = options;\n const clockSkew = clockSkewInMs || DEFAULT_CLOCK_SKEW_IN_MS;\n\n const { data: decoded, errors } = decodeJwt(token);\n if (errors) {\n return { errors };\n }\n\n const { header, payload } = decoded;\n try {\n // Header verifications\n const { typ, alg } = header;\n\n assertHeaderType(typ, headerType);\n assertHeaderAlgorithm(alg);\n\n // Payload verifications\n const { azp, sub, aud, iat, exp, nbf } = payload;\n\n assertSubClaim(sub);\n assertAudienceClaim([aud], [audience]);\n assertAuthorizedPartiesClaim(azp, authorizedParties);\n assertExpirationClaim(exp, clockSkew);\n assertActivationClaim(nbf, clockSkew);\n assertIssuedAtClaim(iat, clockSkew);\n } catch (err) {\n return { errors: [err as TokenVerificationError] };\n }\n\n const { data: signatureValid, errors: signatureErrors } = await hasValidSignature(decoded, key);\n if (signatureErrors) {\n return {\n errors: [\n new TokenVerificationError({\n action: TokenVerificationErrorAction.EnsureClerkJWT,\n reason: TokenVerificationErrorReason.TokenVerificationFailed,\n message: `Error verifying JWT signature. ${signatureErrors[0]}`,\n }),\n ],\n };\n }\n\n if (!signatureValid) {\n return {\n errors: [\n new TokenVerificationError({\n reason: TokenVerificationErrorReason.TokenInvalidSignature,\n message: 'JWT signature is invalid.',\n }),\n ],\n };\n }\n\n return { data: payload };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,mBAAAA;AAAA,EAAA,yBAAAC;AAAA,EAAA,eAAAC;AAAA,E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AAI,IAAI;AAErB,qBAAiB,KAAK,UAAU;AAChC,0BAAsB,GAAG;AAGzB,UAAM,EAAE,KAAK,KAAK,KAAK,KAAK,KAAK,IAAI,IAAI;AAEzC,mBAAe,GAAG;AAClB,wBAAoB,CAAC,GAAG,GAAG,CAAC,QAAQ,CAAC;AACrC,iCAA6B,KAAK,iBAAiB;AACnD,0BAAsB,KAAK,SAAS;AACpC,0BAAsB,KAAK,SAAS;AACpC,wBAAoB,KAAK,SAAS;AAAA,EACpC,SAAS,KAAK;AACZ,WAAO,EAAE,QAAQ,CAAC,GAA6B,EAAE;AAAA,EACnD;AAEA,QAAM,EAAE,MAAM,gBAAgB,QAAQ,gBAAgB,IAAI,MAAM,kBAAkB,SAAS,GAAG;AAC9F,MAAI,iBAAiB;AACnB,WAAO;AAAA,MACL,QAAQ;AAAA,QACN,IAAI,uBAAuB;AAAA,UACzB,QAAQ,6BAA6B;AAAA,UACrC,QAAQ,6BAA6B;AAAA,UACrC,SAAS,kCAAkC,gBAAgB,CAAC,CAAC;AAAA,QAC/D,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF;AAEA,MAAI,CAAC,gBAAgB;AACnB,WAAO;AAAA,MACL,QAAQ;AAAA,QACN,IAAI,uBAAuB;AAAA,UACzB,QAAQ,6BAA6B;AAAA,UACrC,SAAS;AAAA,QACX,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF;AAEA,SAAO,EAAE,MAAM,QAAQ;AACzB;;;AThLO,IAAMC,aAAY,iBAAiB,SAAU;AAC7C,IAAMC,aAAY,qBAAqB,SAAU;AAEjD,IAAMC,WAAU,iBAAiB,OAAQ;AACzC,IAAMC,qBAAoB,iBAAiB,iBAAkB;","names":["decodeJwt","hasValidSignature","signJwt","verifyJwt","crypto","verifyJwt","decodeJwt","signJwt","hasValidSignature"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/jwt/signJwt.ts","../../src/jwt/index.ts"],"sourcesContent":["import { SignJWTError } from '../errors';\nimport { runtime } from '../runtime';\nimport { base64url } from '../util/rfc4648';\nimport { getCryptoAlgorithm } from './algorithms';\nimport { importKey } from './cryptoKeys';\nimport type { JwtReturnType } from './types';\n\nexport interface SignJwtOptions {\n algorithm?: string;\n header?: Record<string, unknown>;\n}\n\nfunction encodeJwtData(value: unknown): string {\n const stringified = JSON.stringify(value);\n const encoder = new TextEncoder();\n const encoded = encoder.encode(stringified);\n return base64url.stringify(encoded, { pad: false });\n}\n\n/**\n * Signs a JSON Web Token (JWT) with the given payload, key, and options.\n * This function is intended to be used *internally* by other Clerk packages and typically\n * should not be used directly.\n *\n * @internal\n * @param payload The payload to include in the JWT.\n * @param key The key to use for signing the JWT. Can be a string or a JsonWebKey.\n * @param options The options to use for signing the JWT.\n * @returns A Promise that resolves to the signed JWT string.\n * @throws An error if no algorithm is specified or if the specified algorithm is unsupported.\n * @throws An error if there is an issue with importing the key or signing the JWT.\n */\nexport async function signJwt(\n payload: Record<string, unknown>,\n key: string | JsonWebKey,\n options: SignJwtOptions,\n): Promise<JwtReturnType<string, Error>> {\n if (!options.algorithm) {\n throw new Error('No algorithm specified');\n }\n const encoder = new TextEncoder();\n\n const algorithm = getCryptoAlgorithm(options.algorithm);\n if (!algorithm) {\n return {\n errors: [new SignJWTError(`Unsupported algorithm ${options.algorithm}`)],\n };\n }\n\n const cryptoKey = await importKey(key, algorithm, 'sign');\n const header = options.header || { typ: 'JWT' };\n\n header.alg = options.algorithm;\n payload.iat = Math.floor(Date.now() / 1000);\n\n const encodedHeader = encodeJwtData(header);\n const encodedPayload = encodeJwtData(payload);\n const firstPart = `${encodedHeader}.${encodedPayload}`;\n\n try {\n const signature = await runtime.crypto.subtle.sign(algorithm, cryptoKey, encoder.encode(firstPart));\n const encodedSignature = `${firstPart}.${base64url.stringify(new Uint8Array(signature), { pad: false })}`;\n return { data: encodedSignature };\n } catch (error) {\n return { errors: [new SignJWTError((error as Error)?.message)] };\n }\n}\n","import { withLegacyReturn, withLegacySyncReturn } from './legacyReturn';\nimport { signJwt as _signJwt } from './signJwt';\nimport { decodeJwt as _decodeJwt, hasValidSignature as _hasValidSignature, verifyJwt as _verifyJwt } from './verifyJwt';\n\nexport type { VerifyJwtOptions } from './verifyJwt';\nexport type { SignJwtOptions } from './signJwt';\n\n// Introduce compatibility layer to avoid more breaking changes\n// TODO(dimkl): This (probably be drop in the next major version)\n\nexport const verifyJwt = withLegacyReturn(_verifyJwt);\nexport const decodeJwt = withLegacySyncReturn(_decodeJwt);\n\nexport const signJwt = withLegacyReturn(_signJwt);\nexport const hasValidSignature = withLegacyReturn(_hasValidSignature);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAYA,SAAS,cAAc,OAAwB;AAC7C,QAAM,cAAc,KAAK,UAAU,KAAK;AACxC,QAAM,UAAU,IAAI,YAAY;AAChC,QAAM,UAAU,QAAQ,OAAO,WAAW;AAC1C,SAAO,UAAU,UAAU,SAAS,EAAE,KAAK,MAAM,CAAC;AACpD;AAeA,eAAsB,QACpB,SACA,KACA,SACuC;AACvC,MAAI,CAAC,QAAQ,WAAW;AACtB,UAAM,IAAI,MAAM,wBAAwB;AAAA,EAC1C;AACA,QAAM,UAAU,IAAI,YAAY;AAEhC,QAAM,YAAY,mBAAmB,QAAQ,SAAS;AACtD,MAAI,CAAC,WAAW;AACd,WAAO;AAAA,MACL,QAAQ,CAAC,IAAI,aAAa,yBAAyB,QAAQ,SAAS,EAAE,CAAC;AAAA,IACzE;AAAA,EACF;AAEA,QAAM,YAAY,MAAM,UAAU,KAAK,WAAW,MAAM;AACxD,QAAM,SAAS,QAAQ,UAAU,EAAE,KAAK,MAAM;AAE9C,SAAO,MAAM,QAAQ;AACrB,UAAQ,MAAM,KAAK,MAAM,KAAK,IAAI,IAAI,GAAI;AAE1C,QAAM,gBAAgB,cAAc,MAAM;AAC1C,QAAM,iBAAiB,cAAc,OAAO;AAC5C,QAAM,YAAY,GAAG,aAAa,IAAI,cAAc;AAEpD,MAAI;AACF,UAAM,YAAY,MAAM,QAAQ,OAAO,OAAO,KAAK,WAAW,WAAW,QAAQ,OAAO,SAAS,CAAC;AAClG,UAAM,mBAAmB,GAAG,SAAS,IAAI,UAAU,UAAU,IAAI,WAAW,SAAS,GAAG,EAAE,KAAK,MAAM,CAAC,CAAC;AACvG,WAAO,EAAE,MAAM,iBAAiB;AAAA,EAClC,SAAS,OAAO;AACd,WAAO,EAAE,QAAQ,CAAC,IAAI,aAAc,OAAiB,OAAO,CAAC,EAAE;AAAA,EACjE;AACF;;;ACxDO,IAAMA,aAAY,iBAAiB,SAAU;AAC7C,IAAMC,aAAY,qBAAqB,SAAU;AAEjD,IAAMC,WAAU,iBAAiB,OAAQ;AACzC,IAAMC,qBAAoB,iBAAiB,iBAAkB;","names":["verifyJwt","decodeJwt","signJwt","hasValidSignature"]}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { JwtReturnType } from './types';
|
|
2
|
-
export declare function withLegacyReturn<T extends (...args: any[]) => Promise<JwtReturnType<any, any>>>(cb: T): (...args: Parameters<T>) => Promise<NonNullable<Awaited<ReturnType<T>>["data"]>> | never;
|
|
3
|
-
export declare function withLegacySyncReturn<T extends (...args: any[]) => JwtReturnType<any, any>>(cb: T): (...args: Parameters<T>) => NonNullable<Awaited<ReturnType<T>>["data"]> | never;
|
|
4
|
-
//# sourceMappingURL=legacyReturn.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"legacyReturn.d.ts","sourceRoot":"","sources":["../../src/jwt/legacyReturn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,IACtF,GAAG,MAAM,UAAU,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAOpG;AAGD,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,IACvF,GAAG,MAAM,UAAU,CAAC,CAAC,CAAC,KAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,CAOrF"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { JwtReturnType } from './types';
|
|
2
|
-
export interface SignJwtOptions {
|
|
3
|
-
algorithm?: string;
|
|
4
|
-
header?: Record<string, unknown>;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Signs a JSON Web Token (JWT) with the given payload, key, and options.
|
|
8
|
-
* This function is intended to be used *internally* by other Clerk packages and typically
|
|
9
|
-
* should not be used directly.
|
|
10
|
-
*
|
|
11
|
-
* @internal
|
|
12
|
-
* @param payload The payload to include in the JWT.
|
|
13
|
-
* @param key The key to use for signing the JWT. Can be a string or a JsonWebKey.
|
|
14
|
-
* @param options The options to use for signing the JWT.
|
|
15
|
-
* @returns A Promise that resolves to the signed JWT string.
|
|
16
|
-
* @throws An error if no algorithm is specified or if the specified algorithm is unsupported.
|
|
17
|
-
* @throws An error if there is an issue with importing the key or signing the JWT.
|
|
18
|
-
*/
|
|
19
|
-
export declare function signJwt(payload: Record<string, unknown>, key: string | JsonWebKey, options: SignJwtOptions): Promise<JwtReturnType<string, Error>>;
|
|
20
|
-
//# sourceMappingURL=signJwt.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signJwt.d.ts","sourceRoot":"","sources":["../../src/jwt/signJwt.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AASD;;;;;;;;;;;;GAYG;AACH,wBAAsB,OAAO,CAC3B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,GAAG,EAAE,MAAM,GAAG,UAAU,EACxB,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CA8BvC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { MachineTokenType } from '../tokens/tokenTypes';
|
|
2
|
-
export type JwtReturnType<R, E extends Error> = {
|
|
3
|
-
data: R;
|
|
4
|
-
errors?: undefined;
|
|
5
|
-
} | {
|
|
6
|
-
data?: undefined;
|
|
7
|
-
errors: [E];
|
|
8
|
-
};
|
|
9
|
-
export type MachineTokenReturnType<R, E extends Error> = {
|
|
10
|
-
data: R;
|
|
11
|
-
tokenType: MachineTokenType;
|
|
12
|
-
errors?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
data?: undefined;
|
|
15
|
-
tokenType: MachineTokenType;
|
|
16
|
-
errors: [E];
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/jwt/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,MAAM,MAAM,aAAa,CAAC,CAAC,EAAE,CAAC,SAAS,KAAK,IACxC;IACE,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,GACD;IACE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;CACb,CAAC;AAEN,MAAM,MAAM,sBAAsB,CAAC,CAAC,EAAE,CAAC,SAAS,KAAK,IACjD;IACE,IAAI,EAAE,CAAC,CAAC;IACR,SAAS,EAAE,gBAAgB,CAAC;IAC5B,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,GACD;IACE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;CACb,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { Jwt, JwtPayload } from '@clerk/shared/types';
|
|
2
|
-
import { TokenVerificationError } from '../errors';
|
|
3
|
-
import type { JwtReturnType } from './types';
|
|
4
|
-
export declare function hasValidSignature(jwt: Jwt, key: JsonWebKey | string): Promise<JwtReturnType<boolean, Error>>;
|
|
5
|
-
export declare function decodeJwt(token: string): JwtReturnType<Jwt, TokenVerificationError>;
|
|
6
|
-
/**
|
|
7
|
-
* @inline
|
|
8
|
-
*/
|
|
9
|
-
export type VerifyJwtOptions = {
|
|
10
|
-
/**
|
|
11
|
-
* A string or list of [audiences](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.3). If passed, it is checked against the `aud` claim in the token.
|
|
12
|
-
*/
|
|
13
|
-
audience?: string | string[];
|
|
14
|
-
/**
|
|
15
|
-
* An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack.
|
|
16
|
-
* @example
|
|
17
|
-
* ```ts
|
|
18
|
-
* ['http://localhost:3000', 'https://example.com']
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
authorizedParties?: string[];
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the allowed time difference (in milliseconds) between the Clerk server (which generates the token) and the clock of the user's application server when validating a token.
|
|
24
|
-
* @default 5000
|
|
25
|
-
*/
|
|
26
|
-
clockSkewInMs?: number;
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
|
-
key: JsonWebKey | string;
|
|
31
|
-
/**
|
|
32
|
-
* A string or list of allowed [header types](https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.9).
|
|
33
|
-
* @default 'JWT'
|
|
34
|
-
*/
|
|
35
|
-
headerType?: string | string[];
|
|
36
|
-
};
|
|
37
|
-
export declare function verifyJwt(token: string, options: VerifyJwtOptions): Promise<JwtReturnType<JwtPayload, TokenVerificationError>>;
|
|
38
|
-
//# sourceMappingURL=verifyJwt.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"verifyJwt.d.ts","sourceRoot":"","sources":["../../src/jwt/verifyJwt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAA8D,MAAM,WAAW,CAAC;AAe/G,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAqBlH;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,aAAa,CAAC,GAAG,EAAE,sBAAsB,CAAC,CAkDnF;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC7B;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,GAAG,EAAE,UAAU,GAAG,MAAM,CAAC;IACzB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAChC,CAAC;AAEF,wBAAsB,SAAS,CAC7B,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,aAAa,CAAC,UAAU,EAAE,sBAAsB,CAAC,CAAC,CAuD5D"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { Jwt } from '@clerk/shared/types';
|
|
2
|
-
import { IdPOAuthAccessToken } from '../api/resources/IdPOAuthAccessToken';
|
|
3
|
-
import { M2MToken } from '../api/resources/M2MToken';
|
|
4
|
-
import { MachineTokenVerificationError } from '../errors';
|
|
5
|
-
import type { MachineTokenReturnType } from '../jwt/types';
|
|
6
|
-
import type { LoadClerkJWKFromRemoteOptions } from '../tokens/keys';
|
|
7
|
-
export type JwtMachineVerifyOptions = Pick<LoadClerkJWKFromRemoteOptions, 'secretKey' | 'apiUrl' | 'skipJwksCache'> & {
|
|
8
|
-
jwtKey?: string;
|
|
9
|
-
clockSkewInMs?: number;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Verifies a pre-decoded M2M JWT (identified by `sub` starting with `mch_`).
|
|
13
|
-
*/
|
|
14
|
-
export declare function verifyM2MJwt(token: string, decoded: Jwt, options: JwtMachineVerifyOptions): Promise<MachineTokenReturnType<M2MToken, MachineTokenVerificationError>>;
|
|
15
|
-
/**
|
|
16
|
-
* Verifies a pre-decoded OAuth access token JWT (identified by `typ: at+jwt` or `application/at+jwt`).
|
|
17
|
-
*/
|
|
18
|
-
export declare function verifyOAuthJwt(token: string, decoded: Jwt, options: JwtMachineVerifyOptions): Promise<MachineTokenReturnType<IdPOAuthAccessToken, MachineTokenVerificationError>>;
|
|
19
|
-
//# sourceMappingURL=verifyMachineJwt.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"verifyMachineJwt.d.ts","sourceRoot":"","sources":["../../src/jwt/verifyMachineJwt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAc,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EACL,6BAA6B,EAG9B,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAE3D,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAKpE,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,6BAA6B,EAAE,WAAW,GAAG,QAAQ,GAAG,eAAe,CAAC,GAAG;IACpH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AA6DF;;GAEG;AACH,wBAAsB,YAAY,CAChC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,GAAG,EACZ,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,6BAA6B,CAAC,CAAC,CAY1E;AAED;;GAEG;AACH,wBAAsB,cAAc,CAClC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,GAAG,EACZ,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,sBAAsB,CAAC,mBAAmB,EAAE,6BAA6B,CAAC,CAAC,CAYrF"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type DefaultBodyType, type HttpResponseResolver, type PathParams } from 'msw';
|
|
2
|
-
export declare const server: import("msw/node").SetupServerApi;
|
|
3
|
-
export declare function validateHeaders<Params extends PathParams, RequestBodyType extends DefaultBodyType, ResponseBodyType extends DefaultBodyType>(resolver: HttpResponseResolver<Params, RequestBodyType, ResponseBodyType>): HttpResponseResolver<Params, RequestBodyType, ResponseBodyType>;
|
|
4
|
-
//# sourceMappingURL=mock-server.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mock-server.d.ts","sourceRoot":"","sources":["../src/mock-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAgB,KAAK,oBAAoB,EAAE,KAAK,UAAU,EAAE,MAAM,KAAK,CAAC;AAKrG,eAAO,MAAM,MAAM,mCAAiC,CAAC;AAGrD,wBAAgB,eAAe,CAC7B,MAAM,SAAS,UAAU,EACzB,eAAe,SAAS,eAAe,EACvC,gBAAgB,SAAS,eAAe,EAExC,QAAQ,EAAE,oBAAoB,CAAC,MAAM,EAAE,eAAe,EAAE,gBAAgB,CAAC,GACxE,oBAAoB,CAAC,MAAM,EAAE,eAAe,EAAE,gBAAgB,CAAC,CAgCjE"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
export { DEFAULT_PROXY_PATH } from '@clerk/shared/constants';
|
|
2
|
-
/**
|
|
3
|
-
* Options for the Frontend API proxy
|
|
4
|
-
*/
|
|
5
|
-
export interface FrontendApiProxyOptions {
|
|
6
|
-
/**
|
|
7
|
-
* The path prefix for proxy requests. Defaults to `/__clerk`.
|
|
8
|
-
*/
|
|
9
|
-
proxyPath?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The Clerk publishable key. Falls back to CLERK_PUBLISHABLE_KEY env var.
|
|
12
|
-
*/
|
|
13
|
-
publishableKey?: string;
|
|
14
|
-
/**
|
|
15
|
-
* The Clerk secret key. Falls back to CLERK_SECRET_KEY env var.
|
|
16
|
-
*/
|
|
17
|
-
secretKey?: string;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Error codes for proxy errors
|
|
21
|
-
*/
|
|
22
|
-
export type ProxyErrorCode = 'proxy_configuration_error' | 'proxy_path_mismatch' | 'proxy_request_failed';
|
|
23
|
-
/**
|
|
24
|
-
* Error response structure for proxy errors
|
|
25
|
-
*/
|
|
26
|
-
export interface ProxyError {
|
|
27
|
-
code: ProxyErrorCode;
|
|
28
|
-
message: string;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Derives the Frontend API URL from a publishable key.
|
|
32
|
-
* @param publishableKey - The Clerk publishable key
|
|
33
|
-
* @returns The Frontend API URL for the environment
|
|
34
|
-
*/
|
|
35
|
-
export declare function fapiUrlFromPublishableKey(publishableKey: string): string;
|
|
36
|
-
/**
|
|
37
|
-
* Removes trailing slashes from a string without using regex
|
|
38
|
-
* to avoid potential ReDoS concerns flagged by security scanners.
|
|
39
|
-
*/
|
|
40
|
-
export declare function stripTrailingSlashes(str: string): string;
|
|
41
|
-
/**
|
|
42
|
-
* Checks if a request path matches the proxy path.
|
|
43
|
-
* @param request - The incoming request
|
|
44
|
-
* @param options - Proxy options including the proxy path
|
|
45
|
-
* @returns True if the request matches the proxy path
|
|
46
|
-
*/
|
|
47
|
-
export declare function matchProxyPath(request: Request, options?: Pick<FrontendApiProxyOptions, 'proxyPath'>): boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Proxies a request to Clerk's Frontend API.
|
|
50
|
-
*
|
|
51
|
-
* This function handles forwarding requests from your application to Clerk's
|
|
52
|
-
* Frontend API, enabling scenarios where direct communication with Clerk's API
|
|
53
|
-
* is blocked or needs to go through your application server.
|
|
54
|
-
*
|
|
55
|
-
* @param request - The incoming request to proxy
|
|
56
|
-
* @param options - Proxy configuration options
|
|
57
|
-
* @returns A Response from Clerk's Frontend API
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* ```typescript
|
|
61
|
-
* import { clerkFrontendApiProxy } from '@clerk/backend/proxy';
|
|
62
|
-
*
|
|
63
|
-
* // In a route handler
|
|
64
|
-
* const response = await clerkFrontendApiProxy(request, {
|
|
65
|
-
* proxyPath: '/__clerk',
|
|
66
|
-
* publishableKey: process.env.CLERK_PUBLISHABLE_KEY,
|
|
67
|
-
* secretKey: process.env.CLERK_SECRET_KEY,
|
|
68
|
-
* });
|
|
69
|
-
* ```
|
|
70
|
-
*/
|
|
71
|
-
export declare function clerkFrontendApiProxy(request: Request, options?: FrontendApiProxyOptions): Promise<Response>;
|
|
72
|
-
//# sourceMappingURL=proxy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../src/proxy.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,2BAA2B,GAAG,qBAAqB,GAAG,sBAAsB,CAAC;AAE1G;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,cAAc,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB;AAuCD;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAcxE;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAKxD;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,uBAAuB,EAAE,WAAW,CAAC,GAAG,OAAO,CAI9G;AAuDD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,qBAAqB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAwKlH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/proxy.ts"],"sourcesContent":["import {\n DEFAULT_PROXY_PATH,\n LEGACY_DEV_INSTANCE_SUFFIXES,\n LOCAL_ENV_SUFFIXES,\n LOCAL_FAPI_URL,\n PROD_FAPI_URL,\n STAGING_ENV_SUFFIXES,\n STAGING_FAPI_URL,\n} from '@clerk/shared/constants';\nimport { parsePublishableKey } from '@clerk/shared/keys';\n\nexport { DEFAULT_PROXY_PATH } from '@clerk/shared/constants';\n\n/**\n * Options for the Frontend API proxy\n */\nexport interface FrontendApiProxyOptions {\n /**\n * The path prefix for proxy requests. Defaults to `/__clerk`.\n */\n proxyPath?: string;\n /**\n * The Clerk publishable key. Falls back to CLERK_PUBLISHABLE_KEY env var.\n */\n publishableKey?: string;\n /**\n * The Clerk secret key. Falls back to CLERK_SECRET_KEY env var.\n */\n secretKey?: string;\n}\n\n/**\n * Error codes for proxy errors\n */\nexport type ProxyErrorCode = 'proxy_configuration_error' | 'proxy_path_mismatch' | 'proxy_request_failed';\n\n/**\n * Error response structure for proxy errors\n */\nexport interface ProxyError {\n code: ProxyErrorCode;\n message: string;\n}\n\n// Hop-by-hop headers that should not be forwarded\nconst HOP_BY_HOP_HEADERS = new Set([\n 'connection',\n 'keep-alive',\n 'proxy-authenticate',\n 'proxy-authorization',\n 'te',\n 'trailer',\n 'transfer-encoding',\n 'upgrade',\n]);\n\n/**\n * Parses the Connection header to extract dynamically-nominated hop-by-hop\n * header names (RFC 7230 Section 6.1). These headers are specific to the\n * current connection and must not be forwarded by proxies.\n */\nfunction getDynamicHopByHopHeaders(headers: Headers): Set<string> {\n const connectionValue = headers.get('connection');\n if (!connectionValue) {\n return new Set();\n }\n return new Set(\n connectionValue\n .split(',')\n .map(h => h.trim().toLowerCase())\n .filter(h => h.length > 0),\n );\n}\n\n// Headers to strip from proxied responses. fetch() auto-decompresses\n// response bodies, so Content-Encoding no longer describes the body\n// and Content-Length reflects the compressed size. We request identity\n// encoding upstream to avoid the double compression pass, but strip\n// these defensively since servers may ignore Accept-Encoding: identity.\nconst RESPONSE_HEADERS_TO_STRIP = new Set(['content-encoding', 'content-length']);\n\n/**\n * Derives the Frontend API URL from a publishable key.\n * @param publishableKey - The Clerk publishable key\n * @returns The Frontend API URL for the environment\n */\nexport function fapiUrlFromPublishableKey(publishableKey: string): string {\n const frontendApi = parsePublishableKey(publishableKey)?.frontendApi;\n\n if (frontendApi?.startsWith('clerk.') && LEGACY_DEV_INSTANCE_SUFFIXES.some(suffix => frontendApi?.endsWith(suffix))) {\n return PROD_FAPI_URL;\n }\n\n if (LOCAL_ENV_SUFFIXES.some(suffix => frontendApi?.endsWith(suffix))) {\n return LOCAL_FAPI_URL;\n }\n if (STAGING_ENV_SUFFIXES.some(suffix => frontendApi?.endsWith(suffix))) {\n return STAGING_FAPI_URL;\n }\n return PROD_FAPI_URL;\n}\n\n/**\n * Removes trailing slashes from a string without using regex\n * to avoid potential ReDoS concerns flagged by security scanners.\n */\nexport function stripTrailingSlashes(str: string): string {\n while (str.endsWith('/')) {\n str = str.slice(0, -1);\n }\n return str;\n}\n\n/**\n * Checks if a request path matches the proxy path.\n * @param request - The incoming request\n * @param options - Proxy options including the proxy path\n * @returns True if the request matches the proxy path\n */\nexport function matchProxyPath(request: Request, options?: Pick<FrontendApiProxyOptions, 'proxyPath'>): boolean {\n const proxyPath = stripTrailingSlashes(options?.proxyPath || DEFAULT_PROXY_PATH);\n const url = new URL(request.url);\n return url.pathname === proxyPath || url.pathname.startsWith(proxyPath + '/');\n}\n\n/**\n * Creates a JSON error response\n */\nfunction createErrorResponse(code: ProxyErrorCode, message: string, status: number): Response {\n const error: ProxyError = { code, message };\n return new Response(JSON.stringify({ errors: [error] }), {\n status,\n headers: {\n 'Content-Type': 'application/json',\n 'Cache-Control': 'no-store',\n },\n });\n}\n\n/**\n * Derives the public-facing origin from forwarded headers, falling back to the raw request URL.\n * Behind a reverse proxy, request.url is typically localhost, but the Clerk-Proxy-Url header\n * and Location rewrites must use the origin visible to the browser.\n */\nfunction derivePublicOrigin(request: Request, requestUrl: URL): string {\n const forwardedProto = request.headers.get('x-forwarded-proto')?.split(',')[0]?.trim();\n const forwardedHost = request.headers.get('x-forwarded-host')?.split(',')[0]?.trim();\n\n if (forwardedProto && forwardedHost) {\n return `${forwardedProto}://${forwardedHost}`;\n }\n\n return requestUrl.origin;\n}\n\n/**\n * Gets the client IP address from various headers\n */\nfunction getClientIp(request: Request): string | undefined {\n const cfConnectingIp = request.headers.get('cf-connecting-ip');\n if (cfConnectingIp) {\n return cfConnectingIp;\n }\n\n const xRealIp = request.headers.get('x-real-ip');\n if (xRealIp) {\n return xRealIp;\n }\n\n const xForwardedFor = request.headers.get('x-forwarded-for');\n if (xForwardedFor) {\n // Take the first IP in the chain\n return xForwardedFor.split(',')[0]?.trim();\n }\n\n return undefined;\n}\n\n/**\n * Proxies a request to Clerk's Frontend API.\n *\n * This function handles forwarding requests from your application to Clerk's\n * Frontend API, enabling scenarios where direct communication with Clerk's API\n * is blocked or needs to go through your application server.\n *\n * @param request - The incoming request to proxy\n * @param options - Proxy configuration options\n * @returns A Response from Clerk's Frontend API\n *\n * @example\n * ```typescript\n * import { clerkFrontendApiProxy } from '@clerk/backend/proxy';\n *\n * // In a route handler\n * const response = await clerkFrontendApiProxy(request, {\n * proxyPath: '/__clerk',\n * publishableKey: process.env.CLERK_PUBLISHABLE_KEY,\n * secretKey: process.env.CLERK_SECRET_KEY,\n * });\n * ```\n */\nexport async function clerkFrontendApiProxy(request: Request, options?: FrontendApiProxyOptions): Promise<Response> {\n const proxyPath = stripTrailingSlashes(options?.proxyPath || DEFAULT_PROXY_PATH);\n const publishableKey =\n options?.publishableKey || (typeof process !== 'undefined' ? process.env?.CLERK_PUBLISHABLE_KEY : undefined);\n const secretKey = options?.secretKey || (typeof process !== 'undefined' ? process.env?.CLERK_SECRET_KEY : undefined);\n\n // Validate configuration\n if (!publishableKey) {\n return createErrorResponse(\n 'proxy_configuration_error',\n 'Missing publishableKey. Provide it in options or set CLERK_PUBLISHABLE_KEY environment variable.',\n 500,\n );\n }\n\n if (!secretKey) {\n return createErrorResponse(\n 'proxy_configuration_error',\n 'Missing secretKey. Provide it in options or set CLERK_SECRET_KEY environment variable.',\n 500,\n );\n }\n\n // Get the request URL and validate path\n const requestUrl = new URL(request.url);\n const pathMatches = requestUrl.pathname === proxyPath || requestUrl.pathname.startsWith(proxyPath + '/');\n if (!pathMatches) {\n return createErrorResponse(\n 'proxy_path_mismatch',\n `Request path \"${requestUrl.pathname}\" does not match proxy path \"${proxyPath}\"`,\n 400,\n );\n }\n\n // Derive the FAPI URL and construct the target URL.\n // Use string concatenation instead of `new URL(path, base)` to avoid\n // protocol-relative resolution (e.g., \"//evil.com\" resolving to a different host).\n const fapiBaseUrl = fapiUrlFromPublishableKey(publishableKey);\n const fapiHost = new URL(fapiBaseUrl).host;\n const targetPath = requestUrl.pathname.slice(proxyPath.length) || '/';\n const targetUrl = new URL(`${fapiBaseUrl}${targetPath}`);\n targetUrl.search = requestUrl.search;\n\n if (targetUrl.host !== fapiHost) {\n return createErrorResponse('proxy_request_failed', 'Resolved target does not match the expected host', 400);\n }\n\n // Build headers for the proxied request\n const headers = new Headers();\n\n // Copy original headers, excluding hop-by-hop headers and any\n // dynamically-nominated hop-by-hop headers listed in the Connection header (RFC 7230 Section 6.1).\n const dynamicHopByHop = getDynamicHopByHopHeaders(request.headers);\n request.headers.forEach((value, key) => {\n const lower = key.toLowerCase();\n if (!HOP_BY_HOP_HEADERS.has(lower) && !dynamicHopByHop.has(lower)) {\n headers.set(key, value);\n }\n });\n\n // Set required Clerk proxy headers\n // Use the public origin (from forwarded headers) so the Clerk-Proxy-Url\n // points to the browser-visible host, not localhost behind a reverse proxy.\n const publicOrigin = derivePublicOrigin(request, requestUrl);\n const proxyUrl = `${publicOrigin}${proxyPath}`;\n headers.set('Clerk-Proxy-Url', proxyUrl);\n headers.set('Clerk-Secret-Key', secretKey);\n\n // Set the host header to the FAPI host\n headers.set('Host', fapiHost);\n\n // Request uncompressed responses to avoid a double compression pass.\n // fetch() auto-decompresses, so without this FAPI compresses → fetch\n // decompresses → the serving layer re-compresses for the browser.\n headers.set('Accept-Encoding', 'identity');\n\n // Set X-Forwarded-* headers for proxy awareness\n // Only set these if not already present (preserve values from upstream proxies)\n if (!headers.has('X-Forwarded-Host')) {\n headers.set('X-Forwarded-Host', requestUrl.host);\n }\n if (!headers.has('X-Forwarded-Proto')) {\n headers.set('X-Forwarded-Proto', requestUrl.protocol.replace(':', ''));\n }\n\n // Set X-Forwarded-For to the client IP\n // In multi-proxy scenarios, we prefer authoritative headers (CF-Connecting-IP, X-Real-IP)\n // over the existing X-Forwarded-For chain, as they provide the true client IP\n const clientIp = getClientIp(request);\n if (clientIp) {\n headers.set('X-Forwarded-For', clientIp);\n }\n\n // Determine if request has a body (handles DELETE-with-body and any other method)\n const hasBody = request.body !== null;\n\n try {\n // Make the proxied request\n // TODO: Consider adding AbortSignal.timeout(30_000) via AbortSignal.any()\n const fetchOptions: RequestInit = {\n method: request.method,\n headers,\n redirect: 'manual',\n signal: request.signal,\n };\n\n // Only set duplex when body is present (required for streaming bodies)\n if (hasBody) {\n // @ts-expect-error - duplex is required for streaming bodies, but not present on the RequestInit type from undici\n fetchOptions.duplex = 'half';\n fetchOptions.body = request.body;\n }\n\n const response = await fetch(targetUrl.toString(), fetchOptions);\n\n // Build response headers, excluding hop-by-hop and encoding headers.\n // Also strip dynamically-nominated hop-by-hop headers from the response Connection header.\n const responseDynamicHopByHop = getDynamicHopByHopHeaders(response.headers);\n const responseHeaders = new Headers();\n response.headers.forEach((value, key) => {\n const lower = key.toLowerCase();\n if (\n !HOP_BY_HOP_HEADERS.has(lower) &&\n !RESPONSE_HEADERS_TO_STRIP.has(lower) &&\n !responseDynamicHopByHop.has(lower)\n ) {\n if (lower === 'set-cookie') {\n responseHeaders.append(key, value);\n } else {\n responseHeaders.set(key, value);\n }\n }\n });\n\n // Rewrite Location header for redirects to go through the proxy\n const locationHeader = response.headers.get('location');\n if (locationHeader) {\n try {\n const locationUrl = new URL(locationHeader, fapiBaseUrl);\n // Check if the redirect points to the FAPI host\n if (locationUrl.host === fapiHost) {\n // Rewrite to go through the proxy\n const rewrittenLocation = `${proxyUrl}${locationUrl.pathname}${locationUrl.search}${locationUrl.hash}`;\n responseHeaders.set('Location', rewrittenLocation);\n }\n } catch {\n // If URL parsing fails, leave the Location header as-is (could be a relative URL)\n }\n }\n\n const proxyResponse = new Response(response.body, {\n status: response.status,\n statusText: response.statusText,\n headers: responseHeaders,\n });\n\n // Some runtimes may re-add Content-Length when constructing the Response.\n // Delete explicitly since fetch() decoded the body and the original values\n // no longer reflect the actual content.\n for (const header of RESPONSE_HEADERS_TO_STRIP) {\n proxyResponse.headers.delete(header);\n }\n\n return proxyResponse;\n } catch (error) {\n const message = error instanceof Error ? error.message : 'Unknown error';\n return createErrorResponse('proxy_request_failed', `Failed to proxy request to Clerk FAPI: ${message}`, 502);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAQO;AACP,kBAAoC;AAEpC,IAAAA,oBAAmC;AAkCnC,IAAM,qBAAqB,oBAAI,IAAI;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAOD,SAAS,0BAA0B,SAA+B;AAChE,QAAM,kBAAkB,QAAQ,IAAI,YAAY;AAChD,MAAI,CAAC,iBAAiB;AACpB,WAAO,oBAAI,IAAI;AAAA,EACjB;AACA,SAAO,IAAI;AAAA,IACT,gBACG,MAAM,GAAG,EACT,IAAI,OAAK,EAAE,KAAK,EAAE,YAAY,CAAC,EAC/B,OAAO,OAAK,EAAE,SAAS,CAAC;AAAA,EAC7B;AACF;AAOA,IAAM,4BAA4B,oBAAI,IAAI,CAAC,oBAAoB,gBAAgB,CAAC;AAOzE,SAAS,0BAA0B,gBAAgC;AACxE,QAAM,kBAAc,iCAAoB,cAAc,GAAG;AAEzD,MAAI,aAAa,WAAW,QAAQ,KAAK,8CAA6B,KAAK,YAAU,aAAa,SAAS,MAAM,CAAC,GAAG;AACnH,WAAO;AAAA,EACT;AAEA,MAAI,oCAAmB,KAAK,YAAU,aAAa,SAAS,MAAM,CAAC,GAAG;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AwB,IAAI,KAAK,GAClC;AACA,YAAI,UAAU,cAAc;AAC1B,0BAAgB,OAAO,KAAK,KAAK;AAAA,QACnC,OAAO;AACL,0BAAgB,IAAI,KAAK,KAAK;AAAA,QAChC;AAAA,MACF;AAAA,IACF,CAAC;AAGD,UAAM,iBAAiB,SAAS,QAAQ,IAAI,UAAU;AACtD,QAAI,gBAAgB;AAClB,UAAI;AACF,cAAM,cAAc,IAAI,IAAI,gBAAgB,WAAW;AAEvD,YAAI,YAAY,SAAS,UAAU;AAEjC,gBAAM,oBAAoB,GAAG,QAAQ,GAAG,YAAY,QAAQ,GAAG,YAAY,MAAM,GAAG,YAAY,IAAI;AACpG,0BAAgB,IAAI,YAAY,iBAAiB;AAAA,QACnD;AAAA,MACF,QAAQ;AAAA,MAER;AAAA,IACF;AAEA,UAAM,gBAAgB,IAAI,SAAS,SAAS,MAAM;AAAA,MAChD,QAAQ,SAAS;AAAA,MACjB,YAAY,SAAS;AAAA,MACrB,SAAS;AAAA,IACX,CAAC;AAKD,eAAW,UAAU,2BAA2B;AAC9C,oBAAc,QAAQ,OAAO,MAAM;AAAA,IACrC;AAEA,WAAO;AAAA,EACT,SAAS,OAAO;AACd,UAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU;AACzD,WAAO,oBAAoB,wBAAwB,0CAA0C,OAAO,IAAI,GAAG;AAAA,EAC7G;AACF;","names":["import_constants"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/proxy.ts"],"sourcesContent":["import {\n DEFAULT_PROXY_PATH,\n LEGACY_DEV_INSTANCE_SUFFIXES,\n LOCAL_ENV_SUFFIXES,\n LOCAL_FAPI_URL,\n PROD_FAPI_URL,\n STAGING_ENV_SUFFIXES,\n STAGING_FAPI_URL,\n} from '@clerk/shared/constants';\nimport { parsePublishableKey } from '@clerk/shared/keys';\n\nexport { DEFAULT_PROXY_PATH } from '@clerk/shared/constants';\n\n/**\n * Options for the Frontend API proxy\n */\nexport interface FrontendApiProxyOptions {\n /**\n * The path prefix for proxy requests. Defaults to `/__clerk`.\n */\n proxyPath?: string;\n /**\n * The Clerk publishable key. Falls back to CLERK_PUBLISHABLE_KEY env var.\n */\n publishableKey?: string;\n /**\n * The Clerk secret key. Falls back to CLERK_SECRET_KEY env var.\n */\n secretKey?: string;\n}\n\n/**\n * Error codes for proxy errors\n */\nexport type ProxyErrorCode = 'proxy_configuration_error' | 'proxy_path_mismatch' | 'proxy_request_failed';\n\n/**\n * Error response structure for proxy errors\n */\nexport interface ProxyError {\n code: ProxyErrorCode;\n message: string;\n}\n\n// Hop-by-hop headers that should not be forwarded\nconst HOP_BY_HOP_HEADERS = new Set([\n 'connection',\n 'keep-alive',\n 'proxy-authenticate',\n 'proxy-authorization',\n 'te',\n 'trailer',\n 'transfer-encoding',\n 'upgrade',\n]);\n\n/**\n * Parses the Connection header to extract dynamically-nominated hop-by-hop\n * header names (RFC 7230 Section 6.1). These headers are specific to the\n * current connection and must not be forwarded by proxies.\n */\nfunction getDynamicHopByHopHeaders(headers: Headers): Set<string> {\n const connectionValue = headers.get('connection');\n if (!connectionValue) {\n return new Set();\n }\n return new Set(\n connectionValue\n .split(',')\n .map(h => h.trim().toLowerCase())\n .filter(h => h.length > 0),\n );\n}\n\n// Headers to strip from proxied responses. fetch() auto-decompresses\n// response bodies, so Content-Encoding no longer describes the body\n// and Content-Length reflects the compressed size. We request identity\n// encoding upstream to avoid the double compression pass, but strip\n// these defensively since servers may ignore Accept-Encoding: identity.\nconst RESPONSE_HEADERS_TO_STRIP = new Set(['content-encoding', 'content-length']);\n\n/**\n * Derives the Frontend API URL from a publishable key.\n * @param publishableKey - The Clerk publishable key\n * @returns The Frontend API URL for the environment\n */\nexport function fapiUrlFromPublishableKey(publishableKey: string): string {\n const frontendApi = parsePublishableKey(publishableKey)?.frontendApi;\n\n if (frontendApi?.startsWith('clerk.') && LEGACY_DEV_INSTANCE_SUFFIXES.some(suffix => frontendApi?.endsWith(suffix))) {\n return PROD_FAPI_URL;\n }\n\n if (LOCAL_ENV_SUFFIXES.some(suffix => frontendApi?.endsWith(suffix))) {\n return LOCAL_FAPI_URL;\n }\n if (STAGING_ENV_SUFFIXES.some(suffix => frontendApi?.endsWith(suffix))) {\n return STAGING_FAPI_URL;\n }\n return PROD_FAPI_URL;\n}\n\n/**\n * Removes trailing slashes from a string without using regex\n * to avoid potential ReDoS concerns flagged by security scanners.\n */\nexport function stripTrailingSlashes(str: string): string {\n while (str.endsWith('/')) {\n str = str.slice(0, -1);\n }\n return str;\n}\n\n/**\n * Checks if a request path matches the proxy path.\n * @param request - The incoming request\n * @param options - Proxy options including the proxy path\n * @returns True if the request matches the proxy path\n */\nexport function matchProxyPath(request: Request, options?: Pick<FrontendApiProxyOptions, 'proxyPath'>): boolean {\n const proxyPath = stripTrailingSlashes(options?.proxyPath || DEFAULT_PROXY_PATH);\n const url = new URL(request.url);\n return url.pathname === proxyPath || url.pathname.startsWith(proxyPath + '/');\n}\n\n/**\n * Creates a JSON error response\n */\nfunction createErrorResponse(code: ProxyErrorCode, message: string, status: number): Response {\n const error: ProxyError = { code, message };\n return new Response(JSON.stringify({ errors: [error] }), {\n status,\n headers: {\n 'Content-Type': 'application/json',\n 'Cache-Control': 'no-store',\n },\n });\n}\n\n/**\n * Derives the public-facing origin from forwarded headers, falling back to the raw request URL.\n * Behind a reverse proxy, request.url is typically localhost, but the Clerk-Proxy-Url header\n * and Location rewrites must use the origin visible to the browser.\n */\nfunction derivePublicOrigin(request: Request, requestUrl: URL): string {\n const forwardedProto = request.headers.get('x-forwarded-proto')?.split(',')[0]?.trim();\n const forwardedHost = request.headers.get('x-forwarded-host')?.split(',')[0]?.trim();\n\n if (forwardedProto && forwardedHost) {\n return `${forwardedProto}://${forwardedHost}`;\n }\n\n return requestUrl.origin;\n}\n\n/**\n * Gets the client IP address from various headers\n */\nfunction getClientIp(request: Request): string | undefined {\n const cfConnectingIp = request.headers.get('cf-connecting-ip');\n if (cfConnectingIp) {\n return cfConnectingIp;\n }\n\n const xRealIp = request.headers.get('x-real-ip');\n if (xRealIp) {\n return xRealIp;\n }\n\n const xForwardedFor = request.headers.get('x-forwarded-for');\n if (xForwardedFor) {\n // Take the first IP in the chain\n return xForwardedFor.split(',')[0]?.trim();\n }\n\n return undefined;\n}\n\n/**\n * Proxies a request to Clerk's Frontend API.\n *\n * This function handles forwarding requests from your application to Clerk's\n * Frontend API, enabling scenarios where direct communication with Clerk's API\n * is blocked or needs to go through your application server.\n *\n * @param request - The incoming request to proxy\n * @param options - Proxy configuration options\n * @returns A Response from Clerk's Frontend API\n *\n * @example\n * ```typescript\n * import { clerkFrontendApiProxy } from '@clerk/backend/proxy';\n *\n * // In a route handler\n * const response = await clerkFrontendApiProxy(request, {\n * proxyPath: '/__clerk',\n * publishableKey: process.env.CLERK_PUBLISHABLE_KEY,\n * secretKey: process.env.CLERK_SECRET_KEY,\n * });\n * ```\n */\nexport async function clerkFrontendApiProxy(request: Request, options?: FrontendApiProxyOptions): Promise<Response> {\n const proxyPath = stripTrailingSlashes(options?.proxyPath || DEFAULT_PROXY_PATH);\n const publishableKey =\n options?.publishableKey || (typeof process !== 'undefined' ? process.env?.CLERK_PUBLISHABLE_KEY : undefined);\n const secretKey = options?.secretKey || (typeof process !== 'undefined' ? process.env?.CLERK_SECRET_KEY : undefined);\n\n // Validate configuration\n if (!publishableKey) {\n return createErrorResponse(\n 'proxy_configuration_error',\n 'Missing publishableKey. Provide it in options or set CLERK_PUBLISHABLE_KEY environment variable.',\n 500,\n );\n }\n\n if (!secretKey) {\n return createErrorResponse(\n 'proxy_configuration_error',\n 'Missing secretKey. Provide it in options or set CLERK_SECRET_KEY environment variable.',\n 500,\n );\n }\n\n // Get the request URL and validate path\n const requestUrl = new URL(request.url);\n const pathMatches = requestUrl.pathname === proxyPath || requestUrl.pathname.startsWith(proxyPath + '/');\n if (!pathMatches) {\n return createErrorResponse(\n 'proxy_path_mismatch',\n `Request path \"${requestUrl.pathname}\" does not match proxy path \"${proxyPath}\"`,\n 400,\n );\n }\n\n // Derive the FAPI URL and construct the target URL.\n // Use string concatenation instead of `new URL(path, base)` to avoid\n // protocol-relative resolution (e.g., \"//evil.com\" resolving to a different host).\n const fapiBaseUrl = fapiUrlFromPublishableKey(publishableKey);\n const fapiHost = new URL(fapiBaseUrl).host;\n const targetPath = requestUrl.pathname.slice(proxyPath.length) || '/';\n const targetUrl = new URL(`${fapiBaseUrl}${targetPath}`);\n targetUrl.search = requestUrl.search;\n\n if (targetUrl.host !== fapiHost) {\n return createErrorResponse('proxy_request_failed', 'Resolved target does not match the expected host', 400);\n }\n\n // Build headers for the proxied request\n const headers = new Headers();\n\n // Copy original headers, excluding hop-by-hop headers and any\n // dynamically-nominated hop-by-hop headers listed in the Connection header (RFC 7230 Section 6.1).\n const dynamicHopByHop = getDynamicHopByHopHeaders(request.headers);\n request.headers.forEach((value, key) => {\n const lower = key.toLowerCase();\n if (!HOP_BY_HOP_HEADERS.has(lower) && !dynamicHopByHop.has(lower)) {\n headers.set(key, value);\n }\n });\n\n // Set required Clerk proxy headers\n // Use the public origin (from forwarded headers) so the Clerk-Proxy-Url\n // points to the browser-visible host, not localhost behind a reverse proxy.\n const publicOrigin = derivePublicOrigin(request, requestUrl);\n const proxyUrl = `${publicOrigin}${proxyPath}`;\n headers.set('Clerk-Proxy-Url', proxyUrl);\n headers.set('Clerk-Secret-Key', secretKey);\n\n // Set the host header to the FAPI host\n headers.set('Host', fapiHost);\n\n // Request uncompressed responses to avoid a double compression pass.\n // fetch() auto-decompresses, so without this FAPI compresses → fetch\n // decompresses → the serving layer re-compresses for the browser.\n headers.set('Accept-Encoding', 'identity');\n\n // Set X-Forwarded-* headers for proxy awareness\n // Only set these if not already present (preserve values from upstream proxies)\n if (!headers.has('X-Forwarded-Host')) {\n headers.set('X-Forwarded-Host', requestUrl.host);\n }\n if (!headers.has('X-Forwarded-Proto')) {\n headers.set('X-Forwarded-Proto', requestUrl.protocol.replace(':', ''));\n }\n\n // Set X-Forwarded-For to the client IP\n // In multi-proxy scenarios, we prefer authoritative headers (CF-Connecting-IP, X-Real-IP)\n // over the existing X-Forwarded-For chain, as they provide the true client IP\n const clientIp = getClientIp(request);\n if (clientIp) {\n headers.set('X-Forwarded-For', clientIp);\n }\n\n // Determine if request has a body (handles DELETE-with-body and any other method)\n const hasBody = request.body !== null;\n\n try {\n // Make the proxied request\n // TODO: Consider adding AbortSignal.timeout(30_000) via AbortSignal.any()\n const fetchOptions: RequestInit = {\n method: request.method,\n headers,\n redirect: 'manual',\n signal: request.signal,\n };\n\n // Only set duplex when body is present (required for streaming bodies)\n if (hasBody) {\n // @ts-expect-error - duplex is required for streaming bodies, but not present on the RequestInit type from undici\n fetchOptions.duplex = 'half';\n fetchOptions.body = request.body;\n }\n\n const response = await fetch(targetUrl.toString(), fetchOptions);\n\n // Build response headers, excluding hop-by-hop and encoding headers.\n // Also strip dynamically-nominated hop-by-hop headers from the response Connection header.\n const responseDynamicHopByHop = getDynamicHopByHopHeaders(response.headers);\n const responseHeaders = new Headers();\n response.headers.forEach((value, key) => {\n const lower = key.toLowerCase();\n if (\n !HOP_BY_HOP_HEADERS.has(lower) &&\n !RESPONSE_HEADERS_TO_STRIP.has(lower) &&\n !responseDynamicHopByHop.has(lower)\n ) {\n if (lower === 'set-cookie') {\n responseHeaders.append(key, value);\n } else {\n responseHeaders.set(key, value);\n }\n }\n });\n\n // Rewrite Location header for redirects to go through the proxy\n const locationHeader = response.headers.get('location');\n if (locationHeader) {\n try {\n const locationUrl = new URL(locationHeader, fapiBaseUrl);\n // Check if the redirect points to the FAPI host\n if (locationUrl.host === fapiHost) {\n // Rewrite to go through the proxy\n const rewrittenLocation = `${proxyUrl}${locationUrl.pathname}${locationUrl.search}${locationUrl.hash}`;\n responseHeaders.set('Location', rewrittenLocation);\n }\n } catch {\n // If URL parsing fails, leave the Location header as-is (could be a relative URL)\n }\n }\n\n const proxyResponse = new Response(response.body, {\n status: response.status,\n statusText: response.statusText,\n headers: responseHeaders,\n });\n\n // Some runtimes may re-add Content-Length when constructing the Response.\n // Delete explicitly since fetch() decoded the body and the original values\n // no longer reflect the actual content.\n for (const header of RESPONSE_HEADERS_TO_STRIP) {\n proxyResponse.headers.delete(header);\n }\n\n return proxyResponse;\n } catch (error) {\n const message = error instanceof Error ? error.message : 'Unknown error';\n return createErrorResponse('proxy_request_failed', `Failed to proxy request to Clerk FAPI: ${message}`, 502);\n }\n}\n"],"mappings":";;;AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,2BAA2B;AAEpC,SAAS,sBAAAA,2BAA0B;AAkCnC,IAAM,qBAAqB,oBAAI,IAAI;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAOD,SAAS,0BAA0B,SAA+B;AAChE,QAAM,kBAAkB,QAAQ,IAAI,YAAY;AAChD,MAAI,CAAC,iBAAiB;AACpB,WAAO,oBAAI,IAAI;AAAA,EACjB;AACA,SAAO,IAAI;AAAA,IACT,gBACG,MAAM,GAAG,EACT,IAAI,OAAK,EAAE,KAAK,EAAE,YAAY,CAAC,EAC/B,OAAO,OAAK,EAAE,SAAS,CAAC;AAAA,EAC7B;AACF;AAOA,IAAM,4BAA4B,oBAAI,IAAI,CAAC,oBAAoB,gBAAgB,CAAC;AAOzE,SAAS,0BAA0B,gBAAgC;AACxE,QAAM,cAAc,oBAAoB,cAAc,GAAG;AAEzD,MAAI,aAAa,WAAW,QAAQ,KAAK,6BAA6B,KAAK,YAAU,aAAa,SAAS,MAAM,CAAC,GAAG;AACnH,WAAO;AAAA,EACT;AAEA,MAAI,mBAAmB,KAAK,YAAU,aAAa,SAAS,MAAM,CAAC,GAAG;AACpE,WAAO;AAAA,EACT;AACA,MAAI,qBAAqB,KAAK,YAAU,aAAa,SAAS,MAAM,CAAC,GAAG;AACtE,WAAO;AA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ACL,0BAAgB,IAAI,KAAK,KAAK;AAAA,QAChC;AAAA,MACF;AAAA,IACF,CAAC;AAGD,UAAM,iBAAiB,SAAS,QAAQ,IAAI,UAAU;AACtD,QAAI,gBAAgB;AAClB,UAAI;AACF,cAAM,cAAc,IAAI,IAAI,gBAAgB,WAAW;AAEvD,YAAI,YAAY,SAAS,UAAU;AAEjC,gBAAM,oBAAoB,GAAG,QAAQ,GAAG,YAAY,QAAQ,GAAG,YAAY,MAAM,GAAG,YAAY,IAAI;AACpG,0BAAgB,IAAI,YAAY,iBAAiB;AAAA,QACnD;AAAA,MACF,QAAQ;AAAA,MAER;AAAA,IACF;AAEA,UAAM,gBAAgB,IAAI,SAAS,SAAS,MAAM;AAAA,MAChD,QAAQ,SAAS;AAAA,MACjB,YAAY,SAAS;AAAA,MACrB,SAAS;AAAA,IACX,CAAC;AAKD,eAAW,UAAU,2BAA2B;AAC9C,oBAAc,QAAQ,OAAO,MAAM;AAAA,IACrC;AAEA,WAAO;AAAA,EACT,SAAS,OAAO;AACd,UAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU;AACzD,WAAO,oBAAoB,wBAAwB,0CAA0C,OAAO,IAAI,GAAG;AAAA,EAC7G;AACF;","names":["DEFAULT_PROXY_PATH"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file exports APIs that vary across runtimes (i.e. Node & Browser - V8 isolates)
|
|
3
|
-
* as a singleton object.
|
|
4
|
-
*
|
|
5
|
-
* Runtime polyfills are written in VanillaJS for now to avoid TS complication. Moreover,
|
|
6
|
-
* due to this issue https://github.com/microsoft/TypeScript/issues/44848, there is not a good way
|
|
7
|
-
* to tell Typescript which conditional import to use during build type.
|
|
8
|
-
*
|
|
9
|
-
* The Runtime type definition ensures type safety for now.
|
|
10
|
-
* Runtime js modules are copied into dist folder with bash script.
|
|
11
|
-
*
|
|
12
|
-
* TODO: Support TS runtime modules
|
|
13
|
-
*/
|
|
14
|
-
type Runtime = {
|
|
15
|
-
crypto: Crypto;
|
|
16
|
-
fetch: typeof globalThis.fetch;
|
|
17
|
-
AbortController: typeof globalThis.AbortController;
|
|
18
|
-
Blob: typeof globalThis.Blob;
|
|
19
|
-
FormData: typeof globalThis.FormData;
|
|
20
|
-
Headers: typeof globalThis.Headers;
|
|
21
|
-
Request: typeof globalThis.Request;
|
|
22
|
-
Response: typeof globalThis.Response;
|
|
23
|
-
};
|
|
24
|
-
export declare const runtime: Runtime;
|
|
25
|
-
export {};
|
|
26
|
-
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAKH,KAAK,OAAO,GAAG;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,OAAO,UAAU,CAAC,KAAK,CAAC;IAC/B,eAAe,EAAE,OAAO,UAAU,CAAC,eAAe,CAAC;IACnD,IAAI,EAAE,OAAO,UAAU,CAAC,IAAI,CAAC;IAC7B,QAAQ,EAAE,OAAO,UAAU,CAAC,QAAQ,CAAC;IACrC,OAAO,EAAE,OAAO,UAAU,CAAC,OAAO,CAAC;IACnC,OAAO,EAAE,OAAO,UAAU,CAAC,OAAO,CAAC;IACnC,QAAQ,EAAE,OAAO,UAAU,CAAC,QAAQ,CAAC;CACtC,CAAC;AAUF,eAAO,MAAM,OAAO,EAAE,OAYrB,CAAC"}
|