From 2e420c9c3e5bb0a4b6dbc5e520248e78a57f113f Mon Sep 17 00:00:00 2001 From: senthalan Date: Wed, 5 Aug 2026 22:48:20 +0530 Subject: [PATCH] Update license headers and remove WSO2 references Replace the WSO2 block license headers with the ThunderID SPDX header (preserving the original copyright year) and remove the remaining WSO2 references as part of the OWF donation. --- .github/pull_request_template.md | 2 +- eslint.config.js | 19 +--------- package.json | 5 +-- packages/browser/eslint.config.js | 19 +--------- packages/browser/package.json | 2 +- packages/browser/prettier.config.js | 19 +--------- packages/browser/rolldown.config.js | 19 +--------- .../generate-anonymous-animal-icons.mjs | 38 ++----------------- .../generate-anonymous-entity-icons.mjs | 38 ++----------------- packages/browser/src/FetchHttpClient.ts | 19 +--------- .../browser/src/ThunderIDBrowserClient.ts | 19 +--------- packages/browser/src/constants/Hooks.ts | 19 +--------- .../browser/src/constants/SPAConstants.ts | 19 +--------- packages/browser/src/index.ts | 19 +--------- packages/browser/src/models/BrowserConfig.ts | 19 +--------- packages/browser/src/models/BrowserStorage.ts | 19 +--------- packages/browser/src/models/SignInConfig.ts | 19 +--------- packages/browser/src/models/SignOutError.ts | 19 +--------- .../browser/src/models/TokenExchangeConfig.ts | 19 +--------- packages/browser/src/models/config.ts | 19 +--------- packages/browser/src/stores/LocalStore.ts | 19 +--------- packages/browser/src/stores/MemoryStore.ts | 19 +--------- packages/browser/src/stores/SessionStore.ts | 19 +--------- packages/browser/src/theme/getActiveTheme.ts | 19 +--------- .../src/theme/normalizeBorderRadius.ts | 19 +--------- packages/browser/src/theme/themeDetection.ts | 19 +--------- .../browser/src/utils/AuthenticationHelper.ts | 19 +--------- packages/browser/src/utils/SPACryptoUtils.ts | 19 +--------- packages/browser/src/utils/SPAHelper.ts | 19 +--------- packages/browser/src/utils/SPAUtils.ts | 19 +--------- .../src/utils/SessionManagementHelper.ts | 19 +--------- .../extractAvatarParamsFromUri.test.ts | 19 +--------- .../__tests__/generateAvatarDataUri.test.ts | 19 +--------- .../utils/__tests__/logoUriSchemes.test.ts | 19 +--------- .../src/utils/__tests__/navigate.test.ts | 19 +--------- .../__tests__/pickAnonymousAvatarName.test.ts | 19 +--------- .../__tests__/pickAnonymousEntityName.test.ts | 19 +--------- .../utils/__tests__/resolveLogoUri.test.ts | 19 +--------- .../utils/anonymousAnimalIcons.generated.ts | 19 +--------- .../utils/anonymousEntityIcons.generated.ts | 19 +--------- packages/browser/src/utils/buildAvatarSpec.ts | 19 +--------- .../src/utils/extractAvatarParamsFromUri.ts | 19 +--------- .../src/utils/generateAvatarDataUri.ts | 19 +--------- .../src/utils/handleWebAuthnAuthentication.ts | 19 +--------- .../browser/src/utils/hasAuthParamsInUrl.ts | 19 +--------- .../utils/hasCalledForThisInstanceInUrl.ts | 19 +--------- packages/browser/src/utils/hashStr.ts | 19 +--------- packages/browser/src/utils/http.ts | 19 +--------- packages/browser/src/utils/isAvatarUri.ts | 19 +--------- packages/browser/src/utils/navigate.ts | 19 +--------- .../src/utils/pickAnonymousAvatarName.ts | 19 +--------- .../src/utils/pickAnonymousEntityName.ts | 19 +--------- .../src/utils/resolveEmojiUrisInHtml.ts | 19 +--------- packages/browser/src/utils/resolveLogoUri.ts | 19 +--------- packages/browser/vitest.config.ts | 19 +--------- packages/express/eslint.config.js | 19 +--------- packages/express/package.json | 2 +- packages/express/prettier.config.js | 19 +--------- packages/express/rolldown.config.js | 19 +--------- .../express/src/ThunderIDExpressClient.ts | 19 +--------- .../express/src/constants/CookieConfig.ts | 19 +--------- packages/express/src/index.ts | 19 +--------- .../express/src/middleware/authentication.ts | 19 +--------- packages/express/src/middleware/flow.ts | 19 +--------- packages/express/src/middleware/protect.ts | 19 +--------- packages/express/src/models/config.ts | 19 +--------- packages/express/src/models/protectRoute.ts | 19 +--------- packages/express/src/utils/expressUtils.ts | 19 +--------- packages/express/vitest.config.ts | 19 +--------- packages/javascript/eslint.config.js | 19 +--------- packages/javascript/package.json | 2 +- packages/javascript/prettier.config.js | 19 +--------- packages/javascript/rolldown.config.js | 19 +--------- packages/javascript/src/DefaultCacheStore.ts | 19 +--------- packages/javascript/src/DefaultCrypto.ts | 19 +--------- packages/javascript/src/HttpClient.ts | 19 +--------- packages/javascript/src/IsomorphicCrypto.ts | 19 +--------- packages/javascript/src/StorageManager.ts | 19 +--------- .../src/ThunderIDJavaScriptClient.ts | 19 +--------- .../__tests__/AuthenticationHelper.test.ts | 19 +--------- .../src/__tests__/DefaultCrypto.test.ts | 19 +--------- .../ThunderIDJavaScriptClient.test.ts | 19 +--------- .../executeEmbeddedSignInFlow.test.ts | 19 +--------- .../executeEmbeddedSignUpFlow.test.ts | 19 +--------- .../src/api/__tests__/getUserInfo.test.ts | 19 +--------- .../src/api/__tests__/getUsersMe.test.ts | 19 +--------- .../src/api/__tests__/updateMeProfile.test.ts | 19 +--------- .../src/api/executeEmbeddedRecoveryFlow.ts | 19 +--------- .../src/api/executeEmbeddedSignInFlow.ts | 19 +--------- .../src/api/executeEmbeddedSignUpFlow.ts | 19 +--------- .../api/executeEmbeddedUserOnboardingFlow.ts | 19 +--------- packages/javascript/src/api/getFlowMeta.ts | 19 +--------- .../src/api/getOrganizationUnitChildren.ts | 19 +--------- packages/javascript/src/api/getUserInfo.ts | 19 +--------- packages/javascript/src/api/getUsersMe.ts | 19 +--------- .../javascript/src/api/updateMeProfile.ts | 19 +--------- ...pplicationNativeAuthenticationConstants.ts | 19 +--------- .../src/constants/OIDCDiscoveryConstants.ts | 19 +--------- .../src/constants/OIDCRequestConstants.ts | 19 +--------- .../javascript/src/constants/PKCEConstants.ts | 19 +--------- .../src/constants/ScopeConstants.ts | 19 +--------- .../src/constants/TokenConstants.ts | 19 +--------- .../src/constants/TokenExchangeConstants.ts | 19 +--------- .../src/constants/VendorConstants.ts | 19 +--------- .../src/errors/ThunderIDAPIError.ts | 19 +--------- .../javascript/src/errors/ThunderIDError.ts | 19 +--------- .../src/errors/ThunderIDRuntimeError.ts | 19 +--------- .../__tests__/ThunderIDAPIError.test.ts | 19 +--------- .../errors/__tests__/ThunderIDError.test.ts | 19 +--------- .../__tests__/ThunderIDRuntimeError.test.ts | 19 +--------- packages/javascript/src/errors/exception.ts | 19 +--------- .../constants/TranslationBundleConstants.ts | 19 +--------- packages/javascript/src/i18n/models/i18n.ts | 19 +--------- .../javascript/src/i18n/translations/en-US.ts | 19 +--------- .../javascript/src/i18n/translations/fr-FR.ts | 19 +--------- .../javascript/src/i18n/translations/hi-IN.ts | 19 +--------- .../javascript/src/i18n/translations/index.ts | 19 +--------- .../javascript/src/i18n/translations/ja-JP.ts | 19 +--------- .../javascript/src/i18n/translations/pt-BR.ts | 19 +--------- .../javascript/src/i18n/translations/pt-PT.ts | 19 +--------- .../javascript/src/i18n/translations/si-LK.ts | 19 +--------- .../javascript/src/i18n/translations/ta-IN.ts | 19 +--------- .../javascript/src/i18n/translations/te-IN.ts | 19 +--------- .../__tests__/getDefaultI18nBundles.test.ts | 19 +--------- .../src/i18n/utils/getDefaultI18nBundles.ts | 19 +--------- .../src/i18n/utils/normalizeTranslations.ts | 19 +--------- packages/javascript/src/index.ts | 19 +--------- .../models/__tests__/embedded-flow.test.ts | 19 +--------- packages/javascript/src/models/agent.ts | 19 +--------- .../src/models/auth-code-response.ts | 19 +--------- packages/javascript/src/models/ciba.ts | 19 +--------- packages/javascript/src/models/client.ts | 19 +--------- packages/javascript/src/models/config.ts | 19 +--------- packages/javascript/src/models/crypto.ts | 19 +--------- .../javascript/src/models/embedded-flow.ts | 19 +--------- .../src/models/embedded-recovery-flow.ts | 19 +--------- .../src/models/embedded-signin-flow.ts | 19 +--------- .../src/models/embedded-signup-flow.ts | 19 +--------- .../src/models/extensions/components.ts | 19 +--------- packages/javascript/src/models/field.ts | 19 +--------- packages/javascript/src/models/flow-meta.ts | 19 +--------- packages/javascript/src/models/flow.ts | 22 ++--------- packages/javascript/src/models/http.ts | 19 +--------- .../javascript/src/models/oauth-request.ts | 19 +--------- .../javascript/src/models/oauth-response.ts | 19 +--------- .../javascript/src/models/oidc-discovery.ts | 19 +--------- .../javascript/src/models/oidc-endpoints.ts | 19 +--------- packages/javascript/src/models/session.ts | 19 +--------- packages/javascript/src/models/store.ts | 19 +--------- .../src/models/token-endpoint-auth.ts | 19 +--------- packages/javascript/src/models/token.ts | 19 +--------- packages/javascript/src/models/translation.ts | 19 +--------- packages/javascript/src/models/user.ts | 19 +--------- .../javascript/src/models/utility-types.ts | 19 +--------- packages/javascript/src/models/vars.ts | 19 +--------- .../javascript/src/theme/createTheme.test.ts | 19 +--------- packages/javascript/src/theme/createTheme.ts | 19 +--------- packages/javascript/src/theme/types.ts | 19 +--------- .../src/utils/AuthenticationHelper.ts | 19 +--------- ...enticationHelper.resourceEndpoints.test.ts | 19 +--------- .../src/utils/__tests__/bem.test.ts | 19 +--------- .../__tests__/buildValidatorFromRules.test.ts | 19 +--------- .../src/utils/__tests__/deepMerge.test.ts | 19 +--------- .../__tests__/evaluateValidationRule.test.ts | 19 +--------- .../extractPkceStorageKeyFromState.test.ts | 19 +--------- ...ractTenantDomainFromIdTokenPayload.test.ts | 19 +--------- .../extractUserClaimsFromIdToken.test.ts | 19 +--------- .../src/utils/__tests__/formatDate.test.ts | 19 +--------- .../generateFlattenedUserProfile.test.ts | 19 +--------- .../__tests__/generatePkceStorageKey.test.ts | 19 +--------- ...ateStateParamForRequestCorrelation.test.ts | 19 +--------- .../src/utils/__tests__/get.test.ts | 19 +--------- .../getAuthorizeRequestUrlParams.test.ts | 19 +--------- .../__tests__/getLatestStateParam.test.ts | 19 +--------- .../getRedirectBasedSignUpUrl.test.ts | 19 +--------- .../injectRequestedPermissions.test.ts | 19 +--------- .../src/utils/__tests__/isEmpty.test.ts | 19 +--------- .../isRecognizedBaseUrlPattern.test.ts | 19 +--------- .../src/utils/__tests__/logger.test.ts | 19 +--------- .../__tests__/parseApiErrorMessage.test.ts | 19 +--------- .../__tests__/processOpenIDScopes.test.ts | 19 +--------- .../utils/__tests__/processUsername.test.ts | 19 +--------- .../__tests__/removeTrailingSlash.test.ts | 19 +--------- .../utils/__tests__/resolveFieldName.test.ts | 19 +--------- .../__tests__/resolveResourceEndpoint.test.ts | 19 +--------- .../src/utils/__tests__/set.test.ts | 19 +--------- .../withVendorCSSClassPrefix.test.ts | 35 +++++------------ .../src/utils/arrayBufferToBase64url.ts | 19 +--------- packages/javascript/src/utils/base64Encode.ts | 19 +--------- .../src/utils/base64urlToArrayBuffer.ts | 19 +--------- packages/javascript/src/utils/bem.ts | 19 +--------- .../src/utils/buildValidatorFromRules.ts | 19 +--------- .../utils/containsMetaFlowTemplateLiteral.ts | 19 +--------- .../src/utils/countryCodeToFlagEmoji.ts | 19 +--------- packages/javascript/src/utils/deepMerge.ts | 19 +--------- .../src/utils/evaluateValidationRule.ts | 19 +--------- .../src/utils/extractEmojiFromUri.ts | 19 +--------- .../utils/extractPkceStorageKeyFromState.ts | 19 +--------- .../extractTenantDomainFromIdTokenPayload.ts | 19 +--------- .../src/utils/extractUserClaimsFromIdToken.ts | 19 +--------- packages/javascript/src/utils/formatDate.ts | 19 +--------- .../src/utils/generatePkceStorageKey.ts | 19 +--------- ...generateStateParamForRequestCorrelation.ts | 19 +--------- packages/javascript/src/utils/get.ts | 19 +--------- .../src/utils/getAuthorizeRequestUrlParams.ts | 19 +--------- .../src/utils/getLatestStateParam.ts | 19 +--------- .../src/utils/getRedirectBasedSignUpUrl.ts | 19 +--------- .../javascript/src/utils/getVendorPrefix.ts | 19 +--------- .../src/utils/injectRequestedPermissions.ts | 19 +--------- packages/javascript/src/utils/isEmojiUri.ts | 19 +--------- packages/javascript/src/utils/isEmpty.ts | 19 +--------- .../src/utils/isMetaFlowTemplateLiteral.ts | 19 +--------- .../src/utils/isRecognizedBaseUrlPattern.ts | 19 +--------- .../utils/isTranslationFlowTemplateLiteral.ts | 19 +--------- packages/javascript/src/utils/logger.ts | 19 +--------- .../src/utils/parseApiErrorMessage.ts | 19 +--------- .../src/utils/parseFlowTemplateLiteral.ts | 19 +--------- .../src/utils/processOpenIDScopes.ts | 19 +--------- .../javascript/src/utils/processUsername.ts | 19 +--------- .../src/utils/removeTrailingSlash.ts | 19 +--------- .../javascript/src/utils/resolveFieldName.ts | 19 +--------- .../src/utils/resolveFlowTemplateLiterals.ts | 19 +--------- .../src/utils/resolveLocaleDisplayName.ts | 19 +--------- .../src/utils/resolveLocaleEmoji.ts | 19 +--------- packages/javascript/src/utils/resolveMeta.ts | 19 +--------- .../src/utils/resolveResourceEndpoint.ts | 19 +--------- packages/javascript/src/utils/set.ts | 19 +--------- packages/javascript/src/utils/startCase.ts | 19 +--------- .../src/utils/withVendorCSSClassPrefix.ts | 21 ++-------- packages/javascript/vitest.config.ts | 19 +--------- packages/nextjs/eslint.config.js | 19 +--------- packages/nextjs/package.json | 2 +- packages/nextjs/prettier.config.js | 19 +--------- packages/nextjs/rolldown.config.js | 19 +--------- packages/nextjs/src/ThunderIDNextClient.ts | 19 +--------- .../actions/SignInButton/SignInButton.tsx | 19 +--------- .../actions/SignOutButton/SignOutButton.tsx | 19 +--------- .../actions/SignUpButton/SignUpButton.tsx | 19 +--------- .../components/control/Loading/Loading.tsx | 19 +--------- .../components/control/SignedIn/SignedIn.tsx | 19 +--------- .../control/SignedOut/SignedOut.tsx | 19 +--------- .../components/presentation/SignIn/SignIn.tsx | 19 +--------- .../components/presentation/SignUp/SignUp.tsx | 19 +--------- .../components/presentation/User/User.tsx | 19 +--------- .../presentation/UserAvatar/UserAvatar.tsx | 19 +--------- .../UserDropdown/UserDropdown.tsx | 19 +--------- .../presentation/UserProfile/UserProfile.tsx | 19 +--------- .../contexts/ThunderID/ThunderIDContext.ts | 19 +--------- .../contexts/ThunderID/ThunderIDProvider.tsx | 19 +--------- .../client/contexts/ThunderID/useThunderID.ts | 19 +--------- packages/nextjs/src/client/index.ts | 19 +--------- .../configs/InternalAuthAPIRoutesConfig.ts | 19 +--------- .../nextjs/src/constants/sessionConstants.ts | 19 +--------- packages/nextjs/src/index.ts | 19 +--------- packages/nextjs/src/models/api.ts | 19 +--------- packages/nextjs/src/models/config.ts | 19 +--------- .../nextjs/src/server/ThunderIDProvider.tsx | 19 +--------- .../actions/__tests__/getAccessToken.test.ts | 19 +--------- .../actions/__tests__/getClientOrigin.test.ts | 19 +--------- .../nextjs/src/server/actions/clearSession.ts | 19 +--------- .../src/server/actions/getAccessToken.ts | 19 +--------- .../src/server/actions/getClientOrigin.ts | 19 +--------- .../nextjs/src/server/actions/getSessionId.ts | 19 +--------- .../src/server/actions/getSessionPayload.ts | 19 +--------- .../src/server/actions/getUserAction.ts | 19 +--------- .../server/actions/getUserProfileAction.ts | 19 +--------- .../actions/handleOAuthCallbackAction.ts | 19 +--------- .../nextjs/src/server/actions/isSignedIn.ts | 19 +--------- .../nextjs/src/server/actions/refreshToken.ts | 19 +--------- .../nextjs/src/server/actions/signInAction.ts | 19 +--------- .../src/server/actions/signOutAction.ts | 19 +--------- .../nextjs/src/server/actions/signUpAction.ts | 19 +--------- .../server/actions/updateUserProfileAction.ts | 19 +--------- packages/nextjs/src/server/getClient.ts | 19 +--------- packages/nextjs/src/server/index.ts | 19 +--------- .../src/server/proxy/createRouteMatcher.ts | 19 +--------- .../nextjs/src/server/proxy/thunderIDProxy.ts | 19 +--------- packages/nextjs/src/server/thunderid.ts | 19 +--------- packages/nextjs/src/utils/SessionManager.ts | 19 +--------- .../nextjs/src/utils/createRouteMatcher.ts | 19 +--------- .../src/utils/decorateConfigWithNextEnv.ts | 19 +--------- .../nextjs/src/utils/handleRefreshToken.ts | 19 +--------- packages/nextjs/src/utils/logger.ts | 19 +--------- packages/nextjs/src/utils/sessionUtils.ts | 19 +--------- packages/nextjs/vitest.config.ts | 19 +--------- packages/node/eslint.config.js | 19 +--------- packages/node/package.json | 2 +- packages/node/prettier.config.js | 19 +--------- packages/node/rolldown.config.js | 19 +--------- packages/node/src/ThunderIDNodeClient.ts | 19 +--------- packages/node/src/constants/CookieConfig.ts | 19 +--------- packages/node/src/index.ts | 19 +--------- packages/node/src/models/AuthURLCallback.ts | 19 +--------- packages/node/src/models/config.ts | 19 +--------- packages/node/src/stores/MemoryCacheStore.ts | 19 +--------- packages/node/src/utils/NodeCryptoUtils.ts | 19 +--------- packages/node/src/utils/SessionUtils.ts | 19 +--------- packages/node/src/utils/generateSessionId.ts | 19 +--------- .../node/src/utils/getSessionCookieOptions.ts | 19 +--------- packages/node/vitest.config.ts | 19 +--------- packages/nuxt/eslint.config.js | 19 +--------- packages/nuxt/package.json | 2 +- packages/nuxt/prettier.config.js | 19 +--------- packages/nuxt/src/index.ts | 19 +--------- packages/nuxt/src/module.ts | 19 +--------- .../src/runtime/components/ThunderIDRoot.ts | 19 +--------- .../components/actions/SignInButton.ts | 19 +--------- .../components/actions/SignOutButton.ts | 19 +--------- .../components/actions/SignUpButton.ts | 19 +--------- .../src/runtime/components/auth/Callback.ts | 19 +--------- .../src/runtime/components/auth/SignIn.ts | 19 +--------- .../src/runtime/components/auth/SignUp.ts | 19 +--------- .../src/runtime/components/control/Loading.ts | 19 +--------- .../runtime/components/control/SignedIn.ts | 19 +--------- .../runtime/components/control/SignedOut.ts | 19 +--------- .../nuxt/src/runtime/components/user/User.ts | 19 +--------- .../runtime/components/user/UserDropdown.ts | 19 +--------- .../runtime/components/user/UserProfile.ts | 19 +--------- .../src/runtime/composables/useThunderID.ts | 19 +--------- .../nuxt/src/runtime/errors/error-codes.ts | 19 +--------- packages/nuxt/src/runtime/errors/index.ts | 19 +--------- .../src/runtime/errors/thunderid-error.ts | 19 +--------- packages/nuxt/src/runtime/middleware/auth.ts | 19 +--------- .../middleware/defineThunderIDMiddleware.ts | 19 +--------- .../nuxt/src/runtime/plugins/thunderid.ts | 19 +--------- .../src/runtime/server/ThunderIDNuxtClient.ts | 19 +--------- packages/nuxt/src/runtime/server/index.ts | 19 +--------- .../runtime/server/plugins/thunderid-ssr.ts | 19 +--------- .../routes/auth/session/callback.get.ts | 19 +--------- .../routes/auth/session/callback.post.ts | 19 +--------- .../server/routes/auth/session/session.get.ts | 19 +--------- .../server/routes/auth/session/signin.get.ts | 19 +--------- .../server/routes/auth/session/signin.post.ts | 19 +--------- .../routes/auth/session/signout.post.ts | 19 +--------- .../server/routes/auth/session/signup.post.ts | 19 +--------- .../server/routes/auth/session/token.get.ts | 19 +--------- .../server/routes/auth/user/profile.get.ts | 19 +--------- .../server/routes/auth/user/profile.patch.ts | 19 +--------- .../server/routes/auth/user/user.get.ts | 19 +--------- .../src/runtime/server/utils/event-context.ts | 19 +--------- .../src/runtime/server/utils/serverSession.ts | 19 +--------- .../nuxt/src/runtime/server/utils/session.ts | 19 +--------- .../src/runtime/server/utils/token-refresh.ts | 19 +--------- packages/nuxt/src/runtime/types.ts | 19 +--------- .../src/runtime/utils/createRouteMatcher.ts | 19 +--------- packages/nuxt/src/runtime/utils/index.ts | 19 +--------- packages/nuxt/src/runtime/utils/log.ts | 19 +--------- packages/nuxt/src/runtime/utils/stateKeys.ts | 19 +--------- .../nuxt/src/runtime/utils/url-validation.ts | 19 +--------- packages/nuxt/tests/__mocks__/nuxt-app.ts | 19 +--------- .../nuxt/tests/unit/callback-post.test.ts | 19 +--------- .../unit/define-thunderid-middleware.test.ts | 19 +--------- packages/nuxt/tests/unit/error-codes.test.ts | 19 +--------- .../nuxt/tests/unit/route-matcher.test.ts | 19 +--------- .../nuxt/tests/unit/session-manager.test.ts | 19 +--------- packages/nuxt/tests/unit/signin-post.test.ts | 19 +--------- packages/nuxt/tests/unit/signup-post.test.ts | 19 +--------- .../nuxt/tests/unit/thunderid-root.test.ts | 19 +--------- .../nuxt/tests/unit/thunderid-ssr.test.ts | 19 +--------- .../nuxt/tests/unit/token-refresh.test.ts | 19 +--------- .../nuxt/tests/unit/url-validation.test.ts | 19 +--------- packages/nuxt/vitest.config.ts | 19 +--------- packages/react-router/eslint.config.js | 19 +--------- packages/react-router/package.json | 2 +- packages/react-router/prettier.config.js | 19 +--------- packages/react-router/rolldown.config.js | 19 +--------- .../react-router/src/__tests__/index.test.ts | 19 +--------- .../src/components/CallbackRoute.tsx | 19 +--------- .../src/components/ProtectedRoute.tsx | 19 +--------- .../__tests__/ProtectedRoute.test.tsx | 19 +--------- packages/react-router/src/index.ts | 19 +--------- packages/react-router/vitest.config.ts | 19 +--------- packages/react/eslint.config.js | 19 +--------- packages/react/package.json | 2 +- packages/react/prettier.config.js | 19 +--------- packages/react/rolldown.config.js | 19 +--------- packages/react/src/ThunderIDReactClient.ts | 19 +--------- packages/react/src/api/getUsersMe.ts | 19 +--------- packages/react/src/api/updateMeProfile.ts | 19 +--------- .../actions/SignInButton/BaseSignInButton.tsx | 19 +--------- .../actions/SignInButton/SignInButton.tsx | 19 +--------- .../SignOutButton/BaseSignOutButton.tsx | 19 +--------- .../actions/SignOutButton/SignOutButton.tsx | 19 +--------- .../actions/SignUpButton/BaseSignUpButton.tsx | 19 +--------- .../actions/SignUpButton/SignUpButton.tsx | 19 +--------- .../react/src/components/adapters/Consent.tsx | 19 +--------- .../adapters/ConsentCheckboxList.styles.ts | 19 +--------- .../adapters/ConsentCheckboxList.tsx | 19 +--------- .../components/adapters/FacebookButton.tsx | 19 +--------- .../src/components/adapters/FlowTimer.tsx | 19 +--------- .../src/components/adapters/GitHubButton.tsx | 19 +--------- .../src/components/adapters/GoogleButton.tsx | 19 +--------- .../components/adapters/ImageComponent.tsx | 19 +--------- .../components/adapters/LinkedInButton.tsx | 19 +--------- .../components/adapters/MicrosoftButton.tsx | 19 +--------- .../adapters/SignInWithEthereumButton.tsx | 19 +--------- .../src/components/adapters/SmsOtpButton.tsx | 19 +--------- .../__tests__/ImageComponent.test.tsx | 18 +-------- .../src/components/auth/Callback/Callback.tsx | 19 +--------- .../auth/Callback/OAuthCallback.tsx | 19 +--------- .../auth/Callback/TokenCallback.tsx | 18 +-------- .../auth/Callback/__tests__/Callback.test.tsx | 18 +-------- .../Callback/__tests__/OAuthCallback.test.tsx | 18 +-------- .../Callback/__tests__/TokenCallback.test.tsx | 18 +-------- .../react/src/components/control/Loading.tsx | 19 +--------- .../react/src/components/control/SignedIn.tsx | 19 +--------- .../src/components/control/SignedOut.tsx | 19 +--------- .../src/components/factories/FieldFactory.tsx | 19 +--------- .../BaseLanguageSwitcher.styles.ts | 19 +--------- .../LanguageSwitcher/BaseLanguageSwitcher.tsx | 19 +--------- .../LanguageSwitcher/LanguageSwitcher.tsx | 19 +--------- .../components/presentation/User/BaseUser.tsx | 19 +--------- .../src/components/presentation/User/User.tsx | 19 +--------- .../UserAvatar/BaseUserAvatar.tsx | 19 +--------- .../presentation/UserAvatar/UserAvatar.tsx | 19 +--------- .../UserDropdown/BaseUserDropdown.styles.ts | 19 +--------- .../UserDropdown/BaseUserDropdown.tsx | 19 +--------- .../UserDropdown/UserDropdown.tsx | 19 +--------- .../UserProfile/BaseUserProfile.styles.ts | 19 +--------- .../UserProfile/BaseUserProfile.tsx | 19 +--------- .../presentation/UserProfile/UserProfile.tsx | 19 +--------- .../auth/AcceptInvite/AcceptInvite.tsx | 19 +--------- .../AcceptInvite/BaseAcceptInvite.styles.ts | 19 +--------- .../auth/AcceptInvite/BaseAcceptInvite.tsx | 19 +--------- .../presentation/auth/AcceptInvite/index.ts | 19 +--------- .../presentation/auth/AuthOptionFactory.tsx | 19 +--------- .../auth/InviteUser/BaseInviteUser.styles.ts | 19 +--------- .../auth/InviteUser/BaseInviteUser.tsx | 19 +--------- .../auth/InviteUser/InviteUser.tsx | 19 +--------- .../presentation/auth/InviteUser/index.ts | 19 +--------- .../auth/Recovery/BaseRecovery.tsx | 19 +--------- .../presentation/auth/Recovery/Recovery.tsx | 19 +--------- .../auth/SignIn/BaseSignIn.styles.ts | 19 +--------- .../presentation/auth/SignIn/BaseSignIn.tsx | 19 +--------- .../presentation/auth/SignIn/SignIn.tsx | 19 +--------- .../auth/SignUp/BaseSignUp.styles.ts | 19 +--------- .../presentation/auth/SignUp/BaseSignUp.tsx | 19 +--------- .../presentation/auth/SignUp/SignUp.tsx | 19 +--------- .../auth/__tests__/AuthOptionFactory.test.tsx | 19 +--------- .../AffixedField/AffixedField.styles.ts | 19 +--------- .../primitives/AffixedField/AffixedField.tsx | 19 +--------- .../primitives/AffixedField/index.ts | 19 +--------- .../primitives/Alert/Alert.styles.ts | 19 +--------- .../src/components/primitives/Alert/Alert.tsx | 19 +--------- .../primitives/Avatar/Avatar.styles.ts | 19 +--------- .../components/primitives/Avatar/Avatar.tsx | 19 +--------- .../Avatar/__tests__/Avatar.test.tsx | 18 +-------- .../primitives/Button/Button.styles.ts | 19 +--------- .../components/primitives/Button/Button.tsx | 19 +--------- .../components/primitives/Card/Card.styles.ts | 19 +--------- .../src/components/primitives/Card/Card.tsx | 19 +--------- .../primitives/Checkbox/Checkbox.styles.ts | 19 +--------- .../primitives/Checkbox/Checkbox.tsx | 19 +--------- .../CopyableText/CopyableText.styles.ts | 19 +--------- .../primitives/CopyableText/CopyableText.tsx | 19 +--------- .../primitives/CopyableText/index.ts | 19 +--------- .../DatePicker/DatePicker.styles.ts | 19 +--------- .../primitives/DatePicker/DatePicker.tsx | 19 +--------- .../primitives/Dialog/Dialog.styles.ts | 19 +--------- .../components/primitives/Dialog/Dialog.tsx | 19 +--------- .../primitives/Divider/Divider.styles.ts | 19 +--------- .../components/primitives/Divider/Divider.tsx | 19 +--------- .../FormControl/FormControl.styles.ts | 19 +--------- .../primitives/FormControl/FormControl.tsx | 19 +--------- .../primitives/Icons/ArrowLeftRight.tsx | 19 +--------- .../primitives/Icons/ArrowRightLeft.tsx | 19 +--------- .../components/primitives/Icons/Building.tsx | 19 +--------- .../primitives/Icons/BuildingAlt.tsx | 19 +--------- .../src/components/primitives/Icons/Check.tsx | 19 +--------- .../primitives/Icons/ChevronDown.tsx | 19 +--------- .../primitives/Icons/CircleAlert.tsx | 19 +--------- .../primitives/Icons/CircleCheck.tsx | 19 +--------- .../src/components/primitives/Icons/Eye.tsx | 19 +--------- .../components/primitives/Icons/EyeOff.tsx | 19 +--------- .../src/components/primitives/Icons/Info.tsx | 19 +--------- .../components/primitives/Icons/LogOut.tsx | 19 +--------- .../src/components/primitives/Icons/Plus.tsx | 19 +--------- .../primitives/Icons/TriangleAlert.tsx | 19 +--------- .../src/components/primitives/Icons/User.tsx | 19 +--------- .../src/components/primitives/Icons/X.tsx | 19 +--------- .../primitives/Icons/flowIconRegistry.tsx | 19 +--------- .../src/components/primitives/Icons/index.ts | 19 +--------- .../InputLabel/InputLabel.styles.ts | 19 +--------- .../primitives/InputLabel/InputLabel.tsx | 19 +--------- .../KeyValueInput/KeyValueInput.styles.ts | 19 +--------- .../KeyValueInput/KeyValueInput.tsx | 19 +--------- .../components/primitives/Logo/Logo.styles.ts | 19 +--------- .../src/components/primitives/Logo/Logo.tsx | 19 +--------- .../MultiInput/MultiInput.styles.ts | 19 +--------- .../primitives/MultiInput/MultiInput.tsx | 19 +--------- .../primitives/OtpField/OtpField.styles.ts | 19 +--------- .../primitives/OtpField/OtpField.tsx | 19 +--------- .../PasswordField/PasswordField.styles.ts | 19 +--------- .../PasswordField/PasswordField.tsx | 19 +--------- .../primitives/Select/Select.styles.ts | 19 +--------- .../components/primitives/Select/Select.tsx | 19 +--------- .../primitives/Spinner/Spinner.styles.ts | 19 +--------- .../components/primitives/Spinner/Spinner.tsx | 19 +--------- .../primitives/TextField/TextField.styles.ts | 19 +--------- .../primitives/TextField/TextField.tsx | 19 +--------- .../primitives/Toggle/Toggle.styles.ts | 19 +--------- .../components/primitives/Toggle/Toggle.tsx | 19 +--------- .../primitives/Tooltip/Tooltip.styles.ts | 19 +--------- .../components/primitives/Tooltip/Tooltip.tsx | 19 +--------- .../Typography/Typography.styles.ts | 19 +--------- .../primitives/Typography/Typography.tsx | 19 +--------- .../ComponentRendererContext.ts | 19 +--------- .../ComponentRendererProvider.tsx | 19 +--------- .../react/src/contexts/Flow/FlowContext.ts | 19 +--------- .../react/src/contexts/Flow/FlowProvider.tsx | 19 +--------- packages/react/src/contexts/Flow/useFlow.ts | 19 +--------- .../src/contexts/FlowMeta/FlowMetaContext.ts | 19 +--------- .../contexts/FlowMeta/FlowMetaProvider.tsx | 19 +--------- .../src/contexts/FlowMeta/useFlowMeta.ts | 19 +--------- .../I18n/ComponentPreferencesContext.ts | 19 +--------- .../react/src/contexts/I18n/I18nContext.ts | 19 +--------- .../react/src/contexts/I18n/I18nProvider.tsx | 19 +--------- packages/react/src/contexts/I18n/useI18n.ts | 19 +--------- .../react/src/contexts/Theme/ThemeContext.ts | 19 +--------- .../src/contexts/Theme/ThemeProvider.tsx | 19 +--------- packages/react/src/contexts/Theme/types.ts | 19 +--------- packages/react/src/contexts/Theme/useTheme.ts | 19 +--------- .../contexts/ThunderID/ThunderIDContext.ts | 19 +--------- .../contexts/ThunderID/ThunderIDProvider.tsx | 19 +--------- .../__tests__/ThunderIDProvider.test.tsx | 19 +--------- .../ThunderID/__tests__/useThunderID.test.tsx | 19 +--------- .../src/contexts/ThunderID/useThunderID.ts | 19 +--------- .../react/src/contexts/User/UserContext.ts | 19 +--------- .../react/src/contexts/User/UserProvider.tsx | 19 +--------- packages/react/src/contexts/User/useUser.ts | 19 +--------- packages/react/src/hooks/useBrowserUrl.ts | 19 +--------- packages/react/src/hooks/useForm.ts | 19 +--------- packages/react/src/hooks/useOAuthCallback.ts | 19 +--------- packages/react/src/hooks/useTranslation.ts | 19 +--------- packages/react/src/index.ts | 19 +--------- packages/react/src/models/adapters.ts | 19 +--------- packages/react/src/models/config.ts | 19 +--------- packages/react/src/utils/applyThemeToDOM.ts | 19 +--------- .../src/utils/buildThemeConfigFromFlowMeta.ts | 19 +--------- .../react/src/utils/composeAffixedInputs.ts | 19 +--------- packages/react/src/utils/flowTransformer.ts | 19 +--------- .../src/utils/getAuthComponentHeadings.ts | 19 +--------- packages/react/src/utils/getDisplayName.ts | 19 +--------- .../src/utils/getMappedUserProfileValue.ts | 19 +--------- .../react/src/utils/normalizeThemeConfig.ts | 19 +--------- packages/react/src/utils/oauth.ts | 19 +--------- packages/react/src/utils/passkey.ts | 19 +--------- .../src/utils/resolveTranslationsInArray.ts | 19 +--------- .../src/utils/resolveTranslationsInObject.ts | 19 +--------- packages/react/vitest.config.ts | 19 +--------- packages/tanstack-router/eslint.config.js | 19 +--------- packages/tanstack-router/package.json | 2 +- packages/tanstack-router/prettier.config.js | 19 +--------- packages/tanstack-router/rolldown.config.js | 19 +--------- .../src/__tests__/index.test.ts | 19 +--------- .../src/components/CallbackRoute.tsx | 19 +--------- .../src/components/ProtectedRoute.tsx | 19 +--------- .../__tests__/ProtectedRoute.test.tsx | 19 +--------- packages/tanstack-router/src/index.ts | 19 +--------- packages/tanstack-router/vitest.config.ts | 19 +--------- packages/vue/declarations.d.ts | 19 +--------- packages/vue/eslint.config.js | 19 +--------- packages/vue/package.json | 2 +- packages/vue/prettier.config.js | 19 +--------- packages/vue/rolldown.config.js | 19 +--------- packages/vue/src/ThunderIDVueClient.ts | 19 +--------- .../src/__tests__/components/actions.test.ts | 19 +--------- .../src/__tests__/components/callback.test.ts | 19 +--------- .../src/__tests__/components/control.test.ts | 19 +--------- .../composables/secondary-composables.test.ts | 19 +--------- .../composables/useThunderID.test.ts | 19 +--------- .../src/__tests__/composables/useUser.test.ts | 19 +--------- .../__tests__/plugins/ThunderIDPlugin.test.ts | 19 +--------- packages/vue/src/api/getUsersMe.ts | 19 +--------- packages/vue/src/api/updateMeProfile.ts | 19 +--------- .../components/actions/BaseSignInButton.ts | 19 +--------- .../components/actions/BaseSignOutButton.ts | 19 +--------- .../components/actions/BaseSignUpButton.ts | 19 +--------- .../src/components/actions/SignInButton.ts | 19 +--------- .../src/components/actions/SignOutButton.ts | 19 +--------- .../src/components/actions/SignUpButton.ts | 19 +--------- .../src/components/adapters/FacebookButton.ts | 19 +--------- .../src/components/adapters/GitHubButton.ts | 19 +--------- .../src/components/adapters/GoogleButton.ts | 19 +--------- .../components/adapters/MicrosoftButton.ts | 19 +--------- packages/vue/src/components/auth/Callback.ts | 19 +--------- .../auth/sign-in/AuthOptionFactory.ts | 19 +--------- .../auth/sign-in/AuthOptionFactoryCore.ts | 19 +--------- .../src/components/auth/sign-in/BaseSignIn.ts | 19 +--------- .../vue/src/components/auth/sign-in/SignIn.ts | 19 +--------- .../src/components/auth/sign-up/BaseSignUp.ts | 19 +--------- .../vue/src/components/auth/sign-up/SignUp.ts | 19 +--------- .../vue/src/components/control/Loading.ts | 19 +--------- .../vue/src/components/control/SignedIn.ts | 19 +--------- .../vue/src/components/control/SignedOut.ts | 19 +--------- .../src/components/factories/FieldFactory.ts | 19 +--------- .../accept-invite/AcceptInvite.ts | 19 +--------- .../accept-invite/BaseAcceptInvite.ts | 19 +--------- .../invite-user/BaseInviteUser.ts | 19 +--------- .../presentation/invite-user/InviteUser.ts | 19 +--------- .../language-switcher/BaseLanguageSwitcher.ts | 19 +--------- .../language-switcher/LanguageSwitcher.css.ts | 19 +--------- .../language-switcher/LanguageSwitcher.ts | 19 +--------- .../user-dropdown/BaseUserDropdown.ts | 19 +--------- .../user-dropdown/UserDropdown.css.ts | 19 +--------- .../user-dropdown/UserDropdown.ts | 19 +--------- .../user-profile/BaseUserProfile.ts | 19 +--------- .../user-profile/UserProfile.css.ts | 19 +--------- .../presentation/user-profile/UserProfile.ts | 19 +--------- .../src/components/presentation/user/User.ts | 19 +--------- .../components/primitives/Alert/Alert.css.ts | 19 +--------- .../src/components/primitives/Alert/Alert.ts | 19 +--------- .../src/components/primitives/Alert/index.ts | 19 +--------- .../primitives/Button/Button.css.ts | 19 +--------- .../components/primitives/Button/Button.ts | 19 +--------- .../src/components/primitives/Button/index.ts | 19 +--------- .../components/primitives/Card/Card.css.ts | 19 +--------- .../src/components/primitives/Card/Card.ts | 19 +--------- .../src/components/primitives/Card/index.ts | 19 +--------- .../primitives/Checkbox/Checkbox.css.ts | 19 +--------- .../primitives/Checkbox/Checkbox.ts | 19 +--------- .../components/primitives/Checkbox/index.ts | 19 +--------- .../primitives/DatePicker/DatePicker.css.ts | 19 +--------- .../primitives/DatePicker/DatePicker.ts | 19 +--------- .../components/primitives/DatePicker/index.ts | 19 +--------- .../primitives/Divider/Divider.css.ts | 19 +--------- .../components/primitives/Divider/Divider.ts | 19 +--------- .../components/primitives/Divider/index.ts | 19 +--------- .../vue/src/components/primitives/Icons.ts | 19 +--------- .../components/primitives/Logo/Logo.css.ts | 19 +--------- .../src/components/primitives/Logo/Logo.ts | 19 +--------- .../src/components/primitives/Logo/index.ts | 19 +--------- .../primitives/OtpField/OtpField.css.ts | 19 +--------- .../primitives/OtpField/OtpField.ts | 19 +--------- .../components/primitives/OtpField/index.ts | 19 +--------- .../PasswordField/PasswordField.css.ts | 19 +--------- .../primitives/PasswordField/PasswordField.ts | 19 +--------- .../primitives/PasswordField/index.ts | 19 +--------- .../primitives/Select/Select.css.ts | 19 +--------- .../components/primitives/Select/Select.ts | 19 +--------- .../src/components/primitives/Select/index.ts | 19 +--------- .../primitives/Spinner/Spinner.css.ts | 19 +--------- .../components/primitives/Spinner/Spinner.ts | 19 +--------- .../components/primitives/Spinner/index.ts | 19 +--------- .../primitives/TextField/TextField.css.ts | 19 +--------- .../primitives/TextField/TextField.ts | 19 +--------- .../components/primitives/TextField/index.ts | 19 +--------- .../primitives/Typography/Typography.css.ts | 19 +--------- .../primitives/Typography/Typography.ts | 19 +--------- .../components/primitives/Typography/index.ts | 19 +--------- packages/vue/src/composables/useFlow.ts | 19 +--------- packages/vue/src/composables/useFlowMeta.ts | 19 +--------- packages/vue/src/composables/useI18n.ts | 19 +--------- .../vue/src/composables/useOAuthCallback.ts | 19 +--------- packages/vue/src/composables/useTheme.ts | 19 +--------- packages/vue/src/composables/useThunderID.ts | 19 +--------- packages/vue/src/composables/useUser.ts | 19 +--------- packages/vue/src/index.ts | 19 +--------- packages/vue/src/keys.ts | 19 +--------- packages/vue/src/models/config.ts | 19 +--------- packages/vue/src/models/contexts.ts | 19 +--------- packages/vue/src/plugins/ThunderIDPlugin.ts | 19 +--------- .../vue/src/providers/FlowMetaProvider.ts | 19 +--------- packages/vue/src/providers/FlowProvider.ts | 19 +--------- packages/vue/src/providers/I18nProvider.ts | 19 +--------- packages/vue/src/providers/ThemeProvider.ts | 19 +--------- .../vue/src/providers/ThunderIDProvider.ts | 19 +--------- packages/vue/src/providers/UserProvider.ts | 19 +--------- packages/vue/src/router/callbackRoute.ts | 19 +--------- packages/vue/src/router/guard.ts | 19 +--------- packages/vue/src/styles/animations.css.ts | 19 +--------- packages/vue/src/styles/defaults.css.ts | 19 +--------- packages/vue/src/styles/injectStyles.ts | 19 +--------- packages/vue/src/theme/getActiveTheme.ts | 19 +--------- packages/vue/src/theme/themeDetection.ts | 19 +--------- .../src/utils/buildThemeConfigFromFlowMeta.ts | 19 +--------- packages/vue/src/utils/flowTransformer.ts | 19 +--------- .../vue/src/utils/getAuthComponentHeadings.ts | 19 +--------- packages/vue/src/utils/getDisplayName.ts | 19 +--------- .../src/utils/getMappedUserProfileValue.ts | 19 +--------- .../src/utils/handleWebAuthnAuthentication.ts | 19 +--------- packages/vue/src/utils/hasAuthParamsInUrl.ts | 19 +--------- packages/vue/src/utils/http.ts | 19 +--------- packages/vue/src/utils/logger.ts | 19 +--------- packages/vue/src/utils/navigate.ts | 19 +--------- packages/vue/src/utils/oauth.ts | 19 +--------- packages/vue/src/utils/passkey.ts | 19 +--------- .../src/utils/resolveTranslationsInArray.ts | 19 +--------- .../src/utils/resolveTranslationsInObject.ts | 19 +--------- packages/vue/vitest.config.ts | 19 +--------- prettier.config.js | 19 +--------- scripts/symlink.js | 19 +--------- 692 files changed, 1387 insertions(+), 11613 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index bb8ac88d..542f9ad2 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -46,5 +46,5 @@ _How should users update their code/configuration to adapt to the breaking chang ### Security checks -- [ ] Followed secure coding standards in [WSO2 Secure Coding Guidelines](https://security.docs.wso2.com/en/latest/security-guidelines/secure-engineering-guidelines/secure-coding-guidlines/introduction/) +- [ ] Followed secure coding standards. - [ ] Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets. diff --git a/eslint.config.js b/eslint.config.js index 3b735588..5719ab1c 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import thunderIdPlugin from '@thunderid/eslint-plugin'; diff --git a/package.json b/package.json index 620752e8..4e5f0bba 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "@thunderid/javascript-sdks", "version": "0.0.0", "description": "JavaScript Eco-system SDKs for ⚡️ ThunderID", - "author": "WSO2", + "author": "The ThunderID Authors", "license": "Apache-2.0", "type": "module", "homepage": "https://github.com/thunder-id/javascript-sdks", @@ -17,8 +17,7 @@ "keywords": [ "thunderid", "sdk", - "javascript", - "wso2" + "javascript" ], "scripts": { "build": "turbo run build", diff --git a/packages/browser/eslint.config.js b/packages/browser/eslint.config.js index 7d3c524e..837fbd1d 100644 --- a/packages/browser/eslint.config.js +++ b/packages/browser/eslint.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import thunderIdPlugin from '@thunderid/eslint-plugin'; diff --git a/packages/browser/package.json b/packages/browser/package.json index f30f1f85..b67819c8 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -11,7 +11,7 @@ "bugs": { "url": "https://github.com/thunder-id/thunderid/issues" }, - "author": "WSO2", + "author": "The ThunderID Authors", "license": "Apache-2.0", "type": "module", "main": "dist/cjs/index.cjs", diff --git a/packages/browser/prettier.config.js b/packages/browser/prettier.config.js index c82c8a6d..87459f16 100644 --- a/packages/browser/prettier.config.js +++ b/packages/browser/prettier.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import config from '@thunderid/prettier-config'; diff --git a/packages/browser/rolldown.config.js b/packages/browser/rolldown.config.js index 52e1b99d..99a33349 100644 --- a/packages/browser/rolldown.config.js +++ b/packages/browser/rolldown.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {readFileSync} from 'fs'; import {createRequire} from 'module'; diff --git a/packages/browser/scripts/generate-anonymous-animal-icons.mjs b/packages/browser/scripts/generate-anonymous-animal-icons.mjs index 86d1162b..63b52f6c 100644 --- a/packages/browser/scripts/generate-anonymous-animal-icons.mjs +++ b/packages/browser/scripts/generate-anonymous-animal-icons.mjs @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Regenerates `src/utils/anonymousAnimalIcons.generated.ts` from the SVG files in @@ -65,23 +50,8 @@ const icons = names.map((name) => { return {color, markup, name}; }); -const banner = `/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +const banner = `// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // AUTO-GENERATED FILE. Do not edit directly. // Regenerate with: node scripts/generate-anonymous-animal-icons.mjs diff --git a/packages/browser/scripts/generate-anonymous-entity-icons.mjs b/packages/browser/scripts/generate-anonymous-entity-icons.mjs index 191d1197..bea42f91 100644 --- a/packages/browser/scripts/generate-anonymous-entity-icons.mjs +++ b/packages/browser/scripts/generate-anonymous-entity-icons.mjs @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Regenerates `src/utils/anonymousEntityIcons.generated.ts` from the SVG files in @@ -66,23 +51,8 @@ const icons = names.map((name) => { return {color, markup, name}; }); -const banner = `/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +const banner = `// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // AUTO-GENERATED FILE. Do not edit directly. // Regenerate with: node scripts/generate-anonymous-entity-icons.mjs diff --git a/packages/browser/src/FetchHttpClient.ts b/packages/browser/src/FetchHttpClient.ts index 9b182a7a..5c31fad5 100644 --- a/packages/browser/src/FetchHttpClient.ts +++ b/packages/browser/src/FetchHttpClient.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {HttpClient, HttpError, HttpRequestConfig, HttpResponse} from '@thunderid/javascript'; diff --git a/packages/browser/src/ThunderIDBrowserClient.ts b/packages/browser/src/ThunderIDBrowserClient.ts index e9f31668..4cb77df3 100644 --- a/packages/browser/src/ThunderIDBrowserClient.ts +++ b/packages/browser/src/ThunderIDBrowserClient.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDJavaScriptClient, diff --git a/packages/browser/src/constants/Hooks.ts b/packages/browser/src/constants/Hooks.ts index 106dde0f..99a20a28 100644 --- a/packages/browser/src/constants/Hooks.ts +++ b/packages/browser/src/constants/Hooks.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Event hook names for attaching callbacks via `ThunderIDBrowserClient.on()`. diff --git a/packages/browser/src/constants/SPAConstants.ts b/packages/browser/src/constants/SPAConstants.ts index ada3fcef..a3ccc308 100644 --- a/packages/browser/src/constants/SPAConstants.ts +++ b/packages/browser/src/constants/SPAConstants.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export const ERROR = 'error'; export const ERROR_DESCRIPTION = 'error_description'; diff --git a/packages/browser/src/index.ts b/packages/browser/src/index.ts index 57398833..38c98efe 100644 --- a/packages/browser/src/index.ts +++ b/packages/browser/src/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Entry point for all public APIs of the @thunderid/browser SDK. diff --git a/packages/browser/src/models/BrowserConfig.ts b/packages/browser/src/models/BrowserConfig.ts index b28c339b..1737a99a 100644 --- a/packages/browser/src/models/BrowserConfig.ts +++ b/packages/browser/src/models/BrowserConfig.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {AuthClientConfig} from '@thunderid/javascript'; import {BrowserStorage} from './BrowserStorage'; diff --git a/packages/browser/src/models/BrowserStorage.ts b/packages/browser/src/models/BrowserStorage.ts index e8da8de7..34e3aa59 100644 --- a/packages/browser/src/models/BrowserStorage.ts +++ b/packages/browser/src/models/BrowserStorage.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Supported browser storage backends for auth session data. diff --git a/packages/browser/src/models/SignInConfig.ts b/packages/browser/src/models/SignInConfig.ts index 1b52801e..8a528d44 100644 --- a/packages/browser/src/models/SignInConfig.ts +++ b/packages/browser/src/models/SignInConfig.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ExtendedAuthorizeRequestUrlParams} from '@thunderid/javascript'; diff --git a/packages/browser/src/models/SignOutError.ts b/packages/browser/src/models/SignOutError.ts index 29469a31..916926f7 100644 --- a/packages/browser/src/models/SignOutError.ts +++ b/packages/browser/src/models/SignOutError.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Error information returned when a sign-out redirect fails. diff --git a/packages/browser/src/models/TokenExchangeConfig.ts b/packages/browser/src/models/TokenExchangeConfig.ts index 62b638da..570d1048 100644 --- a/packages/browser/src/models/TokenExchangeConfig.ts +++ b/packages/browser/src/models/TokenExchangeConfig.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {TokenExchangeRequestConfig} from '@thunderid/javascript'; diff --git a/packages/browser/src/models/config.ts b/packages/browser/src/models/config.ts index 33748f19..efd8997d 100644 --- a/packages/browser/src/models/config.ts +++ b/packages/browser/src/models/config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Config} from '@thunderid/javascript'; diff --git a/packages/browser/src/stores/LocalStore.ts b/packages/browser/src/stores/LocalStore.ts index 502ec7d7..da873443 100644 --- a/packages/browser/src/stores/LocalStore.ts +++ b/packages/browser/src/stores/LocalStore.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Storage} from '@thunderid/javascript'; diff --git a/packages/browser/src/stores/MemoryStore.ts b/packages/browser/src/stores/MemoryStore.ts index 018e324c..71a1459f 100644 --- a/packages/browser/src/stores/MemoryStore.ts +++ b/packages/browser/src/stores/MemoryStore.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Storage} from '@thunderid/javascript'; diff --git a/packages/browser/src/stores/SessionStore.ts b/packages/browser/src/stores/SessionStore.ts index 5671e4b5..b6463d17 100644 --- a/packages/browser/src/stores/SessionStore.ts +++ b/packages/browser/src/stores/SessionStore.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Storage} from '@thunderid/javascript'; diff --git a/packages/browser/src/theme/getActiveTheme.ts b/packages/browser/src/theme/getActiveTheme.ts index 627314e5..553e6378 100644 --- a/packages/browser/src/theme/getActiveTheme.ts +++ b/packages/browser/src/theme/getActiveTheme.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {DEFAULT_THEME, ThemeMode} from '@thunderid/javascript'; import {BrowserThemeDetection, detectThemeMode} from './themeDetection'; diff --git a/packages/browser/src/theme/normalizeBorderRadius.ts b/packages/browser/src/theme/normalizeBorderRadius.ts index 2e54f39d..c80b1c1a 100644 --- a/packages/browser/src/theme/normalizeBorderRadius.ts +++ b/packages/browser/src/theme/normalizeBorderRadius.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FlowMetaThemeShape} from '@thunderid/javascript'; diff --git a/packages/browser/src/theme/themeDetection.ts b/packages/browser/src/theme/themeDetection.ts index 8b6a901d..3135eadd 100644 --- a/packages/browser/src/theme/themeDetection.ts +++ b/packages/browser/src/theme/themeDetection.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThemeDetection, ThemeMode, createPackageComponentLogger} from '@thunderid/javascript'; diff --git a/packages/browser/src/utils/AuthenticationHelper.ts b/packages/browser/src/utils/AuthenticationHelper.ts index 8bd14d36..df1af678 100644 --- a/packages/browser/src/utils/AuthenticationHelper.ts +++ b/packages/browser/src/utils/AuthenticationHelper.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDAuthException, diff --git a/packages/browser/src/utils/SPACryptoUtils.ts b/packages/browser/src/utils/SPACryptoUtils.ts index a6a0200d..74f949c0 100644 --- a/packages/browser/src/utils/SPACryptoUtils.ts +++ b/packages/browser/src/utils/SPACryptoUtils.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Buffer} from 'buffer'; import {ThunderIDAuthException, Crypto, JWKInterface} from '@thunderid/javascript'; diff --git a/packages/browser/src/utils/SPAHelper.ts b/packages/browser/src/utils/SPAHelper.ts index 3527c866..6f11943c 100644 --- a/packages/browser/src/utils/SPAHelper.ts +++ b/packages/browser/src/utils/SPAHelper.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {StorageManager, TokenConstants} from '@thunderid/javascript'; diff --git a/packages/browser/src/utils/SPAUtils.ts b/packages/browser/src/utils/SPAUtils.ts index 4748c98f..56f9e499 100644 --- a/packages/browser/src/utils/SPAUtils.ts +++ b/packages/browser/src/utils/SPAUtils.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {OIDCRequestConstants} from '@thunderid/javascript'; import { diff --git a/packages/browser/src/utils/SessionManagementHelper.ts b/packages/browser/src/utils/SessionManagementHelper.ts index c64706e0..8be634e6 100644 --- a/packages/browser/src/utils/SessionManagementHelper.ts +++ b/packages/browser/src/utils/SessionManagementHelper.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ExtendedAuthorizeRequestUrlParams, OIDCRequestConstants} from '@thunderid/javascript'; import SPAUtils from './SPAUtils'; diff --git a/packages/browser/src/utils/__tests__/extractAvatarParamsFromUri.test.ts b/packages/browser/src/utils/__tests__/extractAvatarParamsFromUri.test.ts index 48579b6d..3a6f63b9 100644 --- a/packages/browser/src/utils/__tests__/extractAvatarParamsFromUri.test.ts +++ b/packages/browser/src/utils/__tests__/extractAvatarParamsFromUri.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import extractAvatarParamsFromUri from '../extractAvatarParamsFromUri'; diff --git a/packages/browser/src/utils/__tests__/generateAvatarDataUri.test.ts b/packages/browser/src/utils/__tests__/generateAvatarDataUri.test.ts index ac8f47f2..5b7f07b5 100644 --- a/packages/browser/src/utils/__tests__/generateAvatarDataUri.test.ts +++ b/packages/browser/src/utils/__tests__/generateAvatarDataUri.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import type {AvatarParams} from '../extractAvatarParamsFromUri'; diff --git a/packages/browser/src/utils/__tests__/logoUriSchemes.test.ts b/packages/browser/src/utils/__tests__/logoUriSchemes.test.ts index a40d8c40..3f937b76 100644 --- a/packages/browser/src/utils/__tests__/logoUriSchemes.test.ts +++ b/packages/browser/src/utils/__tests__/logoUriSchemes.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {extractEmojiFromUri, isEmojiUri} from '@thunderid/javascript'; import {describe, it, expect} from 'vitest'; diff --git a/packages/browser/src/utils/__tests__/navigate.test.ts b/packages/browser/src/utils/__tests__/navigate.test.ts index 41a7098f..de5e2a6a 100644 --- a/packages/browser/src/utils/__tests__/navigate.test.ts +++ b/packages/browser/src/utils/__tests__/navigate.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * @vitest-environment jsdom diff --git a/packages/browser/src/utils/__tests__/pickAnonymousAvatarName.test.ts b/packages/browser/src/utils/__tests__/pickAnonymousAvatarName.test.ts index 1d37ae55..a38ac758 100644 --- a/packages/browser/src/utils/__tests__/pickAnonymousAvatarName.test.ts +++ b/packages/browser/src/utils/__tests__/pickAnonymousAvatarName.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import {ANONYMOUS_ANIMAL_ICONS} from '../anonymousAnimalIcons.generated'; diff --git a/packages/browser/src/utils/__tests__/pickAnonymousEntityName.test.ts b/packages/browser/src/utils/__tests__/pickAnonymousEntityName.test.ts index a6c69ee2..411d39a2 100644 --- a/packages/browser/src/utils/__tests__/pickAnonymousEntityName.test.ts +++ b/packages/browser/src/utils/__tests__/pickAnonymousEntityName.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import {ANONYMOUS_ENTITY_ICONS} from '../anonymousEntityIcons.generated'; diff --git a/packages/browser/src/utils/__tests__/resolveLogoUri.test.ts b/packages/browser/src/utils/__tests__/resolveLogoUri.test.ts index f8f49e37..eba350d4 100644 --- a/packages/browser/src/utils/__tests__/resolveLogoUri.test.ts +++ b/packages/browser/src/utils/__tests__/resolveLogoUri.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import {ANONYMOUS_ANIMAL_ICONS} from '../anonymousAnimalIcons.generated'; diff --git a/packages/browser/src/utils/anonymousAnimalIcons.generated.ts b/packages/browser/src/utils/anonymousAnimalIcons.generated.ts index 4bd21545..b27a9a90 100644 --- a/packages/browser/src/utils/anonymousAnimalIcons.generated.ts +++ b/packages/browser/src/utils/anonymousAnimalIcons.generated.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // AUTO-GENERATED FILE. Do not edit directly. // Regenerate with: node scripts/generate-anonymous-animal-icons.mjs diff --git a/packages/browser/src/utils/anonymousEntityIcons.generated.ts b/packages/browser/src/utils/anonymousEntityIcons.generated.ts index 4f39851f..c792ad54 100644 --- a/packages/browser/src/utils/anonymousEntityIcons.generated.ts +++ b/packages/browser/src/utils/anonymousEntityIcons.generated.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // AUTO-GENERATED FILE. Do not edit directly. // Regenerate with: node scripts/generate-anonymous-entity-icons.mjs diff --git a/packages/browser/src/utils/buildAvatarSpec.ts b/packages/browser/src/utils/buildAvatarSpec.ts index 14155e95..7ebf8789 100644 --- a/packages/browser/src/utils/buildAvatarSpec.ts +++ b/packages/browser/src/utils/buildAvatarSpec.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type {AvatarParams} from './extractAvatarParamsFromUri'; import {AVATAR_URI_SCHEME} from './isAvatarUri'; diff --git a/packages/browser/src/utils/extractAvatarParamsFromUri.ts b/packages/browser/src/utils/extractAvatarParamsFromUri.ts index b96262a6..8b1895b5 100644 --- a/packages/browser/src/utils/extractAvatarParamsFromUri.ts +++ b/packages/browser/src/utils/extractAvatarParamsFromUri.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import isAvatarUri, {AVATAR_URI_SCHEME} from './isAvatarUri'; diff --git a/packages/browser/src/utils/generateAvatarDataUri.ts b/packages/browser/src/utils/generateAvatarDataUri.ts index a97f786c..af8c9f83 100644 --- a/packages/browser/src/utils/generateAvatarDataUri.ts +++ b/packages/browser/src/utils/generateAvatarDataUri.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ANONYMOUS_ANIMAL_ICONS} from './anonymousAnimalIcons.generated'; import {ANONYMOUS_ENTITY_ICONS} from './anonymousEntityIcons.generated'; diff --git a/packages/browser/src/utils/handleWebAuthnAuthentication.ts b/packages/browser/src/utils/handleWebAuthnAuthentication.ts index 82555218..96790393 100644 --- a/packages/browser/src/utils/handleWebAuthnAuthentication.ts +++ b/packages/browser/src/utils/handleWebAuthnAuthentication.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { arrayBufferToBase64url, diff --git a/packages/browser/src/utils/hasAuthParamsInUrl.ts b/packages/browser/src/utils/hasAuthParamsInUrl.ts index 7d2e317b..fdc0d5f9 100644 --- a/packages/browser/src/utils/hasAuthParamsInUrl.ts +++ b/packages/browser/src/utils/hasAuthParamsInUrl.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Utility to check if `code` and `session_state` are available in the URL as search params. diff --git a/packages/browser/src/utils/hasCalledForThisInstanceInUrl.ts b/packages/browser/src/utils/hasCalledForThisInstanceInUrl.ts index af23cc44..93fe9088 100644 --- a/packages/browser/src/utils/hasCalledForThisInstanceInUrl.ts +++ b/packages/browser/src/utils/hasCalledForThisInstanceInUrl.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Utility to check if `state` is available in the URL as a search param and matches the provided instance. diff --git a/packages/browser/src/utils/hashStr.ts b/packages/browser/src/utils/hashStr.ts index dbbd0d7b..9a279161 100644 --- a/packages/browser/src/utils/hashStr.ts +++ b/packages/browser/src/utils/hashStr.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * 32-bit unsigned polynomial hash (`h = h*31 + charCode`), used to deterministically derive diff --git a/packages/browser/src/utils/http.ts b/packages/browser/src/utils/http.ts index a59bce03..3643ea32 100644 --- a/packages/browser/src/utils/http.ts +++ b/packages/browser/src/utils/http.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDBrowserClient from '../ThunderIDBrowserClient'; diff --git a/packages/browser/src/utils/isAvatarUri.ts b/packages/browser/src/utils/isAvatarUri.ts index d71e6df5..150c4456 100644 --- a/packages/browser/src/utils/isAvatarUri.ts +++ b/packages/browser/src/utils/isAvatarUri.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export const AVATAR_URI_SCHEME = 'avatar:'; diff --git a/packages/browser/src/utils/navigate.ts b/packages/browser/src/utils/navigate.ts index c18abd10..4609be62 100644 --- a/packages/browser/src/utils/navigate.ts +++ b/packages/browser/src/utils/navigate.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Navigates to a new URL within the browser. diff --git a/packages/browser/src/utils/pickAnonymousAvatarName.ts b/packages/browser/src/utils/pickAnonymousAvatarName.ts index 4fa708f7..6df1e679 100644 --- a/packages/browser/src/utils/pickAnonymousAvatarName.ts +++ b/packages/browser/src/utils/pickAnonymousAvatarName.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ANONYMOUS_ANIMAL_ICONS} from './anonymousAnimalIcons.generated'; import hashStr from './hashStr'; diff --git a/packages/browser/src/utils/pickAnonymousEntityName.ts b/packages/browser/src/utils/pickAnonymousEntityName.ts index 62182223..d73e19dd 100644 --- a/packages/browser/src/utils/pickAnonymousEntityName.ts +++ b/packages/browser/src/utils/pickAnonymousEntityName.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ANONYMOUS_ENTITY_ICONS} from './anonymousEntityIcons.generated'; import hashStr from './hashStr'; diff --git a/packages/browser/src/utils/resolveEmojiUrisInHtml.ts b/packages/browser/src/utils/resolveEmojiUrisInHtml.ts index 84e1a9dc..996a22ae 100644 --- a/packages/browser/src/utils/resolveEmojiUrisInHtml.ts +++ b/packages/browser/src/utils/resolveEmojiUrisInHtml.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {extractEmojiFromUri, isEmojiUri} from '@thunderid/javascript'; diff --git a/packages/browser/src/utils/resolveLogoUri.ts b/packages/browser/src/utils/resolveLogoUri.ts index 9b1c10b2..0bc9c0bb 100644 --- a/packages/browser/src/utils/resolveLogoUri.ts +++ b/packages/browser/src/utils/resolveLogoUri.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {extractEmojiFromUri, isEmojiUri} from '@thunderid/javascript'; import extractAvatarParamsFromUri, {type AvatarParams} from './extractAvatarParamsFromUri'; diff --git a/packages/browser/vitest.config.ts b/packages/browser/vitest.config.ts index 0c6084b1..d38ff039 100644 --- a/packages/browser/vitest.config.ts +++ b/packages/browser/vitest.config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineConfig} from 'vitest/config'; diff --git a/packages/express/eslint.config.js b/packages/express/eslint.config.js index 7de9261a..1f3ad167 100644 --- a/packages/express/eslint.config.js +++ b/packages/express/eslint.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import thunderIdPlugin from '@thunderid/eslint-plugin'; diff --git a/packages/express/package.json b/packages/express/package.json index 55b97177..d57e4b3d 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -11,7 +11,7 @@ "bugs": { "url": "https://github.com/thunder-id/thunderid/issues" }, - "author": "WSO2", + "author": "The ThunderID Authors", "license": "Apache-2.0", "type": "module", "main": "dist/index.js", diff --git a/packages/express/prettier.config.js b/packages/express/prettier.config.js index 7e978e97..f054cd50 100644 --- a/packages/express/prettier.config.js +++ b/packages/express/prettier.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import config from '@thunderid/prettier-config'; diff --git a/packages/express/rolldown.config.js b/packages/express/rolldown.config.js index 7b43b66a..7903065b 100644 --- a/packages/express/rolldown.config.js +++ b/packages/express/rolldown.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {readFileSync} from 'fs'; import {join} from 'path'; diff --git a/packages/express/src/ThunderIDExpressClient.ts b/packages/express/src/ThunderIDExpressClient.ts index 40ac416a..ed79b2b8 100644 --- a/packages/express/src/ThunderIDExpressClient.ts +++ b/packages/express/src/ThunderIDExpressClient.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDNodeClient, diff --git a/packages/express/src/constants/CookieConfig.ts b/packages/express/src/constants/CookieConfig.ts index da4d6d31..6669f1fc 100644 --- a/packages/express/src/constants/CookieConfig.ts +++ b/packages/express/src/constants/CookieConfig.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** Default cookie configuration values. */ const CookieConfig = { diff --git a/packages/express/src/index.ts b/packages/express/src/index.ts index c8405d84..8e60e0ce 100644 --- a/packages/express/src/index.ts +++ b/packages/express/src/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // Client export {default as ThunderIDExpressClient} from './ThunderIDExpressClient'; diff --git a/packages/express/src/middleware/authentication.ts b/packages/express/src/middleware/authentication.ts index 47bef4d2..85c12aa4 100644 --- a/packages/express/src/middleware/authentication.ts +++ b/packages/express/src/middleware/authentication.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDRuntimeError, TokenResponse, logger as Logger} from '@thunderid/node'; import express from 'express'; diff --git a/packages/express/src/middleware/flow.ts b/packages/express/src/middleware/flow.ts index eba7347d..8b514c7d 100644 --- a/packages/express/src/middleware/flow.ts +++ b/packages/express/src/middleware/flow.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {executeEmbeddedSignInFlow, resolveResourceEndpoint, logger as Logger} from '@thunderid/node'; import express from 'express'; diff --git a/packages/express/src/middleware/protect.ts b/packages/express/src/middleware/protect.ts index 281261d1..7d8a3933 100644 --- a/packages/express/src/middleware/protect.ts +++ b/packages/express/src/middleware/protect.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {logger as Logger} from '@thunderid/node'; import express from 'express'; diff --git a/packages/express/src/models/config.ts b/packages/express/src/models/config.ts index 5c6bffe9..5a31f338 100644 --- a/packages/express/src/models/config.ts +++ b/packages/express/src/models/config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDNodeConfig, ThunderIDRuntimeError, TokenResponse} from '@thunderid/node'; import express from 'express'; diff --git a/packages/express/src/models/protectRoute.ts b/packages/express/src/models/protectRoute.ts index aa49f391..2f402e92 100644 --- a/packages/express/src/models/protectRoute.ts +++ b/packages/express/src/models/protectRoute.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import express from 'express'; diff --git a/packages/express/src/utils/expressUtils.ts b/packages/express/src/utils/expressUtils.ts index db377b55..f65f7a9d 100644 --- a/packages/express/src/utils/expressUtils.ts +++ b/packages/express/src/utils/expressUtils.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 const AUTH_ERROR_REGEXP = /[?&]error=[^&]+/; diff --git a/packages/express/vitest.config.ts b/packages/express/vitest.config.ts index 87215b02..99891b99 100644 --- a/packages/express/vitest.config.ts +++ b/packages/express/vitest.config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineConfig} from 'vitest/config'; diff --git a/packages/javascript/eslint.config.js b/packages/javascript/eslint.config.js index 7de9261a..1f3ad167 100644 --- a/packages/javascript/eslint.config.js +++ b/packages/javascript/eslint.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import thunderIdPlugin from '@thunderid/eslint-plugin'; diff --git a/packages/javascript/package.json b/packages/javascript/package.json index 748166ff..349fd893 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -13,7 +13,7 @@ "bugs": { "url": "https://github.com/thunder-id/thunderid/issues" }, - "author": "WSO2", + "author": "The ThunderID Authors", "license": "Apache-2.0", "type": "module", "sideEffects": false, diff --git a/packages/javascript/prettier.config.js b/packages/javascript/prettier.config.js index 7e978e97..f054cd50 100644 --- a/packages/javascript/prettier.config.js +++ b/packages/javascript/prettier.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import config from '@thunderid/prettier-config'; diff --git a/packages/javascript/rolldown.config.js b/packages/javascript/rolldown.config.js index 7b43b66a..7903065b 100644 --- a/packages/javascript/rolldown.config.js +++ b/packages/javascript/rolldown.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {readFileSync} from 'fs'; import {join} from 'path'; diff --git a/packages/javascript/src/DefaultCacheStore.ts b/packages/javascript/src/DefaultCacheStore.ts index f749658c..a0bb12be 100644 --- a/packages/javascript/src/DefaultCacheStore.ts +++ b/packages/javascript/src/DefaultCacheStore.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export class DefaultCacheStore implements Storage { private cache: Map; diff --git a/packages/javascript/src/DefaultCrypto.ts b/packages/javascript/src/DefaultCrypto.ts index f3d4b0ce..ff7002c2 100644 --- a/packages/javascript/src/DefaultCrypto.ts +++ b/packages/javascript/src/DefaultCrypto.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import * as jose from 'jose'; import {Crypto, JWKInterface} from './models/crypto'; diff --git a/packages/javascript/src/HttpClient.ts b/packages/javascript/src/HttpClient.ts index e3601c36..b327d216 100644 --- a/packages/javascript/src/HttpClient.ts +++ b/packages/javascript/src/HttpClient.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {HttpError, HttpRequestConfig, HttpResponse} from './models/http'; diff --git a/packages/javascript/src/IsomorphicCrypto.ts b/packages/javascript/src/IsomorphicCrypto.ts index 5cb4959f..9f2b0dbe 100644 --- a/packages/javascript/src/IsomorphicCrypto.ts +++ b/packages/javascript/src/IsomorphicCrypto.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2022, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2022 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import TokenConstants from './constants/TokenConstants'; import {ThunderIDAuthException} from './errors/exception'; diff --git a/packages/javascript/src/StorageManager.ts b/packages/javascript/src/StorageManager.ts index 3ed3563f..5f291a02 100644 --- a/packages/javascript/src/StorageManager.ts +++ b/packages/javascript/src/StorageManager.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2020 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {AuthClientConfig} from './models/config'; import {OIDCDiscoveryApiResponse} from './models/oidc-discovery'; diff --git a/packages/javascript/src/ThunderIDJavaScriptClient.ts b/packages/javascript/src/ThunderIDJavaScriptClient.ts index 94f7faa0..fbf5b03c 100644 --- a/packages/javascript/src/ThunderIDJavaScriptClient.ts +++ b/packages/javascript/src/ThunderIDJavaScriptClient.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import OIDCDiscoveryConstants from './constants/OIDCDiscoveryConstants'; import OIDCRequestConstants from './constants/OIDCRequestConstants'; diff --git a/packages/javascript/src/__tests__/AuthenticationHelper.test.ts b/packages/javascript/src/__tests__/AuthenticationHelper.test.ts index ff040a06..70c9b518 100644 --- a/packages/javascript/src/__tests__/AuthenticationHelper.test.ts +++ b/packages/javascript/src/__tests__/AuthenticationHelper.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it, beforeEach} from 'vitest'; import type {IsomorphicCrypto} from '../IsomorphicCrypto'; diff --git a/packages/javascript/src/__tests__/DefaultCrypto.test.ts b/packages/javascript/src/__tests__/DefaultCrypto.test.ts index 72a504b7..6f88725a 100644 --- a/packages/javascript/src/__tests__/DefaultCrypto.test.ts +++ b/packages/javascript/src/__tests__/DefaultCrypto.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {exportJWK, generateKeyPair, SignJWT} from 'jose'; import {DefaultCrypto} from '../DefaultCrypto'; diff --git a/packages/javascript/src/__tests__/ThunderIDJavaScriptClient.test.ts b/packages/javascript/src/__tests__/ThunderIDJavaScriptClient.test.ts index f0124ed7..426ce73f 100644 --- a/packages/javascript/src/__tests__/ThunderIDJavaScriptClient.test.ts +++ b/packages/javascript/src/__tests__/ThunderIDJavaScriptClient.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it, vi, beforeEach, afterEach} from 'vitest'; import type {Storage} from '../models/store'; diff --git a/packages/javascript/src/api/__tests__/executeEmbeddedSignInFlow.test.ts b/packages/javascript/src/api/__tests__/executeEmbeddedSignInFlow.test.ts index 25d19472..581a692e 100644 --- a/packages/javascript/src/api/__tests__/executeEmbeddedSignInFlow.test.ts +++ b/packages/javascript/src/api/__tests__/executeEmbeddedSignInFlow.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {beforeEach, describe, expect, it, vi} from 'vitest'; import {EmbeddedSignInFlowResponse, EmbeddedSignInFlowStatus} from '../../models/embedded-signin-flow'; diff --git a/packages/javascript/src/api/__tests__/executeEmbeddedSignUpFlow.test.ts b/packages/javascript/src/api/__tests__/executeEmbeddedSignUpFlow.test.ts index b5cec6da..7258a14f 100644 --- a/packages/javascript/src/api/__tests__/executeEmbeddedSignUpFlow.test.ts +++ b/packages/javascript/src/api/__tests__/executeEmbeddedSignUpFlow.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {beforeEach, describe, expect, it, vi} from 'vitest'; import {EmbeddedSignUpFlowResponse, EmbeddedSignUpFlowStatus} from '../../models/embedded-signup-flow'; diff --git a/packages/javascript/src/api/__tests__/getUserInfo.test.ts b/packages/javascript/src/api/__tests__/getUserInfo.test.ts index 69cdbb66..25de1596 100644 --- a/packages/javascript/src/api/__tests__/getUserInfo.test.ts +++ b/packages/javascript/src/api/__tests__/getUserInfo.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect, vi, beforeEach} from 'vitest'; import ThunderIDAPIError from '../../errors/ThunderIDAPIError'; diff --git a/packages/javascript/src/api/__tests__/getUsersMe.test.ts b/packages/javascript/src/api/__tests__/getUsersMe.test.ts index 0e8965b7..97ef1d33 100644 --- a/packages/javascript/src/api/__tests__/getUsersMe.test.ts +++ b/packages/javascript/src/api/__tests__/getUsersMe.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect, vi} from 'vitest'; import ThunderIDAPIError from '../../errors/ThunderIDAPIError'; diff --git a/packages/javascript/src/api/__tests__/updateMeProfile.test.ts b/packages/javascript/src/api/__tests__/updateMeProfile.test.ts index 13eac37d..50b87e7a 100644 --- a/packages/javascript/src/api/__tests__/updateMeProfile.test.ts +++ b/packages/javascript/src/api/__tests__/updateMeProfile.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Mock, beforeEach, describe, expect, it, vi} from 'vitest'; import ThunderIDAPIError from '../../errors/ThunderIDAPIError'; diff --git a/packages/javascript/src/api/executeEmbeddedRecoveryFlow.ts b/packages/javascript/src/api/executeEmbeddedRecoveryFlow.ts index 4173c38f..89ad6b3d 100644 --- a/packages/javascript/src/api/executeEmbeddedRecoveryFlow.ts +++ b/packages/javascript/src/api/executeEmbeddedRecoveryFlow.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDAPIError from '../errors/ThunderIDAPIError'; import {EmbeddedFlowExecuteRequestConfig as EmbeddedFlowExecuteRequestConfig} from '../models/embedded-flow'; diff --git a/packages/javascript/src/api/executeEmbeddedSignInFlow.ts b/packages/javascript/src/api/executeEmbeddedSignInFlow.ts index 6eeb80e3..177dddcb 100644 --- a/packages/javascript/src/api/executeEmbeddedSignInFlow.ts +++ b/packages/javascript/src/api/executeEmbeddedSignInFlow.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDAPIError from '../errors/ThunderIDAPIError'; import {EmbeddedFlowExecuteRequestConfig} from '../models/embedded-flow'; diff --git a/packages/javascript/src/api/executeEmbeddedSignUpFlow.ts b/packages/javascript/src/api/executeEmbeddedSignUpFlow.ts index 9cd1f5d3..a1a71c1e 100644 --- a/packages/javascript/src/api/executeEmbeddedSignUpFlow.ts +++ b/packages/javascript/src/api/executeEmbeddedSignUpFlow.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDAPIError from '../errors/ThunderIDAPIError'; import {EmbeddedFlowExecuteRequestConfig as EmbeddedFlowExecuteRequestConfig} from '../models/embedded-flow'; diff --git a/packages/javascript/src/api/executeEmbeddedUserOnboardingFlow.ts b/packages/javascript/src/api/executeEmbeddedUserOnboardingFlow.ts index 7ae768b8..bc306189 100644 --- a/packages/javascript/src/api/executeEmbeddedUserOnboardingFlow.ts +++ b/packages/javascript/src/api/executeEmbeddedUserOnboardingFlow.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDAPIError from '../errors/ThunderIDAPIError'; import {EmbeddedFlowType, EmbeddedFlowExecuteRequestConfig, FlowExecutionError} from '../models/embedded-flow'; diff --git a/packages/javascript/src/api/getFlowMeta.ts b/packages/javascript/src/api/getFlowMeta.ts index 06d3b1c4..0a78047c 100644 --- a/packages/javascript/src/api/getFlowMeta.ts +++ b/packages/javascript/src/api/getFlowMeta.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDAPIError from '../errors/ThunderIDAPIError'; import {FlowMetadataResponse, GetFlowMetaRequestConfig} from '../models/flow-meta'; diff --git a/packages/javascript/src/api/getOrganizationUnitChildren.ts b/packages/javascript/src/api/getOrganizationUnitChildren.ts index 243d0c12..fe8d4e8d 100644 --- a/packages/javascript/src/api/getOrganizationUnitChildren.ts +++ b/packages/javascript/src/api/getOrganizationUnitChildren.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDAPIError from '../errors/ThunderIDAPIError'; diff --git a/packages/javascript/src/api/getUserInfo.ts b/packages/javascript/src/api/getUserInfo.ts index b5f087b5..ebd0d13d 100644 --- a/packages/javascript/src/api/getUserInfo.ts +++ b/packages/javascript/src/api/getUserInfo.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDAPIError from '../errors/ThunderIDAPIError'; import {User} from '../models/user'; diff --git a/packages/javascript/src/api/getUsersMe.ts b/packages/javascript/src/api/getUsersMe.ts index 4eff9734..31a1c6b5 100644 --- a/packages/javascript/src/api/getUsersMe.ts +++ b/packages/javascript/src/api/getUsersMe.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDAPIError from '../errors/ThunderIDAPIError'; import {User} from '../models/user'; diff --git a/packages/javascript/src/api/updateMeProfile.ts b/packages/javascript/src/api/updateMeProfile.ts index 0807b0f8..88db638c 100644 --- a/packages/javascript/src/api/updateMeProfile.ts +++ b/packages/javascript/src/api/updateMeProfile.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDAPIError from '../errors/ThunderIDAPIError'; import {User} from '../models/user'; diff --git a/packages/javascript/src/constants/ApplicationNativeAuthenticationConstants.ts b/packages/javascript/src/constants/ApplicationNativeAuthenticationConstants.ts index 63fd64bf..018edcbd 100644 --- a/packages/javascript/src/constants/ApplicationNativeAuthenticationConstants.ts +++ b/packages/javascript/src/constants/ApplicationNativeAuthenticationConstants.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Constants representing Application Native Authentication related configurations and constants. diff --git a/packages/javascript/src/constants/OIDCDiscoveryConstants.ts b/packages/javascript/src/constants/OIDCDiscoveryConstants.ts index 2ae3f2f4..980a7fdf 100644 --- a/packages/javascript/src/constants/OIDCDiscoveryConstants.ts +++ b/packages/javascript/src/constants/OIDCDiscoveryConstants.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Constants related to OpenID Connect (OIDC) metadata and endpoints. diff --git a/packages/javascript/src/constants/OIDCRequestConstants.ts b/packages/javascript/src/constants/OIDCRequestConstants.ts index 861e3ef9..9ef297f1 100644 --- a/packages/javascript/src/constants/OIDCRequestConstants.ts +++ b/packages/javascript/src/constants/OIDCRequestConstants.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ScopeConstants from './ScopeConstants'; diff --git a/packages/javascript/src/constants/PKCEConstants.ts b/packages/javascript/src/constants/PKCEConstants.ts index 8c0e680f..88d6ec66 100644 --- a/packages/javascript/src/constants/PKCEConstants.ts +++ b/packages/javascript/src/constants/PKCEConstants.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Constants related to Proof Key for Code Exchange (PKCE) implementation. diff --git a/packages/javascript/src/constants/ScopeConstants.ts b/packages/javascript/src/constants/ScopeConstants.ts index 523e056d..4098c4ed 100644 --- a/packages/javascript/src/constants/ScopeConstants.ts +++ b/packages/javascript/src/constants/ScopeConstants.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Constants for OAuth 2.0 and OpenID Connect scopes. diff --git a/packages/javascript/src/constants/TokenConstants.ts b/packages/javascript/src/constants/TokenConstants.ts index db0c141d..3422f8b1 100644 --- a/packages/javascript/src/constants/TokenConstants.ts +++ b/packages/javascript/src/constants/TokenConstants.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Constants related to OIDC token management and storage. diff --git a/packages/javascript/src/constants/TokenExchangeConstants.ts b/packages/javascript/src/constants/TokenExchangeConstants.ts index 1dd9d82d..0d8c10e5 100644 --- a/packages/javascript/src/constants/TokenExchangeConstants.ts +++ b/packages/javascript/src/constants/TokenExchangeConstants.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Constants for OAuth 2.0 Token Exchange operations. diff --git a/packages/javascript/src/constants/VendorConstants.ts b/packages/javascript/src/constants/VendorConstants.ts index 552a32dd..40520fcd 100644 --- a/packages/javascript/src/constants/VendorConstants.ts +++ b/packages/javascript/src/constants/VendorConstants.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Constants for vendor-specific configurations. diff --git a/packages/javascript/src/errors/ThunderIDAPIError.ts b/packages/javascript/src/errors/ThunderIDAPIError.ts index 0094fce1..d41ccbf7 100644 --- a/packages/javascript/src/errors/ThunderIDAPIError.ts +++ b/packages/javascript/src/errors/ThunderIDAPIError.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDError from './ThunderIDError'; import parseApiErrorMessage from '../utils/parseApiErrorMessage'; diff --git a/packages/javascript/src/errors/ThunderIDError.ts b/packages/javascript/src/errors/ThunderIDError.ts index e130bb83..7aa01722 100644 --- a/packages/javascript/src/errors/ThunderIDError.ts +++ b/packages/javascript/src/errors/ThunderIDError.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Base class for all ThunderID errors. This class extends the native Error class diff --git a/packages/javascript/src/errors/ThunderIDRuntimeError.ts b/packages/javascript/src/errors/ThunderIDRuntimeError.ts index 8b4543b3..16c6a3d9 100644 --- a/packages/javascript/src/errors/ThunderIDRuntimeError.ts +++ b/packages/javascript/src/errors/ThunderIDRuntimeError.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDError from './ThunderIDError'; diff --git a/packages/javascript/src/errors/__tests__/ThunderIDAPIError.test.ts b/packages/javascript/src/errors/__tests__/ThunderIDAPIError.test.ts index d8dc9500..d4e29436 100644 --- a/packages/javascript/src/errors/__tests__/ThunderIDAPIError.test.ts +++ b/packages/javascript/src/errors/__tests__/ThunderIDAPIError.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDAPIError from '../ThunderIDAPIError'; import ThunderIDError from '../ThunderIDError'; diff --git a/packages/javascript/src/errors/__tests__/ThunderIDError.test.ts b/packages/javascript/src/errors/__tests__/ThunderIDError.test.ts index 347da250..0b30e971 100644 --- a/packages/javascript/src/errors/__tests__/ThunderIDError.test.ts +++ b/packages/javascript/src/errors/__tests__/ThunderIDError.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDError from '../ThunderIDError'; diff --git a/packages/javascript/src/errors/__tests__/ThunderIDRuntimeError.test.ts b/packages/javascript/src/errors/__tests__/ThunderIDRuntimeError.test.ts index 14eba556..78aa4a8c 100644 --- a/packages/javascript/src/errors/__tests__/ThunderIDRuntimeError.test.ts +++ b/packages/javascript/src/errors/__tests__/ThunderIDRuntimeError.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDError from '../ThunderIDError'; import ThunderIDRuntimeError from '../ThunderIDRuntimeError'; diff --git a/packages/javascript/src/errors/exception.ts b/packages/javascript/src/errors/exception.ts index 47bead21..1ae50df4 100644 --- a/packages/javascript/src/errors/exception.ts +++ b/packages/javascript/src/errors/exception.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2020 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * @deprecated Use `ThunderIDRuntimeError` for runtime errors and `ThunderIDAPIError` for API errors. diff --git a/packages/javascript/src/i18n/constants/TranslationBundleConstants.ts b/packages/javascript/src/i18n/constants/TranslationBundleConstants.ts index f292729d..c142d6cc 100644 --- a/packages/javascript/src/i18n/constants/TranslationBundleConstants.ts +++ b/packages/javascript/src/i18n/constants/TranslationBundleConstants.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {en_US} from '../translations'; diff --git a/packages/javascript/src/i18n/models/i18n.ts b/packages/javascript/src/i18n/models/i18n.ts index a0d0b4be..bde69a62 100644 --- a/packages/javascript/src/i18n/models/i18n.ts +++ b/packages/javascript/src/i18n/models/i18n.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable typescript-sort-keys/interface */ diff --git a/packages/javascript/src/i18n/translations/en-US.ts b/packages/javascript/src/i18n/translations/en-US.ts index 69428ff4..408c9012 100644 --- a/packages/javascript/src/i18n/translations/en-US.ts +++ b/packages/javascript/src/i18n/translations/en-US.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {I18nTranslations, I18nMetadata, I18nBundle} from '../models/i18n'; diff --git a/packages/javascript/src/i18n/translations/fr-FR.ts b/packages/javascript/src/i18n/translations/fr-FR.ts index 636bf897..ceb8ccc7 100644 --- a/packages/javascript/src/i18n/translations/fr-FR.ts +++ b/packages/javascript/src/i18n/translations/fr-FR.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {I18nTranslations, I18nMetadata, I18nBundle} from '../models/i18n'; diff --git a/packages/javascript/src/i18n/translations/hi-IN.ts b/packages/javascript/src/i18n/translations/hi-IN.ts index 1a57eaa9..f7f252d8 100644 --- a/packages/javascript/src/i18n/translations/hi-IN.ts +++ b/packages/javascript/src/i18n/translations/hi-IN.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {I18nTranslations, I18nMetadata, I18nBundle} from '../models/i18n'; diff --git a/packages/javascript/src/i18n/translations/index.ts b/packages/javascript/src/i18n/translations/index.ts index ebb1a139..9c815b10 100644 --- a/packages/javascript/src/i18n/translations/index.ts +++ b/packages/javascript/src/i18n/translations/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default as en_US} from './en-US'; export {default as fr_FR} from './fr-FR'; diff --git a/packages/javascript/src/i18n/translations/ja-JP.ts b/packages/javascript/src/i18n/translations/ja-JP.ts index 58dcef2d..9df3da55 100644 --- a/packages/javascript/src/i18n/translations/ja-JP.ts +++ b/packages/javascript/src/i18n/translations/ja-JP.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {I18nTranslations, I18nMetadata, I18nBundle} from '../models/i18n'; diff --git a/packages/javascript/src/i18n/translations/pt-BR.ts b/packages/javascript/src/i18n/translations/pt-BR.ts index f7217a58..b7e39630 100644 --- a/packages/javascript/src/i18n/translations/pt-BR.ts +++ b/packages/javascript/src/i18n/translations/pt-BR.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {I18nTranslations, I18nMetadata, I18nBundle} from '../models/i18n'; diff --git a/packages/javascript/src/i18n/translations/pt-PT.ts b/packages/javascript/src/i18n/translations/pt-PT.ts index 7dff4016..6580795c 100644 --- a/packages/javascript/src/i18n/translations/pt-PT.ts +++ b/packages/javascript/src/i18n/translations/pt-PT.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {I18nTranslations, I18nMetadata, I18nBundle} from '../models/i18n'; diff --git a/packages/javascript/src/i18n/translations/si-LK.ts b/packages/javascript/src/i18n/translations/si-LK.ts index 9957a559..16a9e117 100644 --- a/packages/javascript/src/i18n/translations/si-LK.ts +++ b/packages/javascript/src/i18n/translations/si-LK.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {I18nTranslations, I18nMetadata, I18nBundle} from '../models/i18n'; diff --git a/packages/javascript/src/i18n/translations/ta-IN.ts b/packages/javascript/src/i18n/translations/ta-IN.ts index ccc552db..979f91ab 100644 --- a/packages/javascript/src/i18n/translations/ta-IN.ts +++ b/packages/javascript/src/i18n/translations/ta-IN.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {I18nTranslations, I18nMetadata, I18nBundle} from '../models/i18n'; diff --git a/packages/javascript/src/i18n/translations/te-IN.ts b/packages/javascript/src/i18n/translations/te-IN.ts index aba4effc..03c0639f 100644 --- a/packages/javascript/src/i18n/translations/te-IN.ts +++ b/packages/javascript/src/i18n/translations/te-IN.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {I18nTranslations, I18nMetadata, I18nBundle} from '../models/i18n'; diff --git a/packages/javascript/src/i18n/utils/__tests__/getDefaultI18nBundles.test.ts b/packages/javascript/src/i18n/utils/__tests__/getDefaultI18nBundles.test.ts index 7c6a0cba..17f9e7ca 100644 --- a/packages/javascript/src/i18n/utils/__tests__/getDefaultI18nBundles.test.ts +++ b/packages/javascript/src/i18n/utils/__tests__/getDefaultI18nBundles.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import TranslationBundleConstants from '../../constants/TranslationBundleConstants'; diff --git a/packages/javascript/src/i18n/utils/getDefaultI18nBundles.ts b/packages/javascript/src/i18n/utils/getDefaultI18nBundles.ts index 7d56dcb2..7188e8df 100644 --- a/packages/javascript/src/i18n/utils/getDefaultI18nBundles.ts +++ b/packages/javascript/src/i18n/utils/getDefaultI18nBundles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import TranslationBundleConstants from '../constants/TranslationBundleConstants'; import {I18nBundle} from '../models/i18n'; diff --git a/packages/javascript/src/i18n/utils/normalizeTranslations.ts b/packages/javascript/src/i18n/utils/normalizeTranslations.ts index 5fa327a1..23f5496d 100644 --- a/packages/javascript/src/i18n/utils/normalizeTranslations.ts +++ b/packages/javascript/src/i18n/utils/normalizeTranslations.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {I18nTranslations} from '../models/i18n'; diff --git a/packages/javascript/src/index.ts b/packages/javascript/src/index.ts index 0956853b..eb3d889f 100644 --- a/packages/javascript/src/index.ts +++ b/packages/javascript/src/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2020-2026, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2020-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {IsomorphicCrypto} from './IsomorphicCrypto'; diff --git a/packages/javascript/src/models/__tests__/embedded-flow.test.ts b/packages/javascript/src/models/__tests__/embedded-flow.test.ts index 6ce05492..71f3e80f 100644 --- a/packages/javascript/src/models/__tests__/embedded-flow.test.ts +++ b/packages/javascript/src/models/__tests__/embedded-flow.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import { diff --git a/packages/javascript/src/models/agent.ts b/packages/javascript/src/models/agent.ts index c337a6d1..b4c0f709 100644 --- a/packages/javascript/src/models/agent.ts +++ b/packages/javascript/src/models/agent.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Interface representing the configuration for an agent. diff --git a/packages/javascript/src/models/auth-code-response.ts b/packages/javascript/src/models/auth-code-response.ts index f3172a36..661f00af 100644 --- a/packages/javascript/src/models/auth-code-response.ts +++ b/packages/javascript/src/models/auth-code-response.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Interface representing the authorization code response from the OAuth2/OIDC flow. diff --git a/packages/javascript/src/models/ciba.ts b/packages/javascript/src/models/ciba.ts index 2610a7b9..8a2040cb 100644 --- a/packages/javascript/src/models/ciba.ts +++ b/packages/javascript/src/models/ciba.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Options for initiating a CIBA backchannel authentication request (CIBA Core 1.0 §7.1). diff --git a/packages/javascript/src/models/client.ts b/packages/javascript/src/models/client.ts index 6d8b1aa2..61a0e600 100644 --- a/packages/javascript/src/models/client.ts +++ b/packages/javascript/src/models/client.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type {CIBAInitiateOptions, CIBAInitiateResponse, CIBAPollOptions} from './ciba'; import {SignInOptions, SignOutOptions, SignUpOptions} from './config'; diff --git a/packages/javascript/src/models/config.ts b/packages/javascript/src/models/config.ts index e69db969..5d082055 100644 --- a/packages/javascript/src/models/config.ts +++ b/packages/javascript/src/models/config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ComponentsExtensions} from './extensions/components'; import type {OAuthResponseMode} from './oauth-response'; diff --git a/packages/javascript/src/models/crypto.ts b/packages/javascript/src/models/crypto.ts index c85d64f9..936336be 100644 --- a/packages/javascript/src/models/crypto.ts +++ b/packages/javascript/src/models/crypto.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * JWK Model diff --git a/packages/javascript/src/models/embedded-flow.ts b/packages/javascript/src/models/embedded-flow.ts index 7239bb84..d3142ea1 100644 --- a/packages/javascript/src/models/embedded-flow.ts +++ b/packages/javascript/src/models/embedded-flow.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export enum EmbeddedFlowType { Authentication = 'AUTHENTICATION', diff --git a/packages/javascript/src/models/embedded-recovery-flow.ts b/packages/javascript/src/models/embedded-recovery-flow.ts index dc5067c5..06019655 100644 --- a/packages/javascript/src/models/embedded-recovery-flow.ts +++ b/packages/javascript/src/models/embedded-recovery-flow.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedFlowType, FlowExecutionError} from './embedded-flow'; diff --git a/packages/javascript/src/models/embedded-signin-flow.ts b/packages/javascript/src/models/embedded-signin-flow.ts index ea119511..d63a7c9e 100644 --- a/packages/javascript/src/models/embedded-signin-flow.ts +++ b/packages/javascript/src/models/embedded-signin-flow.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { EmbeddedFlowResponseData, diff --git a/packages/javascript/src/models/embedded-signup-flow.ts b/packages/javascript/src/models/embedded-signup-flow.ts index 3e45d550..6ab4264e 100644 --- a/packages/javascript/src/models/embedded-signup-flow.ts +++ b/packages/javascript/src/models/embedded-signup-flow.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedFlowResponseType, EmbeddedFlowType, FlowExecutionError} from './embedded-flow'; diff --git a/packages/javascript/src/models/extensions/components.ts b/packages/javascript/src/models/extensions/components.ts index 92bb4401..82f79c0e 100644 --- a/packages/javascript/src/models/extensions/components.ts +++ b/packages/javascript/src/models/extensions/components.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedFlowComponent} from '../embedded-flow'; import {FlowMetadataResponse} from '../flow-meta'; diff --git a/packages/javascript/src/models/field.ts b/packages/javascript/src/models/field.ts index 472bc55b..8af576c5 100644 --- a/packages/javascript/src/models/field.ts +++ b/packages/javascript/src/models/field.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export enum FieldType { Checkbox = 'CHECKBOX', diff --git a/packages/javascript/src/models/flow-meta.ts b/packages/javascript/src/models/flow-meta.ts index b1c6206e..1d2c4ffa 100644 --- a/packages/javascript/src/models/flow-meta.ts +++ b/packages/javascript/src/models/flow-meta.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * The type of entity to retrieve flow metadata for. diff --git a/packages/javascript/src/models/flow.ts b/packages/javascript/src/models/flow.ts index 98d74661..cd762204 100644 --- a/packages/javascript/src/models/flow.ts +++ b/packages/javascript/src/models/flow.ts @@ -1,31 +1,15 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export enum FlowMode { /** * This mode is suitable for embedded sign-in, sign-up, etc. flows where the authentication * UIs are rendered within the application. - * @see {@link https://is.docs.wso2.com/en/7.1.0/references/app-native-authentication/} */ Embedded = 'DIRECT', /** * Traditional redirect based sign-in, sign-up, etc. flows where the authentication - * UIs are from a external Identity Provider (ex: WSO2 Identity Server or ThunderID). + * UIs are from a external Identity Provider (ex: ThunderID). */ Redirect = 'REDIRECTION', } diff --git a/packages/javascript/src/models/http.ts b/packages/javascript/src/models/http.ts index db1532c6..b503fa8d 100644 --- a/packages/javascript/src/models/http.ts +++ b/packages/javascript/src/models/http.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export interface HttpResponse { config: HttpRequestConfig; diff --git a/packages/javascript/src/models/oauth-request.ts b/packages/javascript/src/models/oauth-request.ts index a5ca4f50..9f50779d 100644 --- a/packages/javascript/src/models/oauth-request.ts +++ b/packages/javascript/src/models/oauth-request.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2020 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export type AuthorizeRequestUrlParams = Omit; diff --git a/packages/javascript/src/models/oauth-response.ts b/packages/javascript/src/models/oauth-response.ts index 4d7269c7..f90ae659 100644 --- a/packages/javascript/src/models/oauth-response.ts +++ b/packages/javascript/src/models/oauth-response.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export type OAuthResponseMode = 'form_post' | 'query' | 'direct'; diff --git a/packages/javascript/src/models/oidc-discovery.ts b/packages/javascript/src/models/oidc-discovery.ts index 32e7d230..6efccbe8 100644 --- a/packages/javascript/src/models/oidc-discovery.ts +++ b/packages/javascript/src/models/oidc-discovery.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2020 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Comprehensive OpenID Connect (OIDC) Provider Metadata. diff --git a/packages/javascript/src/models/oidc-endpoints.ts b/packages/javascript/src/models/oidc-endpoints.ts index e5444600..e3ee8d7d 100644 --- a/packages/javascript/src/models/oidc-endpoints.ts +++ b/packages/javascript/src/models/oidc-endpoints.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * @deprecated Use the properties defined in the new `OIDCEndpoints` at the `/models/oidc-endpoints.ts` instead. diff --git a/packages/javascript/src/models/session.ts b/packages/javascript/src/models/session.ts index 21fe0a33..3c9015a4 100644 --- a/packages/javascript/src/models/session.ts +++ b/packages/javascript/src/models/session.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2020 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export interface SessionData { access_token: string; diff --git a/packages/javascript/src/models/store.ts b/packages/javascript/src/models/store.ts index 83885654..67386f49 100644 --- a/packages/javascript/src/models/store.ts +++ b/packages/javascript/src/models/store.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {OIDCEndpoints} from './oidc-endpoints'; diff --git a/packages/javascript/src/models/token-endpoint-auth.ts b/packages/javascript/src/models/token-endpoint-auth.ts index dd3bfcc8..165d7152 100644 --- a/packages/javascript/src/models/token-endpoint-auth.ts +++ b/packages/javascript/src/models/token-endpoint-auth.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * OAuth 2.0 client authentication method used at the token endpoint. diff --git a/packages/javascript/src/models/token.ts b/packages/javascript/src/models/token.ts index a77038f3..d6c5b506 100644 --- a/packages/javascript/src/models/token.ts +++ b/packages/javascript/src/models/token.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2020 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Represents a processed token response with standardized camelCase properties. diff --git a/packages/javascript/src/models/translation.ts b/packages/javascript/src/models/translation.ts index a99bec2e..94cc3f41 100644 --- a/packages/javascript/src/models/translation.ts +++ b/packages/javascript/src/models/translation.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Generic translation function type. diff --git a/packages/javascript/src/models/user.ts b/packages/javascript/src/models/user.ts index f4437e6d..1aaccecc 100644 --- a/packages/javascript/src/models/user.ts +++ b/packages/javascript/src/models/user.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export interface KnownUser { displayName?: string; diff --git a/packages/javascript/src/models/utility-types.ts b/packages/javascript/src/models/utility-types.ts index fe00fb60..1a23604c 100644 --- a/packages/javascript/src/models/utility-types.ts +++ b/packages/javascript/src/models/utility-types.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export type RecursivePartial = { [P in keyof T]?: RecursivePartial; diff --git a/packages/javascript/src/models/vars.ts b/packages/javascript/src/models/vars.ts index 28b5be01..7a9ee286 100644 --- a/packages/javascript/src/models/vars.ts +++ b/packages/javascript/src/models/vars.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FlowMetadataResponse} from './flow-meta'; import {TranslationFn} from './translation'; diff --git a/packages/javascript/src/theme/createTheme.test.ts b/packages/javascript/src/theme/createTheme.test.ts index cc06033c..46a916da 100644 --- a/packages/javascript/src/theme/createTheme.test.ts +++ b/packages/javascript/src/theme/createTheme.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import createTheme from './createTheme'; diff --git a/packages/javascript/src/theme/createTheme.ts b/packages/javascript/src/theme/createTheme.ts index 0841242e..6f10e937 100644 --- a/packages/javascript/src/theme/createTheme.ts +++ b/packages/javascript/src/theme/createTheme.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Theme, ThemeConfig, ThemeImage, ThemeMode, ThemeVars} from './types'; import VendorConstants from '../constants/VendorConstants'; diff --git a/packages/javascript/src/theme/types.ts b/packages/javascript/src/theme/types.ts index 72ea15f6..8a0c0e89 100644 --- a/packages/javascript/src/theme/types.ts +++ b/packages/javascript/src/theme/types.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export interface ThemeTypography { fontFamily: string; diff --git a/packages/javascript/src/utils/AuthenticationHelper.ts b/packages/javascript/src/utils/AuthenticationHelper.ts index a9a0057f..5a47b8eb 100644 --- a/packages/javascript/src/utils/AuthenticationHelper.ts +++ b/packages/javascript/src/utils/AuthenticationHelper.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2020-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2020-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import extractUserClaimsFromIdToken from './extractUserClaimsFromIdToken'; import processOpenIDScopes from './processOpenIDScopes'; diff --git a/packages/javascript/src/utils/__tests__/AuthenticationHelper.resourceEndpoints.test.ts b/packages/javascript/src/utils/__tests__/AuthenticationHelper.resourceEndpoints.test.ts index 70ce0148..d4e65964 100644 --- a/packages/javascript/src/utils/__tests__/AuthenticationHelper.resourceEndpoints.test.ts +++ b/packages/javascript/src/utils/__tests__/AuthenticationHelper.resourceEndpoints.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-argument, @typescript-eslint/require-await */ import {describe, expect, it} from 'vitest'; diff --git a/packages/javascript/src/utils/__tests__/bem.test.ts b/packages/javascript/src/utils/__tests__/bem.test.ts index bcfcbbf9..74a1244b 100644 --- a/packages/javascript/src/utils/__tests__/bem.test.ts +++ b/packages/javascript/src/utils/__tests__/bem.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import bem from '../bem'; diff --git a/packages/javascript/src/utils/__tests__/buildValidatorFromRules.test.ts b/packages/javascript/src/utils/__tests__/buildValidatorFromRules.test.ts index 85ec8a25..644490fc 100644 --- a/packages/javascript/src/utils/__tests__/buildValidatorFromRules.test.ts +++ b/packages/javascript/src/utils/__tests__/buildValidatorFromRules.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import buildValidatorFromRules from '../buildValidatorFromRules'; diff --git a/packages/javascript/src/utils/__tests__/deepMerge.test.ts b/packages/javascript/src/utils/__tests__/deepMerge.test.ts index f6c0047a..3df23c98 100644 --- a/packages/javascript/src/utils/__tests__/deepMerge.test.ts +++ b/packages/javascript/src/utils/__tests__/deepMerge.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import deepMerge from '../deepMerge'; diff --git a/packages/javascript/src/utils/__tests__/evaluateValidationRule.test.ts b/packages/javascript/src/utils/__tests__/evaluateValidationRule.test.ts index 8de4fe02..87809893 100644 --- a/packages/javascript/src/utils/__tests__/evaluateValidationRule.test.ts +++ b/packages/javascript/src/utils/__tests__/evaluateValidationRule.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-assignment */ // Deliberate type-violation casts exercise the evaluator's tolerance for malformed diff --git a/packages/javascript/src/utils/__tests__/extractPkceStorageKeyFromState.test.ts b/packages/javascript/src/utils/__tests__/extractPkceStorageKeyFromState.test.ts index 4adc9d72..2bf54425 100644 --- a/packages/javascript/src/utils/__tests__/extractPkceStorageKeyFromState.test.ts +++ b/packages/javascript/src/utils/__tests__/extractPkceStorageKeyFromState.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import PKCEConstants from '../../constants/PKCEConstants'; diff --git a/packages/javascript/src/utils/__tests__/extractTenantDomainFromIdTokenPayload.test.ts b/packages/javascript/src/utils/__tests__/extractTenantDomainFromIdTokenPayload.test.ts index e5cb34de..59a526b8 100644 --- a/packages/javascript/src/utils/__tests__/extractTenantDomainFromIdTokenPayload.test.ts +++ b/packages/javascript/src/utils/__tests__/extractTenantDomainFromIdTokenPayload.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import {IdToken} from '../../models/token'; diff --git a/packages/javascript/src/utils/__tests__/extractUserClaimsFromIdToken.test.ts b/packages/javascript/src/utils/__tests__/extractUserClaimsFromIdToken.test.ts index 2a8eab72..14bf146f 100644 --- a/packages/javascript/src/utils/__tests__/extractUserClaimsFromIdToken.test.ts +++ b/packages/javascript/src/utils/__tests__/extractUserClaimsFromIdToken.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import {IdToken} from '../../models/token'; diff --git a/packages/javascript/src/utils/__tests__/formatDate.test.ts b/packages/javascript/src/utils/__tests__/formatDate.test.ts index 48d522c1..c7e75d2c 100644 --- a/packages/javascript/src/utils/__tests__/formatDate.test.ts +++ b/packages/javascript/src/utils/__tests__/formatDate.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect, vi, afterEach} from 'vitest'; import formatDate from '../formatDate'; diff --git a/packages/javascript/src/utils/__tests__/generateFlattenedUserProfile.test.ts b/packages/javascript/src/utils/__tests__/generateFlattenedUserProfile.test.ts index 2a4fee46..381d719f 100644 --- a/packages/javascript/src/utils/__tests__/generateFlattenedUserProfile.test.ts +++ b/packages/javascript/src/utils/__tests__/generateFlattenedUserProfile.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect, beforeEach, vi} from 'vitest'; import generateFlattenedUserProfile from '../generateFlattenedUserProfile'; diff --git a/packages/javascript/src/utils/__tests__/generatePkceStorageKey.test.ts b/packages/javascript/src/utils/__tests__/generatePkceStorageKey.test.ts index bdb06bd7..fa6f76fc 100644 --- a/packages/javascript/src/utils/__tests__/generatePkceStorageKey.test.ts +++ b/packages/javascript/src/utils/__tests__/generatePkceStorageKey.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import PKCEConstants from '../../constants/PKCEConstants'; import {TemporaryStore} from '../../models/store'; diff --git a/packages/javascript/src/utils/__tests__/generateStateParamForRequestCorrelation.test.ts b/packages/javascript/src/utils/__tests__/generateStateParamForRequestCorrelation.test.ts index 31684964..f6d3d0ef 100644 --- a/packages/javascript/src/utils/__tests__/generateStateParamForRequestCorrelation.test.ts +++ b/packages/javascript/src/utils/__tests__/generateStateParamForRequestCorrelation.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import PKCEConstants from '../../constants/PKCEConstants'; diff --git a/packages/javascript/src/utils/__tests__/get.test.ts b/packages/javascript/src/utils/__tests__/get.test.ts index 533d7b66..873e7ae1 100644 --- a/packages/javascript/src/utils/__tests__/get.test.ts +++ b/packages/javascript/src/utils/__tests__/get.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import get from '../get'; diff --git a/packages/javascript/src/utils/__tests__/getAuthorizeRequestUrlParams.test.ts b/packages/javascript/src/utils/__tests__/getAuthorizeRequestUrlParams.test.ts index 55836c09..3de156d3 100644 --- a/packages/javascript/src/utils/__tests__/getAuthorizeRequestUrlParams.test.ts +++ b/packages/javascript/src/utils/__tests__/getAuthorizeRequestUrlParams.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect, vi} from 'vitest'; import OIDCRequestConstants from '../../constants/OIDCRequestConstants'; diff --git a/packages/javascript/src/utils/__tests__/getLatestStateParam.test.ts b/packages/javascript/src/utils/__tests__/getLatestStateParam.test.ts index ed744262..40d2187e 100644 --- a/packages/javascript/src/utils/__tests__/getLatestStateParam.test.ts +++ b/packages/javascript/src/utils/__tests__/getLatestStateParam.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect, vi} from 'vitest'; import PKCEConstants from '../../constants/PKCEConstants'; diff --git a/packages/javascript/src/utils/__tests__/getRedirectBasedSignUpUrl.test.ts b/packages/javascript/src/utils/__tests__/getRedirectBasedSignUpUrl.test.ts index 3b49bd45..ce90b68d 100644 --- a/packages/javascript/src/utils/__tests__/getRedirectBasedSignUpUrl.test.ts +++ b/packages/javascript/src/utils/__tests__/getRedirectBasedSignUpUrl.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect, vi, afterEach} from 'vitest'; import {Config} from '../../models/config'; diff --git a/packages/javascript/src/utils/__tests__/injectRequestedPermissions.test.ts b/packages/javascript/src/utils/__tests__/injectRequestedPermissions.test.ts index ea681b66..ad484caf 100644 --- a/packages/javascript/src/utils/__tests__/injectRequestedPermissions.test.ts +++ b/packages/javascript/src/utils/__tests__/injectRequestedPermissions.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import injectRequestedPermissions from '../../utils/injectRequestedPermissions'; diff --git a/packages/javascript/src/utils/__tests__/isEmpty.test.ts b/packages/javascript/src/utils/__tests__/isEmpty.test.ts index e4a4512f..c5460178 100644 --- a/packages/javascript/src/utils/__tests__/isEmpty.test.ts +++ b/packages/javascript/src/utils/__tests__/isEmpty.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import isEmpty from '../isEmpty'; diff --git a/packages/javascript/src/utils/__tests__/isRecognizedBaseUrlPattern.test.ts b/packages/javascript/src/utils/__tests__/isRecognizedBaseUrlPattern.test.ts index 5087fcc7..58f1ed0d 100644 --- a/packages/javascript/src/utils/__tests__/isRecognizedBaseUrlPattern.test.ts +++ b/packages/javascript/src/utils/__tests__/isRecognizedBaseUrlPattern.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect, vi} from 'vitest'; import ThunderIDRuntimeError from '../../errors/ThunderIDRuntimeError'; diff --git a/packages/javascript/src/utils/__tests__/logger.test.ts b/packages/javascript/src/utils/__tests__/logger.test.ts index 6c2415bf..37b2d35b 100644 --- a/packages/javascript/src/utils/__tests__/logger.test.ts +++ b/packages/javascript/src/utils/__tests__/logger.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect, vi, beforeEach, afterEach} from 'vitest'; import logger, {createLogger, createComponentLogger} from '../logger'; diff --git a/packages/javascript/src/utils/__tests__/parseApiErrorMessage.test.ts b/packages/javascript/src/utils/__tests__/parseApiErrorMessage.test.ts index 56b48e37..7da041e6 100644 --- a/packages/javascript/src/utils/__tests__/parseApiErrorMessage.test.ts +++ b/packages/javascript/src/utils/__tests__/parseApiErrorMessage.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import parseApiErrorMessage from '../parseApiErrorMessage'; diff --git a/packages/javascript/src/utils/__tests__/processOpenIDScopes.test.ts b/packages/javascript/src/utils/__tests__/processOpenIDScopes.test.ts index 564e4805..486106da 100644 --- a/packages/javascript/src/utils/__tests__/processOpenIDScopes.test.ts +++ b/packages/javascript/src/utils/__tests__/processOpenIDScopes.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import ThunderIDRuntimeError from '../../errors/ThunderIDRuntimeError'; diff --git a/packages/javascript/src/utils/__tests__/processUsername.test.ts b/packages/javascript/src/utils/__tests__/processUsername.test.ts index 0373c767..2ba78659 100644 --- a/packages/javascript/src/utils/__tests__/processUsername.test.ts +++ b/packages/javascript/src/utils/__tests__/processUsername.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import processUsername, {removeUserstorePrefix} from '../processUsername'; diff --git a/packages/javascript/src/utils/__tests__/removeTrailingSlash.test.ts b/packages/javascript/src/utils/__tests__/removeTrailingSlash.test.ts index c5bf1ff9..1fe90001 100644 --- a/packages/javascript/src/utils/__tests__/removeTrailingSlash.test.ts +++ b/packages/javascript/src/utils/__tests__/removeTrailingSlash.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import removeTrailingSlash from '../removeTrailingSlash'; diff --git a/packages/javascript/src/utils/__tests__/resolveFieldName.test.ts b/packages/javascript/src/utils/__tests__/resolveFieldName.test.ts index 1f5aef6c..a6c18218 100644 --- a/packages/javascript/src/utils/__tests__/resolveFieldName.test.ts +++ b/packages/javascript/src/utils/__tests__/resolveFieldName.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import ThunderIDRuntimeError from '../../errors/ThunderIDRuntimeError'; diff --git a/packages/javascript/src/utils/__tests__/resolveResourceEndpoint.test.ts b/packages/javascript/src/utils/__tests__/resolveResourceEndpoint.test.ts index 7174a32c..32962adf 100644 --- a/packages/javascript/src/utils/__tests__/resolveResourceEndpoint.test.ts +++ b/packages/javascript/src/utils/__tests__/resolveResourceEndpoint.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import resolveResourceEndpoint, {RESOURCE_ENDPOINT_KEYS} from '../resolveResourceEndpoint'; diff --git a/packages/javascript/src/utils/__tests__/set.test.ts b/packages/javascript/src/utils/__tests__/set.test.ts index 8b50ddb6..c766f43a 100644 --- a/packages/javascript/src/utils/__tests__/set.test.ts +++ b/packages/javascript/src/utils/__tests__/set.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import set from '../set'; diff --git a/packages/javascript/src/utils/__tests__/withVendorCSSClassPrefix.test.ts b/packages/javascript/src/utils/__tests__/withVendorCSSClassPrefix.test.ts index 4f85fe65..0bc54356 100644 --- a/packages/javascript/src/utils/__tests__/withVendorCSSClassPrefix.test.ts +++ b/packages/javascript/src/utils/__tests__/withVendorCSSClassPrefix.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect, vi, beforeEach} from 'vitest'; @@ -34,13 +19,13 @@ describe('withVendorCSSClassPrefix', () => { }); it('should prefix a simple class name with the vendor prefix', async () => { - const withVendorCSSClassPrefix: (className: string) => string = await loadWithPrefix('wso2'); - expect(withVendorCSSClassPrefix('sign-in-button')).toBe('wso2-sign-in-button'); + const withVendorCSSClassPrefix: (className: string) => string = await loadWithPrefix('custom'); + expect(withVendorCSSClassPrefix('sign-in-button')).toBe('custom-sign-in-button'); }); it('should work with BEM-style class names unchanged after the hyphen', async () => { - const withVendorCSSClassPrefix: (className: string) => string = await loadWithPrefix('wso2'); - expect(withVendorCSSClassPrefix('card__title--large')).toBe('wso2-card__title--large'); + const withVendorCSSClassPrefix: (className: string) => string = await loadWithPrefix('custom'); + expect(withVendorCSSClassPrefix('card__title--large')).toBe('custom-card__title--large'); }); it('should respect different vendor prefixes', async () => { @@ -49,15 +34,15 @@ describe('withVendorCSSClassPrefix', () => { }); it('should handle an empty class name by returning just the prefix and hyphen', async () => { - const withVendorCSSClassPrefix: (className: string) => string = await loadWithPrefix('wso2'); - expect(withVendorCSSClassPrefix('')).toBe('wso2-'); + const withVendorCSSClassPrefix: (className: string) => string = await loadWithPrefix('custom'); + expect(withVendorCSSClassPrefix('')).toBe('custom-'); }); it('should not mutate or trim the provided class name (preserve spaces/characters as-is)', async () => { - const withVendorCSSClassPrefix: (className: string) => string = await loadWithPrefix('wso2'); + const withVendorCSSClassPrefix: (className: string) => string = await loadWithPrefix('custom'); const original = ' spaced name '; const result: string = withVendorCSSClassPrefix(original); - expect(result).toBe('wso2- spaced name '); + expect(result).toBe('custom- spaced name '); expect(original).toBe(' spaced name '); }); }); diff --git a/packages/javascript/src/utils/arrayBufferToBase64url.ts b/packages/javascript/src/utils/arrayBufferToBase64url.ts index bae901dc..63b4b745 100644 --- a/packages/javascript/src/utils/arrayBufferToBase64url.ts +++ b/packages/javascript/src/utils/arrayBufferToBase64url.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Converts an ArrayBuffer to a base64url encoded string. diff --git a/packages/javascript/src/utils/base64Encode.ts b/packages/javascript/src/utils/base64Encode.ts index 97cf055b..ae016fd9 100644 --- a/packages/javascript/src/utils/base64Encode.ts +++ b/packages/javascript/src/utils/base64Encode.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import * as jose from 'jose'; diff --git a/packages/javascript/src/utils/base64urlToArrayBuffer.ts b/packages/javascript/src/utils/base64urlToArrayBuffer.ts index ccf4615f..4b292c4e 100644 --- a/packages/javascript/src/utils/base64urlToArrayBuffer.ts +++ b/packages/javascript/src/utils/base64urlToArrayBuffer.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Converts a base64url encoded string back to an ArrayBuffer. diff --git a/packages/javascript/src/utils/bem.ts b/packages/javascript/src/utils/bem.ts index bf955957..98ad1959 100644 --- a/packages/javascript/src/utils/bem.ts +++ b/packages/javascript/src/utils/bem.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Creates a BEM-style class name by combining a base class with element and/or modifier diff --git a/packages/javascript/src/utils/buildValidatorFromRules.ts b/packages/javascript/src/utils/buildValidatorFromRules.ts index 5f020eea..a17e6f15 100644 --- a/packages/javascript/src/utils/buildValidatorFromRules.ts +++ b/packages/javascript/src/utils/buildValidatorFromRules.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import evaluateValidationRule from './evaluateValidationRule'; import {ValidationRule} from '../models/embedded-flow'; diff --git a/packages/javascript/src/utils/containsMetaFlowTemplateLiteral.ts b/packages/javascript/src/utils/containsMetaFlowTemplateLiteral.ts index 0f6e121f..b7d3d49c 100644 --- a/packages/javascript/src/utils/containsMetaFlowTemplateLiteral.ts +++ b/packages/javascript/src/utils/containsMetaFlowTemplateLiteral.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Build a regex that matches `{{ meta(key) }}` (with optional whitespace) anywhere diff --git a/packages/javascript/src/utils/countryCodeToFlagEmoji.ts b/packages/javascript/src/utils/countryCodeToFlagEmoji.ts index 2758f81f..bba13b94 100644 --- a/packages/javascript/src/utils/countryCodeToFlagEmoji.ts +++ b/packages/javascript/src/utils/countryCodeToFlagEmoji.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Converts a two-letter ISO 3166-1 alpha-2 country code to a flag emoji using diff --git a/packages/javascript/src/utils/deepMerge.ts b/packages/javascript/src/utils/deepMerge.ts index f9b98b7a..eb75afc2 100644 --- a/packages/javascript/src/utils/deepMerge.ts +++ b/packages/javascript/src/utils/deepMerge.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Checks if a value is a plain object (not an array, function, date, etc.) diff --git a/packages/javascript/src/utils/evaluateValidationRule.ts b/packages/javascript/src/utils/evaluateValidationRule.ts index 90fc2e7a..30690ffe 100644 --- a/packages/javascript/src/utils/evaluateValidationRule.ts +++ b/packages/javascript/src/utils/evaluateValidationRule.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ValidationRule, ValidationRuleType} from '../models/embedded-flow'; diff --git a/packages/javascript/src/utils/extractEmojiFromUri.ts b/packages/javascript/src/utils/extractEmojiFromUri.ts index d156a9c7..ae06e3a8 100644 --- a/packages/javascript/src/utils/extractEmojiFromUri.ts +++ b/packages/javascript/src/utils/extractEmojiFromUri.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import isEmojiUri, {EMOJI_URI_SCHEME} from './isEmojiUri'; diff --git a/packages/javascript/src/utils/extractPkceStorageKeyFromState.ts b/packages/javascript/src/utils/extractPkceStorageKeyFromState.ts index 1fa9af60..e6eb747e 100644 --- a/packages/javascript/src/utils/extractPkceStorageKeyFromState.ts +++ b/packages/javascript/src/utils/extractPkceStorageKeyFromState.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import PKCEConstants from '../constants/PKCEConstants'; diff --git a/packages/javascript/src/utils/extractTenantDomainFromIdTokenPayload.ts b/packages/javascript/src/utils/extractTenantDomainFromIdTokenPayload.ts index 61f88e56..d2253582 100644 --- a/packages/javascript/src/utils/extractTenantDomainFromIdTokenPayload.ts +++ b/packages/javascript/src/utils/extractTenantDomainFromIdTokenPayload.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {IdToken} from '../models/token'; diff --git a/packages/javascript/src/utils/extractUserClaimsFromIdToken.ts b/packages/javascript/src/utils/extractUserClaimsFromIdToken.ts index edcb8573..b9566052 100644 --- a/packages/javascript/src/utils/extractUserClaimsFromIdToken.ts +++ b/packages/javascript/src/utils/extractUserClaimsFromIdToken.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2020 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {IdToken} from '../models/token'; diff --git a/packages/javascript/src/utils/formatDate.ts b/packages/javascript/src/utils/formatDate.ts index 960c3471..52e4cd92 100644 --- a/packages/javascript/src/utils/formatDate.ts +++ b/packages/javascript/src/utils/formatDate.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Formats a date string to a human-readable format. diff --git a/packages/javascript/src/utils/generatePkceStorageKey.ts b/packages/javascript/src/utils/generatePkceStorageKey.ts index 9d5baa23..85f6171c 100644 --- a/packages/javascript/src/utils/generatePkceStorageKey.ts +++ b/packages/javascript/src/utils/generatePkceStorageKey.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import PKCEConstants from '../constants/PKCEConstants'; import {TemporaryStore} from '../models/store'; diff --git a/packages/javascript/src/utils/generateStateParamForRequestCorrelation.ts b/packages/javascript/src/utils/generateStateParamForRequestCorrelation.ts index 3b69a23b..3a94bf3e 100644 --- a/packages/javascript/src/utils/generateStateParamForRequestCorrelation.ts +++ b/packages/javascript/src/utils/generateStateParamForRequestCorrelation.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import PKCEConstants from '../constants/PKCEConstants'; diff --git a/packages/javascript/src/utils/get.ts b/packages/javascript/src/utils/get.ts index e459dbad..46cd7386 100644 --- a/packages/javascript/src/utils/get.ts +++ b/packages/javascript/src/utils/get.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Gets the value at path of object. If the resolved value is undefined, diff --git a/packages/javascript/src/utils/getAuthorizeRequestUrlParams.ts b/packages/javascript/src/utils/getAuthorizeRequestUrlParams.ts index b79740c3..649f90e9 100644 --- a/packages/javascript/src/utils/getAuthorizeRequestUrlParams.ts +++ b/packages/javascript/src/utils/getAuthorizeRequestUrlParams.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import generateStateParamForRequestCorrelation from './generateStateParamForRequestCorrelation'; import OIDCRequestConstants from '../constants/OIDCRequestConstants'; diff --git a/packages/javascript/src/utils/getLatestStateParam.ts b/packages/javascript/src/utils/getLatestStateParam.ts index 716df52e..2b13fa03 100644 --- a/packages/javascript/src/utils/getLatestStateParam.ts +++ b/packages/javascript/src/utils/getLatestStateParam.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import generateStateParamForRequestCorrelation from './generateStateParamForRequestCorrelation'; import PKCEConstants from '../constants/PKCEConstants'; diff --git a/packages/javascript/src/utils/getRedirectBasedSignUpUrl.ts b/packages/javascript/src/utils/getRedirectBasedSignUpUrl.ts index 207cde0a..b45b8f8a 100644 --- a/packages/javascript/src/utils/getRedirectBasedSignUpUrl.ts +++ b/packages/javascript/src/utils/getRedirectBasedSignUpUrl.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import isRecognizedBaseUrlPattern from './isRecognizedBaseUrlPattern'; import logger from './logger'; diff --git a/packages/javascript/src/utils/getVendorPrefix.ts b/packages/javascript/src/utils/getVendorPrefix.ts index b7f72f5e..795c6e41 100644 --- a/packages/javascript/src/utils/getVendorPrefix.ts +++ b/packages/javascript/src/utils/getVendorPrefix.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import VendorConstants from '../constants/VendorConstants'; diff --git a/packages/javascript/src/utils/injectRequestedPermissions.ts b/packages/javascript/src/utils/injectRequestedPermissions.ts index cf91d5c3..08f1e08d 100644 --- a/packages/javascript/src/utils/injectRequestedPermissions.ts +++ b/packages/javascript/src/utils/injectRequestedPermissions.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Strips the top-level `scopes` field from a payload and injects it as diff --git a/packages/javascript/src/utils/isEmojiUri.ts b/packages/javascript/src/utils/isEmojiUri.ts index 2c1bf3df..012ae65b 100644 --- a/packages/javascript/src/utils/isEmojiUri.ts +++ b/packages/javascript/src/utils/isEmojiUri.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export const EMOJI_URI_SCHEME = 'emoji:'; diff --git a/packages/javascript/src/utils/isEmpty.ts b/packages/javascript/src/utils/isEmpty.ts index f9b14ac5..db51e56c 100644 --- a/packages/javascript/src/utils/isEmpty.ts +++ b/packages/javascript/src/utils/isEmpty.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Checks if a value is considered empty. diff --git a/packages/javascript/src/utils/isMetaFlowTemplateLiteral.ts b/packages/javascript/src/utils/isMetaFlowTemplateLiteral.ts index 174c3a8d..d956f2f9 100644 --- a/packages/javascript/src/utils/isMetaFlowTemplateLiteral.ts +++ b/packages/javascript/src/utils/isMetaFlowTemplateLiteral.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Regular expression to match a meta flow template literal `{{meta(key)}}` (exact, full-string match). diff --git a/packages/javascript/src/utils/isRecognizedBaseUrlPattern.ts b/packages/javascript/src/utils/isRecognizedBaseUrlPattern.ts index a1cd5be6..f0e5ea1c 100644 --- a/packages/javascript/src/utils/isRecognizedBaseUrlPattern.ts +++ b/packages/javascript/src/utils/isRecognizedBaseUrlPattern.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import logger from './logger'; import ThunderIDRuntimeError from '../errors/ThunderIDRuntimeError'; diff --git a/packages/javascript/src/utils/isTranslationFlowTemplateLiteral.ts b/packages/javascript/src/utils/isTranslationFlowTemplateLiteral.ts index a8263871..0cf796c8 100644 --- a/packages/javascript/src/utils/isTranslationFlowTemplateLiteral.ts +++ b/packages/javascript/src/utils/isTranslationFlowTemplateLiteral.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Regular expression to match a translation flow template literal `{{t(key)}}` (exact, full-string match). diff --git a/packages/javascript/src/utils/logger.ts b/packages/javascript/src/utils/logger.ts index 10945d95..2f47a16e 100644 --- a/packages/javascript/src/utils/logger.ts +++ b/packages/javascript/src/utils/logger.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Log levels enum diff --git a/packages/javascript/src/utils/parseApiErrorMessage.ts b/packages/javascript/src/utils/parseApiErrorMessage.ts index 8f6aa5ac..77a23e63 100644 --- a/packages/javascript/src/utils/parseApiErrorMessage.ts +++ b/packages/javascript/src/utils/parseApiErrorMessage.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Attempts to extract a human-readable message from a structured API error response body. diff --git a/packages/javascript/src/utils/parseFlowTemplateLiteral.ts b/packages/javascript/src/utils/parseFlowTemplateLiteral.ts index c6ab4884..c6051d9c 100644 --- a/packages/javascript/src/utils/parseFlowTemplateLiteral.ts +++ b/packages/javascript/src/utils/parseFlowTemplateLiteral.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Regular expression to detect a flow template literal wrapped in double braces. diff --git a/packages/javascript/src/utils/processOpenIDScopes.ts b/packages/javascript/src/utils/processOpenIDScopes.ts index fee15188..a5e02272 100644 --- a/packages/javascript/src/utils/processOpenIDScopes.ts +++ b/packages/javascript/src/utils/processOpenIDScopes.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import OIDCRequestConstants from '../constants/OIDCRequestConstants'; import ThunderIDRuntimeError from '../errors/ThunderIDRuntimeError'; diff --git a/packages/javascript/src/utils/processUsername.ts b/packages/javascript/src/utils/processUsername.ts index 5a509423..ff548b41 100644 --- a/packages/javascript/src/utils/processUsername.ts +++ b/packages/javascript/src/utils/processUsername.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Regular expression to match userstore prefixes in usernames. diff --git a/packages/javascript/src/utils/removeTrailingSlash.ts b/packages/javascript/src/utils/removeTrailingSlash.ts index 5f30ddcf..73fc1860 100644 --- a/packages/javascript/src/utils/removeTrailingSlash.ts +++ b/packages/javascript/src/utils/removeTrailingSlash.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Removes a trailing slash from a path string if it exists. diff --git a/packages/javascript/src/utils/resolveFieldName.ts b/packages/javascript/src/utils/resolveFieldName.ts index abefa659..9a0a802c 100644 --- a/packages/javascript/src/utils/resolveFieldName.ts +++ b/packages/javascript/src/utils/resolveFieldName.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDRuntimeError from '../errors/ThunderIDRuntimeError'; diff --git a/packages/javascript/src/utils/resolveFlowTemplateLiterals.ts b/packages/javascript/src/utils/resolveFlowTemplateLiterals.ts index 1c62b8f1..715f749e 100644 --- a/packages/javascript/src/utils/resolveFlowTemplateLiterals.ts +++ b/packages/javascript/src/utils/resolveFlowTemplateLiterals.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import parseFlowTemplateLiteral, { FLOW_TEMPLATE_LITERAL_REGEX, diff --git a/packages/javascript/src/utils/resolveLocaleDisplayName.ts b/packages/javascript/src/utils/resolveLocaleDisplayName.ts index d4b472e2..905c8cd5 100644 --- a/packages/javascript/src/utils/resolveLocaleDisplayName.ts +++ b/packages/javascript/src/utils/resolveLocaleDisplayName.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Resolves a BCP 47 locale tag to a human-readable display name using the diff --git a/packages/javascript/src/utils/resolveLocaleEmoji.ts b/packages/javascript/src/utils/resolveLocaleEmoji.ts index 20681ab0..0a68dd3e 100644 --- a/packages/javascript/src/utils/resolveLocaleEmoji.ts +++ b/packages/javascript/src/utils/resolveLocaleEmoji.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import countryCodeToFlagEmoji from './countryCodeToFlagEmoji'; diff --git a/packages/javascript/src/utils/resolveMeta.ts b/packages/javascript/src/utils/resolveMeta.ts index 66b30c99..5a7d7a60 100644 --- a/packages/javascript/src/utils/resolveMeta.ts +++ b/packages/javascript/src/utils/resolveMeta.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FlowMetadataResponse} from '../models/flow-meta'; diff --git a/packages/javascript/src/utils/resolveResourceEndpoint.ts b/packages/javascript/src/utils/resolveResourceEndpoint.ts index bcc43fa5..65b8a9d4 100644 --- a/packages/javascript/src/utils/resolveResourceEndpoint.ts +++ b/packages/javascript/src/utils/resolveResourceEndpoint.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {BaseConfig} from '../models/config'; diff --git a/packages/javascript/src/utils/set.ts b/packages/javascript/src/utils/set.ts index bd4acbfc..6ca7073c 100644 --- a/packages/javascript/src/utils/set.ts +++ b/packages/javascript/src/utils/set.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Sets the value at path of object. If a portion of path doesn't exist, diff --git a/packages/javascript/src/utils/startCase.ts b/packages/javascript/src/utils/startCase.ts index ec2012e5..ca5a80f2 100644 --- a/packages/javascript/src/utils/startCase.ts +++ b/packages/javascript/src/utils/startCase.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Converts the first character of `string` to upper case. diff --git a/packages/javascript/src/utils/withVendorCSSClassPrefix.ts b/packages/javascript/src/utils/withVendorCSSClassPrefix.ts index 21b14068..db461f67 100644 --- a/packages/javascript/src/utils/withVendorCSSClassPrefix.ts +++ b/packages/javascript/src/utils/withVendorCSSClassPrefix.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import VendorConstants from '../constants/VendorConstants'; @@ -28,7 +13,7 @@ import VendorConstants from '../constants/VendorConstants'; * ```typescript * // Usage with clsx * clsx(withVendorCSSClassPrefix('sign-in-button'), className) - * // Result: "wso2-sign-in-button" + * // Result: "thunderid-sign-in-button" * ``` */ const withVendorCSSClassPrefix = (className: string): string => `${VendorConstants.VENDOR_PREFIX}-${className}`; diff --git a/packages/javascript/vitest.config.ts b/packages/javascript/vitest.config.ts index dbdd537b..7cc93cfd 100644 --- a/packages/javascript/vitest.config.ts +++ b/packages/javascript/vitest.config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineConfig} from 'vitest/config'; diff --git a/packages/nextjs/eslint.config.js b/packages/nextjs/eslint.config.js index 7de9261a..1f3ad167 100644 --- a/packages/nextjs/eslint.config.js +++ b/packages/nextjs/eslint.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import thunderIdPlugin from '@thunderid/eslint-plugin'; diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 1432d269..97b9b3c9 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -12,7 +12,7 @@ "bugs": { "url": "https://github.com/thunder-id/thunderid/issues" }, - "author": "WSO2", + "author": "The ThunderID Authors", "license": "Apache-2.0", "type": "module", "exports": { diff --git a/packages/nextjs/prettier.config.js b/packages/nextjs/prettier.config.js index 7e978e97..f054cd50 100644 --- a/packages/nextjs/prettier.config.js +++ b/packages/nextjs/prettier.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import config from '@thunderid/prettier-config'; diff --git a/packages/nextjs/rolldown.config.js b/packages/nextjs/rolldown.config.js index 984611e2..a72636c1 100644 --- a/packages/nextjs/rolldown.config.js +++ b/packages/nextjs/rolldown.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {readFileSync} from 'fs'; import {join} from 'path'; diff --git a/packages/nextjs/src/ThunderIDNextClient.ts b/packages/nextjs/src/ThunderIDNextClient.ts index 4e90dfe6..1534b35f 100644 --- a/packages/nextjs/src/ThunderIDNextClient.ts +++ b/packages/nextjs/src/ThunderIDNextClient.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDNodeClient, diff --git a/packages/nextjs/src/client/components/actions/SignInButton/SignInButton.tsx b/packages/nextjs/src/client/components/actions/SignInButton/SignInButton.tsx index 7036540b..8e51658f 100644 --- a/packages/nextjs/src/client/components/actions/SignInButton/SignInButton.tsx +++ b/packages/nextjs/src/client/components/actions/SignInButton/SignInButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/components/actions/SignOutButton/SignOutButton.tsx b/packages/nextjs/src/client/components/actions/SignOutButton/SignOutButton.tsx index 98e56fc5..7117b614 100644 --- a/packages/nextjs/src/client/components/actions/SignOutButton/SignOutButton.tsx +++ b/packages/nextjs/src/client/components/actions/SignOutButton/SignOutButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/components/actions/SignUpButton/SignUpButton.tsx b/packages/nextjs/src/client/components/actions/SignUpButton/SignUpButton.tsx index d62b6160..ee1d459e 100644 --- a/packages/nextjs/src/client/components/actions/SignUpButton/SignUpButton.tsx +++ b/packages/nextjs/src/client/components/actions/SignUpButton/SignUpButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/components/control/Loading/Loading.tsx b/packages/nextjs/src/client/components/control/Loading/Loading.tsx index c4cf2350..24de3cbd 100644 --- a/packages/nextjs/src/client/components/control/Loading/Loading.tsx +++ b/packages/nextjs/src/client/components/control/Loading/Loading.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/components/control/SignedIn/SignedIn.tsx b/packages/nextjs/src/client/components/control/SignedIn/SignedIn.tsx index 6bc3bd45..0c9380e8 100644 --- a/packages/nextjs/src/client/components/control/SignedIn/SignedIn.tsx +++ b/packages/nextjs/src/client/components/control/SignedIn/SignedIn.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/components/control/SignedOut/SignedOut.tsx b/packages/nextjs/src/client/components/control/SignedOut/SignedOut.tsx index 2ad2fef0..c2f02cb0 100644 --- a/packages/nextjs/src/client/components/control/SignedOut/SignedOut.tsx +++ b/packages/nextjs/src/client/components/control/SignedOut/SignedOut.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/components/presentation/SignIn/SignIn.tsx b/packages/nextjs/src/client/components/presentation/SignIn/SignIn.tsx index f2ad078a..b9a7883c 100644 --- a/packages/nextjs/src/client/components/presentation/SignIn/SignIn.tsx +++ b/packages/nextjs/src/client/components/presentation/SignIn/SignIn.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/components/presentation/SignUp/SignUp.tsx b/packages/nextjs/src/client/components/presentation/SignUp/SignUp.tsx index 84a9f43d..a3dbeb69 100644 --- a/packages/nextjs/src/client/components/presentation/SignUp/SignUp.tsx +++ b/packages/nextjs/src/client/components/presentation/SignUp/SignUp.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/components/presentation/User/User.tsx b/packages/nextjs/src/client/components/presentation/User/User.tsx index 9f6041d1..6b71b5dd 100644 --- a/packages/nextjs/src/client/components/presentation/User/User.tsx +++ b/packages/nextjs/src/client/components/presentation/User/User.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/components/presentation/UserAvatar/UserAvatar.tsx b/packages/nextjs/src/client/components/presentation/UserAvatar/UserAvatar.tsx index 77ea89c5..ffdee9ea 100644 --- a/packages/nextjs/src/client/components/presentation/UserAvatar/UserAvatar.tsx +++ b/packages/nextjs/src/client/components/presentation/UserAvatar/UserAvatar.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/components/presentation/UserDropdown/UserDropdown.tsx b/packages/nextjs/src/client/components/presentation/UserDropdown/UserDropdown.tsx index 7fbc39bf..d11e8477 100644 --- a/packages/nextjs/src/client/components/presentation/UserDropdown/UserDropdown.tsx +++ b/packages/nextjs/src/client/components/presentation/UserDropdown/UserDropdown.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/components/presentation/UserProfile/UserProfile.tsx b/packages/nextjs/src/client/components/presentation/UserProfile/UserProfile.tsx index 26bb5620..0274f500 100644 --- a/packages/nextjs/src/client/components/presentation/UserProfile/UserProfile.tsx +++ b/packages/nextjs/src/client/components/presentation/UserProfile/UserProfile.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/contexts/ThunderID/ThunderIDContext.ts b/packages/nextjs/src/client/contexts/ThunderID/ThunderIDContext.ts index ec335b5f..ecd853e0 100644 --- a/packages/nextjs/src/client/contexts/ThunderID/ThunderIDContext.ts +++ b/packages/nextjs/src/client/contexts/ThunderID/ThunderIDContext.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/contexts/ThunderID/ThunderIDProvider.tsx b/packages/nextjs/src/client/contexts/ThunderID/ThunderIDProvider.tsx index 3de99878..378475fd 100644 --- a/packages/nextjs/src/client/contexts/ThunderID/ThunderIDProvider.tsx +++ b/packages/nextjs/src/client/contexts/ThunderID/ThunderIDProvider.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/contexts/ThunderID/useThunderID.ts b/packages/nextjs/src/client/contexts/ThunderID/useThunderID.ts index bd981351..3fba6d56 100644 --- a/packages/nextjs/src/client/contexts/ThunderID/useThunderID.ts +++ b/packages/nextjs/src/client/contexts/ThunderID/useThunderID.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use client'; diff --git a/packages/nextjs/src/client/index.ts b/packages/nextjs/src/client/index.ts index 73a259c0..9db02681 100644 --- a/packages/nextjs/src/client/index.ts +++ b/packages/nextjs/src/client/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default as useThunderID} from './contexts/ThunderID/useThunderID'; diff --git a/packages/nextjs/src/configs/InternalAuthAPIRoutesConfig.ts b/packages/nextjs/src/configs/InternalAuthAPIRoutesConfig.ts index 3f3e0137..c965d021 100644 --- a/packages/nextjs/src/configs/InternalAuthAPIRoutesConfig.ts +++ b/packages/nextjs/src/configs/InternalAuthAPIRoutesConfig.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {InternalAuthAPIRoutes} from '../models/api'; diff --git a/packages/nextjs/src/constants/sessionConstants.ts b/packages/nextjs/src/constants/sessionConstants.ts index 54a3823c..4adac594 100644 --- a/packages/nextjs/src/constants/sessionConstants.ts +++ b/packages/nextjs/src/constants/sessionConstants.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Number of seconds before access token expiry at which the SDK proactively diff --git a/packages/nextjs/src/index.ts b/packages/nextjs/src/index.ts index a0550825..5809e36b 100644 --- a/packages/nextjs/src/index.ts +++ b/packages/nextjs/src/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default as ThunderIDNext} from './ThunderIDNextClient'; diff --git a/packages/nextjs/src/models/api.ts b/packages/nextjs/src/models/api.ts index 37c0da75..45522b8c 100644 --- a/packages/nextjs/src/models/api.ts +++ b/packages/nextjs/src/models/api.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Interface defining the internal API routes for authentication. diff --git a/packages/nextjs/src/models/config.ts b/packages/nextjs/src/models/config.ts index 84cec302..0e40c6b8 100644 --- a/packages/nextjs/src/models/config.ts +++ b/packages/nextjs/src/models/config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDNodeConfig} from '@thunderid/node'; diff --git a/packages/nextjs/src/server/ThunderIDProvider.tsx b/packages/nextjs/src/server/ThunderIDProvider.tsx index 20b6b35a..ec73cbcb 100644 --- a/packages/nextjs/src/server/ThunderIDProvider.tsx +++ b/packages/nextjs/src/server/ThunderIDProvider.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/__tests__/getAccessToken.test.ts b/packages/nextjs/src/server/actions/__tests__/getAccessToken.test.ts index 4425381a..a3c74b51 100644 --- a/packages/nextjs/src/server/actions/__tests__/getAccessToken.test.ts +++ b/packages/nextjs/src/server/actions/__tests__/getAccessToken.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // src/server/actions/__tests__/getAccessToken.test.ts import {cookies} from 'next/headers'; diff --git a/packages/nextjs/src/server/actions/__tests__/getClientOrigin.test.ts b/packages/nextjs/src/server/actions/__tests__/getClientOrigin.test.ts index 38b35610..7aa8baab 100644 --- a/packages/nextjs/src/server/actions/__tests__/getClientOrigin.test.ts +++ b/packages/nextjs/src/server/actions/__tests__/getClientOrigin.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // src/server/actions/__tests__/getClientOrigin.test.ts import {headers} from 'next/headers'; diff --git a/packages/nextjs/src/server/actions/clearSession.ts b/packages/nextjs/src/server/actions/clearSession.ts index 20890353..add7912e 100644 --- a/packages/nextjs/src/server/actions/clearSession.ts +++ b/packages/nextjs/src/server/actions/clearSession.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/getAccessToken.ts b/packages/nextjs/src/server/actions/getAccessToken.ts index d7d9b016..16edcc7d 100644 --- a/packages/nextjs/src/server/actions/getAccessToken.ts +++ b/packages/nextjs/src/server/actions/getAccessToken.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/getClientOrigin.ts b/packages/nextjs/src/server/actions/getClientOrigin.ts index dfe90abc..224a814b 100644 --- a/packages/nextjs/src/server/actions/getClientOrigin.ts +++ b/packages/nextjs/src/server/actions/getClientOrigin.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/getSessionId.ts b/packages/nextjs/src/server/actions/getSessionId.ts index 41f23aef..624ed6ec 100644 --- a/packages/nextjs/src/server/actions/getSessionId.ts +++ b/packages/nextjs/src/server/actions/getSessionId.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/getSessionPayload.ts b/packages/nextjs/src/server/actions/getSessionPayload.ts index 612147ef..c10b7e89 100644 --- a/packages/nextjs/src/server/actions/getSessionPayload.ts +++ b/packages/nextjs/src/server/actions/getSessionPayload.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/getUserAction.ts b/packages/nextjs/src/server/actions/getUserAction.ts index 3a8fc988..00cc1f08 100644 --- a/packages/nextjs/src/server/actions/getUserAction.ts +++ b/packages/nextjs/src/server/actions/getUserAction.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/getUserProfileAction.ts b/packages/nextjs/src/server/actions/getUserProfileAction.ts index eea37711..0f6287a8 100644 --- a/packages/nextjs/src/server/actions/getUserProfileAction.ts +++ b/packages/nextjs/src/server/actions/getUserProfileAction.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/handleOAuthCallbackAction.ts b/packages/nextjs/src/server/actions/handleOAuthCallbackAction.ts index 559e72e3..580d9056 100644 --- a/packages/nextjs/src/server/actions/handleOAuthCallbackAction.ts +++ b/packages/nextjs/src/server/actions/handleOAuthCallbackAction.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/isSignedIn.ts b/packages/nextjs/src/server/actions/isSignedIn.ts index 0eedaca1..24ad8f11 100644 --- a/packages/nextjs/src/server/actions/isSignedIn.ts +++ b/packages/nextjs/src/server/actions/isSignedIn.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/refreshToken.ts b/packages/nextjs/src/server/actions/refreshToken.ts index 7f8f6f04..7ccd2fc5 100644 --- a/packages/nextjs/src/server/actions/refreshToken.ts +++ b/packages/nextjs/src/server/actions/refreshToken.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/signInAction.ts b/packages/nextjs/src/server/actions/signInAction.ts index 9349335c..23201d88 100644 --- a/packages/nextjs/src/server/actions/signInAction.ts +++ b/packages/nextjs/src/server/actions/signInAction.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/signOutAction.ts b/packages/nextjs/src/server/actions/signOutAction.ts index 402e9982..b36bc98c 100644 --- a/packages/nextjs/src/server/actions/signOutAction.ts +++ b/packages/nextjs/src/server/actions/signOutAction.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/signUpAction.ts b/packages/nextjs/src/server/actions/signUpAction.ts index 48a92f88..7dbf79f0 100644 --- a/packages/nextjs/src/server/actions/signUpAction.ts +++ b/packages/nextjs/src/server/actions/signUpAction.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/actions/updateUserProfileAction.ts b/packages/nextjs/src/server/actions/updateUserProfileAction.ts index 126ec611..1bc1e052 100644 --- a/packages/nextjs/src/server/actions/updateUserProfileAction.ts +++ b/packages/nextjs/src/server/actions/updateUserProfileAction.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 'use server'; diff --git a/packages/nextjs/src/server/getClient.ts b/packages/nextjs/src/server/getClient.ts index 4832dc3e..990ecbc0 100644 --- a/packages/nextjs/src/server/getClient.ts +++ b/packages/nextjs/src/server/getClient.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import ThunderIDNextClient from '../ThunderIDNextClient'; diff --git a/packages/nextjs/src/server/index.ts b/packages/nextjs/src/server/index.ts index 017d6ded..e205d10a 100644 --- a/packages/nextjs/src/server/index.ts +++ b/packages/nextjs/src/server/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // @thunderid/nextjs/server exports. diff --git a/packages/nextjs/src/server/proxy/createRouteMatcher.ts b/packages/nextjs/src/server/proxy/createRouteMatcher.ts index 0854012c..2b175906 100644 --- a/packages/nextjs/src/server/proxy/createRouteMatcher.ts +++ b/packages/nextjs/src/server/proxy/createRouteMatcher.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {NextRequest} from 'next/server'; diff --git a/packages/nextjs/src/server/proxy/thunderIDProxy.ts b/packages/nextjs/src/server/proxy/thunderIDProxy.ts index 4b3c0e42..60561950 100644 --- a/packages/nextjs/src/server/proxy/thunderIDProxy.ts +++ b/packages/nextjs/src/server/proxy/thunderIDProxy.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {NextRequest, NextResponse} from 'next/server'; import {REFRESH_BUFFER_SECONDS} from '../../constants/sessionConstants'; diff --git a/packages/nextjs/src/server/thunderid.ts b/packages/nextjs/src/server/thunderid.ts index 1947629f..3600b1a0 100644 --- a/packages/nextjs/src/server/thunderid.ts +++ b/packages/nextjs/src/server/thunderid.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {TokenExchangeRequestConfig, TokenResponse} from '@thunderid/node'; import getSessionIdAction from './actions/getSessionId'; diff --git a/packages/nextjs/src/utils/SessionManager.ts b/packages/nextjs/src/utils/SessionManager.ts index f8c2db05..9874ba6d 100644 --- a/packages/nextjs/src/utils/SessionManager.ts +++ b/packages/nextjs/src/utils/SessionManager.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDRuntimeError, CookieConfig} from '@thunderid/node'; import {SignJWT, jwtVerify, compactVerify, JWTPayload} from 'jose'; diff --git a/packages/nextjs/src/utils/createRouteMatcher.ts b/packages/nextjs/src/utils/createRouteMatcher.ts index 9acad254..7b6627b8 100644 --- a/packages/nextjs/src/utils/createRouteMatcher.ts +++ b/packages/nextjs/src/utils/createRouteMatcher.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {NextRequest} from 'next/server'; diff --git a/packages/nextjs/src/utils/decorateConfigWithNextEnv.ts b/packages/nextjs/src/utils/decorateConfigWithNextEnv.ts index 16dac1bf..b7211da6 100644 --- a/packages/nextjs/src/utils/decorateConfigWithNextEnv.ts +++ b/packages/nextjs/src/utils/decorateConfigWithNextEnv.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDNextConfig} from '../models/config'; diff --git a/packages/nextjs/src/utils/handleRefreshToken.ts b/packages/nextjs/src/utils/handleRefreshToken.ts index 60d69608..c17ef795 100644 --- a/packages/nextjs/src/utils/handleRefreshToken.ts +++ b/packages/nextjs/src/utils/handleRefreshToken.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type {TokenResponse, SessionCookieConfig} from '@thunderid/node'; import SessionManager, {SessionTokenPayload} from './SessionManager'; diff --git a/packages/nextjs/src/utils/logger.ts b/packages/nextjs/src/utils/logger.ts index a6ab7978..1c0930a1 100644 --- a/packages/nextjs/src/utils/logger.ts +++ b/packages/nextjs/src/utils/logger.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {createLogger} from '@thunderid/node'; diff --git a/packages/nextjs/src/utils/sessionUtils.ts b/packages/nextjs/src/utils/sessionUtils.ts index 2aa57217..b23ac97b 100644 --- a/packages/nextjs/src/utils/sessionUtils.ts +++ b/packages/nextjs/src/utils/sessionUtils.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {NextRequest} from 'next/server'; import SessionManager, {SessionTokenPayload} from './SessionManager'; diff --git a/packages/nextjs/vitest.config.ts b/packages/nextjs/vitest.config.ts index 29a917d1..80c51a77 100644 --- a/packages/nextjs/vitest.config.ts +++ b/packages/nextjs/vitest.config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineConfig} from 'vitest/config'; diff --git a/packages/node/eslint.config.js b/packages/node/eslint.config.js index 7de9261a..1f3ad167 100644 --- a/packages/node/eslint.config.js +++ b/packages/node/eslint.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import thunderIdPlugin from '@thunderid/eslint-plugin'; diff --git a/packages/node/package.json b/packages/node/package.json index 6812c724..4722afc2 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -12,7 +12,7 @@ "bugs": { "url": "https://github.com/thunder-id/thunderid/issues" }, - "author": "WSO2", + "author": "The ThunderID Authors", "license": "Apache-2.0", "type": "module", "main": "dist/cjs/index.cjs", diff --git a/packages/node/prettier.config.js b/packages/node/prettier.config.js index 7e978e97..f054cd50 100644 --- a/packages/node/prettier.config.js +++ b/packages/node/prettier.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import config from '@thunderid/prettier-config'; diff --git a/packages/node/rolldown.config.js b/packages/node/rolldown.config.js index 6be7ecb5..5add6b92 100644 --- a/packages/node/rolldown.config.js +++ b/packages/node/rolldown.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {readFileSync} from 'fs'; import {join} from 'path'; diff --git a/packages/node/src/ThunderIDNodeClient.ts b/packages/node/src/ThunderIDNodeClient.ts index fcfdb65d..729c52d3 100644 --- a/packages/node/src/ThunderIDNodeClient.ts +++ b/packages/node/src/ThunderIDNodeClient.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDJavaScriptClient, diff --git a/packages/node/src/constants/CookieConfig.ts b/packages/node/src/constants/CookieConfig.ts index e40faeef..8f4abf83 100644 --- a/packages/node/src/constants/CookieConfig.ts +++ b/packages/node/src/constants/CookieConfig.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {getVendorPrefix} from '@thunderid/javascript'; diff --git a/packages/node/src/index.ts b/packages/node/src/index.ts index e6ef46ba..c0913acb 100644 --- a/packages/node/src/index.ts +++ b/packages/node/src/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // Add Ponyfills for Fetch API import fetch, {Headers, Request, Response} from 'cross-fetch'; diff --git a/packages/node/src/models/AuthURLCallback.ts b/packages/node/src/models/AuthURLCallback.ts index 30f9e3e7..5bb66481 100644 --- a/packages/node/src/models/AuthURLCallback.ts +++ b/packages/node/src/models/AuthURLCallback.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Callback invoked with the authorization URL when no authorization code is present. diff --git a/packages/node/src/models/config.ts b/packages/node/src/models/config.ts index e9677282..6bfc2615 100644 --- a/packages/node/src/models/config.ts +++ b/packages/node/src/models/config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Config} from '@thunderid/javascript'; diff --git a/packages/node/src/stores/MemoryCacheStore.ts b/packages/node/src/stores/MemoryCacheStore.ts index 7d36fc8e..e5265dee 100644 --- a/packages/node/src/stores/MemoryCacheStore.ts +++ b/packages/node/src/stores/MemoryCacheStore.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Storage} from '@thunderid/javascript'; import cache from 'memory-cache'; diff --git a/packages/node/src/utils/NodeCryptoUtils.ts b/packages/node/src/utils/NodeCryptoUtils.ts index 6f14ef8b..fb440647 100644 --- a/packages/node/src/utils/NodeCryptoUtils.ts +++ b/packages/node/src/utils/NodeCryptoUtils.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Crypto, JWKInterface} from '@thunderid/javascript'; import base64url from 'base64url'; diff --git a/packages/node/src/utils/SessionUtils.ts b/packages/node/src/utils/SessionUtils.ts index da5474e3..72f3804d 100644 --- a/packages/node/src/utils/SessionUtils.ts +++ b/packages/node/src/utils/SessionUtils.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {SessionData} from '@thunderid/javascript'; import {validate as uuidValidate, version as uuidVersion, v4 as uuidv4} from 'uuid'; diff --git a/packages/node/src/utils/generateSessionId.ts b/packages/node/src/utils/generateSessionId.ts index 044a206f..85d774c2 100644 --- a/packages/node/src/utils/generateSessionId.ts +++ b/packages/node/src/utils/generateSessionId.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 const generateSessionId = (): string => new Date().getTime().toString(36) + Math.random().toString(36).substring(2); diff --git a/packages/node/src/utils/getSessionCookieOptions.ts b/packages/node/src/utils/getSessionCookieOptions.ts index 8a87b6a5..c58dbca9 100644 --- a/packages/node/src/utils/getSessionCookieOptions.ts +++ b/packages/node/src/utils/getSessionCookieOptions.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import CookieConfig from '../constants/CookieConfig'; import {SessionCookieConfig} from '../models/config'; diff --git a/packages/node/vitest.config.ts b/packages/node/vitest.config.ts index 87215b02..99891b99 100644 --- a/packages/node/vitest.config.ts +++ b/packages/node/vitest.config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineConfig} from 'vitest/config'; diff --git a/packages/nuxt/eslint.config.js b/packages/nuxt/eslint.config.js index 7de9261a..1f3ad167 100644 --- a/packages/nuxt/eslint.config.js +++ b/packages/nuxt/eslint.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import thunderIdPlugin from '@thunderid/eslint-plugin'; diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index ebecac65..e55d007a 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -12,7 +12,7 @@ "bugs": { "url": "https://github.com/thunder-id/thunderid/issues" }, - "author": "WSO2", + "author": "The ThunderID Authors", "license": "Apache-2.0", "type": "module", "main": "./dist/module.mjs", diff --git a/packages/nuxt/prettier.config.js b/packages/nuxt/prettier.config.js index 7e978e97..f054cd50 100644 --- a/packages/nuxt/prettier.config.js +++ b/packages/nuxt/prettier.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import config from '@thunderid/prettier-config'; diff --git a/packages/nuxt/src/index.ts b/packages/nuxt/src/index.ts index d0676734..b2dbba7a 100644 --- a/packages/nuxt/src/index.ts +++ b/packages/nuxt/src/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './module'; diff --git a/packages/nuxt/src/module.ts b/packages/nuxt/src/module.ts index a5abf489..69512dbb 100644 --- a/packages/nuxt/src/module.ts +++ b/packages/nuxt/src/module.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { addComponent, diff --git a/packages/nuxt/src/runtime/components/ThunderIDRoot.ts b/packages/nuxt/src/runtime/components/ThunderIDRoot.ts index 4c81f7f3..11ad3bca 100644 --- a/packages/nuxt/src/runtime/components/ThunderIDRoot.ts +++ b/packages/nuxt/src/runtime/components/ThunderIDRoot.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {generateFlattenedUserProfile} from '@thunderid/browser'; import type {UpdateMeProfileConfig, User, UserProfile} from '@thunderid/node'; diff --git a/packages/nuxt/src/runtime/components/actions/SignInButton.ts b/packages/nuxt/src/runtime/components/actions/SignInButton.ts index ff329031..8f49107c 100644 --- a/packages/nuxt/src/runtime/components/actions/SignInButton.ts +++ b/packages/nuxt/src/runtime/components/actions/SignInButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {navigateTo} from '#app'; import {ThunderIDRuntimeError} from '@thunderid/browser'; diff --git a/packages/nuxt/src/runtime/components/actions/SignOutButton.ts b/packages/nuxt/src/runtime/components/actions/SignOutButton.ts index d5869085..2f61bb6d 100644 --- a/packages/nuxt/src/runtime/components/actions/SignOutButton.ts +++ b/packages/nuxt/src/runtime/components/actions/SignOutButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDRuntimeError} from '@thunderid/browser'; import {BaseSignOutButton} from '@thunderid/vue'; diff --git a/packages/nuxt/src/runtime/components/actions/SignUpButton.ts b/packages/nuxt/src/runtime/components/actions/SignUpButton.ts index f05abcf4..d6e2c1de 100644 --- a/packages/nuxt/src/runtime/components/actions/SignUpButton.ts +++ b/packages/nuxt/src/runtime/components/actions/SignUpButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {navigateTo} from '#app'; import {ThunderIDRuntimeError} from '@thunderid/browser'; diff --git a/packages/nuxt/src/runtime/components/auth/Callback.ts b/packages/nuxt/src/runtime/components/auth/Callback.ts index 119aeca4..0fab2271 100644 --- a/packages/nuxt/src/runtime/components/auth/Callback.ts +++ b/packages/nuxt/src/runtime/components/auth/Callback.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {navigateTo} from '#app'; import {type Component, defineComponent, onMounted} from 'vue'; diff --git a/packages/nuxt/src/runtime/components/auth/SignIn.ts b/packages/nuxt/src/runtime/components/auth/SignIn.ts index 6ccf5add..71e82420 100644 --- a/packages/nuxt/src/runtime/components/auth/SignIn.ts +++ b/packages/nuxt/src/runtime/components/auth/SignIn.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {navigateTo} from '#app'; import {BaseSignIn} from '@thunderid/vue'; diff --git a/packages/nuxt/src/runtime/components/auth/SignUp.ts b/packages/nuxt/src/runtime/components/auth/SignUp.ts index 6ee8e783..a7c5c5a3 100644 --- a/packages/nuxt/src/runtime/components/auth/SignUp.ts +++ b/packages/nuxt/src/runtime/components/auth/SignUp.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {navigateTo} from '#app'; import {EmbeddedFlowResponseType, EmbeddedFlowType} from '@thunderid/browser'; diff --git a/packages/nuxt/src/runtime/components/control/Loading.ts b/packages/nuxt/src/runtime/components/control/Loading.ts index 8dfa56d7..1ce61f08 100644 --- a/packages/nuxt/src/runtime/components/control/Loading.ts +++ b/packages/nuxt/src/runtime/components/control/Loading.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {type Component, type VNode, Fragment, defineComponent, h} from 'vue'; import {useThunderID} from '#imports'; diff --git a/packages/nuxt/src/runtime/components/control/SignedIn.ts b/packages/nuxt/src/runtime/components/control/SignedIn.ts index 3c6043d7..e60aebb5 100644 --- a/packages/nuxt/src/runtime/components/control/SignedIn.ts +++ b/packages/nuxt/src/runtime/components/control/SignedIn.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {type Component, type VNode, Fragment, defineComponent, h} from 'vue'; import {useThunderID} from '#imports'; diff --git a/packages/nuxt/src/runtime/components/control/SignedOut.ts b/packages/nuxt/src/runtime/components/control/SignedOut.ts index 34ac7ae9..9b08a8cb 100644 --- a/packages/nuxt/src/runtime/components/control/SignedOut.ts +++ b/packages/nuxt/src/runtime/components/control/SignedOut.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {type Component, type VNode, Fragment, defineComponent, h} from 'vue'; import {useThunderID} from '#imports'; diff --git a/packages/nuxt/src/runtime/components/user/User.ts b/packages/nuxt/src/runtime/components/user/User.ts index 3872527d..9ed9cf7f 100644 --- a/packages/nuxt/src/runtime/components/user/User.ts +++ b/packages/nuxt/src/runtime/components/user/User.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {type Component, type VNode, Fragment, defineComponent, h} from 'vue'; import {useThunderID} from '#imports'; diff --git a/packages/nuxt/src/runtime/components/user/UserDropdown.ts b/packages/nuxt/src/runtime/components/user/UserDropdown.ts index 8f7bcd46..06d71f54 100644 --- a/packages/nuxt/src/runtime/components/user/UserDropdown.ts +++ b/packages/nuxt/src/runtime/components/user/UserDropdown.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {BaseUserDropdown, UserProfile as UserProfileComponent} from '@thunderid/vue'; diff --git a/packages/nuxt/src/runtime/components/user/UserProfile.ts b/packages/nuxt/src/runtime/components/user/UserProfile.ts index 2455ac3c..79d84d85 100644 --- a/packages/nuxt/src/runtime/components/user/UserProfile.ts +++ b/packages/nuxt/src/runtime/components/user/UserProfile.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {BaseUserProfile} from '@thunderid/vue'; diff --git a/packages/nuxt/src/runtime/composables/useThunderID.ts b/packages/nuxt/src/runtime/composables/useThunderID.ts index 40d4bec8..0d2f3b56 100644 --- a/packages/nuxt/src/runtime/composables/useThunderID.ts +++ b/packages/nuxt/src/runtime/composables/useThunderID.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {navigateTo, useState, useRuntimeConfig} from '#app'; import {EmbeddedSignInFlowStatus, EmbeddedSignUpFlowStatus, getRedirectBasedSignUpUrl} from '@thunderid/browser'; diff --git a/packages/nuxt/src/runtime/errors/error-codes.ts b/packages/nuxt/src/runtime/errors/error-codes.ts index c3d09af3..cbad8854 100644 --- a/packages/nuxt/src/runtime/errors/error-codes.ts +++ b/packages/nuxt/src/runtime/errors/error-codes.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Typed error codes for the ThunderID Nuxt SDK. diff --git a/packages/nuxt/src/runtime/errors/index.ts b/packages/nuxt/src/runtime/errors/index.ts index b297ce8b..35b94c1e 100644 --- a/packages/nuxt/src/runtime/errors/index.ts +++ b/packages/nuxt/src/runtime/errors/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {ThunderIDError} from './thunderid-error'; export {ErrorCode} from './error-codes'; diff --git a/packages/nuxt/src/runtime/errors/thunderid-error.ts b/packages/nuxt/src/runtime/errors/thunderid-error.ts index a6cf8a2f..7cb37975 100644 --- a/packages/nuxt/src/runtime/errors/thunderid-error.ts +++ b/packages/nuxt/src/runtime/errors/thunderid-error.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ErrorCode} from './error-codes'; diff --git a/packages/nuxt/src/runtime/middleware/auth.ts b/packages/nuxt/src/runtime/middleware/auth.ts index 70c741a2..7bdc954d 100644 --- a/packages/nuxt/src/runtime/middleware/auth.ts +++ b/packages/nuxt/src/runtime/middleware/auth.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineThunderIDMiddleware} from './defineThunderIDMiddleware'; diff --git a/packages/nuxt/src/runtime/middleware/defineThunderIDMiddleware.ts b/packages/nuxt/src/runtime/middleware/defineThunderIDMiddleware.ts index 2d3056c6..8e1b867b 100644 --- a/packages/nuxt/src/runtime/middleware/defineThunderIDMiddleware.ts +++ b/packages/nuxt/src/runtime/middleware/defineThunderIDMiddleware.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineNuxtRouteMiddleware, navigateTo, useRuntimeConfig, useState} from '#app'; import type {Ref} from 'vue'; diff --git a/packages/nuxt/src/runtime/plugins/thunderid.ts b/packages/nuxt/src/runtime/plugins/thunderid.ts index 62b0fd97..8a7c31c2 100644 --- a/packages/nuxt/src/runtime/plugins/thunderid.ts +++ b/packages/nuxt/src/runtime/plugins/thunderid.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {getRedirectBasedSignUpUrl} from '@thunderid/browser'; import {VendorConstants} from '@thunderid/node'; diff --git a/packages/nuxt/src/runtime/server/ThunderIDNuxtClient.ts b/packages/nuxt/src/runtime/server/ThunderIDNuxtClient.ts index 2649c217..57c4ff68 100644 --- a/packages/nuxt/src/runtime/server/ThunderIDNuxtClient.ts +++ b/packages/nuxt/src/runtime/server/ThunderIDNuxtClient.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDNodeClient, diff --git a/packages/nuxt/src/runtime/server/index.ts b/packages/nuxt/src/runtime/server/index.ts index 0fed6c31..ac705387 100644 --- a/packages/nuxt/src/runtime/server/index.ts +++ b/packages/nuxt/src/runtime/server/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * @thunderid/nuxt/server diff --git a/packages/nuxt/src/runtime/server/plugins/thunderid-ssr.ts b/packages/nuxt/src/runtime/server/plugins/thunderid-ssr.ts index 5632c54d..20651378 100644 --- a/packages/nuxt/src/runtime/server/plugins/thunderid-ssr.ts +++ b/packages/nuxt/src/runtime/server/plugins/thunderid-ssr.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {VendorConstants} from '@thunderid/node'; import {getRequestURL, type H3Event} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/routes/auth/session/callback.get.ts b/packages/nuxt/src/runtime/server/routes/auth/session/callback.get.ts index 52d64fc1..e2141b9e 100644 --- a/packages/nuxt/src/runtime/server/routes/auth/session/callback.get.ts +++ b/packages/nuxt/src/runtime/server/routes/auth/session/callback.get.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type {TokenResponse} from '@thunderid/node'; import {defineEventHandler, getQuery, getCookie, deleteCookie, sendRedirect, createError} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/routes/auth/session/callback.post.ts b/packages/nuxt/src/runtime/server/routes/auth/session/callback.post.ts index b58e7d07..e8664124 100644 --- a/packages/nuxt/src/runtime/server/routes/auth/session/callback.post.ts +++ b/packages/nuxt/src/runtime/server/routes/auth/session/callback.post.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type {TokenResponse} from '@thunderid/node'; import {defineEventHandler, readBody, getCookie, deleteCookie, createError} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/routes/auth/session/session.get.ts b/packages/nuxt/src/runtime/server/routes/auth/session/session.get.ts index 5ab6ddf9..c658f728 100644 --- a/packages/nuxt/src/runtime/server/routes/auth/session/session.get.ts +++ b/packages/nuxt/src/runtime/server/routes/auth/session/session.get.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineEventHandler} from 'h3'; import type {H3Event} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/routes/auth/session/signin.get.ts b/packages/nuxt/src/runtime/server/routes/auth/session/signin.get.ts index e7243755..49ba3492 100644 --- a/packages/nuxt/src/runtime/server/routes/auth/session/signin.get.ts +++ b/packages/nuxt/src/runtime/server/routes/auth/session/signin.get.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {generateSessionId} from '@thunderid/node'; import {defineEventHandler, getQuery, sendRedirect, setCookie, createError} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/routes/auth/session/signin.post.ts b/packages/nuxt/src/runtime/server/routes/auth/session/signin.post.ts index 54622e1f..1e0dfa55 100644 --- a/packages/nuxt/src/runtime/server/routes/auth/session/signin.post.ts +++ b/packages/nuxt/src/runtime/server/routes/auth/session/signin.post.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedSignInFlowStatus, generateSessionId, isEmpty} from '@thunderid/node'; import type {TokenResponse} from '@thunderid/node'; diff --git a/packages/nuxt/src/runtime/server/routes/auth/session/signout.post.ts b/packages/nuxt/src/runtime/server/routes/auth/session/signout.post.ts index de1bbcde..bc17c831 100644 --- a/packages/nuxt/src/runtime/server/routes/auth/session/signout.post.ts +++ b/packages/nuxt/src/runtime/server/routes/auth/session/signout.post.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineEventHandler, deleteCookie} from 'h3'; import type {H3Event} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/routes/auth/session/signup.post.ts b/packages/nuxt/src/runtime/server/routes/auth/session/signup.post.ts index 1d094f92..56d09460 100644 --- a/packages/nuxt/src/runtime/server/routes/auth/session/signup.post.ts +++ b/packages/nuxt/src/runtime/server/routes/auth/session/signup.post.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedSignUpFlowStatus} from '@thunderid/node'; import {defineEventHandler, readBody, createError} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/routes/auth/session/token.get.ts b/packages/nuxt/src/runtime/server/routes/auth/session/token.get.ts index de94950d..c16825c9 100644 --- a/packages/nuxt/src/runtime/server/routes/auth/session/token.get.ts +++ b/packages/nuxt/src/runtime/server/routes/auth/session/token.get.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineEventHandler} from 'h3'; import type {H3Event} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/routes/auth/user/profile.get.ts b/packages/nuxt/src/runtime/server/routes/auth/user/profile.get.ts index 9abd6824..2b61f2bd 100644 --- a/packages/nuxt/src/runtime/server/routes/auth/user/profile.get.ts +++ b/packages/nuxt/src/runtime/server/routes/auth/user/profile.get.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type {UserProfile} from '@thunderid/node'; import {defineEventHandler, createError} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/routes/auth/user/profile.patch.ts b/packages/nuxt/src/runtime/server/routes/auth/user/profile.patch.ts index 943666dd..3b65d4a4 100644 --- a/packages/nuxt/src/runtime/server/routes/auth/user/profile.patch.ts +++ b/packages/nuxt/src/runtime/server/routes/auth/user/profile.patch.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type {UpdateMeProfileConfig, User} from '@thunderid/node'; import {defineEventHandler, readBody, createError} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/routes/auth/user/user.get.ts b/packages/nuxt/src/runtime/server/routes/auth/user/user.get.ts index b5eb666c..e502ec6d 100644 --- a/packages/nuxt/src/runtime/server/routes/auth/user/user.get.ts +++ b/packages/nuxt/src/runtime/server/routes/auth/user/user.get.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineEventHandler, createError} from 'h3'; import type {H3Event} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/utils/event-context.ts b/packages/nuxt/src/runtime/server/utils/event-context.ts index 3aef3355..2988b46c 100644 --- a/packages/nuxt/src/runtime/server/utils/event-context.ts +++ b/packages/nuxt/src/runtime/server/utils/event-context.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {VendorConstants} from '@thunderid/node'; import type {H3Event} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/utils/serverSession.ts b/packages/nuxt/src/runtime/server/utils/serverSession.ts index 0df0d95e..fa02e227 100644 --- a/packages/nuxt/src/runtime/server/utils/serverSession.ts +++ b/packages/nuxt/src/runtime/server/utils/serverSession.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type {H3Event} from 'h3'; import {getCookie, createError} from 'h3'; diff --git a/packages/nuxt/src/runtime/server/utils/session.ts b/packages/nuxt/src/runtime/server/utils/session.ts index 7f6f9782..7ec89a8b 100644 --- a/packages/nuxt/src/runtime/server/utils/session.ts +++ b/packages/nuxt/src/runtime/server/utils/session.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {CookieConfig} from '@thunderid/node'; import type {IdToken, TokenResponse} from '@thunderid/node'; diff --git a/packages/nuxt/src/runtime/server/utils/token-refresh.ts b/packages/nuxt/src/runtime/server/utils/token-refresh.ts index a5eff7a7..0f2807ab 100644 --- a/packages/nuxt/src/runtime/server/utils/token-refresh.ts +++ b/packages/nuxt/src/runtime/server/utils/token-refresh.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {createError, setCookie, type H3Event} from 'h3'; import {requireServerSession} from './serverSession'; diff --git a/packages/nuxt/src/runtime/types.ts b/packages/nuxt/src/runtime/types.ts index 6345ba22..34a91ff2 100644 --- a/packages/nuxt/src/runtime/types.ts +++ b/packages/nuxt/src/runtime/types.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type {I18nPreferences, TokenEndpointAuthMethod, User, UserProfile} from '@thunderid/node'; import type {JWTPayload} from 'jose'; diff --git a/packages/nuxt/src/runtime/utils/createRouteMatcher.ts b/packages/nuxt/src/runtime/utils/createRouteMatcher.ts index bd9464f7..82ad0718 100644 --- a/packages/nuxt/src/runtime/utils/createRouteMatcher.ts +++ b/packages/nuxt/src/runtime/utils/createRouteMatcher.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Create a route matcher function from an array of glob-like patterns. diff --git a/packages/nuxt/src/runtime/utils/index.ts b/packages/nuxt/src/runtime/utils/index.ts index 25cdef4b..b4488784 100644 --- a/packages/nuxt/src/runtime/utils/index.ts +++ b/packages/nuxt/src/runtime/utils/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * @thunderid/nuxt/utils diff --git a/packages/nuxt/src/runtime/utils/log.ts b/packages/nuxt/src/runtime/utils/log.ts index 7980248c..eaa518ae 100644 --- a/packages/nuxt/src/runtime/utils/log.ts +++ b/packages/nuxt/src/runtime/utils/log.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable no-console */ diff --git a/packages/nuxt/src/runtime/utils/stateKeys.ts b/packages/nuxt/src/runtime/utils/stateKeys.ts index bda30a28..e5e14047 100644 --- a/packages/nuxt/src/runtime/utils/stateKeys.ts +++ b/packages/nuxt/src/runtime/utils/stateKeys.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {VendorConstants} from '@thunderid/node'; diff --git a/packages/nuxt/src/runtime/utils/url-validation.ts b/packages/nuxt/src/runtime/utils/url-validation.ts index ef66fb0c..f403ba82 100644 --- a/packages/nuxt/src/runtime/utils/url-validation.ts +++ b/packages/nuxt/src/runtime/utils/url-validation.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ErrorCode} from '../errors/error-codes'; import {ThunderIDError} from '../errors/thunderid-error'; diff --git a/packages/nuxt/tests/__mocks__/nuxt-app.ts b/packages/nuxt/tests/__mocks__/nuxt-app.ts index af891f4c..d1d17b02 100644 --- a/packages/nuxt/tests/__mocks__/nuxt-app.ts +++ b/packages/nuxt/tests/__mocks__/nuxt-app.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ref} from 'vue'; diff --git a/packages/nuxt/tests/unit/callback-post.test.ts b/packages/nuxt/tests/unit/callback-post.test.ts index fcedf05b..f2bf3f11 100644 --- a/packages/nuxt/tests/unit/callback-post.test.ts +++ b/packages/nuxt/tests/unit/callback-post.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/typedef, sort-keys, @typescript-eslint/explicit-function-return-type */ diff --git a/packages/nuxt/tests/unit/define-thunderid-middleware.test.ts b/packages/nuxt/tests/unit/define-thunderid-middleware.test.ts index b3a4ef88..acf9fc50 100644 --- a/packages/nuxt/tests/unit/define-thunderid-middleware.test.ts +++ b/packages/nuxt/tests/unit/define-thunderid-middleware.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/typedef, sort-keys, @typescript-eslint/explicit-function-return-type, @typescript-eslint/no-unused-vars, @typescript-eslint/naming-convention */ diff --git a/packages/nuxt/tests/unit/error-codes.test.ts b/packages/nuxt/tests/unit/error-codes.test.ts index d460f4e3..30c5000e 100644 --- a/packages/nuxt/tests/unit/error-codes.test.ts +++ b/packages/nuxt/tests/unit/error-codes.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/typedef, sort-keys, no-restricted-syntax */ diff --git a/packages/nuxt/tests/unit/route-matcher.test.ts b/packages/nuxt/tests/unit/route-matcher.test.ts index bd7ca660..d7e4ce5b 100644 --- a/packages/nuxt/tests/unit/route-matcher.test.ts +++ b/packages/nuxt/tests/unit/route-matcher.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/typedef */ diff --git a/packages/nuxt/tests/unit/session-manager.test.ts b/packages/nuxt/tests/unit/session-manager.test.ts index b42fdf0c..e5c161d4 100644 --- a/packages/nuxt/tests/unit/session-manager.test.ts +++ b/packages/nuxt/tests/unit/session-manager.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/typedef, sort-keys */ diff --git a/packages/nuxt/tests/unit/signin-post.test.ts b/packages/nuxt/tests/unit/signin-post.test.ts index 359bf92b..9db075ed 100644 --- a/packages/nuxt/tests/unit/signin-post.test.ts +++ b/packages/nuxt/tests/unit/signin-post.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/typedef, sort-keys, @typescript-eslint/explicit-function-return-type */ diff --git a/packages/nuxt/tests/unit/signup-post.test.ts b/packages/nuxt/tests/unit/signup-post.test.ts index 3bd0d294..2c600d49 100644 --- a/packages/nuxt/tests/unit/signup-post.test.ts +++ b/packages/nuxt/tests/unit/signup-post.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/typedef, sort-keys, @typescript-eslint/explicit-function-return-type */ diff --git a/packages/nuxt/tests/unit/thunderid-root.test.ts b/packages/nuxt/tests/unit/thunderid-root.test.ts index c62d4cd8..80e2cca9 100644 --- a/packages/nuxt/tests/unit/thunderid-root.test.ts +++ b/packages/nuxt/tests/unit/thunderid-root.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/typedef, sort-keys, @typescript-eslint/no-unused-vars, no-restricted-syntax */ diff --git a/packages/nuxt/tests/unit/thunderid-ssr.test.ts b/packages/nuxt/tests/unit/thunderid-ssr.test.ts index 792368bf..f907fa1c 100644 --- a/packages/nuxt/tests/unit/thunderid-ssr.test.ts +++ b/packages/nuxt/tests/unit/thunderid-ssr.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/typedef, sort-keys, @typescript-eslint/explicit-function-return-type */ diff --git a/packages/nuxt/tests/unit/token-refresh.test.ts b/packages/nuxt/tests/unit/token-refresh.test.ts index 6d5d09cd..9de93dd7 100644 --- a/packages/nuxt/tests/unit/token-refresh.test.ts +++ b/packages/nuxt/tests/unit/token-refresh.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/typedef, sort-keys, @typescript-eslint/explicit-function-return-type */ diff --git a/packages/nuxt/tests/unit/url-validation.test.ts b/packages/nuxt/tests/unit/url-validation.test.ts index 28fbc4b9..6c1acada 100644 --- a/packages/nuxt/tests/unit/url-validation.test.ts +++ b/packages/nuxt/tests/unit/url-validation.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; import {ThunderIDError} from '../../src/runtime/errors/thunderid-error'; diff --git a/packages/nuxt/vitest.config.ts b/packages/nuxt/vitest.config.ts index 39ce92ba..eb62dc13 100644 --- a/packages/nuxt/vitest.config.ts +++ b/packages/nuxt/vitest.config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineConfig} from 'vitest/config'; diff --git a/packages/react-router/eslint.config.js b/packages/react-router/eslint.config.js index 523879f2..f5fd8bcd 100644 --- a/packages/react-router/eslint.config.js +++ b/packages/react-router/eslint.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import thunderIdPlugin from '@thunderid/eslint-plugin'; diff --git a/packages/react-router/package.json b/packages/react-router/package.json index fac8571e..5ae605ff 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -12,7 +12,7 @@ "bugs": { "url": "https://github.com/thunder-id/thunderid/issues" }, - "author": "WSO2", + "author": "The ThunderID Authors", "license": "Apache-2.0", "type": "module", "main": "dist/cjs/index.cjs", diff --git a/packages/react-router/prettier.config.js b/packages/react-router/prettier.config.js index 7e978e97..f054cd50 100644 --- a/packages/react-router/prettier.config.js +++ b/packages/react-router/prettier.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import config from '@thunderid/prettier-config'; diff --git a/packages/react-router/rolldown.config.js b/packages/react-router/rolldown.config.js index 1429a6c1..a2ec6b5d 100644 --- a/packages/react-router/rolldown.config.js +++ b/packages/react-router/rolldown.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {readFileSync} from 'fs'; import {rolldown} from 'rolldown'; diff --git a/packages/react-router/src/__tests__/index.test.ts b/packages/react-router/src/__tests__/index.test.ts index 9e36c748..852e6d02 100644 --- a/packages/react-router/src/__tests__/index.test.ts +++ b/packages/react-router/src/__tests__/index.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; diff --git a/packages/react-router/src/components/CallbackRoute.tsx b/packages/react-router/src/components/CallbackRoute.tsx index 5dc5ae2d..a038cf78 100644 --- a/packages/react-router/src/components/CallbackRoute.tsx +++ b/packages/react-router/src/components/CallbackRoute.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Callback} from '@thunderid/react'; import {FC} from 'react'; diff --git a/packages/react-router/src/components/ProtectedRoute.tsx b/packages/react-router/src/components/ProtectedRoute.tsx index 752770fc..44e376c9 100644 --- a/packages/react-router/src/components/ProtectedRoute.tsx +++ b/packages/react-router/src/components/ProtectedRoute.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {createPackageComponentLogger} from '@thunderid/browser'; import {ThunderIDRuntimeError, navigate, useThunderID} from '@thunderid/react'; diff --git a/packages/react-router/src/components/__tests__/ProtectedRoute.test.tsx b/packages/react-router/src/components/__tests__/ProtectedRoute.test.tsx index bda07a32..f71ca70a 100644 --- a/packages/react-router/src/components/__tests__/ProtectedRoute.test.tsx +++ b/packages/react-router/src/components/__tests__/ProtectedRoute.test.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cleanup, render, screen, waitFor} from '@testing-library/react'; import {ReactElement} from 'react'; diff --git a/packages/react-router/src/index.ts b/packages/react-router/src/index.ts index a1fc2e7a..9a9805cb 100644 --- a/packages/react-router/src/index.ts +++ b/packages/react-router/src/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default as ProtectedRoute} from './components/ProtectedRoute'; export * from './components/ProtectedRoute'; diff --git a/packages/react-router/vitest.config.ts b/packages/react-router/vitest.config.ts index a55b9541..83a9cb90 100644 --- a/packages/react-router/vitest.config.ts +++ b/packages/react-router/vitest.config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {playwright} from '@vitest/browser-playwright'; import {defineConfig} from 'vitest/config'; diff --git a/packages/react/eslint.config.js b/packages/react/eslint.config.js index 523879f2..f5fd8bcd 100644 --- a/packages/react/eslint.config.js +++ b/packages/react/eslint.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import thunderIdPlugin from '@thunderid/eslint-plugin'; diff --git a/packages/react/package.json b/packages/react/package.json index a600722a..0aca24b0 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -11,7 +11,7 @@ "bugs": { "url": "https://github.com/thunder-id/thunderid/issues" }, - "author": "WSO2", + "author": "The ThunderID Authors", "license": "Apache-2.0", "type": "module", "sideEffects": false, diff --git a/packages/react/prettier.config.js b/packages/react/prettier.config.js index 7e978e97..f054cd50 100644 --- a/packages/react/prettier.config.js +++ b/packages/react/prettier.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import config from '@thunderid/prettier-config'; diff --git a/packages/react/rolldown.config.js b/packages/react/rolldown.config.js index e9ce9891..c14079d9 100644 --- a/packages/react/rolldown.config.js +++ b/packages/react/rolldown.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {readFileSync} from 'fs'; import {rolldown} from 'rolldown'; diff --git a/packages/react/src/ThunderIDReactClient.ts b/packages/react/src/ThunderIDReactClient.ts index bb005c17..fe36d406 100644 --- a/packages/react/src/ThunderIDReactClient.ts +++ b/packages/react/src/ThunderIDReactClient.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDBrowserClient, diff --git a/packages/react/src/api/getUsersMe.ts b/packages/react/src/api/getUsersMe.ts index a15caa26..53d7667b 100644 --- a/packages/react/src/api/getUsersMe.ts +++ b/packages/react/src/api/getUsersMe.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { User, diff --git a/packages/react/src/api/updateMeProfile.ts b/packages/react/src/api/updateMeProfile.ts index d6b06018..e76bb1a5 100644 --- a/packages/react/src/api/updateMeProfile.ts +++ b/packages/react/src/api/updateMeProfile.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { User, diff --git a/packages/react/src/components/actions/SignInButton/BaseSignInButton.tsx b/packages/react/src/components/actions/SignInButton/BaseSignInButton.tsx index b968f074..1eaef2ce 100644 --- a/packages/react/src/components/actions/SignInButton/BaseSignInButton.tsx +++ b/packages/react/src/components/actions/SignInButton/BaseSignInButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {FlowMetadataResponse, WithPreferences, withVendorCSSClassPrefix} from '@thunderid/browser'; diff --git a/packages/react/src/components/actions/SignInButton/SignInButton.tsx b/packages/react/src/components/actions/SignInButton/SignInButton.tsx index e80b0113..5920a53a 100644 --- a/packages/react/src/components/actions/SignInButton/SignInButton.tsx +++ b/packages/react/src/components/actions/SignInButton/SignInButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDRuntimeError, navigate} from '@thunderid/browser'; import {forwardRef, ForwardRefExoticComponent, MouseEvent, ReactElement, Ref, RefAttributes, useState} from 'react'; diff --git a/packages/react/src/components/actions/SignOutButton/BaseSignOutButton.tsx b/packages/react/src/components/actions/SignOutButton/BaseSignOutButton.tsx index 98c48c5c..fedef3c6 100644 --- a/packages/react/src/components/actions/SignOutButton/BaseSignOutButton.tsx +++ b/packages/react/src/components/actions/SignOutButton/BaseSignOutButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {FlowMetadataResponse, WithPreferences, withVendorCSSClassPrefix} from '@thunderid/browser'; diff --git a/packages/react/src/components/actions/SignOutButton/SignOutButton.tsx b/packages/react/src/components/actions/SignOutButton/SignOutButton.tsx index 4f0ecc89..ef578e7d 100644 --- a/packages/react/src/components/actions/SignOutButton/SignOutButton.tsx +++ b/packages/react/src/components/actions/SignOutButton/SignOutButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDRuntimeError} from '@thunderid/browser'; import {forwardRef, ForwardRefExoticComponent, MouseEvent, ReactElement, Ref, RefAttributes, useState} from 'react'; diff --git a/packages/react/src/components/actions/SignUpButton/BaseSignUpButton.tsx b/packages/react/src/components/actions/SignUpButton/BaseSignUpButton.tsx index 5ae72029..0f39b48e 100644 --- a/packages/react/src/components/actions/SignUpButton/BaseSignUpButton.tsx +++ b/packages/react/src/components/actions/SignUpButton/BaseSignUpButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {FlowMetadataResponse, WithPreferences, withVendorCSSClassPrefix} from '@thunderid/browser'; diff --git a/packages/react/src/components/actions/SignUpButton/SignUpButton.tsx b/packages/react/src/components/actions/SignUpButton/SignUpButton.tsx index 3e000bab..667373eb 100644 --- a/packages/react/src/components/actions/SignUpButton/SignUpButton.tsx +++ b/packages/react/src/components/actions/SignUpButton/SignUpButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDRuntimeError, navigate} from '@thunderid/browser'; import {forwardRef, ForwardRefExoticComponent, MouseEvent, ReactElement, Ref, RefAttributes, useState} from 'react'; diff --git a/packages/react/src/components/adapters/Consent.tsx b/packages/react/src/components/adapters/Consent.tsx index c64640d3..dda5939b 100644 --- a/packages/react/src/components/adapters/Consent.tsx +++ b/packages/react/src/components/adapters/Consent.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { type ConsentPurposeData, diff --git a/packages/react/src/components/adapters/ConsentCheckboxList.styles.ts b/packages/react/src/components/adapters/ConsentCheckboxList.styles.ts index 0f13d585..5aa946f8 100644 --- a/packages/react/src/components/adapters/ConsentCheckboxList.styles.ts +++ b/packages/react/src/components/adapters/ConsentCheckboxList.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/adapters/ConsentCheckboxList.tsx b/packages/react/src/components/adapters/ConsentCheckboxList.tsx index 6d60c111..8d89282b 100644 --- a/packages/react/src/components/adapters/ConsentCheckboxList.tsx +++ b/packages/react/src/components/adapters/ConsentCheckboxList.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {type ConsentPurposeData, withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/adapters/FacebookButton.tsx b/packages/react/src/components/adapters/FacebookButton.tsx index 107bf903..4b596591 100644 --- a/packages/react/src/components/adapters/FacebookButton.tsx +++ b/packages/react/src/components/adapters/FacebookButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {WithPreferences} from '@thunderid/browser'; import {FC, HTMLAttributes} from 'react'; diff --git a/packages/react/src/components/adapters/FlowTimer.tsx b/packages/react/src/components/adapters/FlowTimer.tsx index c895fa88..2aa077c6 100644 --- a/packages/react/src/components/adapters/FlowTimer.tsx +++ b/packages/react/src/components/adapters/FlowTimer.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, ReactNode, useEffect, useState} from 'react'; import Typography from '../primitives/Typography/Typography'; diff --git a/packages/react/src/components/adapters/GitHubButton.tsx b/packages/react/src/components/adapters/GitHubButton.tsx index cdba72ad..bbc135ba 100644 --- a/packages/react/src/components/adapters/GitHubButton.tsx +++ b/packages/react/src/components/adapters/GitHubButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {WithPreferences} from '@thunderid/browser'; import {FC, HTMLAttributes} from 'react'; diff --git a/packages/react/src/components/adapters/GoogleButton.tsx b/packages/react/src/components/adapters/GoogleButton.tsx index aaf05815..dca8ae2a 100644 --- a/packages/react/src/components/adapters/GoogleButton.tsx +++ b/packages/react/src/components/adapters/GoogleButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {WithPreferences} from '@thunderid/browser'; import {FC, HTMLAttributes} from 'react'; diff --git a/packages/react/src/components/adapters/ImageComponent.tsx b/packages/react/src/components/adapters/ImageComponent.tsx index 5837de0d..accf33d6 100644 --- a/packages/react/src/components/adapters/ImageComponent.tsx +++ b/packages/react/src/components/adapters/ImageComponent.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {resolveLogoUri, ResolvedLogo} from '@thunderid/browser'; import {CSSProperties, FC, SyntheticEvent} from 'react'; diff --git a/packages/react/src/components/adapters/LinkedInButton.tsx b/packages/react/src/components/adapters/LinkedInButton.tsx index 3fe17ff5..371890ee 100644 --- a/packages/react/src/components/adapters/LinkedInButton.tsx +++ b/packages/react/src/components/adapters/LinkedInButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {WithPreferences} from '@thunderid/browser'; import {FC, HTMLAttributes} from 'react'; diff --git a/packages/react/src/components/adapters/MicrosoftButton.tsx b/packages/react/src/components/adapters/MicrosoftButton.tsx index d30562ef..e9503bc4 100644 --- a/packages/react/src/components/adapters/MicrosoftButton.tsx +++ b/packages/react/src/components/adapters/MicrosoftButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {WithPreferences} from '@thunderid/browser'; import {FC, HTMLAttributes} from 'react'; diff --git a/packages/react/src/components/adapters/SignInWithEthereumButton.tsx b/packages/react/src/components/adapters/SignInWithEthereumButton.tsx index ed294c62..6e1582b3 100644 --- a/packages/react/src/components/adapters/SignInWithEthereumButton.tsx +++ b/packages/react/src/components/adapters/SignInWithEthereumButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {WithPreferences} from '@thunderid/browser'; import {FC, HTMLAttributes} from 'react'; diff --git a/packages/react/src/components/adapters/SmsOtpButton.tsx b/packages/react/src/components/adapters/SmsOtpButton.tsx index da1dd50e..eed77506 100644 --- a/packages/react/src/components/adapters/SmsOtpButton.tsx +++ b/packages/react/src/components/adapters/SmsOtpButton.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {WithPreferences} from '@thunderid/browser'; import {FC, HTMLAttributes} from 'react'; diff --git a/packages/react/src/components/adapters/__tests__/ImageComponent.test.tsx b/packages/react/src/components/adapters/__tests__/ImageComponent.test.tsx index d073c644..751605cf 100644 --- a/packages/react/src/components/adapters/__tests__/ImageComponent.test.tsx +++ b/packages/react/src/components/adapters/__tests__/ImageComponent.test.tsx @@ -1,19 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {render, screen, cleanup} from '@testing-library/react'; import {createTheme, ANONYMOUS_ANIMAL_ICONS, EmbeddedFlowComponent} from '@thunderid/browser'; diff --git a/packages/react/src/components/auth/Callback/Callback.tsx b/packages/react/src/components/auth/Callback/Callback.tsx index b7b04606..e442f2ff 100644 --- a/packages/react/src/components/auth/Callback/Callback.tsx +++ b/packages/react/src/components/auth/Callback/Callback.tsx @@ -1,20 +1,5 @@ -/* - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, useState} from 'react'; import {OAuthCallback, OAuthCallbackProps} from './OAuthCallback'; diff --git a/packages/react/src/components/auth/Callback/OAuthCallback.tsx b/packages/react/src/components/auth/Callback/OAuthCallback.tsx index d4839741..c4347759 100644 --- a/packages/react/src/components/auth/Callback/OAuthCallback.tsx +++ b/packages/react/src/components/auth/Callback/OAuthCallback.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {navigate as browserNavigate, getVendorPrefix} from '@thunderid/browser'; import {FC, useContext, useEffect, useRef} from 'react'; diff --git a/packages/react/src/components/auth/Callback/TokenCallback.tsx b/packages/react/src/components/auth/Callback/TokenCallback.tsx index e42289b1..87919a13 100644 --- a/packages/react/src/components/auth/Callback/TokenCallback.tsx +++ b/packages/react/src/components/auth/Callback/TokenCallback.tsx @@ -1,19 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedSignInFlowStatus, EmbeddedSignInFlowType, navigate as browserNavigate} from '@thunderid/browser'; import {FC, useEffect, useRef} from 'react'; diff --git a/packages/react/src/components/auth/Callback/__tests__/Callback.test.tsx b/packages/react/src/components/auth/Callback/__tests__/Callback.test.tsx index d4ab7992..e6549641 100644 --- a/packages/react/src/components/auth/Callback/__tests__/Callback.test.tsx +++ b/packages/react/src/components/auth/Callback/__tests__/Callback.test.tsx @@ -1,19 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {render, screen, cleanup} from '@testing-library/react'; import {afterEach, beforeEach, describe, expect, it, vi} from 'vitest'; diff --git a/packages/react/src/components/auth/Callback/__tests__/OAuthCallback.test.tsx b/packages/react/src/components/auth/Callback/__tests__/OAuthCallback.test.tsx index 61ca4a76..fc1dba98 100644 --- a/packages/react/src/components/auth/Callback/__tests__/OAuthCallback.test.tsx +++ b/packages/react/src/components/auth/Callback/__tests__/OAuthCallback.test.tsx @@ -1,19 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {render, waitFor} from '@testing-library/react'; import {afterEach, beforeEach, describe, expect, it, vi} from 'vitest'; diff --git a/packages/react/src/components/auth/Callback/__tests__/TokenCallback.test.tsx b/packages/react/src/components/auth/Callback/__tests__/TokenCallback.test.tsx index 0a0117a3..173521e5 100644 --- a/packages/react/src/components/auth/Callback/__tests__/TokenCallback.test.tsx +++ b/packages/react/src/components/auth/Callback/__tests__/TokenCallback.test.tsx @@ -1,19 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {render, waitFor, cleanup} from '@testing-library/react'; import {afterEach, beforeEach, describe, expect, it, vi, Mock} from 'vitest'; diff --git a/packages/react/src/components/control/Loading.tsx b/packages/react/src/components/control/Loading.tsx index d0199586..2db648a3 100644 --- a/packages/react/src/components/control/Loading.tsx +++ b/packages/react/src/components/control/Loading.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, PropsWithChildren, ReactNode} from 'react'; import useThunderID from '../../contexts/ThunderID/useThunderID'; diff --git a/packages/react/src/components/control/SignedIn.tsx b/packages/react/src/components/control/SignedIn.tsx index 367669b8..2b575f4e 100644 --- a/packages/react/src/components/control/SignedIn.tsx +++ b/packages/react/src/components/control/SignedIn.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, PropsWithChildren, ReactNode} from 'react'; import useThunderID from '../../contexts/ThunderID/useThunderID'; diff --git a/packages/react/src/components/control/SignedOut.tsx b/packages/react/src/components/control/SignedOut.tsx index 6bdab5c7..06ddac2d 100644 --- a/packages/react/src/components/control/SignedOut.tsx +++ b/packages/react/src/components/control/SignedOut.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, PropsWithChildren, ReactNode} from 'react'; import useThunderID from '../../contexts/ThunderID/useThunderID'; diff --git a/packages/react/src/components/factories/FieldFactory.tsx b/packages/react/src/components/factories/FieldFactory.tsx index 382262b8..1209e0dd 100644 --- a/packages/react/src/components/factories/FieldFactory.tsx +++ b/packages/react/src/components/factories/FieldFactory.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FieldType} from '@thunderid/browser'; import {ChangeEvent, FC, ReactElement} from 'react'; diff --git a/packages/react/src/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.styles.ts b/packages/react/src/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.styles.ts index f857cfce..edc128fb 100644 --- a/packages/react/src/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.styles.ts +++ b/packages/react/src/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.tsx b/packages/react/src/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.tsx index a38f1966..159fe010 100644 --- a/packages/react/src/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.tsx +++ b/packages/react/src/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import { diff --git a/packages/react/src/components/presentation/LanguageSwitcher/LanguageSwitcher.tsx b/packages/react/src/components/presentation/LanguageSwitcher/LanguageSwitcher.tsx index 4ed0a842..4baeb306 100644 --- a/packages/react/src/components/presentation/LanguageSwitcher/LanguageSwitcher.tsx +++ b/packages/react/src/components/presentation/LanguageSwitcher/LanguageSwitcher.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {resolveLocaleDisplayName, resolveLocaleEmoji} from '@thunderid/browser'; import {FC, ReactElement, ReactNode, useEffect, useMemo} from 'react'; diff --git a/packages/react/src/components/presentation/User/BaseUser.tsx b/packages/react/src/components/presentation/User/BaseUser.tsx index 36ad7972..c91cd892 100644 --- a/packages/react/src/components/presentation/User/BaseUser.tsx +++ b/packages/react/src/components/presentation/User/BaseUser.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {User as IUser} from '@thunderid/browser'; import {FC, ReactElement, ReactNode} from 'react'; diff --git a/packages/react/src/components/presentation/User/User.tsx b/packages/react/src/components/presentation/User/User.tsx index 6c19b8a2..bed1178a 100644 --- a/packages/react/src/components/presentation/User/User.tsx +++ b/packages/react/src/components/presentation/User/User.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {User as IUser} from '@thunderid/browser'; import {FC, ReactElement, ReactNode} from 'react'; diff --git a/packages/react/src/components/presentation/UserAvatar/BaseUserAvatar.tsx b/packages/react/src/components/presentation/UserAvatar/BaseUserAvatar.tsx index 05ec6d3d..99dbae30 100644 --- a/packages/react/src/components/presentation/UserAvatar/BaseUserAvatar.tsx +++ b/packages/react/src/components/presentation/UserAvatar/BaseUserAvatar.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {pickAnonymousAvatarName, User} from '@thunderid/browser'; import {FC, JSX, useMemo} from 'react'; diff --git a/packages/react/src/components/presentation/UserAvatar/UserAvatar.tsx b/packages/react/src/components/presentation/UserAvatar/UserAvatar.tsx index c708ab04..5ebd1059 100644 --- a/packages/react/src/components/presentation/UserAvatar/UserAvatar.tsx +++ b/packages/react/src/components/presentation/UserAvatar/UserAvatar.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {User} from '@thunderid/browser'; import {FC, JSX} from 'react'; diff --git a/packages/react/src/components/presentation/UserDropdown/BaseUserDropdown.styles.ts b/packages/react/src/components/presentation/UserDropdown/BaseUserDropdown.styles.ts index 2bc55c9f..88c78fe2 100644 --- a/packages/react/src/components/presentation/UserDropdown/BaseUserDropdown.styles.ts +++ b/packages/react/src/components/presentation/UserDropdown/BaseUserDropdown.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/presentation/UserDropdown/BaseUserDropdown.tsx b/packages/react/src/components/presentation/UserDropdown/BaseUserDropdown.tsx index 290fcbba..0b1aa7e8 100644 --- a/packages/react/src/components/presentation/UserDropdown/BaseUserDropdown.tsx +++ b/packages/react/src/components/presentation/UserDropdown/BaseUserDropdown.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import { diff --git a/packages/react/src/components/presentation/UserDropdown/UserDropdown.tsx b/packages/react/src/components/presentation/UserDropdown/UserDropdown.tsx index 58b266db..1cfaafb4 100644 --- a/packages/react/src/components/presentation/UserDropdown/UserDropdown.tsx +++ b/packages/react/src/components/presentation/UserDropdown/UserDropdown.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FlowMetadataResponse} from '@thunderid/browser'; import {FC, ReactElement, ReactNode, useState} from 'react'; diff --git a/packages/react/src/components/presentation/UserProfile/BaseUserProfile.styles.ts b/packages/react/src/components/presentation/UserProfile/BaseUserProfile.styles.ts index fc9293cf..092f8f2d 100644 --- a/packages/react/src/components/presentation/UserProfile/BaseUserProfile.styles.ts +++ b/packages/react/src/components/presentation/UserProfile/BaseUserProfile.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme, withVendorCSSClassPrefix} from '@thunderid/browser'; diff --git a/packages/react/src/components/presentation/UserProfile/BaseUserProfile.tsx b/packages/react/src/components/presentation/UserProfile/BaseUserProfile.tsx index 3a18cdd3..a18227c6 100644 --- a/packages/react/src/components/presentation/UserProfile/BaseUserProfile.tsx +++ b/packages/react/src/components/presentation/UserProfile/BaseUserProfile.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {User, withVendorCSSClassPrefix, bem, Preferences, startCase} from '@thunderid/browser'; diff --git a/packages/react/src/components/presentation/UserProfile/UserProfile.tsx b/packages/react/src/components/presentation/UserProfile/UserProfile.tsx index 020dc181..e8b29e69 100644 --- a/packages/react/src/components/presentation/UserProfile/UserProfile.tsx +++ b/packages/react/src/components/presentation/UserProfile/UserProfile.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDError, User, deepMerge} from '@thunderid/browser'; import {FC, ReactElement, useState} from 'react'; diff --git a/packages/react/src/components/presentation/auth/AcceptInvite/AcceptInvite.tsx b/packages/react/src/components/presentation/auth/AcceptInvite/AcceptInvite.tsx index e16dcb92..3382d0d9 100644 --- a/packages/react/src/components/presentation/auth/AcceptInvite/AcceptInvite.tsx +++ b/packages/react/src/components/presentation/auth/AcceptInvite/AcceptInvite.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDAPIError} from '@thunderid/browser'; import {FC, ReactElement, ReactNode, useMemo} from 'react'; diff --git a/packages/react/src/components/presentation/auth/AcceptInvite/BaseAcceptInvite.styles.ts b/packages/react/src/components/presentation/auth/AcceptInvite/BaseAcceptInvite.styles.ts index e242e550..b22c565a 100644 --- a/packages/react/src/components/presentation/auth/AcceptInvite/BaseAcceptInvite.styles.ts +++ b/packages/react/src/components/presentation/auth/AcceptInvite/BaseAcceptInvite.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/presentation/auth/AcceptInvite/BaseAcceptInvite.tsx b/packages/react/src/components/presentation/auth/AcceptInvite/BaseAcceptInvite.tsx index 07eb2890..62447f7f 100644 --- a/packages/react/src/components/presentation/auth/AcceptInvite/BaseAcceptInvite.tsx +++ b/packages/react/src/components/presentation/auth/AcceptInvite/BaseAcceptInvite.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import { diff --git a/packages/react/src/components/presentation/auth/AcceptInvite/index.ts b/packages/react/src/components/presentation/auth/AcceptInvite/index.ts index 57688c17..46423df9 100644 --- a/packages/react/src/components/presentation/auth/AcceptInvite/index.ts +++ b/packages/react/src/components/presentation/auth/AcceptInvite/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // v2 exports (current) export {default as AcceptInvite} from './AcceptInvite'; diff --git a/packages/react/src/components/presentation/auth/AuthOptionFactory.tsx b/packages/react/src/components/presentation/auth/AuthOptionFactory.tsx index 472c6806..c3322037 100644 --- a/packages/react/src/components/presentation/auth/AuthOptionFactory.tsx +++ b/packages/react/src/components/presentation/auth/AuthOptionFactory.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css, cx} from '@emotion/css'; import { diff --git a/packages/react/src/components/presentation/auth/InviteUser/BaseInviteUser.styles.ts b/packages/react/src/components/presentation/auth/InviteUser/BaseInviteUser.styles.ts index fff9ab84..64aeb065 100644 --- a/packages/react/src/components/presentation/auth/InviteUser/BaseInviteUser.styles.ts +++ b/packages/react/src/components/presentation/auth/InviteUser/BaseInviteUser.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/presentation/auth/InviteUser/BaseInviteUser.tsx b/packages/react/src/components/presentation/auth/InviteUser/BaseInviteUser.tsx index b73b1dda..f93d78b3 100644 --- a/packages/react/src/components/presentation/auth/InviteUser/BaseInviteUser.tsx +++ b/packages/react/src/components/presentation/auth/InviteUser/BaseInviteUser.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import { diff --git a/packages/react/src/components/presentation/auth/InviteUser/InviteUser.tsx b/packages/react/src/components/presentation/auth/InviteUser/InviteUser.tsx index 4e3648a5..0e7b11ed 100644 --- a/packages/react/src/components/presentation/auth/InviteUser/InviteUser.tsx +++ b/packages/react/src/components/presentation/auth/InviteUser/InviteUser.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { EmbeddedFlowType, diff --git a/packages/react/src/components/presentation/auth/InviteUser/index.ts b/packages/react/src/components/presentation/auth/InviteUser/index.ts index b2bac300..561dff2a 100644 --- a/packages/react/src/components/presentation/auth/InviteUser/index.ts +++ b/packages/react/src/components/presentation/auth/InviteUser/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // v2 exports (current) export {default as InviteUser} from './InviteUser'; diff --git a/packages/react/src/components/presentation/auth/Recovery/BaseRecovery.tsx b/packages/react/src/components/presentation/auth/Recovery/BaseRecovery.tsx index 872ad12d..0a2b762c 100644 --- a/packages/react/src/components/presentation/auth/Recovery/BaseRecovery.tsx +++ b/packages/react/src/components/presentation/auth/Recovery/BaseRecovery.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import { diff --git a/packages/react/src/components/presentation/auth/Recovery/Recovery.tsx b/packages/react/src/components/presentation/auth/Recovery/Recovery.tsx index 33dbe9e2..82054100 100644 --- a/packages/react/src/components/presentation/auth/Recovery/Recovery.tsx +++ b/packages/react/src/components/presentation/auth/Recovery/Recovery.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedRecoveryFlowRequest, EmbeddedRecoveryFlowResponse, EmbeddedFlowType} from '@thunderid/browser'; import {FC, PropsWithChildren, ReactElement, useCallback} from 'react'; diff --git a/packages/react/src/components/presentation/auth/SignIn/BaseSignIn.styles.ts b/packages/react/src/components/presentation/auth/SignIn/BaseSignIn.styles.ts index 391ce331..1e8c6d1e 100644 --- a/packages/react/src/components/presentation/auth/SignIn/BaseSignIn.styles.ts +++ b/packages/react/src/components/presentation/auth/SignIn/BaseSignIn.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/presentation/auth/SignIn/BaseSignIn.tsx b/packages/react/src/components/presentation/auth/SignIn/BaseSignIn.tsx index 5e14a018..fed6ad80 100644 --- a/packages/react/src/components/presentation/auth/SignIn/BaseSignIn.tsx +++ b/packages/react/src/components/presentation/auth/SignIn/BaseSignIn.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import { diff --git a/packages/react/src/components/presentation/auth/SignIn/SignIn.tsx b/packages/react/src/components/presentation/auth/SignIn/SignIn.tsx index c16f568a..fb3b5fe5 100644 --- a/packages/react/src/components/presentation/auth/SignIn/SignIn.tsx +++ b/packages/react/src/components/presentation/auth/SignIn/SignIn.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDRuntimeError, diff --git a/packages/react/src/components/presentation/auth/SignUp/BaseSignUp.styles.ts b/packages/react/src/components/presentation/auth/SignUp/BaseSignUp.styles.ts index 87bbbd4a..07c72e07 100644 --- a/packages/react/src/components/presentation/auth/SignUp/BaseSignUp.styles.ts +++ b/packages/react/src/components/presentation/auth/SignUp/BaseSignUp.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/presentation/auth/SignUp/BaseSignUp.tsx b/packages/react/src/components/presentation/auth/SignUp/BaseSignUp.tsx index 1e66b1a5..b6db6e7c 100644 --- a/packages/react/src/components/presentation/auth/SignUp/BaseSignUp.tsx +++ b/packages/react/src/components/presentation/auth/SignUp/BaseSignUp.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import { diff --git a/packages/react/src/components/presentation/auth/SignUp/SignUp.tsx b/packages/react/src/components/presentation/auth/SignUp/SignUp.tsx index 71a70ba0..b92a1aed 100644 --- a/packages/react/src/components/presentation/auth/SignUp/SignUp.tsx +++ b/packages/react/src/components/presentation/auth/SignUp/SignUp.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { EmbeddedSignUpFlowRequest, diff --git a/packages/react/src/components/presentation/auth/__tests__/AuthOptionFactory.test.tsx b/packages/react/src/components/presentation/auth/__tests__/AuthOptionFactory.test.tsx index 45b9de16..45fce004 100644 --- a/packages/react/src/components/presentation/auth/__tests__/AuthOptionFactory.test.tsx +++ b/packages/react/src/components/presentation/auth/__tests__/AuthOptionFactory.test.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {render} from '@testing-library/react'; import {EmbeddedFlowComponent, EmbeddedFlowComponentType, EmbeddedFlowEventType} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/AffixedField/AffixedField.styles.ts b/packages/react/src/components/primitives/AffixedField/AffixedField.styles.ts index 6effd28a..08e2d3cb 100644 --- a/packages/react/src/components/primitives/AffixedField/AffixedField.styles.ts +++ b/packages/react/src/components/primitives/AffixedField/AffixedField.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/AffixedField/AffixedField.tsx b/packages/react/src/components/primitives/AffixedField/AffixedField.tsx index ad728fe1..51c7672a 100644 --- a/packages/react/src/components/primitives/AffixedField/AffixedField.tsx +++ b/packages/react/src/components/primitives/AffixedField/AffixedField.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {PrefixOption, bem, withVendorCSSClassPrefix} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/AffixedField/index.ts b/packages/react/src/components/primitives/AffixedField/index.ts index 414ff400..2727214e 100644 --- a/packages/react/src/components/primitives/AffixedField/index.ts +++ b/packages/react/src/components/primitives/AffixedField/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default, default as AffixedField} from './AffixedField'; export type {AffixedFieldProps} from './AffixedField'; diff --git a/packages/react/src/components/primitives/Alert/Alert.styles.ts b/packages/react/src/components/primitives/Alert/Alert.styles.ts index d3cf4aa1..4102c935 100644 --- a/packages/react/src/components/primitives/Alert/Alert.styles.ts +++ b/packages/react/src/components/primitives/Alert/Alert.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Alert/Alert.tsx b/packages/react/src/components/primitives/Alert/Alert.tsx index 4d4915ae..0327e113 100644 --- a/packages/react/src/components/primitives/Alert/Alert.tsx +++ b/packages/react/src/components/primitives/Alert/Alert.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Avatar/Avatar.styles.ts b/packages/react/src/components/primitives/Avatar/Avatar.styles.ts index 30799242..42a7b1de 100644 --- a/packages/react/src/components/primitives/Avatar/Avatar.styles.ts +++ b/packages/react/src/components/primitives/Avatar/Avatar.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Avatar/Avatar.tsx b/packages/react/src/components/primitives/Avatar/Avatar.tsx index a658948f..d540ffcc 100644 --- a/packages/react/src/components/primitives/Avatar/Avatar.tsx +++ b/packages/react/src/components/primitives/Avatar/Avatar.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem, resolveLogoUri, ResolvedLogo} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Avatar/__tests__/Avatar.test.tsx b/packages/react/src/components/primitives/Avatar/__tests__/Avatar.test.tsx index 8c42b85b..4efb60c4 100644 --- a/packages/react/src/components/primitives/Avatar/__tests__/Avatar.test.tsx +++ b/packages/react/src/components/primitives/Avatar/__tests__/Avatar.test.tsx @@ -1,19 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {render, screen, cleanup} from '@testing-library/react'; import {createTheme, ANONYMOUS_ANIMAL_ICONS} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Button/Button.styles.ts b/packages/react/src/components/primitives/Button/Button.styles.ts index eef2cb1a..24962b0f 100644 --- a/packages/react/src/components/primitives/Button/Button.styles.ts +++ b/packages/react/src/components/primitives/Button/Button.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Button/Button.tsx b/packages/react/src/components/primitives/Button/Button.tsx index a68ab164..e3d17486 100644 --- a/packages/react/src/components/primitives/Button/Button.tsx +++ b/packages/react/src/components/primitives/Button/Button.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Card/Card.styles.ts b/packages/react/src/components/primitives/Card/Card.styles.ts index 7055c7f5..a163cac2 100644 --- a/packages/react/src/components/primitives/Card/Card.styles.ts +++ b/packages/react/src/components/primitives/Card/Card.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Card/Card.tsx b/packages/react/src/components/primitives/Card/Card.tsx index 88dcac35..6338c24d 100644 --- a/packages/react/src/components/primitives/Card/Card.tsx +++ b/packages/react/src/components/primitives/Card/Card.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Checkbox/Checkbox.styles.ts b/packages/react/src/components/primitives/Checkbox/Checkbox.styles.ts index bdeab174..e815b7fc 100644 --- a/packages/react/src/components/primitives/Checkbox/Checkbox.styles.ts +++ b/packages/react/src/components/primitives/Checkbox/Checkbox.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Checkbox/Checkbox.tsx b/packages/react/src/components/primitives/Checkbox/Checkbox.tsx index 0ddc5831..b52ee18f 100644 --- a/packages/react/src/components/primitives/Checkbox/Checkbox.tsx +++ b/packages/react/src/components/primitives/Checkbox/Checkbox.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2024 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/CopyableText/CopyableText.styles.ts b/packages/react/src/components/primitives/CopyableText/CopyableText.styles.ts index df54bb53..b2d860e6 100644 --- a/packages/react/src/components/primitives/CopyableText/CopyableText.styles.ts +++ b/packages/react/src/components/primitives/CopyableText/CopyableText.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/CopyableText/CopyableText.tsx b/packages/react/src/components/primitives/CopyableText/CopyableText.tsx index fa25b0a8..b3f04be2 100644 --- a/packages/react/src/components/primitives/CopyableText/CopyableText.tsx +++ b/packages/react/src/components/primitives/CopyableText/CopyableText.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, ReactElement, useCallback, useState} from 'react'; import useStyles from './CopyableText.styles'; diff --git a/packages/react/src/components/primitives/CopyableText/index.ts b/packages/react/src/components/primitives/CopyableText/index.ts index 28f371c8..96298d9f 100644 --- a/packages/react/src/components/primitives/CopyableText/index.ts +++ b/packages/react/src/components/primitives/CopyableText/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './CopyableText'; export type {CopyableTextProps} from './CopyableText'; diff --git a/packages/react/src/components/primitives/DatePicker/DatePicker.styles.ts b/packages/react/src/components/primitives/DatePicker/DatePicker.styles.ts index c83fa854..ccd16096 100644 --- a/packages/react/src/components/primitives/DatePicker/DatePicker.styles.ts +++ b/packages/react/src/components/primitives/DatePicker/DatePicker.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/DatePicker/DatePicker.tsx b/packages/react/src/components/primitives/DatePicker/DatePicker.tsx index d52aea70..0ef23393 100644 --- a/packages/react/src/components/primitives/DatePicker/DatePicker.tsx +++ b/packages/react/src/components/primitives/DatePicker/DatePicker.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2024 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Dialog/Dialog.styles.ts b/packages/react/src/components/primitives/Dialog/Dialog.styles.ts index 9fa277cd..69f7a43b 100644 --- a/packages/react/src/components/primitives/Dialog/Dialog.styles.ts +++ b/packages/react/src/components/primitives/Dialog/Dialog.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Dialog/Dialog.tsx b/packages/react/src/components/primitives/Dialog/Dialog.tsx index fe80cb6c..76519ce0 100644 --- a/packages/react/src/components/primitives/Dialog/Dialog.tsx +++ b/packages/react/src/components/primitives/Dialog/Dialog.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import { diff --git a/packages/react/src/components/primitives/Divider/Divider.styles.ts b/packages/react/src/components/primitives/Divider/Divider.styles.ts index 5f44f664..511e0930 100644 --- a/packages/react/src/components/primitives/Divider/Divider.styles.ts +++ b/packages/react/src/components/primitives/Divider/Divider.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Divider/Divider.tsx b/packages/react/src/components/primitives/Divider/Divider.tsx index e84e6246..81116cc0 100644 --- a/packages/react/src/components/primitives/Divider/Divider.tsx +++ b/packages/react/src/components/primitives/Divider/Divider.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/FormControl/FormControl.styles.ts b/packages/react/src/components/primitives/FormControl/FormControl.styles.ts index 13977224..372dd4c7 100644 --- a/packages/react/src/components/primitives/FormControl/FormControl.styles.ts +++ b/packages/react/src/components/primitives/FormControl/FormControl.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/FormControl/FormControl.tsx b/packages/react/src/components/primitives/FormControl/FormControl.tsx index 6db8ebb2..fb3b85d1 100644 --- a/packages/react/src/components/primitives/FormControl/FormControl.tsx +++ b/packages/react/src/components/primitives/FormControl/FormControl.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {bem, withVendorCSSClassPrefix} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Icons/ArrowLeftRight.tsx b/packages/react/src/components/primitives/Icons/ArrowLeftRight.tsx index 9421a437..78b83e1a 100644 --- a/packages/react/src/components/primitives/Icons/ArrowLeftRight.tsx +++ b/packages/react/src/components/primitives/Icons/ArrowLeftRight.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/ArrowRightLeft.tsx b/packages/react/src/components/primitives/Icons/ArrowRightLeft.tsx index bc19f7a6..6b52e610 100644 --- a/packages/react/src/components/primitives/Icons/ArrowRightLeft.tsx +++ b/packages/react/src/components/primitives/Icons/ArrowRightLeft.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/Building.tsx b/packages/react/src/components/primitives/Icons/Building.tsx index 08549259..ab81ddd8 100644 --- a/packages/react/src/components/primitives/Icons/Building.tsx +++ b/packages/react/src/components/primitives/Icons/Building.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/BuildingAlt.tsx b/packages/react/src/components/primitives/Icons/BuildingAlt.tsx index 8811a45d..ddc3d26d 100644 --- a/packages/react/src/components/primitives/Icons/BuildingAlt.tsx +++ b/packages/react/src/components/primitives/Icons/BuildingAlt.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/Check.tsx b/packages/react/src/components/primitives/Icons/Check.tsx index e5858684..7ffa502c 100644 --- a/packages/react/src/components/primitives/Icons/Check.tsx +++ b/packages/react/src/components/primitives/Icons/Check.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/ChevronDown.tsx b/packages/react/src/components/primitives/Icons/ChevronDown.tsx index bf7d934d..991464db 100644 --- a/packages/react/src/components/primitives/Icons/ChevronDown.tsx +++ b/packages/react/src/components/primitives/Icons/ChevronDown.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/CircleAlert.tsx b/packages/react/src/components/primitives/Icons/CircleAlert.tsx index 5e1ab82e..5d07e7d2 100644 --- a/packages/react/src/components/primitives/Icons/CircleAlert.tsx +++ b/packages/react/src/components/primitives/Icons/CircleAlert.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, SVGProps} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/CircleCheck.tsx b/packages/react/src/components/primitives/Icons/CircleCheck.tsx index d3db7600..5349d0ff 100644 --- a/packages/react/src/components/primitives/Icons/CircleCheck.tsx +++ b/packages/react/src/components/primitives/Icons/CircleCheck.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, SVGProps} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/Eye.tsx b/packages/react/src/components/primitives/Icons/Eye.tsx index d75bd3a1..362ee9d2 100644 --- a/packages/react/src/components/primitives/Icons/Eye.tsx +++ b/packages/react/src/components/primitives/Icons/Eye.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, SVGProps} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/EyeOff.tsx b/packages/react/src/components/primitives/Icons/EyeOff.tsx index 8c2cc8c4..67cd7e0e 100644 --- a/packages/react/src/components/primitives/Icons/EyeOff.tsx +++ b/packages/react/src/components/primitives/Icons/EyeOff.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, SVGProps} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/Info.tsx b/packages/react/src/components/primitives/Icons/Info.tsx index 177facdd..4b5b2a4d 100644 --- a/packages/react/src/components/primitives/Icons/Info.tsx +++ b/packages/react/src/components/primitives/Icons/Info.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, SVGProps} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/LogOut.tsx b/packages/react/src/components/primitives/Icons/LogOut.tsx index 123eeb01..94739240 100644 --- a/packages/react/src/components/primitives/Icons/LogOut.tsx +++ b/packages/react/src/components/primitives/Icons/LogOut.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, SVGProps} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/Plus.tsx b/packages/react/src/components/primitives/Icons/Plus.tsx index 414ea76e..d95c792e 100644 --- a/packages/react/src/components/primitives/Icons/Plus.tsx +++ b/packages/react/src/components/primitives/Icons/Plus.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, SVGProps} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/TriangleAlert.tsx b/packages/react/src/components/primitives/Icons/TriangleAlert.tsx index 20226ada..43b1234c 100644 --- a/packages/react/src/components/primitives/Icons/TriangleAlert.tsx +++ b/packages/react/src/components/primitives/Icons/TriangleAlert.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, SVGProps} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/User.tsx b/packages/react/src/components/primitives/Icons/User.tsx index 328a4968..b4a3d56d 100644 --- a/packages/react/src/components/primitives/Icons/User.tsx +++ b/packages/react/src/components/primitives/Icons/User.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, SVGProps} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/X.tsx b/packages/react/src/components/primitives/Icons/X.tsx index 4488bb0c..52829ae9 100644 --- a/packages/react/src/components/primitives/Icons/X.tsx +++ b/packages/react/src/components/primitives/Icons/X.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, SVGProps} from 'react'; diff --git a/packages/react/src/components/primitives/Icons/flowIconRegistry.tsx b/packages/react/src/components/primitives/Icons/flowIconRegistry.tsx index 8d85dfd0..ae03dc35 100644 --- a/packages/react/src/components/primitives/Icons/flowIconRegistry.tsx +++ b/packages/react/src/components/primitives/Icons/flowIconRegistry.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC} from 'react'; import ArrowLeftRight from './ArrowLeftRight'; diff --git a/packages/react/src/components/primitives/Icons/index.ts b/packages/react/src/components/primitives/Icons/index.ts index 9e3ebfdb..03657b89 100644 --- a/packages/react/src/components/primitives/Icons/index.ts +++ b/packages/react/src/components/primitives/Icons/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default as ArrowLeftRight} from './ArrowLeftRight'; export {default as CircleAlert} from './CircleAlert'; diff --git a/packages/react/src/components/primitives/InputLabel/InputLabel.styles.ts b/packages/react/src/components/primitives/InputLabel/InputLabel.styles.ts index 35c80782..ef961de9 100644 --- a/packages/react/src/components/primitives/InputLabel/InputLabel.styles.ts +++ b/packages/react/src/components/primitives/InputLabel/InputLabel.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2024 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/InputLabel/InputLabel.tsx b/packages/react/src/components/primitives/InputLabel/InputLabel.tsx index dc88af9e..67f88f28 100644 --- a/packages/react/src/components/primitives/InputLabel/InputLabel.tsx +++ b/packages/react/src/components/primitives/InputLabel/InputLabel.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2024 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {bem, withVendorCSSClassPrefix} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/KeyValueInput/KeyValueInput.styles.ts b/packages/react/src/components/primitives/KeyValueInput/KeyValueInput.styles.ts index 89b3ddc9..067e498b 100644 --- a/packages/react/src/components/primitives/KeyValueInput/KeyValueInput.styles.ts +++ b/packages/react/src/components/primitives/KeyValueInput/KeyValueInput.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/KeyValueInput/KeyValueInput.tsx b/packages/react/src/components/primitives/KeyValueInput/KeyValueInput.tsx index e8fb87f8..1f01b5c7 100644 --- a/packages/react/src/components/primitives/KeyValueInput/KeyValueInput.tsx +++ b/packages/react/src/components/primitives/KeyValueInput/KeyValueInput.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Logo/Logo.styles.ts b/packages/react/src/components/primitives/Logo/Logo.styles.ts index acf8f937..9276f456 100644 --- a/packages/react/src/components/primitives/Logo/Logo.styles.ts +++ b/packages/react/src/components/primitives/Logo/Logo.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Logo/Logo.tsx b/packages/react/src/components/primitives/Logo/Logo.tsx index 090ed19b..b2f8540d 100644 --- a/packages/react/src/components/primitives/Logo/Logo.tsx +++ b/packages/react/src/components/primitives/Logo/Logo.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem, resolveLogoUri, ResolvedLogo} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/MultiInput/MultiInput.styles.ts b/packages/react/src/components/primitives/MultiInput/MultiInput.styles.ts index 16b26614..c7766dd0 100644 --- a/packages/react/src/components/primitives/MultiInput/MultiInput.styles.ts +++ b/packages/react/src/components/primitives/MultiInput/MultiInput.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/MultiInput/MultiInput.tsx b/packages/react/src/components/primitives/MultiInput/MultiInput.tsx index 0555c7f3..497c291f 100644 --- a/packages/react/src/components/primitives/MultiInput/MultiInput.tsx +++ b/packages/react/src/components/primitives/MultiInput/MultiInput.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/OtpField/OtpField.styles.ts b/packages/react/src/components/primitives/OtpField/OtpField.styles.ts index 3969b7ea..5540880a 100644 --- a/packages/react/src/components/primitives/OtpField/OtpField.styles.ts +++ b/packages/react/src/components/primitives/OtpField/OtpField.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2024 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/OtpField/OtpField.tsx b/packages/react/src/components/primitives/OtpField/OtpField.tsx index 26bf3c39..c8b6fefc 100644 --- a/packages/react/src/components/primitives/OtpField/OtpField.tsx +++ b/packages/react/src/components/primitives/OtpField/OtpField.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2024 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/PasswordField/PasswordField.styles.ts b/packages/react/src/components/primitives/PasswordField/PasswordField.styles.ts index 5ebb21a7..40caedf6 100644 --- a/packages/react/src/components/primitives/PasswordField/PasswordField.styles.ts +++ b/packages/react/src/components/primitives/PasswordField/PasswordField.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/PasswordField/PasswordField.tsx b/packages/react/src/components/primitives/PasswordField/PasswordField.tsx index 50204c61..0f29ee8e 100644 --- a/packages/react/src/components/primitives/PasswordField/PasswordField.tsx +++ b/packages/react/src/components/primitives/PasswordField/PasswordField.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Select/Select.styles.ts b/packages/react/src/components/primitives/Select/Select.styles.ts index 32946389..43898cc5 100644 --- a/packages/react/src/components/primitives/Select/Select.styles.ts +++ b/packages/react/src/components/primitives/Select/Select.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2024 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Select/Select.tsx b/packages/react/src/components/primitives/Select/Select.tsx index ad9e869f..3565d45d 100644 --- a/packages/react/src/components/primitives/Select/Select.tsx +++ b/packages/react/src/components/primitives/Select/Select.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2024 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Spinner/Spinner.styles.ts b/packages/react/src/components/primitives/Spinner/Spinner.styles.ts index 93af0d27..9590b8ff 100644 --- a/packages/react/src/components/primitives/Spinner/Spinner.styles.ts +++ b/packages/react/src/components/primitives/Spinner/Spinner.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css, keyframes} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Spinner/Spinner.tsx b/packages/react/src/components/primitives/Spinner/Spinner.tsx index 85725b19..4742c416 100644 --- a/packages/react/src/components/primitives/Spinner/Spinner.tsx +++ b/packages/react/src/components/primitives/Spinner/Spinner.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/TextField/TextField.styles.ts b/packages/react/src/components/primitives/TextField/TextField.styles.ts index b5651cfb..a0e89dc3 100644 --- a/packages/react/src/components/primitives/TextField/TextField.styles.ts +++ b/packages/react/src/components/primitives/TextField/TextField.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2024 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/TextField/TextField.tsx b/packages/react/src/components/primitives/TextField/TextField.tsx index aa6313e3..3b894c02 100644 --- a/packages/react/src/components/primitives/TextField/TextField.tsx +++ b/packages/react/src/components/primitives/TextField/TextField.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2024 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Toggle/Toggle.styles.ts b/packages/react/src/components/primitives/Toggle/Toggle.styles.ts index b28bf4f1..1cc03c54 100644 --- a/packages/react/src/components/primitives/Toggle/Toggle.styles.ts +++ b/packages/react/src/components/primitives/Toggle/Toggle.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Toggle/Toggle.tsx b/packages/react/src/components/primitives/Toggle/Toggle.tsx index 3853d956..98c84a43 100644 --- a/packages/react/src/components/primitives/Toggle/Toggle.tsx +++ b/packages/react/src/components/primitives/Toggle/Toggle.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Tooltip/Tooltip.styles.ts b/packages/react/src/components/primitives/Tooltip/Tooltip.styles.ts index 3c3f6bab..c4e34f18 100644 --- a/packages/react/src/components/primitives/Tooltip/Tooltip.styles.ts +++ b/packages/react/src/components/primitives/Tooltip/Tooltip.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css, keyframes} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Tooltip/Tooltip.tsx b/packages/react/src/components/primitives/Tooltip/Tooltip.tsx index 2baf0020..5b175072 100644 --- a/packages/react/src/components/primitives/Tooltip/Tooltip.tsx +++ b/packages/react/src/components/primitives/Tooltip/Tooltip.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Typography/Typography.styles.ts b/packages/react/src/components/primitives/Typography/Typography.styles.ts index 8844f2f6..5f58107c 100644 --- a/packages/react/src/components/primitives/Typography/Typography.styles.ts +++ b/packages/react/src/components/primitives/Typography/Typography.styles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {css} from '@emotion/css'; import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/components/primitives/Typography/Typography.tsx b/packages/react/src/components/primitives/Typography/Typography.tsx index d5423c2d..aafcebe3 100644 --- a/packages/react/src/components/primitives/Typography/Typography.tsx +++ b/packages/react/src/components/primitives/Typography/Typography.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cx} from '@emotion/css'; import {withVendorCSSClassPrefix, bem} from '@thunderid/browser'; diff --git a/packages/react/src/contexts/ComponentRenderer/ComponentRendererContext.ts b/packages/react/src/contexts/ComponentRenderer/ComponentRendererContext.ts index 0ca608d7..eb04ef8d 100644 --- a/packages/react/src/contexts/ComponentRenderer/ComponentRendererContext.ts +++ b/packages/react/src/contexts/ComponentRenderer/ComponentRendererContext.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedFlowComponent, FlowMetadataResponse} from '@thunderid/browser'; import {Context, createContext, ReactElement} from 'react'; diff --git a/packages/react/src/contexts/ComponentRenderer/ComponentRendererProvider.tsx b/packages/react/src/contexts/ComponentRenderer/ComponentRendererProvider.tsx index 97465d58..c51a6e54 100644 --- a/packages/react/src/contexts/ComponentRenderer/ComponentRendererProvider.tsx +++ b/packages/react/src/contexts/ComponentRenderer/ComponentRendererProvider.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, PropsWithChildren, ReactElement} from 'react'; import ComponentRendererContext, {ComponentRendererMap} from './ComponentRendererContext'; diff --git a/packages/react/src/contexts/Flow/FlowContext.ts b/packages/react/src/contexts/Flow/FlowContext.ts index c12de56b..d1aee4a7 100644 --- a/packages/react/src/contexts/Flow/FlowContext.ts +++ b/packages/react/src/contexts/Flow/FlowContext.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Context, createContext} from 'react'; diff --git a/packages/react/src/contexts/Flow/FlowProvider.tsx b/packages/react/src/contexts/Flow/FlowProvider.tsx index 6fa9babb..9a32c46b 100644 --- a/packages/react/src/contexts/Flow/FlowProvider.tsx +++ b/packages/react/src/contexts/Flow/FlowProvider.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FC, PropsWithChildren, ReactElement, useCallback, useMemo, useState} from 'react'; import FlowContext, {FlowContextValue, FlowMessage, FlowStep} from './FlowContext'; diff --git a/packages/react/src/contexts/Flow/useFlow.ts b/packages/react/src/contexts/Flow/useFlow.ts index 9acf6ef4..cd76f5e8 100644 --- a/packages/react/src/contexts/Flow/useFlow.ts +++ b/packages/react/src/contexts/Flow/useFlow.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {useContext} from 'react'; import FlowContext, {FlowContextValue} from './FlowContext'; diff --git a/packages/react/src/contexts/FlowMeta/FlowMetaContext.ts b/packages/react/src/contexts/FlowMeta/FlowMetaContext.ts index 259dadc4..0ad365fe 100644 --- a/packages/react/src/contexts/FlowMeta/FlowMetaContext.ts +++ b/packages/react/src/contexts/FlowMeta/FlowMetaContext.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FlowMetadataResponse} from '@thunderid/browser'; import {Context, createContext} from 'react'; diff --git a/packages/react/src/contexts/FlowMeta/FlowMetaProvider.tsx b/packages/react/src/contexts/FlowMeta/FlowMetaProvider.tsx index af947f48..127d422f 100644 --- a/packages/react/src/contexts/FlowMeta/FlowMetaProvider.tsx +++ b/packages/react/src/contexts/FlowMeta/FlowMetaProvider.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { FlowMetadataResponse, diff --git a/packages/react/src/contexts/FlowMeta/useFlowMeta.ts b/packages/react/src/contexts/FlowMeta/useFlowMeta.ts index bd2e47da..08b0bc1e 100644 --- a/packages/react/src/contexts/FlowMeta/useFlowMeta.ts +++ b/packages/react/src/contexts/FlowMeta/useFlowMeta.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {useContext} from 'react'; import FlowMetaContext, {FlowMetaContextValue} from './FlowMetaContext'; diff --git a/packages/react/src/contexts/I18n/ComponentPreferencesContext.ts b/packages/react/src/contexts/I18n/ComponentPreferencesContext.ts index 7df7aa93..bc828e04 100644 --- a/packages/react/src/contexts/I18n/ComponentPreferencesContext.ts +++ b/packages/react/src/contexts/I18n/ComponentPreferencesContext.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Preferences} from '@thunderid/browser'; import {Context, createContext} from 'react'; diff --git a/packages/react/src/contexts/I18n/I18nContext.ts b/packages/react/src/contexts/I18n/I18nContext.ts index 5d0eb782..3b925616 100644 --- a/packages/react/src/contexts/I18n/I18nContext.ts +++ b/packages/react/src/contexts/I18n/I18nContext.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {I18nBundle} from '@thunderid/browser'; import {Context, createContext} from 'react'; diff --git a/packages/react/src/contexts/I18n/I18nProvider.tsx b/packages/react/src/contexts/I18n/I18nProvider.tsx index 7a7d2285..11a88226 100644 --- a/packages/react/src/contexts/I18n/I18nProvider.tsx +++ b/packages/react/src/contexts/I18n/I18nProvider.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { deepMerge, diff --git a/packages/react/src/contexts/I18n/useI18n.ts b/packages/react/src/contexts/I18n/useI18n.ts index 419b2338..0fd2500f 100644 --- a/packages/react/src/contexts/I18n/useI18n.ts +++ b/packages/react/src/contexts/I18n/useI18n.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {useContext} from 'react'; import I18nContext, {I18nContextValue} from './I18nContext'; diff --git a/packages/react/src/contexts/Theme/ThemeContext.ts b/packages/react/src/contexts/Theme/ThemeContext.ts index cc891b34..f419e3cf 100644 --- a/packages/react/src/contexts/Theme/ThemeContext.ts +++ b/packages/react/src/contexts/Theme/ThemeContext.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Theme} from '@thunderid/browser'; import {Context, createContext} from 'react'; diff --git a/packages/react/src/contexts/Theme/ThemeProvider.tsx b/packages/react/src/contexts/Theme/ThemeProvider.tsx index 612043ed..3604c649 100644 --- a/packages/react/src/contexts/Theme/ThemeProvider.tsx +++ b/packages/react/src/contexts/Theme/ThemeProvider.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {createTheme, Theme, ThemeConfig, ThemeMode, RecursivePartial, FlowMetaTheme} from '@thunderid/browser'; import {FC, PropsWithChildren, ReactElement, useCallback, useContext, useEffect, useMemo, useState} from 'react'; diff --git a/packages/react/src/contexts/Theme/types.ts b/packages/react/src/contexts/Theme/types.ts index 85661868..59213baa 100644 --- a/packages/react/src/contexts/Theme/types.ts +++ b/packages/react/src/contexts/Theme/types.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2024 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export interface ThemeColors { background: { diff --git a/packages/react/src/contexts/Theme/useTheme.ts b/packages/react/src/contexts/Theme/useTheme.ts index 04a1751f..cc28e963 100644 --- a/packages/react/src/contexts/Theme/useTheme.ts +++ b/packages/react/src/contexts/Theme/useTheme.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {useContext} from 'react'; import ThemeContext, {ThemeContextValue} from './ThemeContext'; diff --git a/packages/react/src/contexts/ThunderID/ThunderIDContext.ts b/packages/react/src/contexts/ThunderID/ThunderIDContext.ts index f0e44584..1c887f84 100644 --- a/packages/react/src/contexts/ThunderID/ThunderIDContext.ts +++ b/packages/react/src/contexts/ThunderID/ThunderIDContext.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { FlowMetadataResponse, diff --git a/packages/react/src/contexts/ThunderID/ThunderIDProvider.tsx b/packages/react/src/contexts/ThunderID/ThunderIDProvider.tsx index 2d02e931..8ad634b6 100644 --- a/packages/react/src/contexts/ThunderID/ThunderIDProvider.tsx +++ b/packages/react/src/contexts/ThunderID/ThunderIDProvider.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDRuntimeError, diff --git a/packages/react/src/contexts/ThunderID/__tests__/ThunderIDProvider.test.tsx b/packages/react/src/contexts/ThunderID/__tests__/ThunderIDProvider.test.tsx index b557bb5c..6826b369 100644 --- a/packages/react/src/contexts/ThunderID/__tests__/ThunderIDProvider.test.tsx +++ b/packages/react/src/contexts/ThunderID/__tests__/ThunderIDProvider.test.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cleanup, render, waitFor} from '@testing-library/react'; import {Mock, afterEach, beforeEach, describe, expect, it, vi} from 'vitest'; diff --git a/packages/react/src/contexts/ThunderID/__tests__/useThunderID.test.tsx b/packages/react/src/contexts/ThunderID/__tests__/useThunderID.test.tsx index 31d39143..f61e52c2 100644 --- a/packages/react/src/contexts/ThunderID/__tests__/useThunderID.test.tsx +++ b/packages/react/src/contexts/ThunderID/__tests__/useThunderID.test.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cleanup, render, screen} from '@testing-library/react'; import {afterEach, describe, expect, it, vi} from 'vitest'; diff --git a/packages/react/src/contexts/ThunderID/useThunderID.ts b/packages/react/src/contexts/ThunderID/useThunderID.ts index 8ef0457b..dbca29fc 100644 --- a/packages/react/src/contexts/ThunderID/useThunderID.ts +++ b/packages/react/src/contexts/ThunderID/useThunderID.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {resolveFlowTemplateLiterals} from '@thunderid/browser'; import {useContext} from 'react'; diff --git a/packages/react/src/contexts/User/UserContext.ts b/packages/react/src/contexts/User/UserContext.ts index ee0b60d6..bf90649f 100644 --- a/packages/react/src/contexts/User/UserContext.ts +++ b/packages/react/src/contexts/User/UserContext.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {User, UpdateMeProfileConfig} from '@thunderid/browser'; import {Context, createContext} from 'react'; diff --git a/packages/react/src/contexts/User/UserProvider.tsx b/packages/react/src/contexts/User/UserProvider.tsx index f1de586e..c0c86c81 100644 --- a/packages/react/src/contexts/User/UserProvider.tsx +++ b/packages/react/src/contexts/User/UserProvider.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {UpdateMeProfileConfig, User, UserProfile} from '@thunderid/browser'; import {FC, PropsWithChildren, ReactElement, useMemo} from 'react'; diff --git a/packages/react/src/contexts/User/useUser.ts b/packages/react/src/contexts/User/useUser.ts index b7b58477..5f41d714 100644 --- a/packages/react/src/contexts/User/useUser.ts +++ b/packages/react/src/contexts/User/useUser.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {useContext} from 'react'; import UserContext, {UserContextProps} from './UserContext'; diff --git a/packages/react/src/hooks/useBrowserUrl.ts b/packages/react/src/hooks/useBrowserUrl.ts index 58495333..bdf6b8ad 100644 --- a/packages/react/src/hooks/useBrowserUrl.ts +++ b/packages/react/src/hooks/useBrowserUrl.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {hasAuthParamsInUrl, hasCalledForThisInstanceInUrl} from '@thunderid/browser'; diff --git a/packages/react/src/hooks/useForm.ts b/packages/react/src/hooks/useForm.ts index 29e7846e..eb584f83 100644 --- a/packages/react/src/hooks/useForm.ts +++ b/packages/react/src/hooks/useForm.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {useState, useCallback, FormEvent} from 'react'; diff --git a/packages/react/src/hooks/useOAuthCallback.ts b/packages/react/src/hooks/useOAuthCallback.ts index 779605cd..931337b9 100644 --- a/packages/react/src/hooks/useOAuthCallback.ts +++ b/packages/react/src/hooks/useOAuthCallback.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {useEffect, useRef, type RefObject} from 'react'; diff --git a/packages/react/src/hooks/useTranslation.ts b/packages/react/src/hooks/useTranslation.ts index 6d00fc39..de49231b 100644 --- a/packages/react/src/hooks/useTranslation.ts +++ b/packages/react/src/hooks/useTranslation.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { deepMerge, diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 796daaa2..53956a06 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default as ThunderIDProvider} from './contexts/ThunderID/ThunderIDProvider'; export * from './contexts/ThunderID/ThunderIDProvider'; diff --git a/packages/react/src/models/adapters.ts b/packages/react/src/models/adapters.ts index b646596d..55a7650c 100644 --- a/packages/react/src/models/adapters.ts +++ b/packages/react/src/models/adapters.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedFlowComponent, WithPreferences} from '@thunderid/browser'; diff --git a/packages/react/src/models/config.ts b/packages/react/src/models/config.ts index f29097b5..46c1ca06 100644 --- a/packages/react/src/models/config.ts +++ b/packages/react/src/models/config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDBrowserConfig} from '@thunderid/browser'; diff --git a/packages/react/src/utils/applyThemeToDOM.ts b/packages/react/src/utils/applyThemeToDOM.ts index 0e6c1e55..55a0d10f 100644 --- a/packages/react/src/utils/applyThemeToDOM.ts +++ b/packages/react/src/utils/applyThemeToDOM.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Theme} from '@thunderid/browser'; diff --git a/packages/react/src/utils/buildThemeConfigFromFlowMeta.ts b/packages/react/src/utils/buildThemeConfigFromFlowMeta.ts index f69a49b7..af92dac0 100644 --- a/packages/react/src/utils/buildThemeConfigFromFlowMeta.ts +++ b/packages/react/src/utils/buildThemeConfigFromFlowMeta.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { FlowMetaTheme, diff --git a/packages/react/src/utils/composeAffixedInputs.ts b/packages/react/src/utils/composeAffixedInputs.ts index 769d3b17..99742193 100644 --- a/packages/react/src/utils/composeAffixedInputs.ts +++ b/packages/react/src/utils/composeAffixedInputs.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {getVendorPrefix} from '@thunderid/browser'; diff --git a/packages/react/src/utils/flowTransformer.ts b/packages/react/src/utils/flowTransformer.ts index 58181caf..75d99847 100644 --- a/packages/react/src/utils/flowTransformer.ts +++ b/packages/react/src/utils/flowTransformer.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * @fileoverview Shared flow response transformer utilities for v2 embedded flows. diff --git a/packages/react/src/utils/getAuthComponentHeadings.ts b/packages/react/src/utils/getAuthComponentHeadings.ts index 29c0091f..1f9b062a 100644 --- a/packages/react/src/utils/getAuthComponentHeadings.ts +++ b/packages/react/src/utils/getAuthComponentHeadings.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedFlowComponent} from '@thunderid/browser'; diff --git a/packages/react/src/utils/getDisplayName.ts b/packages/react/src/utils/getDisplayName.ts index e3c833a4..a3c932e9 100644 --- a/packages/react/src/utils/getDisplayName.ts +++ b/packages/react/src/utils/getDisplayName.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {User} from '@thunderid/browser'; import getMappedUserProfileValue from './getMappedUserProfileValue'; diff --git a/packages/react/src/utils/getMappedUserProfileValue.ts b/packages/react/src/utils/getMappedUserProfileValue.ts index 1b302c96..78488b89 100644 --- a/packages/react/src/utils/getMappedUserProfileValue.ts +++ b/packages/react/src/utils/getMappedUserProfileValue.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {User, get} from '@thunderid/browser'; diff --git a/packages/react/src/utils/normalizeThemeConfig.ts b/packages/react/src/utils/normalizeThemeConfig.ts index c5053c1b..639ecfb9 100644 --- a/packages/react/src/utils/normalizeThemeConfig.ts +++ b/packages/react/src/utils/normalizeThemeConfig.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {RecursivePartial, ThemeConfig} from '@thunderid/browser'; diff --git a/packages/react/src/utils/oauth.ts b/packages/react/src/utils/oauth.ts index 1715a8e2..a2611337 100644 --- a/packages/react/src/utils/oauth.ts +++ b/packages/react/src/utils/oauth.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {navigate, getVendorPrefix} from '@thunderid/browser'; diff --git a/packages/react/src/utils/passkey.ts b/packages/react/src/utils/passkey.ts index 25f23831..0626e522 100644 --- a/packages/react/src/utils/passkey.ts +++ b/packages/react/src/utils/passkey.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDRuntimeError, arrayBufferToBase64url, base64urlToArrayBuffer} from '@thunderid/browser'; diff --git a/packages/react/src/utils/resolveTranslationsInArray.ts b/packages/react/src/utils/resolveTranslationsInArray.ts index e628e3fb..8461c50f 100644 --- a/packages/react/src/utils/resolveTranslationsInArray.ts +++ b/packages/react/src/utils/resolveTranslationsInArray.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FlowMetadataResponse} from '@thunderid/browser'; import {resolveTranslationsInObject} from './resolveTranslationsInObject'; diff --git a/packages/react/src/utils/resolveTranslationsInObject.ts b/packages/react/src/utils/resolveTranslationsInObject.ts index 9194afe9..0bd9ca83 100644 --- a/packages/react/src/utils/resolveTranslationsInObject.ts +++ b/packages/react/src/utils/resolveTranslationsInObject.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FlowMetadataResponse, resolveFlowTemplateLiterals} from '@thunderid/browser'; import {UseTranslation} from '../hooks/useTranslation'; diff --git a/packages/react/vitest.config.ts b/packages/react/vitest.config.ts index a55b9541..83a9cb90 100644 --- a/packages/react/vitest.config.ts +++ b/packages/react/vitest.config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {playwright} from '@vitest/browser-playwright'; import {defineConfig} from 'vitest/config'; diff --git a/packages/tanstack-router/eslint.config.js b/packages/tanstack-router/eslint.config.js index 523879f2..f5fd8bcd 100644 --- a/packages/tanstack-router/eslint.config.js +++ b/packages/tanstack-router/eslint.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import thunderIdPlugin from '@thunderid/eslint-plugin'; diff --git a/packages/tanstack-router/package.json b/packages/tanstack-router/package.json index d8b66e3d..f9ef9655 100644 --- a/packages/tanstack-router/package.json +++ b/packages/tanstack-router/package.json @@ -12,7 +12,7 @@ "bugs": { "url": "https://github.com/thunder-id/thunderid/issues" }, - "author": "WSO2", + "author": "The ThunderID Authors", "license": "Apache-2.0", "type": "module", "main": "dist/cjs/index.cjs", diff --git a/packages/tanstack-router/prettier.config.js b/packages/tanstack-router/prettier.config.js index 7e978e97..f054cd50 100644 --- a/packages/tanstack-router/prettier.config.js +++ b/packages/tanstack-router/prettier.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import config from '@thunderid/prettier-config'; diff --git a/packages/tanstack-router/rolldown.config.js b/packages/tanstack-router/rolldown.config.js index 3a4c072d..3b439a7c 100644 --- a/packages/tanstack-router/rolldown.config.js +++ b/packages/tanstack-router/rolldown.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {readFileSync} from 'fs'; import {rolldown} from 'rolldown'; diff --git a/packages/tanstack-router/src/__tests__/index.test.ts b/packages/tanstack-router/src/__tests__/index.test.ts index dab9dd1d..1bddc0e7 100644 --- a/packages/tanstack-router/src/__tests__/index.test.ts +++ b/packages/tanstack-router/src/__tests__/index.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, it, expect} from 'vitest'; diff --git a/packages/tanstack-router/src/components/CallbackRoute.tsx b/packages/tanstack-router/src/components/CallbackRoute.tsx index 9bb8fca2..c9474c8f 100644 --- a/packages/tanstack-router/src/components/CallbackRoute.tsx +++ b/packages/tanstack-router/src/components/CallbackRoute.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {useRouter, useRouterState} from '@tanstack/react-router'; import {Callback} from '@thunderid/react'; diff --git a/packages/tanstack-router/src/components/ProtectedRoute.tsx b/packages/tanstack-router/src/components/ProtectedRoute.tsx index 733f24c2..070e5a1c 100644 --- a/packages/tanstack-router/src/components/ProtectedRoute.tsx +++ b/packages/tanstack-router/src/components/ProtectedRoute.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {Navigate} from '@tanstack/react-router'; import {useThunderID, ThunderIDRuntimeError} from '@thunderid/react'; diff --git a/packages/tanstack-router/src/components/__tests__/ProtectedRoute.test.tsx b/packages/tanstack-router/src/components/__tests__/ProtectedRoute.test.tsx index a3a4f2dd..62177232 100644 --- a/packages/tanstack-router/src/components/__tests__/ProtectedRoute.test.tsx +++ b/packages/tanstack-router/src/components/__tests__/ProtectedRoute.test.tsx @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {cleanup, render, screen} from '@testing-library/react'; import {useThunderID} from '@thunderid/react'; diff --git a/packages/tanstack-router/src/index.ts b/packages/tanstack-router/src/index.ts index a1fc2e7a..9a9805cb 100644 --- a/packages/tanstack-router/src/index.ts +++ b/packages/tanstack-router/src/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default as ProtectedRoute} from './components/ProtectedRoute'; export * from './components/ProtectedRoute'; diff --git a/packages/tanstack-router/vitest.config.ts b/packages/tanstack-router/vitest.config.ts index a55b9541..83a9cb90 100644 --- a/packages/tanstack-router/vitest.config.ts +++ b/packages/tanstack-router/vitest.config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {playwright} from '@vitest/browser-playwright'; import {defineConfig} from 'vitest/config'; diff --git a/packages/vue/declarations.d.ts b/packages/vue/declarations.d.ts index d9f56d9d..5a886e5e 100644 --- a/packages/vue/declarations.d.ts +++ b/packages/vue/declarations.d.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 declare module '*.svg' { const content: string; diff --git a/packages/vue/eslint.config.js b/packages/vue/eslint.config.js index 51b7c11c..043693bb 100644 --- a/packages/vue/eslint.config.js +++ b/packages/vue/eslint.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import thunderIdPlugin from '@thunderid/eslint-plugin'; diff --git a/packages/vue/package.json b/packages/vue/package.json index fe1f39cf..62dfd42b 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -13,7 +13,7 @@ "bugs": { "url": "https://github.com/thunder-id/thunderid/issues" }, - "author": "WSO2", + "author": "The ThunderID Authors", "license": "Apache-2.0", "type": "module", "main": "dist/cjs/index.cjs", diff --git a/packages/vue/prettier.config.js b/packages/vue/prettier.config.js index 7e978e97..f054cd50 100644 --- a/packages/vue/prettier.config.js +++ b/packages/vue/prettier.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import config from '@thunderid/prettier-config'; diff --git a/packages/vue/rolldown.config.js b/packages/vue/rolldown.config.js index 1d70076f..eeb8d84c 100644 --- a/packages/vue/rolldown.config.js +++ b/packages/vue/rolldown.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {readFileSync} from 'fs'; import {join} from 'path'; diff --git a/packages/vue/src/ThunderIDVueClient.ts b/packages/vue/src/ThunderIDVueClient.ts index b32df471..7be70c2a 100644 --- a/packages/vue/src/ThunderIDVueClient.ts +++ b/packages/vue/src/ThunderIDVueClient.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDBrowserClient, diff --git a/packages/vue/src/__tests__/components/actions.test.ts b/packages/vue/src/__tests__/components/actions.test.ts index 5ce48bc7..77b11b9f 100644 --- a/packages/vue/src/__tests__/components/actions.test.ts +++ b/packages/vue/src/__tests__/components/actions.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {mount} from '@vue/test-utils'; import {describe, expect, it, vi} from 'vitest'; diff --git a/packages/vue/src/__tests__/components/callback.test.ts b/packages/vue/src/__tests__/components/callback.test.ts index 2add4869..252f4f72 100644 --- a/packages/vue/src/__tests__/components/callback.test.ts +++ b/packages/vue/src/__tests__/components/callback.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {mount} from '@vue/test-utils'; import {describe, expect, it, vi, beforeEach, afterEach} from 'vitest'; diff --git a/packages/vue/src/__tests__/components/control.test.ts b/packages/vue/src/__tests__/components/control.test.ts index 810e7175..8a740451 100644 --- a/packages/vue/src/__tests__/components/control.test.ts +++ b/packages/vue/src/__tests__/components/control.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {mount} from '@vue/test-utils'; import {describe, expect, it, vi} from 'vitest'; diff --git a/packages/vue/src/__tests__/composables/secondary-composables.test.ts b/packages/vue/src/__tests__/composables/secondary-composables.test.ts index 0c7f2dd5..adc0f653 100644 --- a/packages/vue/src/__tests__/composables/secondary-composables.test.ts +++ b/packages/vue/src/__tests__/composables/secondary-composables.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {mount} from '@vue/test-utils'; diff --git a/packages/vue/src/__tests__/composables/useThunderID.test.ts b/packages/vue/src/__tests__/composables/useThunderID.test.ts index 1fde719e..1595a54b 100644 --- a/packages/vue/src/__tests__/composables/useThunderID.test.ts +++ b/packages/vue/src/__tests__/composables/useThunderID.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {mount} from '@vue/test-utils'; diff --git a/packages/vue/src/__tests__/composables/useUser.test.ts b/packages/vue/src/__tests__/composables/useUser.test.ts index 82ac49c1..c0713660 100644 --- a/packages/vue/src/__tests__/composables/useUser.test.ts +++ b/packages/vue/src/__tests__/composables/useUser.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {mount} from '@vue/test-utils'; import {describe, expect, it, vi} from 'vitest'; diff --git a/packages/vue/src/__tests__/plugins/ThunderIDPlugin.test.ts b/packages/vue/src/__tests__/plugins/ThunderIDPlugin.test.ts index 27fc2c13..3bc64c6c 100644 --- a/packages/vue/src/__tests__/plugins/ThunderIDPlugin.test.ts +++ b/packages/vue/src/__tests__/plugins/ThunderIDPlugin.test.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {describe, expect, it} from 'vitest'; import {createApp, h} from 'vue'; diff --git a/packages/vue/src/api/getUsersMe.ts b/packages/vue/src/api/getUsersMe.ts index e608f439..e45355cc 100644 --- a/packages/vue/src/api/getUsersMe.ts +++ b/packages/vue/src/api/getUsersMe.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { User, diff --git a/packages/vue/src/api/updateMeProfile.ts b/packages/vue/src/api/updateMeProfile.ts index b0773741..a5cfcc89 100644 --- a/packages/vue/src/api/updateMeProfile.ts +++ b/packages/vue/src/api/updateMeProfile.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { FetchHttpClient, diff --git a/packages/vue/src/components/actions/BaseSignInButton.ts b/packages/vue/src/components/actions/BaseSignInButton.ts index 0ecfee95..4be3d57d 100644 --- a/packages/vue/src/components/actions/BaseSignInButton.ts +++ b/packages/vue/src/components/actions/BaseSignInButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type VNode, defineComponent, h} from 'vue'; diff --git a/packages/vue/src/components/actions/BaseSignOutButton.ts b/packages/vue/src/components/actions/BaseSignOutButton.ts index d284eba6..31122e05 100644 --- a/packages/vue/src/components/actions/BaseSignOutButton.ts +++ b/packages/vue/src/components/actions/BaseSignOutButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type VNode, defineComponent, h} from 'vue'; diff --git a/packages/vue/src/components/actions/BaseSignUpButton.ts b/packages/vue/src/components/actions/BaseSignUpButton.ts index 500d6bfa..35c3433b 100644 --- a/packages/vue/src/components/actions/BaseSignUpButton.ts +++ b/packages/vue/src/components/actions/BaseSignUpButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type VNode, defineComponent, h} from 'vue'; diff --git a/packages/vue/src/components/actions/SignInButton.ts b/packages/vue/src/components/actions/SignInButton.ts index ca819dfe..775a7e17 100644 --- a/packages/vue/src/components/actions/SignInButton.ts +++ b/packages/vue/src/components/actions/SignInButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDRuntimeError, navigate} from '@thunderid/browser'; import { diff --git a/packages/vue/src/components/actions/SignOutButton.ts b/packages/vue/src/components/actions/SignOutButton.ts index aca860d9..7928dbea 100644 --- a/packages/vue/src/components/actions/SignOutButton.ts +++ b/packages/vue/src/components/actions/SignOutButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDRuntimeError} from '@thunderid/browser'; import {defineComponent, h, ref, type Component, type Ref, type SetupContext, type VNode} from 'vue'; diff --git a/packages/vue/src/components/actions/SignUpButton.ts b/packages/vue/src/components/actions/SignUpButton.ts index 50e6ff4b..a17165fd 100644 --- a/packages/vue/src/components/actions/SignUpButton.ts +++ b/packages/vue/src/components/actions/SignUpButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDRuntimeError, navigate} from '@thunderid/browser'; import {Fragment, defineComponent, h, ref, type Component, type Ref, type SetupContext, type VNode} from 'vue'; diff --git a/packages/vue/src/components/adapters/FacebookButton.ts b/packages/vue/src/components/adapters/FacebookButton.ts index cd8253f9..359557ea 100644 --- a/packages/vue/src/components/adapters/FacebookButton.ts +++ b/packages/vue/src/components/adapters/FacebookButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineComponent, h, type Component, type SetupContext, type VNode} from 'vue'; import useI18n from '../../composables/useI18n'; diff --git a/packages/vue/src/components/adapters/GitHubButton.ts b/packages/vue/src/components/adapters/GitHubButton.ts index 99381d28..2ea53c33 100644 --- a/packages/vue/src/components/adapters/GitHubButton.ts +++ b/packages/vue/src/components/adapters/GitHubButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineComponent, h, type Component, type SetupContext, type VNode} from 'vue'; import useI18n from '../../composables/useI18n'; diff --git a/packages/vue/src/components/adapters/GoogleButton.ts b/packages/vue/src/components/adapters/GoogleButton.ts index dcfbe6be..04cbdb9a 100644 --- a/packages/vue/src/components/adapters/GoogleButton.ts +++ b/packages/vue/src/components/adapters/GoogleButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineComponent, h, type Component, type SetupContext, type VNode} from 'vue'; import useI18n from '../../composables/useI18n'; diff --git a/packages/vue/src/components/adapters/MicrosoftButton.ts b/packages/vue/src/components/adapters/MicrosoftButton.ts index 8511b956..78bf8abc 100644 --- a/packages/vue/src/components/adapters/MicrosoftButton.ts +++ b/packages/vue/src/components/adapters/MicrosoftButton.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {defineComponent, h, type Component, type SetupContext, type VNode} from 'vue'; import useI18n from '../../composables/useI18n'; diff --git a/packages/vue/src/components/auth/Callback.ts b/packages/vue/src/components/auth/Callback.ts index 35926bf7..d9a008c5 100644 --- a/packages/vue/src/components/auth/Callback.ts +++ b/packages/vue/src/components/auth/Callback.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {navigate as browserNavigate, getVendorPrefix} from '@thunderid/browser'; import {type Component, defineComponent, inject, onMounted} from 'vue'; diff --git a/packages/vue/src/components/auth/sign-in/AuthOptionFactory.ts b/packages/vue/src/components/auth/sign-in/AuthOptionFactory.ts index 366e4e3e..8271654f 100644 --- a/packages/vue/src/components/auth/sign-in/AuthOptionFactory.ts +++ b/packages/vue/src/components/auth/sign-in/AuthOptionFactory.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {renderInviteUserComponents, renderSignInComponents, renderSignUpComponents} from './AuthOptionFactoryCore'; diff --git a/packages/vue/src/components/auth/sign-in/AuthOptionFactoryCore.ts b/packages/vue/src/components/auth/sign-in/AuthOptionFactoryCore.ts index 6aae9572..d6a2ff2d 100644 --- a/packages/vue/src/components/auth/sign-in/AuthOptionFactoryCore.ts +++ b/packages/vue/src/components/auth/sign-in/AuthOptionFactoryCore.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { FieldType, diff --git a/packages/vue/src/components/auth/sign-in/BaseSignIn.ts b/packages/vue/src/components/auth/sign-in/BaseSignIn.ts index ea356c3f..302e1d6c 100644 --- a/packages/vue/src/components/auth/sign-in/BaseSignIn.ts +++ b/packages/vue/src/components/auth/sign-in/BaseSignIn.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { withVendorCSSClassPrefix, diff --git a/packages/vue/src/components/auth/sign-in/SignIn.ts b/packages/vue/src/components/auth/sign-in/SignIn.ts index ebe09c01..59311f56 100644 --- a/packages/vue/src/components/auth/sign-in/SignIn.ts +++ b/packages/vue/src/components/auth/sign-in/SignIn.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDRuntimeError, diff --git a/packages/vue/src/components/auth/sign-up/BaseSignUp.ts b/packages/vue/src/components/auth/sign-up/BaseSignUp.ts index a6e9f402..4da5c0fe 100644 --- a/packages/vue/src/components/auth/sign-up/BaseSignUp.ts +++ b/packages/vue/src/components/auth/sign-up/BaseSignUp.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { EmbeddedFlowComponentType, diff --git a/packages/vue/src/components/auth/sign-up/SignUp.ts b/packages/vue/src/components/auth/sign-up/SignUp.ts index 7978c9ed..0758883c 100644 --- a/packages/vue/src/components/auth/sign-up/SignUp.ts +++ b/packages/vue/src/components/auth/sign-up/SignUp.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedFlowResponseType, EmbeddedFlowType} from '@thunderid/browser'; import {type Component, type PropType, type SetupContext, type VNode, defineComponent, h} from 'vue'; diff --git a/packages/vue/src/components/control/Loading.ts b/packages/vue/src/components/control/Loading.ts index c0b05197..ee1b317a 100644 --- a/packages/vue/src/components/control/Loading.ts +++ b/packages/vue/src/components/control/Loading.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {type Component, type VNode, defineComponent, h, Fragment} from 'vue'; import useThunderID from '../../composables/useThunderID'; diff --git a/packages/vue/src/components/control/SignedIn.ts b/packages/vue/src/components/control/SignedIn.ts index 887a358f..3727ff9d 100644 --- a/packages/vue/src/components/control/SignedIn.ts +++ b/packages/vue/src/components/control/SignedIn.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {type Component, type VNode, defineComponent, h, Fragment} from 'vue'; import useThunderID from '../../composables/useThunderID'; diff --git a/packages/vue/src/components/control/SignedOut.ts b/packages/vue/src/components/control/SignedOut.ts index 03dd4072..daffcb5f 100644 --- a/packages/vue/src/components/control/SignedOut.ts +++ b/packages/vue/src/components/control/SignedOut.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {type Component, type VNode, defineComponent, h, Fragment} from 'vue'; import useThunderID from '../../composables/useThunderID'; diff --git a/packages/vue/src/components/factories/FieldFactory.ts b/packages/vue/src/components/factories/FieldFactory.ts index 7e1d4a8c..d48a6b74 100644 --- a/packages/vue/src/components/factories/FieldFactory.ts +++ b/packages/vue/src/components/factories/FieldFactory.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FieldType} from '@thunderid/browser'; import {type Component, type PropType, type VNode, defineComponent, h} from 'vue'; diff --git a/packages/vue/src/components/presentation/accept-invite/AcceptInvite.ts b/packages/vue/src/components/presentation/accept-invite/AcceptInvite.ts index 41c58e6c..2e7977a4 100644 --- a/packages/vue/src/components/presentation/accept-invite/AcceptInvite.ts +++ b/packages/vue/src/components/presentation/accept-invite/AcceptInvite.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDAPIError} from '@thunderid/browser'; import {type Component, type PropType, type SetupContext, type VNode, defineComponent, h} from 'vue'; diff --git a/packages/vue/src/components/presentation/accept-invite/BaseAcceptInvite.ts b/packages/vue/src/components/presentation/accept-invite/BaseAcceptInvite.ts index d30d5f68..68cb5916 100644 --- a/packages/vue/src/components/presentation/accept-invite/BaseAcceptInvite.ts +++ b/packages/vue/src/components/presentation/accept-invite/BaseAcceptInvite.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FlowMetadataResponse, withVendorCSSClassPrefix, getVendorPrefix} from '@thunderid/browser'; import { diff --git a/packages/vue/src/components/presentation/invite-user/BaseInviteUser.ts b/packages/vue/src/components/presentation/invite-user/BaseInviteUser.ts index 418e9112..4eef10a4 100644 --- a/packages/vue/src/components/presentation/invite-user/BaseInviteUser.ts +++ b/packages/vue/src/components/presentation/invite-user/BaseInviteUser.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedFlowType, FlowMetadataResponse, withVendorCSSClassPrefix} from '@thunderid/browser'; import { diff --git a/packages/vue/src/components/presentation/invite-user/InviteUser.ts b/packages/vue/src/components/presentation/invite-user/InviteUser.ts index 85efc22c..38677ea8 100644 --- a/packages/vue/src/components/presentation/invite-user/InviteUser.ts +++ b/packages/vue/src/components/presentation/invite-user/InviteUser.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedFlowType} from '@thunderid/browser'; import {type Component, type PropType, type SetupContext, type VNode, defineComponent, h} from 'vue'; diff --git a/packages/vue/src/components/presentation/language-switcher/BaseLanguageSwitcher.ts b/packages/vue/src/components/presentation/language-switcher/BaseLanguageSwitcher.ts index 7602090e..3361c919 100644 --- a/packages/vue/src/components/presentation/language-switcher/BaseLanguageSwitcher.ts +++ b/packages/vue/src/components/presentation/language-switcher/BaseLanguageSwitcher.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type PropType, type Ref, type VNode, defineComponent, h, ref} from 'vue'; diff --git a/packages/vue/src/components/presentation/language-switcher/LanguageSwitcher.css.ts b/packages/vue/src/components/presentation/language-switcher/LanguageSwitcher.css.ts index 8b37cb47..8a5b17ef 100644 --- a/packages/vue/src/components/presentation/language-switcher/LanguageSwitcher.css.ts +++ b/packages/vue/src/components/presentation/language-switcher/LanguageSwitcher.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the LanguageSwitcher presentation component. diff --git a/packages/vue/src/components/presentation/language-switcher/LanguageSwitcher.ts b/packages/vue/src/components/presentation/language-switcher/LanguageSwitcher.ts index a0d3f1b4..e498a705 100644 --- a/packages/vue/src/components/presentation/language-switcher/LanguageSwitcher.ts +++ b/packages/vue/src/components/presentation/language-switcher/LanguageSwitcher.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type PropType, type VNode, defineComponent, h} from 'vue'; diff --git a/packages/vue/src/components/presentation/user-dropdown/BaseUserDropdown.ts b/packages/vue/src/components/presentation/user-dropdown/BaseUserDropdown.ts index a5ce419e..4d801dbd 100644 --- a/packages/vue/src/components/presentation/user-dropdown/BaseUserDropdown.ts +++ b/packages/vue/src/components/presentation/user-dropdown/BaseUserDropdown.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {type User, withVendorCSSClassPrefix} from '@thunderid/browser'; import { diff --git a/packages/vue/src/components/presentation/user-dropdown/UserDropdown.css.ts b/packages/vue/src/components/presentation/user-dropdown/UserDropdown.css.ts index 5528887f..fdb67822 100644 --- a/packages/vue/src/components/presentation/user-dropdown/UserDropdown.css.ts +++ b/packages/vue/src/components/presentation/user-dropdown/UserDropdown.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the UserDropdown presentation component. diff --git a/packages/vue/src/components/presentation/user-dropdown/UserDropdown.ts b/packages/vue/src/components/presentation/user-dropdown/UserDropdown.ts index 0239c494..c9c63e28 100644 --- a/packages/vue/src/components/presentation/user-dropdown/UserDropdown.ts +++ b/packages/vue/src/components/presentation/user-dropdown/UserDropdown.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type PropType, type Ref, type VNode, defineComponent, h, ref} from 'vue'; diff --git a/packages/vue/src/components/presentation/user-profile/BaseUserProfile.ts b/packages/vue/src/components/presentation/user-profile/BaseUserProfile.ts index 46188f68..705acc63 100644 --- a/packages/vue/src/components/presentation/user-profile/BaseUserProfile.ts +++ b/packages/vue/src/components/presentation/user-profile/BaseUserProfile.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {type User, withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type PropType, type Ref, type SetupContext, type VNode, defineComponent, h, ref} from 'vue'; diff --git a/packages/vue/src/components/presentation/user-profile/UserProfile.css.ts b/packages/vue/src/components/presentation/user-profile/UserProfile.css.ts index 8950071d..6293bb2b 100644 --- a/packages/vue/src/components/presentation/user-profile/UserProfile.css.ts +++ b/packages/vue/src/components/presentation/user-profile/UserProfile.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the UserProfile presentation component. diff --git a/packages/vue/src/components/presentation/user-profile/UserProfile.ts b/packages/vue/src/components/presentation/user-profile/UserProfile.ts index 3064ae08..2881e9ce 100644 --- a/packages/vue/src/components/presentation/user-profile/UserProfile.ts +++ b/packages/vue/src/components/presentation/user-profile/UserProfile.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDError, User, resolveResourceEndpoint, withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type PropType, type SetupContext, type VNode, defineComponent, h, ref, type Ref} from 'vue'; diff --git a/packages/vue/src/components/presentation/user/User.ts b/packages/vue/src/components/presentation/user/User.ts index eb6118fc..f0cc0545 100644 --- a/packages/vue/src/components/presentation/user/User.ts +++ b/packages/vue/src/components/presentation/user/User.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {type Component, type VNode, defineComponent, h, Fragment} from 'vue'; import useThunderID from '../../../composables/useThunderID'; diff --git a/packages/vue/src/components/primitives/Alert/Alert.css.ts b/packages/vue/src/components/primitives/Alert/Alert.css.ts index 9636f8e7..93170600 100644 --- a/packages/vue/src/components/primitives/Alert/Alert.css.ts +++ b/packages/vue/src/components/primitives/Alert/Alert.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the Alert primitive component. diff --git a/packages/vue/src/components/primitives/Alert/Alert.ts b/packages/vue/src/components/primitives/Alert/Alert.ts index 31162dce..1ca726d4 100644 --- a/packages/vue/src/components/primitives/Alert/Alert.ts +++ b/packages/vue/src/components/primitives/Alert/Alert.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type SetupContext, type VNode, defineComponent, h, type PropType} from 'vue'; diff --git a/packages/vue/src/components/primitives/Alert/index.ts b/packages/vue/src/components/primitives/Alert/index.ts index 7df71825..78d8ef5c 100644 --- a/packages/vue/src/components/primitives/Alert/index.ts +++ b/packages/vue/src/components/primitives/Alert/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './Alert'; diff --git a/packages/vue/src/components/primitives/Button/Button.css.ts b/packages/vue/src/components/primitives/Button/Button.css.ts index bad5abcc..6c082ada 100644 --- a/packages/vue/src/components/primitives/Button/Button.css.ts +++ b/packages/vue/src/components/primitives/Button/Button.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the Button primitive component. diff --git a/packages/vue/src/components/primitives/Button/Button.ts b/packages/vue/src/components/primitives/Button/Button.ts index 73d7ab7f..8d04be9d 100644 --- a/packages/vue/src/components/primitives/Button/Button.ts +++ b/packages/vue/src/components/primitives/Button/Button.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type SetupContext, type VNode, defineComponent, h, type PropType} from 'vue'; diff --git a/packages/vue/src/components/primitives/Button/index.ts b/packages/vue/src/components/primitives/Button/index.ts index d6c72ca1..ba30abb9 100644 --- a/packages/vue/src/components/primitives/Button/index.ts +++ b/packages/vue/src/components/primitives/Button/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './Button'; diff --git a/packages/vue/src/components/primitives/Card/Card.css.ts b/packages/vue/src/components/primitives/Card/Card.css.ts index 6e8c1718..c7fa2ae1 100644 --- a/packages/vue/src/components/primitives/Card/Card.css.ts +++ b/packages/vue/src/components/primitives/Card/Card.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the Card primitive component. diff --git a/packages/vue/src/components/primitives/Card/Card.ts b/packages/vue/src/components/primitives/Card/Card.ts index cebf9728..2c77d3bc 100644 --- a/packages/vue/src/components/primitives/Card/Card.ts +++ b/packages/vue/src/components/primitives/Card/Card.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type SetupContext, type VNode, defineComponent, h, type PropType} from 'vue'; diff --git a/packages/vue/src/components/primitives/Card/index.ts b/packages/vue/src/components/primitives/Card/index.ts index 225ff2fd..529eb23a 100644 --- a/packages/vue/src/components/primitives/Card/index.ts +++ b/packages/vue/src/components/primitives/Card/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './Card'; diff --git a/packages/vue/src/components/primitives/Checkbox/Checkbox.css.ts b/packages/vue/src/components/primitives/Checkbox/Checkbox.css.ts index 9f3690db..69c93097 100644 --- a/packages/vue/src/components/primitives/Checkbox/Checkbox.css.ts +++ b/packages/vue/src/components/primitives/Checkbox/Checkbox.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the Checkbox primitive component. diff --git a/packages/vue/src/components/primitives/Checkbox/Checkbox.ts b/packages/vue/src/components/primitives/Checkbox/Checkbox.ts index 14753757..28a8468d 100644 --- a/packages/vue/src/components/primitives/Checkbox/Checkbox.ts +++ b/packages/vue/src/components/primitives/Checkbox/Checkbox.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type SetupContext, type VNode, defineComponent, h} from 'vue'; diff --git a/packages/vue/src/components/primitives/Checkbox/index.ts b/packages/vue/src/components/primitives/Checkbox/index.ts index c150262d..32c04ad8 100644 --- a/packages/vue/src/components/primitives/Checkbox/index.ts +++ b/packages/vue/src/components/primitives/Checkbox/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './Checkbox'; diff --git a/packages/vue/src/components/primitives/DatePicker/DatePicker.css.ts b/packages/vue/src/components/primitives/DatePicker/DatePicker.css.ts index eab1b4e8..30630ae6 100644 --- a/packages/vue/src/components/primitives/DatePicker/DatePicker.css.ts +++ b/packages/vue/src/components/primitives/DatePicker/DatePicker.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the DatePicker primitive component. diff --git a/packages/vue/src/components/primitives/DatePicker/DatePicker.ts b/packages/vue/src/components/primitives/DatePicker/DatePicker.ts index 9ad494d4..95af463f 100644 --- a/packages/vue/src/components/primitives/DatePicker/DatePicker.ts +++ b/packages/vue/src/components/primitives/DatePicker/DatePicker.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type SetupContext, type VNode, defineComponent, h} from 'vue'; diff --git a/packages/vue/src/components/primitives/DatePicker/index.ts b/packages/vue/src/components/primitives/DatePicker/index.ts index 99404f32..980d09e3 100644 --- a/packages/vue/src/components/primitives/DatePicker/index.ts +++ b/packages/vue/src/components/primitives/DatePicker/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './DatePicker'; diff --git a/packages/vue/src/components/primitives/Divider/Divider.css.ts b/packages/vue/src/components/primitives/Divider/Divider.css.ts index ba7b6a5e..2f9bceaa 100644 --- a/packages/vue/src/components/primitives/Divider/Divider.css.ts +++ b/packages/vue/src/components/primitives/Divider/Divider.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the Divider primitive component. diff --git a/packages/vue/src/components/primitives/Divider/Divider.ts b/packages/vue/src/components/primitives/Divider/Divider.ts index f7132ee0..a4050966 100644 --- a/packages/vue/src/components/primitives/Divider/Divider.ts +++ b/packages/vue/src/components/primitives/Divider/Divider.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type SetupContext, type VNode, defineComponent, h, type PropType} from 'vue'; diff --git a/packages/vue/src/components/primitives/Divider/index.ts b/packages/vue/src/components/primitives/Divider/index.ts index 2be7e7b8..267c66bb 100644 --- a/packages/vue/src/components/primitives/Divider/index.ts +++ b/packages/vue/src/components/primitives/Divider/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './Divider'; diff --git a/packages/vue/src/components/primitives/Icons.ts b/packages/vue/src/components/primitives/Icons.ts index 7d646640..6673a1c0 100644 --- a/packages/vue/src/components/primitives/Icons.ts +++ b/packages/vue/src/components/primitives/Icons.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {h, type VNode} from 'vue'; diff --git a/packages/vue/src/components/primitives/Logo/Logo.css.ts b/packages/vue/src/components/primitives/Logo/Logo.css.ts index 44d4271a..44a1b584 100644 --- a/packages/vue/src/components/primitives/Logo/Logo.css.ts +++ b/packages/vue/src/components/primitives/Logo/Logo.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the Logo primitive component. diff --git a/packages/vue/src/components/primitives/Logo/Logo.ts b/packages/vue/src/components/primitives/Logo/Logo.ts index 59cd8f17..7c45c4c4 100644 --- a/packages/vue/src/components/primitives/Logo/Logo.ts +++ b/packages/vue/src/components/primitives/Logo/Logo.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix, resolveLogoUri, ResolvedLogo} from '@thunderid/browser'; import {type Component, type SetupContext, type VNode, defineComponent, h} from 'vue'; diff --git a/packages/vue/src/components/primitives/Logo/index.ts b/packages/vue/src/components/primitives/Logo/index.ts index e6b035b0..81e8284e 100644 --- a/packages/vue/src/components/primitives/Logo/index.ts +++ b/packages/vue/src/components/primitives/Logo/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './Logo'; diff --git a/packages/vue/src/components/primitives/OtpField/OtpField.css.ts b/packages/vue/src/components/primitives/OtpField/OtpField.css.ts index 82d5ad1a..cb5317ae 100644 --- a/packages/vue/src/components/primitives/OtpField/OtpField.css.ts +++ b/packages/vue/src/components/primitives/OtpField/OtpField.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the OtpField primitive component. diff --git a/packages/vue/src/components/primitives/OtpField/OtpField.ts b/packages/vue/src/components/primitives/OtpField/OtpField.ts index c5312d83..65f52dd5 100644 --- a/packages/vue/src/components/primitives/OtpField/OtpField.ts +++ b/packages/vue/src/components/primitives/OtpField/OtpField.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type Ref, type SetupContext, type VNode, defineComponent, h, nextTick, ref} from 'vue'; diff --git a/packages/vue/src/components/primitives/OtpField/index.ts b/packages/vue/src/components/primitives/OtpField/index.ts index 2ea36160..8ef4ad9a 100644 --- a/packages/vue/src/components/primitives/OtpField/index.ts +++ b/packages/vue/src/components/primitives/OtpField/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './OtpField'; diff --git a/packages/vue/src/components/primitives/PasswordField/PasswordField.css.ts b/packages/vue/src/components/primitives/PasswordField/PasswordField.css.ts index 5db5da3c..3b5a54e1 100644 --- a/packages/vue/src/components/primitives/PasswordField/PasswordField.css.ts +++ b/packages/vue/src/components/primitives/PasswordField/PasswordField.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the PasswordField primitive component. diff --git a/packages/vue/src/components/primitives/PasswordField/PasswordField.ts b/packages/vue/src/components/primitives/PasswordField/PasswordField.ts index 92affd95..41c02a6d 100644 --- a/packages/vue/src/components/primitives/PasswordField/PasswordField.ts +++ b/packages/vue/src/components/primitives/PasswordField/PasswordField.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type Ref, type SetupContext, type VNode, defineComponent, h, ref} from 'vue'; diff --git a/packages/vue/src/components/primitives/PasswordField/index.ts b/packages/vue/src/components/primitives/PasswordField/index.ts index b55f0809..1cc9a7ce 100644 --- a/packages/vue/src/components/primitives/PasswordField/index.ts +++ b/packages/vue/src/components/primitives/PasswordField/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './PasswordField'; diff --git a/packages/vue/src/components/primitives/Select/Select.css.ts b/packages/vue/src/components/primitives/Select/Select.css.ts index cde9a22e..28bccbc0 100644 --- a/packages/vue/src/components/primitives/Select/Select.css.ts +++ b/packages/vue/src/components/primitives/Select/Select.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the Select primitive component. diff --git a/packages/vue/src/components/primitives/Select/Select.ts b/packages/vue/src/components/primitives/Select/Select.ts index 5360f2e0..58024db8 100644 --- a/packages/vue/src/components/primitives/Select/Select.ts +++ b/packages/vue/src/components/primitives/Select/Select.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type SetupContext, type VNode, defineComponent, h, type PropType} from 'vue'; diff --git a/packages/vue/src/components/primitives/Select/index.ts b/packages/vue/src/components/primitives/Select/index.ts index 3821a426..8eb3b7ab 100644 --- a/packages/vue/src/components/primitives/Select/index.ts +++ b/packages/vue/src/components/primitives/Select/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './Select'; diff --git a/packages/vue/src/components/primitives/Spinner/Spinner.css.ts b/packages/vue/src/components/primitives/Spinner/Spinner.css.ts index b6fd7995..4e16bdbf 100644 --- a/packages/vue/src/components/primitives/Spinner/Spinner.css.ts +++ b/packages/vue/src/components/primitives/Spinner/Spinner.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the Spinner primitive component. diff --git a/packages/vue/src/components/primitives/Spinner/Spinner.ts b/packages/vue/src/components/primitives/Spinner/Spinner.ts index 38c62aea..f811fd2a 100644 --- a/packages/vue/src/components/primitives/Spinner/Spinner.ts +++ b/packages/vue/src/components/primitives/Spinner/Spinner.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type SetupContext, type VNode, defineComponent, h, type PropType} from 'vue'; diff --git a/packages/vue/src/components/primitives/Spinner/index.ts b/packages/vue/src/components/primitives/Spinner/index.ts index 08c39988..831c0755 100644 --- a/packages/vue/src/components/primitives/Spinner/index.ts +++ b/packages/vue/src/components/primitives/Spinner/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './Spinner'; diff --git a/packages/vue/src/components/primitives/TextField/TextField.css.ts b/packages/vue/src/components/primitives/TextField/TextField.css.ts index f1e5575a..36f91298 100644 --- a/packages/vue/src/components/primitives/TextField/TextField.css.ts +++ b/packages/vue/src/components/primitives/TextField/TextField.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the TextField primitive component. diff --git a/packages/vue/src/components/primitives/TextField/TextField.ts b/packages/vue/src/components/primitives/TextField/TextField.ts index 07bcf1df..e0fd76fa 100644 --- a/packages/vue/src/components/primitives/TextField/TextField.ts +++ b/packages/vue/src/components/primitives/TextField/TextField.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type SetupContext, type VNode, defineComponent, h, type PropType} from 'vue'; diff --git a/packages/vue/src/components/primitives/TextField/index.ts b/packages/vue/src/components/primitives/TextField/index.ts index 313da8c1..8394f8cc 100644 --- a/packages/vue/src/components/primitives/TextField/index.ts +++ b/packages/vue/src/components/primitives/TextField/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './TextField'; diff --git a/packages/vue/src/components/primitives/Typography/Typography.css.ts b/packages/vue/src/components/primitives/Typography/Typography.css.ts index 585ec025..984bf5b6 100644 --- a/packages/vue/src/components/primitives/Typography/Typography.css.ts +++ b/packages/vue/src/components/primitives/Typography/Typography.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Styles for the Typography primitive component. diff --git a/packages/vue/src/components/primitives/Typography/Typography.ts b/packages/vue/src/components/primitives/Typography/Typography.ts index 5b0887b0..920a8865 100644 --- a/packages/vue/src/components/primitives/Typography/Typography.ts +++ b/packages/vue/src/components/primitives/Typography/Typography.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {withVendorCSSClassPrefix} from '@thunderid/browser'; import {type Component, type SetupContext, type VNode, defineComponent, h, type PropType} from 'vue'; diff --git a/packages/vue/src/components/primitives/Typography/index.ts b/packages/vue/src/components/primitives/Typography/index.ts index 7bcde370..e10b7181 100644 --- a/packages/vue/src/components/primitives/Typography/index.ts +++ b/packages/vue/src/components/primitives/Typography/index.ts @@ -1,19 +1,4 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 export {default} from './Typography'; diff --git a/packages/vue/src/composables/useFlow.ts b/packages/vue/src/composables/useFlow.ts index 33b86596..70eb5e18 100644 --- a/packages/vue/src/composables/useFlow.ts +++ b/packages/vue/src/composables/useFlow.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {inject} from 'vue'; import {FLOW_KEY} from '../keys'; diff --git a/packages/vue/src/composables/useFlowMeta.ts b/packages/vue/src/composables/useFlowMeta.ts index 7efa5dce..b890793f 100644 --- a/packages/vue/src/composables/useFlowMeta.ts +++ b/packages/vue/src/composables/useFlowMeta.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {inject} from 'vue'; import {FLOW_META_KEY} from '../keys'; diff --git a/packages/vue/src/composables/useI18n.ts b/packages/vue/src/composables/useI18n.ts index 076bcb78..fc0c5e57 100644 --- a/packages/vue/src/composables/useI18n.ts +++ b/packages/vue/src/composables/useI18n.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {inject} from 'vue'; import {I18N_KEY} from '../keys'; diff --git a/packages/vue/src/composables/useOAuthCallback.ts b/packages/vue/src/composables/useOAuthCallback.ts index 24b82de5..aeeba521 100644 --- a/packages/vue/src/composables/useOAuthCallback.ts +++ b/packages/vue/src/composables/useOAuthCallback.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {watch, type Ref} from 'vue'; diff --git a/packages/vue/src/composables/useTheme.ts b/packages/vue/src/composables/useTheme.ts index e975fc42..945e9d05 100644 --- a/packages/vue/src/composables/useTheme.ts +++ b/packages/vue/src/composables/useTheme.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {inject} from 'vue'; import {THEME_KEY} from '../keys'; diff --git a/packages/vue/src/composables/useThunderID.ts b/packages/vue/src/composables/useThunderID.ts index 3022b0af..0c3bd20f 100644 --- a/packages/vue/src/composables/useThunderID.ts +++ b/packages/vue/src/composables/useThunderID.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {resolveFlowTemplateLiterals, type FlowMetadataResponse} from '@thunderid/browser'; import {inject, ref, type Ref} from 'vue'; diff --git a/packages/vue/src/composables/useUser.ts b/packages/vue/src/composables/useUser.ts index 5e5c0217..79a95361 100644 --- a/packages/vue/src/composables/useUser.ts +++ b/packages/vue/src/composables/useUser.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {inject} from 'vue'; import {USER_KEY} from '../keys'; diff --git a/packages/vue/src/index.ts b/packages/vue/src/index.ts index 1139685a..efdf3e99 100644 --- a/packages/vue/src/index.ts +++ b/packages/vue/src/index.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 // ── Plugin ── export {default as ThunderIDPlugin} from './plugins/ThunderIDPlugin'; diff --git a/packages/vue/src/keys.ts b/packages/vue/src/keys.ts index b41b33be..e0f66994 100644 --- a/packages/vue/src/keys.ts +++ b/packages/vue/src/keys.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type {InjectionKey} from 'vue'; import type { diff --git a/packages/vue/src/models/config.ts b/packages/vue/src/models/config.ts index adc4af39..4228a187 100644 --- a/packages/vue/src/models/config.ts +++ b/packages/vue/src/models/config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDBrowserConfig} from '@thunderid/browser'; diff --git a/packages/vue/src/models/contexts.ts b/packages/vue/src/models/contexts.ts index 319dac8c..15715e72 100644 --- a/packages/vue/src/models/contexts.ts +++ b/packages/vue/src/models/contexts.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type { FlowMetadataResponse, diff --git a/packages/vue/src/plugins/ThunderIDPlugin.ts b/packages/vue/src/plugins/ThunderIDPlugin.ts index 199854bc..505ae782 100644 --- a/packages/vue/src/plugins/ThunderIDPlugin.ts +++ b/packages/vue/src/plugins/ThunderIDPlugin.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import type {App, Plugin} from 'vue'; import ThunderIDProvider from '../providers/ThunderIDProvider'; diff --git a/packages/vue/src/providers/FlowMetaProvider.ts b/packages/vue/src/providers/FlowMetaProvider.ts index a56f2058..e40a8e11 100644 --- a/packages/vue/src/providers/FlowMetaProvider.ts +++ b/packages/vue/src/providers/FlowMetaProvider.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { FlowMetadataResponse, diff --git a/packages/vue/src/providers/FlowProvider.ts b/packages/vue/src/providers/FlowProvider.ts index 383bd9a4..39f4022e 100644 --- a/packages/vue/src/providers/FlowProvider.ts +++ b/packages/vue/src/providers/FlowProvider.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { defineComponent, diff --git a/packages/vue/src/providers/I18nProvider.ts b/packages/vue/src/providers/I18nProvider.ts index 75b7c241..67cc8d8a 100644 --- a/packages/vue/src/providers/I18nProvider.ts +++ b/packages/vue/src/providers/I18nProvider.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { deepMerge, diff --git a/packages/vue/src/providers/ThemeProvider.ts b/packages/vue/src/providers/ThemeProvider.ts index c7c58756..07a9d381 100644 --- a/packages/vue/src/providers/ThemeProvider.ts +++ b/packages/vue/src/providers/ThemeProvider.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { Theme, diff --git a/packages/vue/src/providers/ThunderIDProvider.ts b/packages/vue/src/providers/ThunderIDProvider.ts index ee86ee0b..d40946eb 100644 --- a/packages/vue/src/providers/ThunderIDProvider.ts +++ b/packages/vue/src/providers/ThunderIDProvider.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { ThunderIDRuntimeError, diff --git a/packages/vue/src/providers/UserProvider.ts b/packages/vue/src/providers/UserProvider.ts index 97f5924a..66c5348a 100644 --- a/packages/vue/src/providers/UserProvider.ts +++ b/packages/vue/src/providers/UserProvider.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {UpdateMeProfileConfig, User, UserProfile} from '@thunderid/browser'; import { diff --git a/packages/vue/src/router/callbackRoute.ts b/packages/vue/src/router/callbackRoute.ts index ece3436c..f1e0fd8b 100644 --- a/packages/vue/src/router/callbackRoute.ts +++ b/packages/vue/src/router/callbackRoute.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {type Component, defineComponent, h} from 'vue'; import Callback from '../components/auth/Callback'; diff --git a/packages/vue/src/router/guard.ts b/packages/vue/src/router/guard.ts index d5c8b993..9b883964 100644 --- a/packages/vue/src/router/guard.ts +++ b/packages/vue/src/router/guard.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {inject} from 'vue'; import {THUNDERID_KEY} from '../keys'; diff --git a/packages/vue/src/styles/animations.css.ts b/packages/vue/src/styles/animations.css.ts index 73edca99..4af1c8a9 100644 --- a/packages/vue/src/styles/animations.css.ts +++ b/packages/vue/src/styles/animations.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Shared CSS keyframe animations used by multiple primitive components. diff --git a/packages/vue/src/styles/defaults.css.ts b/packages/vue/src/styles/defaults.css.ts index 53b5b002..1d0fbaf4 100644 --- a/packages/vue/src/styles/defaults.css.ts +++ b/packages/vue/src/styles/defaults.css.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Default CSS custom property fallback values. diff --git a/packages/vue/src/styles/injectStyles.ts b/packages/vue/src/styles/injectStyles.ts index cb5f17db..4998b68b 100644 --- a/packages/vue/src/styles/injectStyles.ts +++ b/packages/vue/src/styles/injectStyles.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Style injection orchestrator for the ThunderID Vue SDK. diff --git a/packages/vue/src/theme/getActiveTheme.ts b/packages/vue/src/theme/getActiveTheme.ts index 03dd6997..fb4cfcba 100644 --- a/packages/vue/src/theme/getActiveTheme.ts +++ b/packages/vue/src/theme/getActiveTheme.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Re-export of the active theme resolver from the Browser SDK. diff --git a/packages/vue/src/theme/themeDetection.ts b/packages/vue/src/theme/themeDetection.ts index c941b1f2..9ad07ec1 100644 --- a/packages/vue/src/theme/themeDetection.ts +++ b/packages/vue/src/theme/themeDetection.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Re-exports of theme detection utilities from the Browser SDK. diff --git a/packages/vue/src/utils/buildThemeConfigFromFlowMeta.ts b/packages/vue/src/utils/buildThemeConfigFromFlowMeta.ts index 9ad61d5d..39e092e2 100644 --- a/packages/vue/src/utils/buildThemeConfigFromFlowMeta.ts +++ b/packages/vue/src/utils/buildThemeConfigFromFlowMeta.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import { FlowMetaTheme, diff --git a/packages/vue/src/utils/flowTransformer.ts b/packages/vue/src/utils/flowTransformer.ts index c1a1487d..5c98220e 100644 --- a/packages/vue/src/utils/flowTransformer.ts +++ b/packages/vue/src/utils/flowTransformer.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025-2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * @fileoverview Shared flow response transformer utilities for v2 embedded flows. diff --git a/packages/vue/src/utils/getAuthComponentHeadings.ts b/packages/vue/src/utils/getAuthComponentHeadings.ts index 0d59d570..c14d054b 100644 --- a/packages/vue/src/utils/getAuthComponentHeadings.ts +++ b/packages/vue/src/utils/getAuthComponentHeadings.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {EmbeddedFlowComponent} from '@thunderid/browser'; diff --git a/packages/vue/src/utils/getDisplayName.ts b/packages/vue/src/utils/getDisplayName.ts index 0a097c1c..c40dd471 100644 --- a/packages/vue/src/utils/getDisplayName.ts +++ b/packages/vue/src/utils/getDisplayName.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {User} from '@thunderid/browser'; import getMappedUserProfileValue from './getMappedUserProfileValue'; diff --git a/packages/vue/src/utils/getMappedUserProfileValue.ts b/packages/vue/src/utils/getMappedUserProfileValue.ts index 2d722330..4e361309 100644 --- a/packages/vue/src/utils/getMappedUserProfileValue.ts +++ b/packages/vue/src/utils/getMappedUserProfileValue.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {User, get} from '@thunderid/browser'; diff --git a/packages/vue/src/utils/handleWebAuthnAuthentication.ts b/packages/vue/src/utils/handleWebAuthnAuthentication.ts index 939d9dc2..210be605 100644 --- a/packages/vue/src/utils/handleWebAuthnAuthentication.ts +++ b/packages/vue/src/utils/handleWebAuthnAuthentication.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Re-export of the WebAuthn authentication handler from the Browser SDK. diff --git a/packages/vue/src/utils/hasAuthParamsInUrl.ts b/packages/vue/src/utils/hasAuthParamsInUrl.ts index 2a19bd94..d06b2088 100644 --- a/packages/vue/src/utils/hasAuthParamsInUrl.ts +++ b/packages/vue/src/utils/hasAuthParamsInUrl.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Re-export of the auth params URL check from the Browser SDK. diff --git a/packages/vue/src/utils/http.ts b/packages/vue/src/utils/http.ts index 6b2ec0f8..fee0c138 100644 --- a/packages/vue/src/utils/http.ts +++ b/packages/vue/src/utils/http.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Re-export of the HTTP utility from the Browser SDK. diff --git a/packages/vue/src/utils/logger.ts b/packages/vue/src/utils/logger.ts index 24d8c2a4..be2806e2 100644 --- a/packages/vue/src/utils/logger.ts +++ b/packages/vue/src/utils/logger.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {createPackageComponentLogger, createPackageLogger} from '@thunderid/browser'; diff --git a/packages/vue/src/utils/navigate.ts b/packages/vue/src/utils/navigate.ts index fddb1b98..db45fe3e 100644 --- a/packages/vue/src/utils/navigate.ts +++ b/packages/vue/src/utils/navigate.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /** * Re-export of the navigation helper from the Browser SDK. diff --git a/packages/vue/src/utils/oauth.ts b/packages/vue/src/utils/oauth.ts index 3de86a9a..4564573b 100644 --- a/packages/vue/src/utils/oauth.ts +++ b/packages/vue/src/utils/oauth.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {navigate, getVendorPrefix} from '@thunderid/browser'; diff --git a/packages/vue/src/utils/passkey.ts b/packages/vue/src/utils/passkey.ts index cf50e856..80d59d63 100644 --- a/packages/vue/src/utils/passkey.ts +++ b/packages/vue/src/utils/passkey.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {ThunderIDRuntimeError, arrayBufferToBase64url, base64urlToArrayBuffer} from '@thunderid/browser'; diff --git a/packages/vue/src/utils/resolveTranslationsInArray.ts b/packages/vue/src/utils/resolveTranslationsInArray.ts index d817eaae..8159dca3 100644 --- a/packages/vue/src/utils/resolveTranslationsInArray.ts +++ b/packages/vue/src/utils/resolveTranslationsInArray.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FlowMetadataResponse} from '@thunderid/browser'; import {resolveTranslationsInObject} from './resolveTranslationsInObject'; diff --git a/packages/vue/src/utils/resolveTranslationsInObject.ts b/packages/vue/src/utils/resolveTranslationsInObject.ts index 6bb3d9c5..25415e10 100644 --- a/packages/vue/src/utils/resolveTranslationsInObject.ts +++ b/packages/vue/src/utils/resolveTranslationsInObject.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {FlowMetadataResponse, resolveFlowTemplateLiterals} from '@thunderid/browser'; diff --git a/packages/vue/vitest.config.ts b/packages/vue/vitest.config.ts index a55b9541..83a9cb90 100644 --- a/packages/vue/vitest.config.ts +++ b/packages/vue/vitest.config.ts @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2026 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import {playwright} from '@vitest/browser-playwright'; import {defineConfig} from 'vitest/config'; diff --git a/prettier.config.js b/prettier.config.js index c82c8a6d..87459f16 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -1,20 +1,5 @@ -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 import config from '@thunderid/prettier-config'; diff --git a/scripts/symlink.js b/scripts/symlink.js index f9edb205..77a5df61 100644 --- a/scripts/symlink.js +++ b/scripts/symlink.js @@ -1,21 +1,6 @@ #!/usr/bin/env node -/** - * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). - * - * WSO2 LLC. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ +// Copyright 2025 The ThunderID Authors +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable @thunderid/copyright-header */