diff --git a/README.md b/README.md
index 857f798..1d29115 100644
--- a/README.md
+++ b/README.md
@@ -322,156 +322,3 @@ export default function RootScreen(): ReactElement {
);
}
```
-
-### Features
-
-#### 1. Clerk
-
-> **_NOTE:_** Required dependencies: `@clerk/clerk-expo`, `expo-web-browser`, `expo-auth-session`
-
-Hooks and helpers to create user authentication with [Clerk Expo SDK](https://clerk.com/docs/references/expo/overview).
-
-#### `useClerkResources`
-
-Hook, that provides access to essential Clerk methods and objects.
-
-Returned Object:
-
-- `signUp` - provides access to [SignUp](https://clerk.com/docs/references/javascript/sign-up) object.
-- `signIn` - provides access to [SignIn](https://clerk.com/docs/references/javascript/sign-in) object.
-- `setActive` - A function that sets the active session.
-- `signOut` - A function that signs out the current user.
-
-#### `useAuthWithIdentifier`
-
-Hook, that provides functionality to handle user sign-up and sign-in processes using an identifier such as an email, phone number, or username. It supports both OTP (One Time Password) and password-based authentication methods.
-
-Parameters:
-
-- `method`: Specifies the type of identifier used for authentication (e.g., 'emailAddress', 'phoneNumber', 'username').
-- `verifyBy`: Specifies the verification method ('otp' for one-time passwords or 'password').
-
-Returned Object:
-
-- `startSignUp`: Initiates a new user registration using the specified identifier and verification method.
-- `startSignIn`: Initiates authentication of an existing user using the specified identifier and verification method.
-- `startAuthorization`: Determines whether to initiate a sign-up or sign-in based on whether the user has been registered previously.
-- `verifyCode`: Verifies an OTP code if the verification method is 'otp'.
-- `isLoading`: Indicates whether an authentication request is in progress.
-- `isVerifying`: Indicates whether an OTP verification is in progress.
-
-**Example:**
-
-```ts
-import React, { useState } from 'react';
-import { View, TextInput, Button } from 'react-native';
-import { useAuthWithIdentifier } from '@ronas-it/react-native-common-modules/clerk';
-
-export const AuthWithIdentifierComponent = () => {
- const [identifier, setIdentifier] = useState('');
- const [verificationCode, setVerificationCode] = useState('');
- const { startSignUp, verifyCode, isLoading, isVerifying } = useAuthWithIdentifier('emailAddress', 'otp');
-
- const handleSignUp = async () => {
- await startSignUp({ identifier });
- };
-
- const handleVerifyCode = async () => {
- const result = await verifyCode({ code: verificationCode });
- console.log(result.sessionToken)
- };
-
- return (
-
-
-
-
-
-
- );
-};
-
-```
-
-#### `useAuthWithSSO`
-
-Hook provides functionality to handle [SSO](https://clerk.com/docs/references/expo/use-sso) authentication flows.
-
-Returned Object:
-
-- `startSSOFlow`: A function to initiate an SSO flow. It takes a strategy, redirectUrl, and optional tokenTemplate as parameters, starting the SSO authentication and returning session information or errors upon completion.
-- `isLoading`: A boolean indicating whether an SSO process is currently ongoing.
-
-#### `useAuthWithTicket`
-
-This hook is a utility that facilitates user authentication using a ticket-based strategy (ticket is a token generated from the Backend API).
-
-Returned Object:
-
-- `startAuthorization`: A function to initiate authentication with a ticket. It accepts an object with ticket and optional tokenTemplate parameters to kick off the authorization process and returns the session details.
-- `isLoading`: A boolean indicating whether the ticket-based authorization process is ongoing.
-
-#### `useGetSessionToken`
-
-This hook is a utility for getting session tokens.
-
-Returned Object:
-
-- `getSessionToken`: A function to retrieve the session token. It takes an optional [tokenTemplate](https://clerk.com/docs/backend-requests/jwt-templates) parameter to specify a template for the token.
-
-#### `useAddIdentifier`
-
-Hook provides functionality to add new email or phone number identifiers to a user's account and verify them using verification codes.
-
-Returned Object:
-
-- `createIdentifier`: A function to add a new email or phone number identifier to the user's account and prepare it for verification.
-- `verifyCode`: A function to verify a code sent to the identifier, completing the verification process.
-- `isCreating`: A boolean indicating whether an identifier is currently being added.
-- `isVerifying`: A boolean indicating whether a verification code is currently being processed.
-
-#### `useUpdateIdentifier`
-
-Hook to update the user's primary identifier (email or phone): add and verify a new one, then set it as primary and remove the old one.
-
-Returned Object:
-
-- `createIdentifier`, `verifyCode`, `isCreating`, `isVerifying`, `isUpdating` — see JSDoc.
-
-#### `useOtpVerification`
-
-Hook provides functionality for managing OTP (One Time Password) verification in user authentication workflows, supporting both sign-up and sign-in processes.
-
-Returned Object:
-
-- `sendOtpCode`: Sends an OTP code to the user's identifier (email or phone number) based on the specified strategy.
-- `verifyCode`: Verifies the OTP code provided by the user, completing the authentication process.
-- `isVerifying`: A boolean indicating whether a verification attempt is currently in progress.
-
-#### `useResetPassword`
-
-Hook provides methods to handle password reset functionality through email or phone-based OTP.
-
-Returned Object:
-
-- `startResetPassword`: A function to initiate the password reset process by sending a verification code to the user's email or phone number.
-- `resetPassword`: A function to reset the user's password by verifying the code and setting a new password.
-- `isCodeSending`: A boolean indicating if the verification code is being sent.
-- `isResetting`: A boolean indicating if the password is being reset.
-
-#### `useChangePassword`
-
-Hook to update the current user's password (requires current and new password).
-
-Returned Object:
-
-- `updatePassword`, `isPasswordUpdating` — see JSDoc.
diff --git a/package-lock.json b/package-lock.json
index 97c890c..7ac7bbf 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -40,8 +40,6 @@
"tslib": "^2.8.1"
},
"devDependencies": {
- "@clerk/clerk-expo": "^2.19.18",
- "@clerk/types": "^4.101.11",
"@eslint/compat": "^1.4.0",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.37.0",
@@ -141,12 +139,6 @@
}
}
},
- "node_modules/@adraffy/ens-normalize": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz",
- "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==",
- "dev": true
- },
"node_modules/@babel/code-frame": {
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
@@ -2470,28 +2462,6 @@
"node": ">=6.9.0"
}
},
- "node_modules/@base-org/account": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/@base-org/account/-/account-2.0.1.tgz",
- "integrity": "sha512-tySVNx+vd6XEynZL0uvB10uKiwnAfThr8AbKTwILVG86mPbLAhEOInQIk+uDnvpTvfdUhC1Bi5T/46JvFoLZQQ==",
- "dev": true,
- "dependencies": {
- "@noble/hashes": "1.4.0",
- "clsx": "1.2.1",
- "eventemitter3": "5.0.1",
- "idb-keyval": "6.2.1",
- "ox": "0.6.9",
- "preact": "10.24.2",
- "viem": "^2.31.7",
- "zustand": "5.0.3"
- }
- },
- "node_modules/@base-org/account/node_modules/eventemitter3": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
- "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
- "dev": true
- },
"node_modules/@bcoe/v8-coverage": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",
@@ -2499,253 +2469,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@clerk/clerk-expo": {
- "version": "2.19.18",
- "resolved": "https://registry.npmjs.org/@clerk/clerk-expo/-/clerk-expo-2.19.18.tgz",
- "integrity": "sha512-3okcPrOuY7NJ9eHAU/XSXuUiN28e4vuLTS5BbTo+Z4KvTsG4eUrhl3Rq2E7lnYfA8eN53byXVIvsGmzj6Tiz+w==",
- "dev": true,
- "dependencies": {
- "@clerk/clerk-js": "^5.120.0",
- "@clerk/clerk-react": "^5.59.4",
- "@clerk/shared": "^3.43.0",
- "@clerk/types": "^4.101.11",
- "base-64": "^1.0.0",
- "react-native-url-polyfill": "2.0.0",
- "tslib": "2.8.1"
- },
- "engines": {
- "node": ">=18.17.0"
- },
- "peerDependencies": {
- "@clerk/expo-passkeys": ">=0.0.6",
- "expo-apple-authentication": ">=7.0.0",
- "expo-auth-session": ">=5",
- "expo-crypto": ">=12",
- "expo-local-authentication": ">=13.5.0",
- "expo-secure-store": ">=12.4.0",
- "expo-web-browser": ">=12.5.0",
- "react": "^18.0.0 || ^19.0.0",
- "react-dom": "^18.0.0 || ^19.0.0",
- "react-native": ">=0.73"
- },
- "peerDependenciesMeta": {
- "@clerk/expo-passkeys": {
- "optional": true
- },
- "expo-apple-authentication": {
- "optional": true
- },
- "expo-crypto": {
- "optional": true
- },
- "expo-local-authentication": {
- "optional": true
- },
- "expo-secure-store": {
- "optional": true
- }
- }
- },
- "node_modules/@clerk/clerk-expo/node_modules/@clerk/clerk-js": {
- "version": "5.120.0",
- "resolved": "https://registry.npmjs.org/@clerk/clerk-js/-/clerk-js-5.120.0.tgz",
- "integrity": "sha512-HWEHqdmGdM1MMWQic50BlecFgGR/HEy+IJaFTYifvBU4MIEuRAEQor5MniGHQGUKVPya9kqwMVphuz7r8R9CAg==",
- "dev": true,
- "dependencies": {
- "@base-org/account": "2.0.1",
- "@clerk/localizations": "^3.35.0",
- "@clerk/shared": "^3.43.0",
- "@coinbase/wallet-sdk": "4.3.0",
- "@emotion/cache": "11.11.0",
- "@emotion/react": "11.11.1",
- "@floating-ui/react": "0.27.12",
- "@floating-ui/react-dom": "^2.1.3",
- "@formkit/auto-animate": "^0.8.2",
- "@solana/wallet-adapter-base": "0.9.27",
- "@solana/wallet-adapter-react": "0.15.39",
- "@solana/wallet-standard": "1.1.4",
- "@stripe/stripe-js": "5.6.0",
- "@swc/helpers": "^0.5.17",
- "@tanstack/query-core": "5.87.4",
- "@wallet-standard/core": "1.1.1",
- "@zxcvbn-ts/core": "3.0.4",
- "@zxcvbn-ts/language-common": "3.0.4",
- "alien-signals": "2.0.6",
- "browser-tabs-lock": "1.3.0",
- "copy-to-clipboard": "3.3.3",
- "core-js": "3.41.0",
- "crypto-js": "^4.2.0",
- "dequal": "2.0.3",
- "input-otp": "1.4.2",
- "qrcode.react": "4.2.0",
- "regenerator-runtime": "0.14.1"
- },
- "engines": {
- "node": ">=18.17.0"
- },
- "peerDependencies": {
- "react": "^18.0.0 || ~19.0.3 || ~19.1.4 || ~19.2.3 || ~19.3.0-0",
- "react-dom": "^18.0.0 || ~19.0.3 || ~19.1.4 || ~19.2.3 || ~19.3.0-0"
- }
- },
- "node_modules/@clerk/clerk-expo/node_modules/@clerk/clerk-react": {
- "version": "5.59.4",
- "resolved": "https://registry.npmjs.org/@clerk/clerk-react/-/clerk-react-5.59.4.tgz",
- "integrity": "sha512-CNr9n7uJT4cRx+cc3fzWr4l4x47+3S5j32HPOP5oUGeIF8O0QHHaoIQ8BHc3lnr4zJJpZxAyrLfwYPv3krtYIw==",
- "dev": true,
- "dependencies": {
- "@clerk/shared": "^3.43.0",
- "tslib": "2.8.1"
- },
- "engines": {
- "node": ">=18.17.0"
- },
- "peerDependencies": {
- "react": "^18.0.0 || ~19.0.3 || ~19.1.4 || ~19.2.3 || ~19.3.0-0",
- "react-dom": "^18.0.0 || ~19.0.3 || ~19.1.4 || ~19.2.3 || ~19.3.0-0"
- }
- },
- "node_modules/@clerk/clerk-expo/node_modules/@clerk/shared": {
- "version": "3.43.0",
- "resolved": "https://registry.npmjs.org/@clerk/shared/-/shared-3.43.0.tgz",
- "integrity": "sha512-pj8jgV5TX7l0ClHMvDLG7Ensp1BwA63LNvOE2uLwRV4bx3j9s4oGHy5bZlLBoOxdvRPCMpQksHi/O0x1Y+obdw==",
- "dev": true,
- "hasInstallScript": true,
- "dependencies": {
- "csstype": "3.1.3",
- "dequal": "2.0.3",
- "glob-to-regexp": "0.4.1",
- "js-cookie": "3.0.5",
- "std-env": "^3.9.0",
- "swr": "2.3.4"
- },
- "engines": {
- "node": ">=18.17.0"
- },
- "peerDependencies": {
- "react": "^18.0.0 || ~19.0.3 || ~19.1.4 || ~19.2.3 || ~19.3.0-0",
- "react-dom": "^18.0.0 || ~19.0.3 || ~19.1.4 || ~19.2.3 || ~19.3.0-0"
- },
- "peerDependenciesMeta": {
- "react": {
- "optional": true
- },
- "react-dom": {
- "optional": true
- }
- }
- },
- "node_modules/@clerk/clerk-expo/node_modules/regenerator-runtime": {
- "version": "0.14.1",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
- "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==",
- "dev": true
- },
- "node_modules/@clerk/localizations": {
- "version": "3.35.0",
- "resolved": "https://registry.npmjs.org/@clerk/localizations/-/localizations-3.35.0.tgz",
- "integrity": "sha512-ylF6IB+Z8jjpIdzb0zBRYUKcG3nPKYN1YF2QKIaeNYW9mjzSFktoQTPsDO8qs9+dYFgGuNJd2ZRxzyATE0nTSA==",
- "dev": true,
- "dependencies": {
- "@clerk/types": "^4.101.11"
- },
- "engines": {
- "node": ">=18.17.0"
- }
- },
- "node_modules/@clerk/types": {
- "version": "4.101.11",
- "resolved": "https://registry.npmjs.org/@clerk/types/-/types-4.101.11.tgz",
- "integrity": "sha512-6m1FQSLFqb4L+ovMDxNIRSrw6I0ByVX5hs6slcevOaaD5UXNzSANWqVtKaU80AZwcm391lZqVS5fRisHt9tmXA==",
- "dev": true,
- "dependencies": {
- "@clerk/shared": "^3.43.0"
- },
- "engines": {
- "node": ">=18.17.0"
- }
- },
- "node_modules/@clerk/types/node_modules/@clerk/shared": {
- "version": "3.43.0",
- "resolved": "https://registry.npmjs.org/@clerk/shared/-/shared-3.43.0.tgz",
- "integrity": "sha512-pj8jgV5TX7l0ClHMvDLG7Ensp1BwA63LNvOE2uLwRV4bx3j9s4oGHy5bZlLBoOxdvRPCMpQksHi/O0x1Y+obdw==",
- "dev": true,
- "hasInstallScript": true,
- "dependencies": {
- "csstype": "3.1.3",
- "dequal": "2.0.3",
- "glob-to-regexp": "0.4.1",
- "js-cookie": "3.0.5",
- "std-env": "^3.9.0",
- "swr": "2.3.4"
- },
- "engines": {
- "node": ">=18.17.0"
- },
- "peerDependencies": {
- "react": "^18.0.0 || ~19.0.3 || ~19.1.4 || ~19.2.3 || ~19.3.0-0",
- "react-dom": "^18.0.0 || ~19.0.3 || ~19.1.4 || ~19.2.3 || ~19.3.0-0"
- },
- "peerDependenciesMeta": {
- "react": {
- "optional": true
- },
- "react-dom": {
- "optional": true
- }
- }
- },
- "node_modules/@clerk/types/node_modules/react": {
- "version": "19.2.3",
- "resolved": "https://registry.npmjs.org/react/-/react-19.2.3.tgz",
- "integrity": "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@clerk/types/node_modules/react-dom": {
- "version": "19.2.3",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.3.tgz",
- "integrity": "sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "scheduler": "^0.27.0"
- },
- "peerDependencies": {
- "react": "^19.2.3"
- }
- },
- "node_modules/@clerk/types/node_modules/scheduler": {
- "version": "0.27.0",
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz",
- "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==",
- "dev": true,
- "optional": true,
- "peer": true
- },
- "node_modules/@coinbase/wallet-sdk": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/@coinbase/wallet-sdk/-/wallet-sdk-4.3.0.tgz",
- "integrity": "sha512-T3+SNmiCw4HzDm4we9wCHCxlP0pqCiwKe4sOwPH3YAK2KSKjxPRydKu6UQJrdONFVLG7ujXvbd/6ZqmvJb8rkw==",
- "dev": true,
- "dependencies": {
- "@noble/hashes": "^1.4.0",
- "clsx": "^1.2.1",
- "eventemitter3": "^5.0.1",
- "preact": "^10.24.2"
- }
- },
- "node_modules/@coinbase/wallet-sdk/node_modules/eventemitter3": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
- "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
- "dev": true
- },
"node_modules/@colors/colors": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz",
@@ -2803,138 +2526,6 @@
"tslib": "^2.4.0"
}
},
- "node_modules/@emotion/babel-plugin": {
- "version": "11.13.5",
- "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz",
- "integrity": "sha512-pxHCpT2ex+0q+HH91/zsdHkw/lXd468DIN2zvfvLtPKLLMo6gQj7oLObq8PhkrxOZb/gGCq03S3Z7PDhS8pduQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-module-imports": "^7.16.7",
- "@babel/runtime": "^7.18.3",
- "@emotion/hash": "^0.9.2",
- "@emotion/memoize": "^0.9.0",
- "@emotion/serialize": "^1.3.3",
- "babel-plugin-macros": "^3.1.0",
- "convert-source-map": "^1.5.0",
- "escape-string-regexp": "^4.0.0",
- "find-root": "^1.1.0",
- "source-map": "^0.5.7",
- "stylis": "4.2.0"
- }
- },
- "node_modules/@emotion/babel-plugin/node_modules/@emotion/memoize": {
- "version": "0.9.0",
- "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz",
- "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==",
- "dev": true
- },
- "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
- "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
- "dev": true
- },
- "node_modules/@emotion/cache": {
- "version": "11.11.0",
- "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz",
- "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==",
- "dev": true,
- "dependencies": {
- "@emotion/memoize": "^0.8.1",
- "@emotion/sheet": "^1.2.2",
- "@emotion/utils": "^1.2.1",
- "@emotion/weak-memoize": "^0.3.1",
- "stylis": "4.2.0"
- }
- },
- "node_modules/@emotion/hash": {
- "version": "0.9.2",
- "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz",
- "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==",
- "dev": true
- },
- "node_modules/@emotion/memoize": {
- "version": "0.8.1",
- "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz",
- "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==",
- "dev": true
- },
- "node_modules/@emotion/react": {
- "version": "11.11.1",
- "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.1.tgz",
- "integrity": "sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==",
- "dev": true,
- "dependencies": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.11.0",
- "@emotion/cache": "^11.11.0",
- "@emotion/serialize": "^1.1.2",
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
- "@emotion/utils": "^1.2.1",
- "@emotion/weak-memoize": "^0.3.1",
- "hoist-non-react-statics": "^3.3.1"
- },
- "peerDependencies": {
- "react": ">=16.8.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@emotion/serialize": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.3.3.tgz",
- "integrity": "sha512-EISGqt7sSNWHGI76hC7x1CksiXPahbxEOrC5RjmFRJTqLyEK9/9hZvBbiYn70dw4wuwMKiEMCUlR6ZXTSWQqxA==",
- "dev": true,
- "dependencies": {
- "@emotion/hash": "^0.9.2",
- "@emotion/memoize": "^0.9.0",
- "@emotion/unitless": "^0.10.0",
- "@emotion/utils": "^1.4.2",
- "csstype": "^3.0.2"
- }
- },
- "node_modules/@emotion/serialize/node_modules/@emotion/memoize": {
- "version": "0.9.0",
- "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz",
- "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==",
- "dev": true
- },
- "node_modules/@emotion/sheet": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.4.0.tgz",
- "integrity": "sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==",
- "dev": true
- },
- "node_modules/@emotion/unitless": {
- "version": "0.10.0",
- "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.10.0.tgz",
- "integrity": "sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==",
- "dev": true
- },
- "node_modules/@emotion/use-insertion-effect-with-fallbacks": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.2.0.tgz",
- "integrity": "sha512-yJMtVdH59sxi/aVJBpk9FQq+OR8ll5GT8oWd57UpeaKEVGab41JWaCFA7FRLoMLloOZF/c/wsPoe+bfGmRKgDg==",
- "dev": true,
- "peerDependencies": {
- "react": ">=16.8.0"
- }
- },
- "node_modules/@emotion/utils": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.4.2.tgz",
- "integrity": "sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==",
- "dev": true
- },
- "node_modules/@emotion/weak-memoize": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz",
- "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==",
- "dev": true
- },
"node_modules/@epic-web/invariant": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@epic-web/invariant/-/invariant-1.0.0.tgz",
@@ -4467,65 +4058,6 @@
"optional": true,
"peer": true
},
- "node_modules/@floating-ui/core": {
- "version": "1.7.3",
- "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.3.tgz",
- "integrity": "sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==",
- "dev": true,
- "dependencies": {
- "@floating-ui/utils": "^0.2.10"
- }
- },
- "node_modules/@floating-ui/dom": {
- "version": "1.7.4",
- "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.4.tgz",
- "integrity": "sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==",
- "dev": true,
- "dependencies": {
- "@floating-ui/core": "^1.7.3",
- "@floating-ui/utils": "^0.2.10"
- }
- },
- "node_modules/@floating-ui/react": {
- "version": "0.27.12",
- "resolved": "https://registry.npmjs.org/@floating-ui/react/-/react-0.27.12.tgz",
- "integrity": "sha512-kKlWNrpIQxF1B/a2MZvE0/uyKby4960yjO91W7nVyNKmmfNi62xU9HCjL1M1eWzx/LFj/VPSwJVbwQk9Pq/68A==",
- "dev": true,
- "dependencies": {
- "@floating-ui/react-dom": "^2.1.3",
- "@floating-ui/utils": "^0.2.9",
- "tabbable": "^6.0.0"
- },
- "peerDependencies": {
- "react": ">=17.0.0",
- "react-dom": ">=17.0.0"
- }
- },
- "node_modules/@floating-ui/react-dom": {
- "version": "2.1.6",
- "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.6.tgz",
- "integrity": "sha512-4JX6rEatQEvlmgU80wZyq9RT96HZJa88q8hp0pBd+LrczeDI4o6uA2M+uvxngVHo4Ihr8uibXxH6+70zhAFrVw==",
- "dev": true,
- "dependencies": {
- "@floating-ui/dom": "^1.7.4"
- },
- "peerDependencies": {
- "react": ">=16.8.0",
- "react-dom": ">=16.8.0"
- }
- },
- "node_modules/@floating-ui/utils": {
- "version": "0.2.10",
- "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.10.tgz",
- "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==",
- "dev": true
- },
- "node_modules/@formkit/auto-animate": {
- "version": "0.8.4",
- "resolved": "https://registry.npmjs.org/@formkit/auto-animate/-/auto-animate-0.8.4.tgz",
- "integrity": "sha512-DHHC01EJ1p70Q0z/ZFRBIY8NDnmfKccQoyoM84Tgb6omLMat6jivCdf272Y8k3nf4Lzdin/Y4R9q8uFtU0GbnA==",
- "dev": true
- },
"node_modules/@humanfs/core": {
"version": "0.19.1",
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
@@ -5958,57 +5490,6 @@
"@tybys/wasm-util": "^0.10.1"
}
},
- "node_modules/@noble/ciphers": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
- "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
- "dev": true,
- "engines": {
- "node": "^14.21.3 || >=16"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/@noble/curves": {
- "version": "1.9.7",
- "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.7.tgz",
- "integrity": "sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==",
- "dev": true,
- "dependencies": {
- "@noble/hashes": "1.8.0"
- },
- "engines": {
- "node": "^14.21.3 || >=16"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/@noble/curves/node_modules/@noble/hashes": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
- "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
- "dev": true,
- "engines": {
- "node": "^14.21.3 || >=16"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/@noble/hashes": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz",
- "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==",
- "dev": true,
- "engines": {
- "node": ">= 16"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -7259,19 +6740,6 @@
}
}
},
- "node_modules/@react-native-async-storage/async-storage": {
- "version": "1.24.0",
- "resolved": "https://registry.npmjs.org/@react-native-async-storage/async-storage/-/async-storage-1.24.0.tgz",
- "integrity": "sha512-W4/vbwUOYOjco0x3toB8QCr7EjIP6nE9G7o8PMguvvjYT5Awg09lyV4enACRx4s++PPulBiBSjL0KTFx2u0Z/g==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "merge-options": "^3.0.4"
- },
- "peerDependencies": {
- "react-native": "^0.0.0-0 || >=0.60 <1.0"
- }
- },
"node_modules/@react-native-community/cli-server-api": {
"version": "20.0.2",
"resolved": "https://registry.npmjs.org/@react-native-community/cli-server-api/-/cli-server-api-20.0.2.tgz",
@@ -8556,84 +8024,24 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@scure/base": {
- "version": "1.2.6",
- "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
- "integrity": "sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==",
- "dev": true,
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/@scure/bip32": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.7.0.tgz",
- "integrity": "sha512-E4FFX/N3f4B80AKWp5dP6ow+flD1LQZo/w8UnLGYZO674jS6YnYeepycOOksv+vLPSpgN35wgKgy+ybfTb2SMw==",
+ "node_modules/@sinclair/typebox": {
+ "version": "0.34.41",
+ "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.41.tgz",
+ "integrity": "sha512-6gS8pZzSXdyRHTIqoqSVknxolr1kzfy4/CeDnrzsVz8TTIWUbOBr6gnzOmTYJ3eXQNh4IYHIGi5aIL7sOZ2G/g==",
"dev": true,
- "dependencies": {
- "@noble/curves": "~1.9.0",
- "@noble/hashes": "~1.8.0",
- "@scure/base": "~1.2.5"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
+ "license": "MIT"
},
- "node_modules/@scure/bip32/node_modules/@noble/hashes": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
- "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
+ "node_modules/@sindresorhus/merge-streams": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz",
+ "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==",
"dev": true,
+ "license": "MIT",
"engines": {
- "node": "^14.21.3 || >=16"
+ "node": ">=18"
},
"funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/@scure/bip39": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.6.0.tgz",
- "integrity": "sha512-+lF0BbLiJNwVlev4eKelw1WWLaiKXw7sSl8T6FvBlWkdX+94aGJ4o8XjUdlyhTCjd8c+B3KT3JfS8P0bLRNU6A==",
- "dev": true,
- "dependencies": {
- "@noble/hashes": "~1.8.0",
- "@scure/base": "~1.2.5"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/@scure/bip39/node_modules/@noble/hashes": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
- "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
- "dev": true,
- "engines": {
- "node": "^14.21.3 || >=16"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/@sinclair/typebox": {
- "version": "0.34.41",
- "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.41.tgz",
- "integrity": "sha512-6gS8pZzSXdyRHTIqoqSVknxolr1kzfy4/CeDnrzsVz8TTIWUbOBr6gnzOmTYJ3eXQNh4IYHIGi5aIL7sOZ2G/g==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@sindresorhus/merge-streams": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz",
- "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/@sinonjs/commons": {
@@ -8726,562 +8134,6 @@
"node": ">=18"
}
},
- "node_modules/@solana-mobile/mobile-wallet-adapter-protocol": {
- "version": "2.2.5",
- "resolved": "https://registry.npmjs.org/@solana-mobile/mobile-wallet-adapter-protocol/-/mobile-wallet-adapter-protocol-2.2.5.tgz",
- "integrity": "sha512-kCI+0/umWm98M9g12ndpS56U6wBzq4XdhobCkDPF8qRDYX/iTU8CD+QMcalh7VgRT7GWEmySQvQdaugM0Chf0g==",
- "dev": true,
- "dependencies": {
- "@solana/codecs-strings": "^4.0.0",
- "@solana/wallet-standard": "^1.1.2",
- "@solana/wallet-standard-util": "^1.1.1",
- "@wallet-standard/core": "^1.0.3",
- "js-base64": "^3.7.5"
- },
- "peerDependencies": {
- "react-native": ">0.69"
- }
- },
- "node_modules/@solana-mobile/mobile-wallet-adapter-protocol-web3js": {
- "version": "2.2.5",
- "resolved": "https://registry.npmjs.org/@solana-mobile/mobile-wallet-adapter-protocol-web3js/-/mobile-wallet-adapter-protocol-web3js-2.2.5.tgz",
- "integrity": "sha512-xfQl6Kee0ZXagUG5mpy+bMhQTNf2LAzF65m5SSgNJp47y/nP9GdXWi9blVH8IPP+QjF/+DnCtURaXS14bk3WJw==",
- "dev": true,
- "dependencies": {
- "@solana-mobile/mobile-wallet-adapter-protocol": "^2.2.5",
- "bs58": "^5.0.0",
- "js-base64": "^3.7.5"
- },
- "peerDependencies": {
- "@solana/web3.js": "^1.58.0"
- }
- },
- "node_modules/@solana-mobile/wallet-adapter-mobile": {
- "version": "2.2.5",
- "resolved": "https://registry.npmjs.org/@solana-mobile/wallet-adapter-mobile/-/wallet-adapter-mobile-2.2.5.tgz",
- "integrity": "sha512-Zpzfwm3N4FfI63ZMs2qZChQ1j0z+p2prkZbSU51NyTnE+K9l9sDAl8RmRCOWnE29y+/AN10WuQZQoIAccHVOFg==",
- "dev": true,
- "dependencies": {
- "@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^2.2.5",
- "@solana-mobile/wallet-standard-mobile": "^0.4.3",
- "@solana/wallet-adapter-base": "^0.9.23",
- "@solana/wallet-standard-features": "^1.2.0",
- "js-base64": "^3.7.5"
- },
- "optionalDependencies": {
- "@react-native-async-storage/async-storage": "^1.17.7"
- },
- "peerDependencies": {
- "@solana/web3.js": "^1.58.0"
- }
- },
- "node_modules/@solana-mobile/wallet-standard-mobile": {
- "version": "0.4.4",
- "resolved": "https://registry.npmjs.org/@solana-mobile/wallet-standard-mobile/-/wallet-standard-mobile-0.4.4.tgz",
- "integrity": "sha512-LMvqkS5/aEH+EiDje9Dk351go6wO3POysgmobM4qm8RsG5s6rDAW3U0zA+5f2coGCTyRx8BKE1I/9nHlwtBuow==",
- "dev": true,
- "dependencies": {
- "@solana-mobile/mobile-wallet-adapter-protocol": "^2.2.5",
- "@solana/wallet-standard-chains": "^1.1.0",
- "@solana/wallet-standard-features": "^1.2.0",
- "@wallet-standard/base": "^1.0.1",
- "@wallet-standard/features": "^1.0.3",
- "bs58": "^5.0.0",
- "js-base64": "^3.7.5",
- "qrcode": "^1.5.4"
- }
- },
- "node_modules/@solana/buffer-layout": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz",
- "integrity": "sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "buffer": "~6.0.3"
- },
- "engines": {
- "node": ">=5.10"
- }
- },
- "node_modules/@solana/buffer-layout/node_modules/buffer": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
- "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "peer": true,
- "dependencies": {
- "base64-js": "^1.3.1",
- "ieee754": "^1.2.1"
- }
- },
- "node_modules/@solana/codecs-core": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-4.0.0.tgz",
- "integrity": "sha512-28kNUsyIlhU3MO3/7ZLDqeJf2YAm32B4tnTjl5A9HrbBqsTZ+upT/RzxZGP1MMm7jnPuIKCMwmTpsyqyR6IUpw==",
- "dev": true,
- "dependencies": {
- "@solana/errors": "4.0.0"
- },
- "engines": {
- "node": ">=20.18.0"
- },
- "peerDependencies": {
- "typescript": ">=5.3.3"
- }
- },
- "node_modules/@solana/codecs-numbers": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-4.0.0.tgz",
- "integrity": "sha512-z9zpjtcwzqT9rbkKVZpkWB5/0V7+6YRKs6BccHkGJlaDx8Pe/+XOvPi2rEdXPqrPd9QWb5Xp1iBfcgaDMyiOiA==",
- "dev": true,
- "dependencies": {
- "@solana/codecs-core": "4.0.0",
- "@solana/errors": "4.0.0"
- },
- "engines": {
- "node": ">=20.18.0"
- },
- "peerDependencies": {
- "typescript": ">=5.3.3"
- }
- },
- "node_modules/@solana/codecs-strings": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-4.0.0.tgz",
- "integrity": "sha512-XvyD+sQ1zyA0amfxbpoFZsucLoe+yASQtDiLUGMDg5TZ82IHE3B7n82jE8d8cTAqi0HgqQiwU13snPhvg1O0Ow==",
- "dev": true,
- "dependencies": {
- "@solana/codecs-core": "4.0.0",
- "@solana/codecs-numbers": "4.0.0",
- "@solana/errors": "4.0.0"
- },
- "engines": {
- "node": ">=20.18.0"
- },
- "peerDependencies": {
- "fastestsmallesttextencoderdecoder": "^1.0.22",
- "typescript": ">=5.3.3"
- }
- },
- "node_modules/@solana/errors": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-4.0.0.tgz",
- "integrity": "sha512-3YEtvcMvtcnTl4HahqLt0VnaGVf7vVWOnt6/uPky5e0qV6BlxDSbGkbBzttNjxLXHognV0AQi3pjvrtfUnZmbg==",
- "dev": true,
- "dependencies": {
- "chalk": "5.6.2",
- "commander": "14.0.1"
- },
- "bin": {
- "errors": "bin/cli.mjs"
- },
- "engines": {
- "node": ">=20.18.0"
- },
- "peerDependencies": {
- "typescript": ">=5.3.3"
- }
- },
- "node_modules/@solana/errors/node_modules/chalk": {
- "version": "5.6.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz",
- "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==",
- "dev": true,
- "engines": {
- "node": "^12.17.0 || ^14.13 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
- }
- },
- "node_modules/@solana/errors/node_modules/commander": {
- "version": "14.0.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.1.tgz",
- "integrity": "sha512-2JkV3gUZUVrbNA+1sjBOYLsMZ5cEEl8GTFP2a4AVz5hvasAMCQ1D2l2le/cX+pV4N6ZU17zjUahLpIXRrnWL8A==",
- "dev": true,
- "engines": {
- "node": ">=20"
- }
- },
- "node_modules/@solana/wallet-adapter-base": {
- "version": "0.9.27",
- "resolved": "https://registry.npmjs.org/@solana/wallet-adapter-base/-/wallet-adapter-base-0.9.27.tgz",
- "integrity": "sha512-kXjeNfNFVs/NE9GPmysBRKQ/nf+foSaq3kfVSeMcO/iVgigyRmB551OjU3WyAolLG/1jeEfKLqF9fKwMCRkUqg==",
- "dev": true,
- "dependencies": {
- "@solana/wallet-standard-features": "^1.3.0",
- "@wallet-standard/base": "^1.1.0",
- "@wallet-standard/features": "^1.1.0",
- "eventemitter3": "^5.0.1"
- },
- "engines": {
- "node": ">=20"
- },
- "peerDependencies": {
- "@solana/web3.js": "^1.98.0"
- }
- },
- "node_modules/@solana/wallet-adapter-base/node_modules/eventemitter3": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
- "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
- "dev": true
- },
- "node_modules/@solana/wallet-adapter-react": {
- "version": "0.15.39",
- "resolved": "https://registry.npmjs.org/@solana/wallet-adapter-react/-/wallet-adapter-react-0.15.39.tgz",
- "integrity": "sha512-WXtlo88ith5m22qB+qiGw301/Zb9r5pYr4QdXWmlXnRNqwST5MGmJWhG+/RVrzc+OG7kSb3z1gkVNv+2X/Y0Gg==",
- "dev": true,
- "dependencies": {
- "@solana-mobile/wallet-adapter-mobile": "^2.2.0",
- "@solana/wallet-adapter-base": "^0.9.27",
- "@solana/wallet-standard-wallet-adapter-react": "^1.1.4"
- },
- "engines": {
- "node": ">=20"
- },
- "peerDependencies": {
- "@solana/web3.js": "^1.98.0",
- "react": "*"
- }
- },
- "node_modules/@solana/wallet-standard": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@solana/wallet-standard/-/wallet-standard-1.1.4.tgz",
- "integrity": "sha512-NF+MI5tOxyvfTU4A+O5idh/gJFmjm52bMwsPpFGRSL79GECSN0XLmpVOO/jqTKJgac2uIeYDpQw/eMaQuWuUXw==",
- "dev": true,
- "dependencies": {
- "@solana/wallet-standard-core": "^1.1.2",
- "@solana/wallet-standard-wallet-adapter": "^1.1.4"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@solana/wallet-standard-chains": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@solana/wallet-standard-chains/-/wallet-standard-chains-1.1.1.tgz",
- "integrity": "sha512-Us3TgL4eMVoVWhuC4UrePlYnpWN+lwteCBlhZDUhFZBJ5UMGh94mYPXno3Ho7+iHPYRtuCi/ePvPcYBqCGuBOw==",
- "dev": true,
- "dependencies": {
- "@wallet-standard/base": "^1.1.0"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@solana/wallet-standard-core": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@solana/wallet-standard-core/-/wallet-standard-core-1.1.2.tgz",
- "integrity": "sha512-FaSmnVsIHkHhYlH8XX0Y4TYS+ebM+scW7ZeDkdXo3GiKge61Z34MfBPinZSUMV08hCtzxxqH2ydeU9+q/KDrLA==",
- "dev": true,
- "dependencies": {
- "@solana/wallet-standard-chains": "^1.1.1",
- "@solana/wallet-standard-features": "^1.3.0",
- "@solana/wallet-standard-util": "^1.1.2"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@solana/wallet-standard-features": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/@solana/wallet-standard-features/-/wallet-standard-features-1.3.0.tgz",
- "integrity": "sha512-ZhpZtD+4VArf6RPitsVExvgkF+nGghd1rzPjd97GmBximpnt1rsUxMOEyoIEuH3XBxPyNB6Us7ha7RHWQR+abg==",
- "dev": true,
- "dependencies": {
- "@wallet-standard/base": "^1.1.0",
- "@wallet-standard/features": "^1.1.0"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@solana/wallet-standard-util": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@solana/wallet-standard-util/-/wallet-standard-util-1.1.2.tgz",
- "integrity": "sha512-rUXFNP4OY81Ddq7qOjQV4Kmkozx4wjYAxljvyrqPx8Ycz0FYChG/hQVWqvgpK3sPsEaO/7ABG1NOACsyAKWNOA==",
- "dev": true,
- "dependencies": {
- "@noble/curves": "^1.8.0",
- "@solana/wallet-standard-chains": "^1.1.1",
- "@solana/wallet-standard-features": "^1.3.0"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@solana/wallet-standard-wallet-adapter": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@solana/wallet-standard-wallet-adapter/-/wallet-standard-wallet-adapter-1.1.4.tgz",
- "integrity": "sha512-YSBrxwov4irg2hx9gcmM4VTew3ofNnkqsXQ42JwcS6ykF1P1ecVY8JCbrv75Nwe6UodnqeoZRbN7n/p3awtjNQ==",
- "dev": true,
- "dependencies": {
- "@solana/wallet-standard-wallet-adapter-base": "^1.1.4",
- "@solana/wallet-standard-wallet-adapter-react": "^1.1.4"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@solana/wallet-standard-wallet-adapter-react": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@solana/wallet-standard-wallet-adapter-react/-/wallet-standard-wallet-adapter-react-1.1.4.tgz",
- "integrity": "sha512-xa4KVmPgB7bTiWo4U7lg0N6dVUtt2I2WhEnKlIv0jdihNvtyhOjCKMjucWet6KAVhir6I/mSWrJk1U9SvVvhCg==",
- "dev": true,
- "dependencies": {
- "@solana/wallet-standard-wallet-adapter-base": "^1.1.4",
- "@wallet-standard/app": "^1.1.0",
- "@wallet-standard/base": "^1.1.0"
- },
- "engines": {
- "node": ">=16"
- },
- "peerDependencies": {
- "@solana/wallet-adapter-base": "*",
- "react": "*"
- }
- },
- "node_modules/@solana/wallet-standard-wallet-adapter-react/node_modules/@solana/wallet-standard-wallet-adapter-base": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@solana/wallet-standard-wallet-adapter-base/-/wallet-standard-wallet-adapter-base-1.1.4.tgz",
- "integrity": "sha512-Q2Rie9YaidyFA4UxcUIxUsvynW+/gE2noj/Wmk+IOwDwlVrJUAXCvFaCNsPDSyKoiYEKxkSnlG13OA1v08G4iw==",
- "dev": true,
- "dependencies": {
- "@solana/wallet-adapter-base": "^0.9.23",
- "@solana/wallet-standard-chains": "^1.1.1",
- "@solana/wallet-standard-features": "^1.3.0",
- "@solana/wallet-standard-util": "^1.1.2",
- "@wallet-standard/app": "^1.1.0",
- "@wallet-standard/base": "^1.1.0",
- "@wallet-standard/features": "^1.1.0",
- "@wallet-standard/wallet": "^1.1.0"
- },
- "engines": {
- "node": ">=16"
- },
- "peerDependencies": {
- "@solana/web3.js": "^1.98.0",
- "bs58": "^6.0.0"
- }
- },
- "node_modules/@solana/wallet-standard-wallet-adapter-react/node_modules/base-x": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/base-x/-/base-x-5.0.1.tgz",
- "integrity": "sha512-M7uio8Zt++eg3jPj+rHMfCC+IuygQHHCOU+IYsVtik6FWjuYpVt/+MRKcgsAMHh8mMFAwnB+Bs+mTrFiXjMzKg==",
- "dev": true,
- "peer": true
- },
- "node_modules/@solana/wallet-standard-wallet-adapter-react/node_modules/bs58": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/bs58/-/bs58-6.0.0.tgz",
- "integrity": "sha512-PD0wEnEYg6ijszw/u8s+iI3H17cTymlrwkKhDhPZq+Sokl3AU4htyBFTjAeNAlCCmg0f53g6ih3jATyCKftTfw==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "base-x": "^5.0.0"
- }
- },
- "node_modules/@solana/wallet-standard-wallet-adapter/node_modules/@solana/wallet-standard-wallet-adapter-base": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@solana/wallet-standard-wallet-adapter-base/-/wallet-standard-wallet-adapter-base-1.1.4.tgz",
- "integrity": "sha512-Q2Rie9YaidyFA4UxcUIxUsvynW+/gE2noj/Wmk+IOwDwlVrJUAXCvFaCNsPDSyKoiYEKxkSnlG13OA1v08G4iw==",
- "dev": true,
- "dependencies": {
- "@solana/wallet-adapter-base": "^0.9.23",
- "@solana/wallet-standard-chains": "^1.1.1",
- "@solana/wallet-standard-features": "^1.3.0",
- "@solana/wallet-standard-util": "^1.1.2",
- "@wallet-standard/app": "^1.1.0",
- "@wallet-standard/base": "^1.1.0",
- "@wallet-standard/features": "^1.1.0",
- "@wallet-standard/wallet": "^1.1.0"
- },
- "engines": {
- "node": ">=16"
- },
- "peerDependencies": {
- "@solana/web3.js": "^1.98.0",
- "bs58": "^6.0.0"
- }
- },
- "node_modules/@solana/wallet-standard-wallet-adapter/node_modules/base-x": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/base-x/-/base-x-5.0.1.tgz",
- "integrity": "sha512-M7uio8Zt++eg3jPj+rHMfCC+IuygQHHCOU+IYsVtik6FWjuYpVt/+MRKcgsAMHh8mMFAwnB+Bs+mTrFiXjMzKg==",
- "dev": true,
- "peer": true
- },
- "node_modules/@solana/wallet-standard-wallet-adapter/node_modules/bs58": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/bs58/-/bs58-6.0.0.tgz",
- "integrity": "sha512-PD0wEnEYg6ijszw/u8s+iI3H17cTymlrwkKhDhPZq+Sokl3AU4htyBFTjAeNAlCCmg0f53g6ih3jATyCKftTfw==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "base-x": "^5.0.0"
- }
- },
- "node_modules/@solana/web3.js": {
- "version": "1.98.4",
- "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.98.4.tgz",
- "integrity": "sha512-vv9lfnvjUsRiq//+j5pBdXig0IQdtzA0BRZ3bXEP4KaIyF1CcaydWqgyzQgfZMNIsWNWmG+AUHwPy4AHOD6gpw==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@babel/runtime": "^7.25.0",
- "@noble/curves": "^1.4.2",
- "@noble/hashes": "^1.4.0",
- "@solana/buffer-layout": "^4.0.1",
- "@solana/codecs-numbers": "^2.1.0",
- "agentkeepalive": "^4.5.0",
- "bn.js": "^5.2.1",
- "borsh": "^0.7.0",
- "bs58": "^4.0.1",
- "buffer": "6.0.3",
- "fast-stable-stringify": "^1.0.0",
- "jayson": "^4.1.1",
- "node-fetch": "^2.7.0",
- "rpc-websockets": "^9.0.2",
- "superstruct": "^2.0.2"
- }
- },
- "node_modules/@solana/web3.js/node_modules/@solana/codecs-core": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.3.0.tgz",
- "integrity": "sha512-oG+VZzN6YhBHIoSKgS5ESM9VIGzhWjEHEGNPSibiDTxFhsFWxNaz8LbMDPjBUE69r9wmdGLkrQ+wVPbnJcZPvw==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@solana/errors": "2.3.0"
- },
- "engines": {
- "node": ">=20.18.0"
- },
- "peerDependencies": {
- "typescript": ">=5.3.3"
- }
- },
- "node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.3.0.tgz",
- "integrity": "sha512-jFvvwKJKffvG7Iz9dmN51OGB7JBcy2CJ6Xf3NqD/VP90xak66m/Lg48T01u5IQ/hc15mChVHiBm+HHuOFDUrQg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@solana/codecs-core": "2.3.0",
- "@solana/errors": "2.3.0"
- },
- "engines": {
- "node": ">=20.18.0"
- },
- "peerDependencies": {
- "typescript": ">=5.3.3"
- }
- },
- "node_modules/@solana/web3.js/node_modules/@solana/errors": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.3.0.tgz",
- "integrity": "sha512-66RI9MAbwYV0UtP7kGcTBVLxJgUxoZGm8Fbc0ah+lGiAw17Gugco6+9GrJCV83VyF2mDWyYnYM9qdI3yjgpnaQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "chalk": "^5.4.1",
- "commander": "^14.0.0"
- },
- "bin": {
- "errors": "bin/cli.mjs"
- },
- "engines": {
- "node": ">=20.18.0"
- },
- "peerDependencies": {
- "typescript": ">=5.3.3"
- }
- },
- "node_modules/@solana/web3.js/node_modules/base-x": {
- "version": "3.0.11",
- "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz",
- "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "safe-buffer": "^5.0.1"
- }
- },
- "node_modules/@solana/web3.js/node_modules/bs58": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",
- "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "base-x": "^3.0.2"
- }
- },
- "node_modules/@solana/web3.js/node_modules/buffer": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
- "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "peer": true,
- "dependencies": {
- "base64-js": "^1.3.1",
- "ieee754": "^1.2.1"
- }
- },
- "node_modules/@solana/web3.js/node_modules/chalk": {
- "version": "5.6.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz",
- "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": "^12.17.0 || ^14.13 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
- }
- },
- "node_modules/@solana/web3.js/node_modules/commander": {
- "version": "14.0.2",
- "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.2.tgz",
- "integrity": "sha512-TywoWNNRbhoD0BXs1P3ZEScW8W5iKrnbithIl0YH+uCmBd0QpPOA8yc82DS3BIE5Ma6FnBVUsJ7wVUDz4dvOWQ==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=20"
- }
- },
"node_modules/@standard-schema/spec": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.0.0.tgz",
@@ -9294,15 +8146,6 @@
"integrity": "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==",
"license": "MIT"
},
- "node_modules/@stripe/stripe-js": {
- "version": "5.6.0",
- "resolved": "https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-5.6.0.tgz",
- "integrity": "sha512-w8CEY73X/7tw2KKlL3iOk679V9bWseE4GzNz3zlaYxcTjmcmWOathRb0emgo/QQ3eoNzmq68+2Y2gxluAv3xGw==",
- "dev": true,
- "engines": {
- "node": ">=12.16"
- }
- },
"node_modules/@stylistic/eslint-plugin": {
"version": "5.4.0",
"resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin/-/eslint-plugin-5.4.0.tgz",
@@ -9605,16 +8448,6 @@
"tslib": "^2.8.0"
}
},
- "node_modules/@tanstack/query-core": {
- "version": "5.87.4",
- "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.87.4.tgz",
- "integrity": "sha512-uNsg6zMxraEPDVO2Bn+F3/ctHi+Zsk+MMpcN8h6P7ozqD088F6mFY5TfGM7zuyIrL7HKpDyu6QHfLWiDxh3cuw==",
- "dev": true,
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/tannerlinsley"
- }
- },
"node_modules/@trysound/sax": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz",
@@ -9716,16 +8549,6 @@
"assertion-error": "^2.0.1"
}
},
- "node_modules/@types/connect": {
- "version": "3.4.38",
- "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz",
- "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@types/node": "*"
- }
- },
"node_modules/@types/deep-eql": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
@@ -9920,23 +8743,6 @@
"optional": true,
"peer": true
},
- "node_modules/@types/uuid": {
- "version": "8.3.4",
- "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz",
- "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==",
- "dev": true,
- "peer": true
- },
- "node_modules/@types/ws": {
- "version": "7.4.7",
- "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz",
- "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@types/node": "*"
- }
- },
"node_modules/@types/yargs": {
"version": "17.0.33",
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz",
@@ -10621,144 +9427,46 @@
"pathe": "^2.0.3"
},
"funding": {
- "url": "https://opencollective.com/vitest"
- }
- },
- "node_modules/@vitest/spy": {
- "version": "3.2.4",
- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.4.tgz",
- "integrity": "sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==",
- "dev": true,
- "license": "MIT",
- "peer": true,
- "dependencies": {
- "tinyspy": "^4.0.3"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
- }
- },
- "node_modules/@vitest/utils": {
- "version": "3.2.4",
- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.4.tgz",
- "integrity": "sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==",
- "dev": true,
- "license": "MIT",
- "peer": true,
- "dependencies": {
- "@vitest/pretty-format": "3.2.4",
- "loupe": "^3.1.4",
- "tinyrainbow": "^2.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
- }
- },
- "node_modules/@vscode/sudo-prompt": {
- "version": "9.3.1",
- "resolved": "https://registry.npmjs.org/@vscode/sudo-prompt/-/sudo-prompt-9.3.1.tgz",
- "integrity": "sha512-9ORTwwS74VaTn38tNbQhsA5U44zkJfcb0BdTSyyG6frP4e8KMtHuTXYmwefe5dpL8XB1aGSIVTaLjD3BbWb5iA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@wallet-standard/app": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@wallet-standard/app/-/app-1.1.0.tgz",
- "integrity": "sha512-3CijvrO9utx598kjr45hTbbeeykQrQfKmSnxeWOgU25TOEpvcipD/bYDQWIqUv1Oc6KK4YStokSMu/FBNecGUQ==",
- "dev": true,
- "dependencies": {
- "@wallet-standard/base": "^1.1.0"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@wallet-standard/base": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@wallet-standard/base/-/base-1.1.0.tgz",
- "integrity": "sha512-DJDQhjKmSNVLKWItoKThJS+CsJQjR9AOBOirBVT1F9YpRyC9oYHE+ZnSf8y8bxUphtKqdQMPVQ2mHohYdRvDVQ==",
- "dev": true,
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@wallet-standard/core": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@wallet-standard/core/-/core-1.1.1.tgz",
- "integrity": "sha512-5Xmjc6+Oe0hcPfVc5n8F77NVLwx1JVAoCVgQpLyv/43/bhtIif+Gx3WUrDlaSDoM8i2kA2xd6YoFbHCxs+e0zA==",
- "dev": true,
- "dependencies": {
- "@wallet-standard/app": "^1.1.0",
- "@wallet-standard/base": "^1.1.0",
- "@wallet-standard/errors": "^0.1.1",
- "@wallet-standard/features": "^1.1.0",
- "@wallet-standard/wallet": "^1.1.0"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@wallet-standard/errors": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@wallet-standard/errors/-/errors-0.1.1.tgz",
- "integrity": "sha512-V8Ju1Wvol8i/VDyQOHhjhxmMVwmKiwyxUZBnHhtiPZJTWY0U/Shb2iEWyGngYEbAkp2sGTmEeNX1tVyGR7PqNw==",
- "dev": true,
- "dependencies": {
- "chalk": "^5.4.1",
- "commander": "^13.1.0"
- },
- "bin": {
- "errors": "bin/cli.mjs"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@wallet-standard/errors/node_modules/chalk": {
- "version": "5.6.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz",
- "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==",
- "dev": true,
- "engines": {
- "node": "^12.17.0 || ^14.13 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
- }
- },
- "node_modules/@wallet-standard/errors/node_modules/commander": {
- "version": "13.1.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz",
- "integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==",
- "dev": true,
- "engines": {
- "node": ">=18"
+ "url": "https://opencollective.com/vitest"
}
},
- "node_modules/@wallet-standard/features": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@wallet-standard/features/-/features-1.1.0.tgz",
- "integrity": "sha512-hiEivWNztx73s+7iLxsuD1sOJ28xtRix58W7Xnz4XzzA/pF0+aicnWgjOdA10doVDEDZdUuZCIIqG96SFNlDUg==",
+ "node_modules/@vitest/spy": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.4.tgz",
+ "integrity": "sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==",
"dev": true,
+ "license": "MIT",
+ "peer": true,
"dependencies": {
- "@wallet-standard/base": "^1.1.0"
+ "tinyspy": "^4.0.3"
},
- "engines": {
- "node": ">=16"
+ "funding": {
+ "url": "https://opencollective.com/vitest"
}
},
- "node_modules/@wallet-standard/wallet": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@wallet-standard/wallet/-/wallet-1.1.0.tgz",
- "integrity": "sha512-Gt8TnSlDZpAl+RWOOAB/kuvC7RpcdWAlFbHNoi4gsXsfaWa1QCT6LBcfIYTPdOZC9OVZUDwqGuGAcqZejDmHjg==",
+ "node_modules/@vitest/utils": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.4.tgz",
+ "integrity": "sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==",
"dev": true,
+ "license": "MIT",
+ "peer": true,
"dependencies": {
- "@wallet-standard/base": "^1.1.0"
+ "@vitest/pretty-format": "3.2.4",
+ "loupe": "^3.1.4",
+ "tinyrainbow": "^2.0.0"
},
- "engines": {
- "node": ">=16"
+ "funding": {
+ "url": "https://opencollective.com/vitest"
}
},
+ "node_modules/@vscode/sudo-prompt": {
+ "version": "9.3.1",
+ "resolved": "https://registry.npmjs.org/@vscode/sudo-prompt/-/sudo-prompt-9.3.1.tgz",
+ "integrity": "sha512-9ORTwwS74VaTn38tNbQhsA5U44zkJfcb0BdTSyyG6frP4e8KMtHuTXYmwefe5dpL8XB1aGSIVTaLjD3BbWb5iA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@webassemblyjs/ast": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz",
@@ -11035,42 +9743,6 @@
"js-yaml": "bin/js-yaml.js"
}
},
- "node_modules/@zxcvbn-ts/core": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/@zxcvbn-ts/core/-/core-3.0.4.tgz",
- "integrity": "sha512-aQeiT0F09FuJaAqNrxynlAwZ2mW/1MdXakKWNmGM1Qp/VaY6CnB/GfnMS2T8gB2231Esp1/maCWd8vTG4OuShw==",
- "dev": true,
- "dependencies": {
- "fastest-levenshtein": "1.0.16"
- }
- },
- "node_modules/@zxcvbn-ts/language-common": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/@zxcvbn-ts/language-common/-/language-common-3.0.4.tgz",
- "integrity": "sha512-viSNNnRYtc7ULXzxrQIVUNwHAPSXRtoIwy/Tq4XQQdIknBzw4vz36lQLF6mvhMlTIlpjoN/Z1GFu/fwiAlUSsw==",
- "dev": true
- },
- "node_modules/abitype": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/abitype/-/abitype-1.2.3.tgz",
- "integrity": "sha512-Ofer5QUnuUdTFsBRwARMoWKOH1ND5ehwYhJ3OJ/BQO+StkwQjHw0XyVh4vDttzHB7QOFhPHa/o413PJ82gU/Tg==",
- "dev": true,
- "funding": {
- "url": "https://github.com/sponsors/wevm"
- },
- "peerDependencies": {
- "typescript": ">=5.0.4",
- "zod": "^3.22.0 || ^4.0.0"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- },
- "zod": {
- "optional": true
- }
- }
- },
"node_modules/abort-controller": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
@@ -11160,19 +9832,6 @@
"node": ">= 14"
}
},
- "node_modules/agentkeepalive": {
- "version": "4.6.0",
- "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.6.0.tgz",
- "integrity": "sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "humanize-ms": "^1.2.1"
- },
- "engines": {
- "node": ">= 8.0.0"
- }
- },
"node_modules/ajv": {
"version": "8.17.1",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
@@ -11221,12 +9880,6 @@
"ajv": "^8.8.2"
}
},
- "node_modules/alien-signals": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/alien-signals/-/alien-signals-2.0.6.tgz",
- "integrity": "sha512-P3TxJSe31bUHBiblg59oU1PpaWPtmxF9GhJ/cB7OkgJ0qN/ifFSKUI25/v8ZhsT+lIG6ac8DpTOplXxORX6F3Q==",
- "dev": true
- },
"node_modules/anser": {
"version": "1.4.10",
"resolved": "https://registry.npmjs.org/anser/-/anser-1.4.10.tgz",
@@ -12041,19 +10694,6 @@
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
"license": "MIT"
},
- "node_modules/base-64": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/base-64/-/base-64-1.0.0.tgz",
- "integrity": "sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/base-x": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.1.tgz",
- "integrity": "sha512-uAZ8x6r6S3aUM9rbHGVOIsR15U/ZSc82b3ymnCPsT45Gk1DDvhDPdIgB5MrhirZWt+5K0EEPQH985kNqZgNPFw==",
- "dev": true
- },
"node_modules/base64-js": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
@@ -12181,13 +10821,6 @@
"optional": true,
"peer": true
},
- "node_modules/bn.js": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.2.tgz",
- "integrity": "sha512-v2YAxEmKaBLahNwE1mjp4WON6huMNeuDvagFZW+ASCuA/ku0bXR9hSMw0XpiqMoA3+rmnyck/tPRSFQkoC9Cuw==",
- "dev": true,
- "peer": true
- },
"node_modules/body-parser": {
"version": "1.20.3",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
@@ -12236,38 +10869,6 @@
"integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==",
"license": "ISC"
},
- "node_modules/borsh": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz",
- "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "bn.js": "^5.2.0",
- "bs58": "^4.0.0",
- "text-encoding-utf-8": "^1.0.2"
- }
- },
- "node_modules/borsh/node_modules/base-x": {
- "version": "3.0.11",
- "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz",
- "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "safe-buffer": "^5.0.1"
- }
- },
- "node_modules/borsh/node_modules/bs58": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",
- "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "base-x": "^3.0.2"
- }
- },
"node_modules/bplist-creator": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.1.0.tgz",
@@ -12320,16 +10921,6 @@
"optional": true,
"peer": true
},
- "node_modules/browser-tabs-lock": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/browser-tabs-lock/-/browser-tabs-lock-1.3.0.tgz",
- "integrity": "sha512-g6nHaobTiT0eMZ7jh16YpD2kcjAp+PInbiVq3M1x6KKaEIVhT4v9oURNIpZLOZ3LQbQ3XYfNhMAb/9hzNLIWrw==",
- "dev": true,
- "hasInstallScript": true,
- "dependencies": {
- "lodash": ">=4.17.21"
- }
- },
"node_modules/browserslist": {
"version": "4.26.3",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.26.3.tgz",
@@ -12363,15 +10954,6 @@
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
},
- "node_modules/bs58": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz",
- "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==",
- "dev": true,
- "dependencies": {
- "base-x": "^4.0.0"
- }
- },
"node_modules/bser": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
@@ -12969,15 +11551,6 @@
"node": ">=0.8"
}
},
- "node_modules/clsx": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
- "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/co": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
@@ -13279,26 +11852,6 @@
"node": ">= 0.8"
}
},
- "node_modules/copy-to-clipboard": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz",
- "integrity": "sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==",
- "dev": true,
- "dependencies": {
- "toggle-selection": "^1.0.6"
- }
- },
- "node_modules/core-js": {
- "version": "3.41.0",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.41.0.tgz",
- "integrity": "sha512-SJ4/EHwS36QMJd6h/Rg+GyR4A5xE0FSI3eZ+iBVpfqf1x0eTSg1smWLHrA+2jQThZSh97fmSgFSU8B61nxosxA==",
- "dev": true,
- "hasInstallScript": true,
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/core-js"
- }
- },
"node_modules/core-js-compat": {
"version": "3.46.0",
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.46.0.tgz",
@@ -13402,12 +11955,6 @@
"node": ">= 8"
}
},
- "node_modules/crypto-js": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz",
- "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==",
- "dev": true
- },
"node_modules/crypto-random-string": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz",
@@ -13847,19 +12394,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/delay": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz",
- "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
@@ -13886,16 +12420,6 @@
"node": ">= 0.8"
}
},
- "node_modules/dequal": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
- "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/destroy": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
@@ -14365,12 +12889,6 @@
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
}
},
- "node_modules/dijkstrajs": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.3.tgz",
- "integrity": "sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==",
- "dev": true
- },
"node_modules/dir-glob": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
@@ -15000,23 +13518,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/es6-promise": {
- "version": "4.2.8",
- "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",
- "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==",
- "dev": true,
- "peer": true
- },
- "node_modules/es6-promisify": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz",
- "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "es6-promise": "^4.0.3"
- }
- },
"node_modules/esbuild": {
"version": "0.25.5",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.5.tgz",
@@ -15865,56 +14366,6 @@
"react-native": "*"
}
},
- "node_modules/expo-auth-session": {
- "version": "7.0.9",
- "resolved": "https://registry.npmjs.org/expo-auth-session/-/expo-auth-session-7.0.9.tgz",
- "integrity": "sha512-mPSwaRWOJYas160lXi5P/7BkLy0xbh+er+IMmAYHqf2+iz2WWs9W/4lMAklQVJG2mCyOZi24XrkffvB2izCa1g==",
- "dev": true,
- "license": "MIT",
- "peer": true,
- "dependencies": {
- "expo-application": "~7.0.7",
- "expo-constants": "~18.0.10",
- "expo-crypto": "~15.0.7",
- "expo-linking": "~8.0.9",
- "expo-web-browser": "~15.0.9",
- "invariant": "^2.2.4"
- },
- "peerDependencies": {
- "react": "*",
- "react-native": "*"
- }
- },
- "node_modules/expo-auth-session/node_modules/expo-constants": {
- "version": "18.0.10",
- "resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-18.0.10.tgz",
- "integrity": "sha512-Rhtv+X974k0Cahmvx6p7ER5+pNhBC0XbP1lRviL2J1Xl4sT2FBaIuIxF/0I0CbhOsySf0ksqc5caFweAy9Ewiw==",
- "dev": true,
- "license": "MIT",
- "peer": true,
- "dependencies": {
- "@expo/config": "~12.0.10",
- "@expo/env": "~2.0.7"
- },
- "peerDependencies": {
- "expo": "*",
- "react-native": "*"
- }
- },
- "node_modules/expo-auth-session/node_modules/expo-crypto": {
- "version": "15.0.7",
- "resolved": "https://registry.npmjs.org/expo-crypto/-/expo-crypto-15.0.7.tgz",
- "integrity": "sha512-FUo41TwwGT2e5rA45PsjezI868Ch3M6wbCZsmqTWdF/hr+HyPcrp1L//dsh/hsrsyrQdpY/U96Lu71/wXePJeg==",
- "dev": true,
- "license": "MIT",
- "peer": true,
- "dependencies": {
- "base64-js": "^1.3.0"
- },
- "peerDependencies": {
- "expo": "*"
- }
- },
"node_modules/expo-constants": {
"version": "18.0.9",
"resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-18.0.9.tgz",
@@ -16289,18 +14740,6 @@
"integrity": "sha512-ZWc51jO3qegGkVh8Hwpv636EkbesNV5ZNQPCtRa+0qytRYPEs9IYT9qITY9buezqUH5uqyzlWLcufrzU2rffdg==",
"license": "MIT"
},
- "node_modules/expo-web-browser": {
- "version": "15.0.9",
- "resolved": "https://registry.npmjs.org/expo-web-browser/-/expo-web-browser-15.0.9.tgz",
- "integrity": "sha512-Dj8kNFO+oXsxqCDNlUT/GhOrJnm10kAElH++3RplLydogFm5jTzXYWDEeNIDmV+F+BzGYs+sIhxiBf7RyaxXZg==",
- "dev": true,
- "license": "MIT",
- "peer": true,
- "peerDependencies": {
- "expo": "*",
- "react-native": "*"
- }
- },
"node_modules/exponential-backoff": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.3.tgz",
@@ -16438,16 +14877,6 @@
"node": ">= 0.8"
}
},
- "node_modules/eyes": {
- "version": "0.1.8",
- "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz",
- "integrity": "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": "> 0.1.90"
- }
- },
"node_modules/fast-check": {
"version": "3.23.2",
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.23.2.tgz",
@@ -16537,13 +14966,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/fast-stable-stringify": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz",
- "integrity": "sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag==",
- "dev": true,
- "peer": true
- },
"node_modules/fast-uri": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz",
@@ -16561,22 +14983,6 @@
],
"license": "BSD-3-Clause"
},
- "node_modules/fastest-levenshtein": {
- "version": "1.0.16",
- "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz",
- "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==",
- "dev": true,
- "engines": {
- "node": ">= 4.9.1"
- }
- },
- "node_modules/fastestsmallesttextencoderdecoder": {
- "version": "1.0.22",
- "resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz",
- "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==",
- "dev": true,
- "peer": true
- },
"node_modules/fastq": {
"version": "1.19.1",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
@@ -16923,12 +15329,6 @@
"node": ">=8"
}
},
- "node_modules/find-root": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
- "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==",
- "dev": true
- },
"node_modules/find-up": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
@@ -17756,21 +16156,6 @@
"hermes-estree": "0.29.1"
}
},
- "node_modules/hoist-non-react-statics": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
- "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
- "dev": true,
- "dependencies": {
- "react-is": "^16.7.0"
- }
- },
- "node_modules/hoist-non-react-statics/node_modules/react-is": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
- "dev": true
- },
"node_modules/homedir-polyfill": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",
@@ -17986,16 +16371,6 @@
"node": ">=10.17.0"
}
},
- "node_modules/humanize-ms": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
- "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "ms": "^2.0.0"
- }
- },
"node_modules/husky": {
"version": "9.1.7",
"resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz",
@@ -18056,12 +16431,6 @@
"postcss": "^8.1.0"
}
},
- "node_modules/idb-keyval": {
- "version": "6.2.1",
- "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-6.2.1.tgz",
- "integrity": "sha512-8Sb3veuYCyrZL+VBt9LJfZjLUPWVvqn8tG28VqYNFCo43KHcKuq+b4EiXGeuaLAQWL2YmyDgMp2aSpH9JHsEQg==",
- "dev": true
- },
"node_modules/identity-obj-proxy": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz",
@@ -18212,16 +16581,6 @@
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
"license": "ISC"
},
- "node_modules/input-otp": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/input-otp/-/input-otp-1.4.2.tgz",
- "integrity": "sha512-l3jWwYNvrEa6NTCt7BECfCm48GvwuZzkoeG3gBL2w4CHeOXW3eKFmf9UNYkNfYc3mxMrthMnxjIE07MT0zLBQA==",
- "dev": true,
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc"
- }
- },
"node_modules/internal-slot": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",
@@ -18614,6 +16973,7 @@
"dev": true,
"license": "MIT",
"optional": true,
+ "peer": true,
"engines": {
"node": ">=8"
}
@@ -18847,22 +17207,7 @@
"resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz",
"integrity": "sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==",
"dev": true,
- "license": "MIT",
- "peerDependencies": {
- "ws": "*"
- }
- },
- "node_modules/isows": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/isows/-/isows-1.0.7.tgz",
- "integrity": "sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/wevm"
- }
- ],
+ "license": "MIT",
"peerDependencies": {
"ws": "*"
}
@@ -18988,89 +17333,6 @@
"node": ">=10"
}
},
- "node_modules/jayson": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.3.0.tgz",
- "integrity": "sha512-AauzHcUcqs8OBnCHOkJY280VaTiCm57AbuO7lqzcw7JapGj50BisE3xhksye4zlTSR1+1tAz67wLTl8tEH1obQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@types/connect": "^3.4.33",
- "@types/node": "^12.12.54",
- "@types/ws": "^7.4.4",
- "commander": "^2.20.3",
- "delay": "^5.0.0",
- "es6-promisify": "^5.0.0",
- "eyes": "^0.1.8",
- "isomorphic-ws": "^4.0.1",
- "json-stringify-safe": "^5.0.1",
- "stream-json": "^1.9.1",
- "uuid": "^8.3.2",
- "ws": "^7.5.10"
- },
- "bin": {
- "jayson": "bin/jayson.js"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/jayson/node_modules/@types/node": {
- "version": "12.20.55",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz",
- "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==",
- "dev": true,
- "peer": true
- },
- "node_modules/jayson/node_modules/commander": {
- "version": "2.20.3",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
- "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
- "dev": true,
- "peer": true
- },
- "node_modules/jayson/node_modules/isomorphic-ws": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz",
- "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==",
- "dev": true,
- "peer": true,
- "peerDependencies": {
- "ws": "*"
- }
- },
- "node_modules/jayson/node_modules/uuid": {
- "version": "8.3.2",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
- "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
- "dev": true,
- "peer": true,
- "bin": {
- "uuid": "dist/bin/uuid"
- }
- },
- "node_modules/jayson/node_modules/ws": {
- "version": "7.5.10",
- "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz",
- "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=8.3.0"
- },
- "peerDependencies": {
- "bufferutil": "^4.0.1",
- "utf-8-validate": "^5.0.2"
- },
- "peerDependenciesMeta": {
- "bufferutil": {
- "optional": true
- },
- "utf-8-validate": {
- "optional": true
- }
- }
- },
"node_modules/jest-circus": {
"version": "30.2.0",
"resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.2.0.tgz",
@@ -20030,22 +18292,6 @@
"integrity": "sha512-dZ6Ra7u1G8c4Letq/B5EzAxj4tLFHL+cGtdpR+PVm4yzPDj+lCk+AbivWt1eOM+ikzkowtyV7qSqX6qr3t71Ww==",
"license": "MIT"
},
- "node_modules/js-base64": {
- "version": "3.7.8",
- "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.8.tgz",
- "integrity": "sha512-hNngCeKxIUQiEUN3GPJOkz4wF/YvdUdbNL9hsBcMQTkKzboD7T/q3OYOuuPZLUE6dBxSGpwhk5mwuDud7JVAow==",
- "dev": true
- },
- "node_modules/js-cookie": {
- "version": "3.0.5",
- "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.5.tgz",
- "integrity": "sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=14"
- }
- },
"node_modules/js-message": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/js-message/-/js-message-1.0.7.tgz",
@@ -20154,13 +18400,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/json-stringify-safe": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
- "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==",
- "dev": true,
- "peer": true
- },
"node_modules/json5": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
@@ -21433,19 +19672,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/merge-options": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/merge-options/-/merge-options-3.0.4.tgz",
- "integrity": "sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "is-plain-obj": "^2.1.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/merge-stream": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
@@ -23988,53 +22214,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/ox": {
- "version": "0.6.9",
- "resolved": "https://registry.npmjs.org/ox/-/ox-0.6.9.tgz",
- "integrity": "sha512-wi5ShvzE4eOcTwQVsIPdFr+8ycyX+5le/96iAJutaZAvCes1J0+RvpEPg5QDPDiaR0XQQAvZVl7AwqQcINuUug==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/wevm"
- }
- ],
- "dependencies": {
- "@adraffy/ens-normalize": "^1.10.1",
- "@noble/curves": "^1.6.0",
- "@noble/hashes": "^1.5.0",
- "@scure/bip32": "^1.5.0",
- "@scure/bip39": "^1.4.0",
- "abitype": "^1.0.6",
- "eventemitter3": "5.0.1"
- },
- "peerDependencies": {
- "typescript": ">=5.4.0"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/ox/node_modules/@noble/hashes": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
- "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
- "dev": true,
- "engines": {
- "node": "^14.21.3 || >=16"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/ox/node_modules/eventemitter3": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
- "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
- "dev": true
- },
"node_modules/p-finally": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
@@ -25208,16 +23387,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/preact": {
- "version": "10.24.2",
- "resolved": "https://registry.npmjs.org/preact/-/preact-10.24.2.tgz",
- "integrity": "sha512-1cSoF0aCC8uaARATfrlz4VCBqE8LwZwRfLgkxJOQwAlQt6ayTmi0D9OF7nXid1POI5SZidFuG9CnlXbDfLqY/Q==",
- "dev": true,
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/preact"
- }
- },
"node_modules/prelude-ls": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
@@ -25410,260 +23579,69 @@
"signal-exit": "^3.0.2"
}
},
- "node_modules/proxy-addr": {
- "version": "2.0.7",
- "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
- "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "forwarded": "0.2.0",
- "ipaddr.js": "1.9.1"
- },
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/proxy-from-env": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
- "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/punycode": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
- "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/pure-rand": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-7.0.1.tgz",
- "integrity": "sha512-oTUZM/NAZS8p7ANR3SHh30kXB+zK2r2BPcEn/awJIbOvq82WoMN4p62AWWp3Hhw50G0xMsw1mhIBLqHw64EcNQ==",
- "dev": true,
- "funding": [
- {
- "type": "individual",
- "url": "https://github.com/sponsors/dubzzz"
- },
- {
- "type": "opencollective",
- "url": "https://opencollective.com/fast-check"
- }
- ],
- "license": "MIT"
- },
- "node_modules/pusher-js": {
- "version": "8.4.0",
- "resolved": "https://registry.npmjs.org/pusher-js/-/pusher-js-8.4.0.tgz",
- "integrity": "sha512-wp3HqIIUc1GRyu1XrP6m2dgyE9MoCsXVsWNlohj0rjSkLf+a0jLvEyVubdg58oMk7bhjBWnFClgp8jfAa6Ak4Q==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "tweetnacl": "^1.0.3"
- }
- },
- "node_modules/qrcode": {
- "version": "1.5.4",
- "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.4.tgz",
- "integrity": "sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==",
- "dev": true,
- "dependencies": {
- "dijkstrajs": "^1.0.1",
- "pngjs": "^5.0.0",
- "yargs": "^15.3.1"
- },
- "bin": {
- "qrcode": "bin/qrcode"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/qrcode-terminal": {
- "version": "0.11.0",
- "resolved": "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.11.0.tgz",
- "integrity": "sha512-Uu7ii+FQy4Qf82G4xu7ShHhjhGahEpCWc3x8UavY3CTcWV+ufmmCtwkr7ZKsX42jdL0kr1B5FKUeqJvAn51jzQ==",
- "bin": {
- "qrcode-terminal": "bin/qrcode-terminal.js"
- }
- },
- "node_modules/qrcode.react": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/qrcode.react/-/qrcode.react-4.2.0.tgz",
- "integrity": "sha512-QpgqWi8rD9DsS9EP3z7BT+5lY5SFhsqGjpgW5DY/i3mK4M9DTBNz3ErMi8BWYEfI3L0d8GIbGmcdFAS1uIRGjA==",
- "dev": true,
- "peerDependencies": {
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
- }
- },
- "node_modules/qrcode/node_modules/camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/qrcode/node_modules/cliui": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
- "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
- "dev": true,
- "dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.0",
- "wrap-ansi": "^6.2.0"
- }
- },
- "node_modules/qrcode/node_modules/decamelize": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
- "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/qrcode/node_modules/emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
- "dev": true
- },
- "node_modules/qrcode/node_modules/find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "dev": true,
- "dependencies": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/qrcode/node_modules/locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "dev": true,
- "dependencies": {
- "p-locate": "^4.1.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/qrcode/node_modules/p-limit": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
- "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dev": true,
- "dependencies": {
- "p-try": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/qrcode/node_modules/p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "node_modules/proxy-addr": {
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "p-limit": "^2.2.0"
+ "forwarded": "0.2.0",
+ "ipaddr.js": "1.9.1"
},
"engines": {
- "node": ">=8"
+ "node": ">= 0.10"
}
},
- "node_modules/qrcode/node_modules/pngjs": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz",
- "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==",
+ "node_modules/proxy-from-env": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
"dev": true,
- "engines": {
- "node": ">=10.13.0"
- }
+ "license": "MIT"
},
- "node_modules/qrcode/node_modules/string-width": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "dev": true,
- "dependencies": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.1"
- },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "license": "MIT",
"engines": {
- "node": ">=8"
+ "node": ">=6"
}
},
- "node_modules/qrcode/node_modules/wrap-ansi": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
- "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "node_modules/pure-rand": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-7.0.1.tgz",
+ "integrity": "sha512-oTUZM/NAZS8p7ANR3SHh30kXB+zK2r2BPcEn/awJIbOvq82WoMN4p62AWWp3Hhw50G0xMsw1mhIBLqHw64EcNQ==",
"dev": true,
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/qrcode/node_modules/y18n": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
- "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
- "dev": true
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/dubzzz"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fast-check"
+ }
+ ],
+ "license": "MIT"
},
- "node_modules/qrcode/node_modules/yargs": {
- "version": "15.4.1",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
- "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
+ "node_modules/pusher-js": {
+ "version": "8.4.0",
+ "resolved": "https://registry.npmjs.org/pusher-js/-/pusher-js-8.4.0.tgz",
+ "integrity": "sha512-wp3HqIIUc1GRyu1XrP6m2dgyE9MoCsXVsWNlohj0rjSkLf+a0jLvEyVubdg58oMk7bhjBWnFClgp8jfAa6Ak4Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "cliui": "^6.0.0",
- "decamelize": "^1.2.0",
- "find-up": "^4.1.0",
- "get-caller-file": "^2.0.1",
- "require-directory": "^2.1.1",
- "require-main-filename": "^2.0.0",
- "set-blocking": "^2.0.0",
- "string-width": "^4.2.0",
- "which-module": "^2.0.0",
- "y18n": "^4.0.0",
- "yargs-parser": "^18.1.2"
- },
- "engines": {
- "node": ">=8"
+ "tweetnacl": "^1.0.3"
}
},
- "node_modules/qrcode/node_modules/yargs-parser": {
- "version": "18.1.3",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
- "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
- "dev": true,
- "dependencies": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- },
- "engines": {
- "node": ">=6"
+ "node_modules/qrcode-terminal": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.11.0.tgz",
+ "integrity": "sha512-Uu7ii+FQy4Qf82G4xu7ShHhjhGahEpCWc3x8UavY3CTcWV+ufmmCtwkr7ZKsX42jdL0kr1B5FKUeqJvAn51jzQ==",
+ "bin": {
+ "qrcode-terminal": "bin/qrcode-terminal.js"
}
},
"node_modules/qs": {
@@ -25995,19 +23973,6 @@
"react-native-svg": ">=12.0.0"
}
},
- "node_modules/react-native-url-polyfill": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/react-native-url-polyfill/-/react-native-url-polyfill-2.0.0.tgz",
- "integrity": "sha512-My330Do7/DvKnEvwQc0WdcBnFPploYKp9CYlefDXzIdEaA+PAhDYllkvGeEroEzvc4Kzzj2O4yVdz8v6fjRvhA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "whatwg-url-without-unicode": "8.0.0-3"
- },
- "peerDependencies": {
- "react-native": "*"
- }
- },
"node_modules/react-native/node_modules/@babel/code-frame": {
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
@@ -26710,12 +24675,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/require-main-filename": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
- "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
- "dev": true
- },
"node_modules/requireg": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/requireg/-/requireg-0.2.2.tgz",
@@ -27121,82 +25080,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/rpc-websockets": {
- "version": "9.3.2",
- "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.3.2.tgz",
- "integrity": "sha512-VuW2xJDnl1k8n8kjbdRSWawPRkwaVqUQNjE1TdeTawf0y0abGhtVJFTXCLfgpgGDBkO/Fj6kny8Dc/nvOW78MA==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@swc/helpers": "^0.5.11",
- "@types/uuid": "^8.3.4",
- "@types/ws": "^8.2.2",
- "buffer": "^6.0.3",
- "eventemitter3": "^5.0.1",
- "uuid": "^8.3.2",
- "ws": "^8.5.0"
- },
- "funding": {
- "type": "paypal",
- "url": "https://paypal.me/kozjak"
- },
- "optionalDependencies": {
- "bufferutil": "^4.0.1",
- "utf-8-validate": "^5.0.2"
- }
- },
- "node_modules/rpc-websockets/node_modules/@types/ws": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz",
- "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@types/node": "*"
- }
- },
- "node_modules/rpc-websockets/node_modules/buffer": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
- "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "peer": true,
- "dependencies": {
- "base64-js": "^1.3.1",
- "ieee754": "^1.2.1"
- }
- },
- "node_modules/rpc-websockets/node_modules/eventemitter3": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
- "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
- "dev": true,
- "peer": true
- },
- "node_modules/rpc-websockets/node_modules/uuid": {
- "version": "8.3.2",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
- "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
- "dev": true,
- "peer": true,
- "bin": {
- "uuid": "dist/bin/uuid"
- }
- },
"node_modules/rslog": {
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/rslog/-/rslog-1.2.11.tgz",
@@ -27557,12 +25440,6 @@
"integrity": "sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==",
"license": "MIT"
},
- "node_modules/set-blocking": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
- "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==",
- "dev": true
- },
"node_modules/set-function-length": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
@@ -28032,7 +25909,8 @@
"resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
"integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "peer": true
},
"node_modules/stdin-discarder": {
"version": "0.2.2",
@@ -28076,6 +25954,7 @@
"integrity": "sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==",
"dev": true,
"license": "BSD-3-Clause",
+ "optional": true,
"peer": true
},
"node_modules/stream-json": {
@@ -28084,6 +25963,7 @@
"integrity": "sha512-uWkjJ+2Nt/LO9Z/JyKZbMusL8Dkh97uUBTv3AJQ74y07lVahLY4eEFsPsE97pxYBwr8nnjMAIch5eqI0gPShyw==",
"dev": true,
"license": "BSD-3-Clause",
+ "optional": true,
"peer": true,
"dependencies": {
"stream-chain": "^2.2.5"
@@ -28477,12 +26357,6 @@
"postcss": "^8.2.15"
}
},
- "node_modules/stylis": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz",
- "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==",
- "dev": true
- },
"node_modules/sucrase": {
"version": "3.35.0",
"resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz",
@@ -28520,16 +26394,6 @@
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
"license": "MIT"
},
- "node_modules/superstruct": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz",
- "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=14.0.0"
- }
- },
"node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
@@ -28626,20 +26490,6 @@
"integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
"license": "CC0-1.0"
},
- "node_modules/swr": {
- "version": "2.3.4",
- "resolved": "https://registry.npmjs.org/swr/-/swr-2.3.4.tgz",
- "integrity": "sha512-bYd2lrhc+VarcpkgWclcUi92wYCpOgMws9Sd1hG1ntAu0NEy+14CbotuFjshBU2kt9rYj9TSmDcybpxpeTU1fg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "dequal": "^2.0.3",
- "use-sync-external-store": "^1.4.0"
- },
- "peerDependencies": {
- "react": "^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
- }
- },
"node_modules/synckit": {
"version": "0.11.11",
"resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.11.tgz",
@@ -29132,12 +26982,6 @@
"node": "^18.17.0 || >=20.5.0"
}
},
- "node_modules/tabbable": {
- "version": "6.4.0",
- "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.4.0.tgz",
- "integrity": "sha512-05PUHKSNE8ou2dwIxTngl4EzcnsCDZGJ/iCLtDflR/SHB/ny14rXc+qU5P4mG9JkusiV7EivzY9Mhm55AzAvCg==",
- "dev": true
- },
"node_modules/tapable": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz",
@@ -29360,13 +27204,6 @@
"url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/text-encoding-utf-8": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz",
- "integrity": "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==",
- "dev": true,
- "peer": true
- },
"node_modules/text-hex": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz",
@@ -29520,12 +27357,6 @@
"node": ">=8.0"
}
},
- "node_modules/toggle-selection": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz",
- "integrity": "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==",
- "dev": true
- },
"node_modules/toidentifier": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
@@ -30270,99 +28101,6 @@
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc"
}
},
- "node_modules/viem": {
- "version": "2.44.4",
- "resolved": "https://registry.npmjs.org/viem/-/viem-2.44.4.tgz",
- "integrity": "sha512-sJDLVl2EsS5Fo7GSWZME5CXEV7QRYkUJPeBw7ac+4XI3D4ydvMw/gjulTsT5pgqcpu70BploFnOAC6DLpan1Yg==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/wevm"
- }
- ],
- "dependencies": {
- "@noble/curves": "1.9.1",
- "@noble/hashes": "1.8.0",
- "@scure/bip32": "1.7.0",
- "@scure/bip39": "1.6.0",
- "abitype": "1.2.3",
- "isows": "1.0.7",
- "ox": "0.11.3",
- "ws": "8.18.3"
- },
- "peerDependencies": {
- "typescript": ">=5.0.4"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/viem/node_modules/@noble/curves": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.1.tgz",
- "integrity": "sha512-k11yZxZg+t+gWvBbIswW0yoJlu8cHOC7dhunwOzoWH/mXGBiYyR4YY6hAEK/3EUs4UpB8la1RfdRpeGsFHkWsA==",
- "dev": true,
- "dependencies": {
- "@noble/hashes": "1.8.0"
- },
- "engines": {
- "node": "^14.21.3 || >=16"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/viem/node_modules/@noble/hashes": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
- "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
- "dev": true,
- "engines": {
- "node": "^14.21.3 || >=16"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/viem/node_modules/eventemitter3": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
- "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
- "dev": true
- },
- "node_modules/viem/node_modules/ox": {
- "version": "0.11.3",
- "resolved": "https://registry.npmjs.org/ox/-/ox-0.11.3.tgz",
- "integrity": "sha512-1bWYGk/xZel3xro3l8WGg6eq4YEKlaqvyMtVhfMFpbJzK2F6rj4EDRtqDCWVEJMkzcmEi9uW2QxsqELokOlarw==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/wevm"
- }
- ],
- "dependencies": {
- "@adraffy/ens-normalize": "^1.11.0",
- "@noble/ciphers": "^1.3.0",
- "@noble/curves": "1.9.1",
- "@noble/hashes": "^1.8.0",
- "@scure/bip32": "^1.7.0",
- "@scure/bip39": "^1.6.0",
- "abitype": "^1.2.3",
- "eventemitter3": "5.0.1"
- },
- "peerDependencies": {
- "typescript": ">=5.4.0"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
"node_modules/vite": {
"version": "7.2.6",
"resolved": "https://registry.npmjs.org/vite/-/vite-7.2.6.tgz",
@@ -30877,12 +28615,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/which-module": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz",
- "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==",
- "dev": true
- },
"node_modules/which-typed-array": {
"version": "1.1.19",
"resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz",
@@ -31287,35 +29019,6 @@
"peerDependencies": {
"zod": "^3.25.0 || ^4.0.0"
}
- },
- "node_modules/zustand": {
- "version": "5.0.3",
- "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.3.tgz",
- "integrity": "sha512-14fwWQtU3pH4dE0dOpdMiWjddcH+QzKIgk1cl8epwSE7yag43k/AD/m4L6+K7DytAOr9gGBe3/EXj9g7cdostg==",
- "dev": true,
- "engines": {
- "node": ">=12.20.0"
- },
- "peerDependencies": {
- "@types/react": ">=18.0.0",
- "immer": ">=9.0.6",
- "react": ">=18.0.0",
- "use-sync-external-store": ">=1.2.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "immer": {
- "optional": true
- },
- "react": {
- "optional": true
- },
- "use-sync-external-store": {
- "optional": true
- }
- }
}
}
}
diff --git a/package.json b/package.json
index 6235752..a3a114b 100644
--- a/package.json
+++ b/package.json
@@ -42,8 +42,6 @@
"tslib": "^2.8.1"
},
"devDependencies": {
- "@clerk/clerk-expo": "^2.19.18",
- "@clerk/types": "^4.101.11",
"@eslint/compat": "^1.4.0",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.37.0",
diff --git a/src/lib/package.json b/src/lib/package.json
index b1813ed..db11a53 100644
--- a/src/lib/package.json
+++ b/src/lib/package.json
@@ -26,8 +26,7 @@
"./image-picker": "./src/data-access/image-picker/index.ts",
"./websocket": "./src/data-access/websocket/index.ts",
"./reactotron": "./src/data-access/store/utils/reactotron/index.ts",
- "./i18n": "./src/utils/i18n/index.ts",
- "./clerk": "./src/features/clerk/index.ts"
+ "./i18n": "./src/utils/i18n/index.ts"
},
"typesVersions": {
"*": {
@@ -48,9 +47,6 @@
],
"i18n": [
"./src/utils/i18n/index.ts"
- ],
- "clerk": [
- "./src/features/clerk/index.ts"
]
}
},
@@ -62,7 +58,6 @@
"prepack": "node -e \"require('fs').copyFileSync('../../README.md', './README.md')\""
},
"peerDependencies": {
- "@clerk/clerk-expo": "*",
"@pusher/pusher-websocket-react-native": "*",
"pusher-js": "*",
"react": "*",
@@ -83,9 +78,6 @@
"reactotron-react-js": "*"
},
"peerDependenciesMeta": {
- "@clerk/clerk-expo": {
- "optional": true
- },
"@pusher/pusher-websocket-react-native": {
"optional": true
},
diff --git a/src/lib/src/features/clerk/enums/api-error.ts b/src/lib/src/features/clerk/enums/api-error.ts
deleted file mode 100644
index 4afd2a0..0000000
--- a/src/lib/src/features/clerk/enums/api-error.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Enum containing common Clerk API error codes
- */
-export enum ClerkApiError {
- /** Error when a session already exists */
- SESSION_EXISTS = 'session_exists',
- /** Error when an identifier (email/phone) already exists */
- FORM_IDENTIFIER_EXIST = 'form_identifier_exists',
- /** Error when the verification code is incorrect */
- FORM_CODE_INCORRECT = 'form_code_incorrect',
-}
diff --git a/src/lib/src/features/clerk/enums/index.ts b/src/lib/src/features/clerk/enums/index.ts
deleted file mode 100644
index c28ebc0..0000000
--- a/src/lib/src/features/clerk/enums/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './api-error';
diff --git a/src/lib/src/features/clerk/hooks/index.ts b/src/lib/src/features/clerk/hooks/index.ts
deleted file mode 100644
index 196f89b..0000000
--- a/src/lib/src/features/clerk/hooks/index.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-export * from './use-clerk-resources';
-export * from './use-get-session-token';
-export * from './use-auth-with-sso';
-export * from './use-auth-with-ticket';
-export * from './use-otp-verification';
-export * from './use-auth-with-identifier';
-export * from './use-add-identifier';
-export * from './use-reset-password';
-export * from './use-update-password';
-export * from './use-update-identifier';
diff --git a/src/lib/src/features/clerk/hooks/use-add-identifier.ts b/src/lib/src/features/clerk/hooks/use-add-identifier.ts
deleted file mode 100644
index 138700b..0000000
--- a/src/lib/src/features/clerk/hooks/use-add-identifier.ts
+++ /dev/null
@@ -1,89 +0,0 @@
-import { isClerkAPIResponseError, useUser } from '@clerk/clerk-expo';
-import { EmailAddressResource, PhoneNumberResource } from '@clerk/types';
-import { useState } from 'react';
-import { IdentifierType, UseAddIdentifierReturn } from '../types';
-
-/**
- * Hook that provides functionality to add new email or phone number identifiers to a user's account and verify them using verification codes.
- *
- * @param {IdentifierType} type - Specifies the type of identifier (e.g., 'phone', 'email')
- *
- * @returns {UseAddIdentifierReturn} Object containing:
- * - `createIdentifier` - A function to add a new email or phone number identifier to the user's account and prepare it for verification
- * - `verifyCode` - A function to verify a code sent to the identifier, completing the verification process
- * - `isCreating` - A boolean indicating whether an identifier is currently being added
- * - `isVerifying` - A boolean indicating whether a verification code is currently being processed
- */
-export function useAddIdentifier(type: IdentifierType): UseAddIdentifierReturn {
- const { user } = useUser();
- const [isCreating, setIsCreating] = useState(false);
- const [isVerifying, setIsVerifying] = useState(false);
-
- const isEmail = type === 'email';
-
- const createIdentifier: UseAddIdentifierReturn['createIdentifier'] = async ({ identifier }) => {
- setIsCreating(true);
-
- try {
- let resource = getIdentifierResource(identifier);
-
- // If the resource already exists, re-creating it will cause an error,
- // so skip the creation step and go to the send verification code flow.
- if (!resource) {
- resource = isEmail
- ? await user?.createEmailAddress({ email: identifier })
- : await user?.createPhoneNumber({ phoneNumber: identifier });
-
- await user?.reload();
- }
- await prepareVerification({ isEmail, identifier });
-
- return { isSuccess: true, user };
- } catch (e) {
- if (isClerkAPIResponseError(e)) {
- return { error: e, user };
- }
-
- return { isSuccess: false, user };
- } finally {
- setIsCreating(false);
- }
- };
-
- const verifyCode: UseAddIdentifierReturn['verifyCode'] = async ({ code, identifier }) => {
- setIsVerifying(true);
-
- try {
- const resource = getIdentifierResource(identifier);
-
- const verifyAttempt = await resource?.attemptVerification({ code });
-
- if (verifyAttempt?.verification?.status === 'verified') {
- return { isSuccess: true, user };
- } else {
- return { isSuccess: false, verifyAttempt };
- }
- } catch (error) {
- return { error, user };
- } finally {
- setIsVerifying(false);
- }
- };
-
- const prepareVerification = async ({ isEmail, identifier }: { identifier: string; isEmail: boolean }) => {
- const phoneResource = user?.phoneNumbers?.find((a) => a.phoneNumber === identifier);
- const emailResource = user?.emailAddresses?.find((a) => a.emailAddress === identifier);
-
- await (isEmail
- ? emailResource?.prepareVerification({ strategy: 'email_code' })
- : phoneResource?.prepareVerification());
- };
-
- const getIdentifierResource = (identifier: string): EmailAddressResource | PhoneNumberResource | undefined => {
- return isEmail
- ? user?.emailAddresses.find((a) => a.emailAddress === identifier)
- : user?.phoneNumbers.find((a) => a.phoneNumber === identifier);
- };
-
- return { createIdentifier, verifyCode, isCreating, isVerifying };
-}
diff --git a/src/lib/src/features/clerk/hooks/use-auth-with-identifier.ts b/src/lib/src/features/clerk/hooks/use-auth-with-identifier.ts
deleted file mode 100644
index adb3fe5..0000000
--- a/src/lib/src/features/clerk/hooks/use-auth-with-identifier.ts
+++ /dev/null
@@ -1,219 +0,0 @@
-import { isClerkAPIResponseError } from '@clerk/clerk-expo';
-import { SignInResource } from '@clerk/types';
-import { useState } from 'react';
-import { ClerkApiError } from '../enums';
-import {
- AuthIdentifierVerifyBy,
- IdentifierMethodFor,
- StartAuthParams,
- StartSignInWithIdentifierReturn,
- StartSignUpParams,
- StartSignUpWithIdentifierReturn,
- UseAuthWithIdentifierReturn,
-} from '../types';
-import { useClerkResources } from './use-clerk-resources';
-import { useGetSessionToken } from './use-get-session-token';
-import { useOtpVerification } from './use-otp-verification';
-
-/**
- * Hook that provides functionality to handle user sign-up and sign-in processes using an identifier such as an email, phone number, or username. It supports both OTP (One Time Password) and password-based authentication methods.
- *
- * @template {AuthIdentifierVerifyBy} TVerifyBy - The verification method type
- * @template {IdentifierMethodFor} TMethod - The identifier method type
- * @param {TMethod} method - Specifies the type of identifier used for authentication (e.g., 'emailAddress', 'phoneNumber', 'username')
- * @param {TVerifyBy} verifyBy - Specifies the verification method ('otp' for one-time passwords or 'password')
- *
- * @returns {UseAuthWithIdentifierReturn} Object containing:
- * - `startSignUp` - Initiates a new user registration using the specified identifier and verification method
- * - `startSignIn` - Initiates authentication of an existing user using the specified identifier and verification method
- * - `startAuthorization` - Determines whether to initiate a sign-up or sign-in based on whether the user has been registered previously
- * - `verifyCode` - Verifies an OTP code if the verification method is 'otp' (only available for non-username methods)
- * - `isLoading` - Indicates whether an authentication request is in progress
- * - `isVerifying` - Indicates whether an OTP verification is in progress (only available for non-username methods)
- */
-export function useAuthWithIdentifier<
- TVerifyBy extends AuthIdentifierVerifyBy,
- TMethod extends IdentifierMethodFor,
->(method: TMethod, verifyBy: TVerifyBy): UseAuthWithIdentifierReturn {
- const { signUp, signIn, setActive } = useClerkResources();
- const { sendOtpCode, verifyCode: verifyOtpCode, isVerifying } = useOtpVerification();
- const { getSessionToken } = useGetSessionToken();
-
- const [isAuthorizing, setIsAuthorizing] = useState(false);
- const [isLoading, setIsLoading] = useState(false);
- const strategy = method === 'emailAddress' ? 'email_code' : 'phone_code';
-
- const handleSessionToken = async (tokenTemplate?: string): Promise<{ sessionToken?: string; error?: unknown }> => {
- const { sessionToken, error } = await getSessionToken({ tokenTemplate });
-
- return { sessionToken: sessionToken || undefined, error };
- };
-
- const handleSignInWithPassword = async (
- signInAttempt: SignInResource,
- isSignUp: boolean,
- tokenTemplate?: string,
- ): Promise | StartSignUpWithIdentifierReturn> => {
- await setActive?.({ session: signInAttempt.createdSessionId });
- const { sessionToken, error } = await handleSessionToken(tokenTemplate);
-
- if (isSignUp) {
- return {
- signUp,
- error,
- sessionToken,
- isSuccess: !!sessionToken,
- } as StartSignUpWithIdentifierReturn;
- }
-
- return {
- signIn,
- error,
- sessionToken,
- isSuccess: !!sessionToken,
- } as StartSignInWithIdentifierReturn;
- };
-
- const handleUsernameAuth = async (
- params: StartAuthParams<'password'>,
- isSignUp: boolean,
- ): Promise | StartSignUpWithIdentifierReturn> => {
- const { identifier, password, tokenTemplate } = params;
- const authMethod = isSignUp ? signUp : signIn;
-
- const authAttempt = await authMethod?.create({ username: identifier, password });
-
- if (authAttempt?.status === 'complete' && 'createdSessionId' in authAttempt) {
- return handleSignInWithPassword(authAttempt as SignInResource, isSignUp, tokenTemplate);
- }
-
- return {
- isSuccess: false,
- [isSignUp ? 'signUp' : 'signIn']: authMethod,
- } as StartSignInWithIdentifierReturn | StartSignUpWithIdentifierReturn;
- };
-
- const handleEmailPhoneAuth = async (
- params: StartAuthParams,
- isSignUp: boolean,
- ): Promise | StartSignUpWithIdentifierReturn> => {
- const { identifier } = params;
- const authMethod = isSignUp ? signUp : signIn;
- const identifierFieldName = isSignUp ? method : 'identifier';
-
- if (verifyBy === 'password') {
- try {
- const { password, tokenTemplate } = params as StartAuthParams<'password'>;
- const authAttempt = await authMethod?.create({ [identifierFieldName]: identifier, password });
-
- if (authAttempt?.status === 'complete' && 'createdSessionId' in authAttempt) {
- return handleSignInWithPassword(authAttempt as SignInResource, isSignUp, tokenTemplate);
- } else {
- return { isSuccess: false, signIn, signUp, status: authAttempt?.status, error: null };
- }
- } catch (error) {
- return { error, signIn, signUp };
- }
- } else if (verifyBy === 'otp') {
- try {
- await authMethod?.create({ [identifierFieldName]: identifier });
- await sendOtpCode({ strategy, isSignUp });
- } catch (error) {
- return { error, signIn, signUp };
- }
- }
-
- return {
- isSuccess: true,
- [isSignUp ? 'signUp' : 'signIn']: authMethod,
- } as StartSignInWithIdentifierReturn | StartSignUpWithIdentifierReturn;
- };
-
- const startSignUp: UseAuthWithIdentifierReturn['startSignUp'] = async (params) => {
- try {
- setIsLoading(true);
-
- return method === 'username'
- ? await handleUsernameAuth(params as StartAuthParams<'password'>, true)
- : await handleEmailPhoneAuth(params, true);
- } catch (error) {
- return { error, signUp, isSuccess: false } as StartSignUpWithIdentifierReturn;
- } finally {
- setIsLoading(false);
- }
- };
-
- const startSignIn: UseAuthWithIdentifierReturn['startSignIn'] = async (params) => {
- try {
- setIsLoading(true);
-
- return method === 'username'
- ? await handleUsernameAuth(params as StartAuthParams<'password'>, false)
- : await handleEmailPhoneAuth(params, false);
- } catch (error) {
- return { error, signIn, isSuccess: false } as StartSignInWithIdentifierReturn;
- } finally {
- setIsLoading(false);
- }
- };
-
- const startAuthorization: UseAuthWithIdentifierReturn['startAuthorization'] = async (params) => {
- try {
- setIsAuthorizing(true);
-
- const result = await startSignUp(params as StartSignUpParams);
-
- if (result?.error && isClerkAPIResponseError(result.error)) {
- const error = result.error.errors[0];
-
- if (error?.code === ClerkApiError.FORM_IDENTIFIER_EXIST) {
- const signInResult = await startSignIn(params);
-
- return { ...signInResult, isSignUp: false };
- }
- }
-
- return { ...result, isSignUp: true };
- } catch (error) {
- return { error, signIn, signUp, isSuccess: false } as StartSignInWithIdentifierReturn;
- } finally {
- setIsAuthorizing(false);
- }
- };
-
- const verifyCode = async ({
- code,
- isSignUp,
- tokenTemplate,
- }: {
- code: string;
- isSignUp: boolean;
- tokenTemplate?: string;
- }) => {
- setIsLoading(true);
-
- try {
- return await verifyOtpCode({ code, strategy, tokenTemplate, isSignUp });
- } finally {
- setIsLoading(false);
- }
- };
-
- if (method === 'username') {
- return {
- startSignIn,
- startSignUp,
- startAuthorization,
- isLoading: isAuthorizing || isLoading,
- } as UseAuthWithIdentifierReturn;
- } else {
- return {
- startSignIn,
- startSignUp,
- startAuthorization,
- isLoading: isAuthorizing || isLoading,
- verifyCode,
- isVerifying,
- } as UseAuthWithIdentifierReturn;
- }
-}
diff --git a/src/lib/src/features/clerk/hooks/use-auth-with-sso.ts b/src/lib/src/features/clerk/hooks/use-auth-with-sso.ts
deleted file mode 100644
index 4940fbc..0000000
--- a/src/lib/src/features/clerk/hooks/use-auth-with-sso.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-import { useSSO } from '@clerk/clerk-expo';
-import { useState } from 'react';
-import { StartSSOArgs, UseAuthWithSSOReturn } from '../types';
-import { useGetSessionToken } from './use-get-session-token';
-
-/**
- * Hook that provides functionality to handle SSO authentication flows.
- *
- * @returns {UseAuthWithSSOReturn} Object containing:
- * - `startSSOFlow` - A function to initiate an SSO flow. It takes a strategy, redirectUrl, and optional tokenTemplate as parameters, starting the SSO authentication and returning session information or errors upon completion
- * - `isLoading` - A boolean indicating whether an SSO process is currently ongoing
- */
-export function useAuthWithSSO(): UseAuthWithSSOReturn {
- const { startSSOFlow: clerkStartSSOFlow } = useSSO();
- const { getSessionToken } = useGetSessionToken();
- const [isLoading, setIsLoading] = useState(false);
-
- const startSSOFlow: UseAuthWithSSOReturn['startSSOFlow'] = async ({
- strategy,
- redirectUrl,
- tokenTemplate,
- }: StartSSOArgs) => {
- try {
- setIsLoading(true);
-
- const { createdSessionId, setActive, signIn, signUp } = await clerkStartSSOFlow({
- strategy,
- redirectUrl,
- });
-
- if (!createdSessionId) {
- return { sessionToken: null };
- }
-
- await setActive?.({ session: createdSessionId });
- const { sessionToken } = await getSessionToken({ tokenTemplate });
-
- if (sessionToken) {
- return {
- sessionToken,
- signIn,
- signUp,
- isSuccess: true,
- };
- }
-
- return {
- signIn,
- signUp,
- isSuccess: false,
- };
- } catch (error) {
- return {
- error,
- isSuccess: false,
- };
- } finally {
- setIsLoading(false);
- }
- };
-
- return { startSSOFlow, isLoading };
-}
diff --git a/src/lib/src/features/clerk/hooks/use-auth-with-ticket.ts b/src/lib/src/features/clerk/hooks/use-auth-with-ticket.ts
deleted file mode 100644
index a6cbee6..0000000
--- a/src/lib/src/features/clerk/hooks/use-auth-with-ticket.ts
+++ /dev/null
@@ -1,70 +0,0 @@
-import { useState } from 'react';
-import { UseAuthWithTicketReturn } from '../types';
-import { useClerkResources } from './use-clerk-resources';
-import { useGetSessionToken } from './use-get-session-token';
-
-/**
- * Hook that facilitates user authentication using a ticket-based strategy (ticket is a token generated from the Backend API).
- *
- * @returns {UseAuthWithTicketReturn} Object containing:
- * - `startAuthorization` - A function to initiate authentication with a ticket. It accepts an object with ticket and optional tokenTemplate parameters to kick off the authorization process and returns the session details
- * - `isLoading` - A boolean indicating whether the ticket-based authorization process is ongoing
- */
-export function useAuthWithTicket(): UseAuthWithTicketReturn {
- const { signIn, setActive } = useClerkResources();
- const { getSessionToken } = useGetSessionToken();
- const [isLoading, setIsLoading] = useState(false);
-
- const startAuthorization: UseAuthWithTicketReturn['startAuthorization'] = async ({ ticket, tokenTemplate }) => {
- if (signIn) {
- setIsLoading(true);
-
- try {
- const signInAttempt = await signIn.create({
- strategy: 'ticket',
- ticket,
- });
-
- if (signInAttempt.status === 'complete') {
- await setActive({
- session: signInAttempt.createdSessionId,
- });
- const { sessionToken, error } = await getSessionToken({ tokenTemplate });
-
- if (sessionToken) {
- return {
- sessionToken,
- signIn,
- isSuccess: true,
- };
- }
-
- return {
- signIn,
- error,
- isSuccess: false,
- };
- }
- } catch (error) {
- return {
- signIn,
- error,
- isSuccess: false,
- };
- } finally {
- setIsLoading(false);
- }
- }
-
- return {
- sessionToken: null,
- signIn,
- isSuccess: false,
- };
- };
-
- return {
- startAuthorization,
- isLoading,
- };
-}
diff --git a/src/lib/src/features/clerk/hooks/use-clerk-resources.ts b/src/lib/src/features/clerk/hooks/use-clerk-resources.ts
deleted file mode 100644
index fab43ff..0000000
--- a/src/lib/src/features/clerk/hooks/use-clerk-resources.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { getClerkInstance } from '@clerk/clerk-expo';
-import { UseClerkResourcesReturn } from '../types';
-
-/**
- * Hook that provides access to essential Clerk methods and objects.
- *
- * @returns {UseClerkResourcesReturn} Object containing Clerk resources:
- * - `signUp` - Provides access to SignUp object: https://clerk.com/docs/references/javascript/sign-up
- * - `signIn` - Provides access to SignIn object: https://clerk.com/docs/references/javascript/sign-in
- * - `setActive` - A function that sets the active session
- * - `signOut` - A function that signs out the current user
- */
-export const useClerkResources = (): UseClerkResourcesReturn => {
- const clerk = getClerkInstance();
- const signUp = clerk.client?.signUp;
- const signIn = clerk.client?.signIn;
- const signOut = clerk.signOut;
- const setActive = clerk.setActive;
-
- return { signUp, signIn, setActive, signOut };
-};
diff --git a/src/lib/src/features/clerk/hooks/use-get-session-token.ts b/src/lib/src/features/clerk/hooks/use-get-session-token.ts
deleted file mode 100644
index 81b86a4..0000000
--- a/src/lib/src/features/clerk/hooks/use-get-session-token.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-import { getClerkInstance } from '@clerk/clerk-expo';
-import { UseGetSessionTokenReturn } from '../types';
-
-/**
- * Hook that provides functionality for getting session tokens.
- *
- * @returns {UseGetSessionTokenReturn} Object containing:
- * - `getSessionToken` - A function to retrieve the session token. It takes an optional tokenTemplate parameter to specify a template for the token
- */
-export const useGetSessionToken = (): UseGetSessionTokenReturn => {
- const clerk = getClerkInstance();
-
- const getSessionToken: UseGetSessionTokenReturn['getSessionToken'] = async ({ tokenTemplate }) => {
- try {
- const token = await clerk.session?.getToken({ template: tokenTemplate });
- const sessionToken = token || clerk.session?.lastActiveToken?.getRawString();
-
- if (sessionToken) {
- return {
- sessionToken,
- isSuccess: true,
- };
- } else {
- return {
- sessionToken: null,
- isSuccess: false,
- };
- }
- } catch (error) {
- return {
- sessionToken: null,
- error,
- isSuccess: false,
- };
- }
- };
-
- return { getSessionToken };
-};
diff --git a/src/lib/src/features/clerk/hooks/use-otp-verification.ts b/src/lib/src/features/clerk/hooks/use-otp-verification.ts
deleted file mode 100644
index 166217a..0000000
--- a/src/lib/src/features/clerk/hooks/use-otp-verification.ts
+++ /dev/null
@@ -1,123 +0,0 @@
-import { EmailCodeFactor, PhoneCodeFactor } from '@clerk/types';
-import { useState } from 'react';
-import { OtpStrategy, UseOtpVerificationReturn } from '../types/types';
-import { useClerkResources } from './use-clerk-resources';
-import { useGetSessionToken } from './use-get-session-token';
-
-/**
- * Hook that provides functionality for managing OTP (One Time Password) verification in user authentication workflows, supporting both sign-up and sign-in processes.
- *
- * @returns {UseOtpVerificationReturn} Object containing:
- * - `sendOtpCode` - Sends an OTP code to the user's identifier (email or phone number) based on the specified strategy
- * - `verifyCode` - Verifies the OTP code provided by the user, completing the authentication process
- * - `isVerifying` - A boolean indicating whether a verification attempt is currently in progress
- */
-export function useOtpVerification(): UseOtpVerificationReturn {
- const { signUp, signIn, setActive } = useClerkResources();
- const { getSessionToken } = useGetSessionToken();
- const [isVerifying, setIsVerifying] = useState(false);
-
- const sendSignInOtpCode = async (strategy: OtpStrategy, isSecondFactor: boolean = false): Promise => {
- const codeFactors = isSecondFactor ? signIn?.supportedSecondFactors : signIn?.supportedFirstFactors;
- const prepareFactor = isSecondFactor ? signIn?.prepareSecondFactor : signIn?.prepareFirstFactor;
- const codeFactor = codeFactors?.find(
- (factor): factor is EmailCodeFactor | PhoneCodeFactor => factor.strategy === strategy,
- );
-
- if (codeFactor && 'emailAddressId' in codeFactor) {
- await prepareFactor?.({ strategy: 'email_code', emailAddressId: codeFactor.emailAddressId });
- } else if (codeFactor && 'phoneNumberId' in codeFactor) {
- await prepareFactor?.({ strategy: 'phone_code', phoneNumberId: codeFactor.phoneNumberId });
- } else {
- throw new Error(`No ${isSecondFactor ? 'second ' : ''}factor found for strategy: ${strategy}`);
- }
- };
-
- const sendSignUpOtpCode = async (strategy: OtpStrategy): Promise => {
- if (!signUp) return;
- await signUp.prepareVerification({ strategy });
- };
-
- const sendOtpCode: UseOtpVerificationReturn['sendOtpCode'] = async ({ strategy, isSignUp, isSecondFactor }) => {
- if (isSignUp) {
- await sendSignUpOtpCode(strategy);
- } else {
- await sendSignInOtpCode(strategy, !!isSecondFactor);
- }
- };
-
- const verifyCode: UseOtpVerificationReturn['verifyCode'] = async ({
- code,
- strategy,
- tokenTemplate,
- isSignUp,
- isSecondFactor,
- }) => {
- try {
- setIsVerifying(true);
-
- if (isSignUp) {
- const completeSignUp = await signUp?.attemptVerification({
- strategy,
- code,
- });
-
- if (completeSignUp?.status === 'complete') {
- await setActive?.({ session: completeSignUp.createdSessionId });
- const { sessionToken, error } = await getSessionToken({ tokenTemplate });
-
- if (sessionToken) {
- return {
- sessionToken,
- signIn,
- signUp,
- isSuccess: true,
- };
- }
-
- return {
- signIn,
- signUp,
- error,
- isSuccess: false,
- };
- }
- } else {
- const attemptSignIn = isSecondFactor ? signIn?.attemptSecondFactor : signIn?.attemptFirstFactor;
- const completeSignIn = await attemptSignIn?.({ strategy, code });
-
- if (completeSignIn?.status === 'complete') {
- await setActive?.({ session: completeSignIn.createdSessionId });
- const sessionToken = (await getSessionToken({ tokenTemplate })).sessionToken;
-
- if (sessionToken) {
- return { sessionToken, signIn, signUp, isSuccess: true };
- }
-
- return { sessionToken: null, signIn, signUp, isSuccess: false };
- }
- }
-
- return {
- signIn,
- signUp,
- isSuccess: false,
- };
- } catch (error) {
- return {
- signIn,
- signUp,
- error,
- isSuccess: false,
- };
- } finally {
- setIsVerifying(false);
- }
- };
-
- return {
- sendOtpCode,
- verifyCode,
- isVerifying,
- };
-}
diff --git a/src/lib/src/features/clerk/hooks/use-reset-password.ts b/src/lib/src/features/clerk/hooks/use-reset-password.ts
deleted file mode 100644
index 9d205d1..0000000
--- a/src/lib/src/features/clerk/hooks/use-reset-password.ts
+++ /dev/null
@@ -1,104 +0,0 @@
-import { useState } from 'react';
-import { OtpMethod, UseResetPasswordReturn } from '../types';
-import { useClerkResources } from './use-clerk-resources';
-import { useGetSessionToken } from './use-get-session-token';
-
-/**
- * Hook that provides methods to handle password reset functionality through email or phone-based OTP.
- *
- * @param {Object} params - Parameters for the hook
- * @param {OtpMethod} params.method - The method to use for OTP (emailAddress or phoneNumber)
- *
- * @returns {UseResetPasswordReturn} Object containing:
- * - `startResetPassword` - A function to initiate the password reset process by sending a verification code to the user's email or phone number
- * - `resetPassword` - A function to reset the user's password and setting a new password
- * - `verifyCode` - A function to verify a code sent to the identifier, completing the verification process
- * - `isCodeSending` - A boolean indicating if the verification code is being sent
- * - `isResetting` - A boolean indicating if the password is being reset
- * - `isVerifying` - A boolean indicating whether a verification code is currently being processed
- */
-export function useResetPassword({ method }: { method: OtpMethod }): UseResetPasswordReturn {
- const { signIn, setActive } = useClerkResources();
- const { getSessionToken } = useGetSessionToken();
-
- const [isCodeSending, setIsCodeSending] = useState(false);
- const [isVerifying, setIsVerifying] = useState(false);
- const [isResetting, setIsResetting] = useState(false);
-
- const strategy = method === 'emailAddress' ? 'reset_password_email_code' : 'reset_password_phone_code';
-
- const startResetPassword: UseResetPasswordReturn['startResetPassword'] = async ({ identifier }) => {
- setIsCodeSending(true);
-
- try {
- await signIn?.create({
- strategy,
- identifier,
- });
-
- return { isSuccess: true, signIn };
- } catch (error) {
- return { isSuccess: false, signIn, error };
- } finally {
- setIsCodeSending(false);
- }
- };
-
- const verifyCode: UseResetPasswordReturn['verifyCode'] = async ({ code }) => {
- setIsVerifying(true);
-
- try {
- await signIn?.attemptFirstFactor({
- strategy,
- code,
- });
-
- return { isSuccess: true, signIn };
- } catch (error) {
- return { isSuccess: false, signIn, error };
- } finally {
- setIsVerifying(false);
- }
- };
-
- const resetPassword: UseResetPasswordReturn['resetPassword'] = async ({ password, tokenTemplate }) => {
- setIsResetting(true);
-
- try {
- const result = await signIn?.resetPassword({
- password,
- });
-
- await setActive({ session: result?.createdSessionId });
-
- const { sessionToken, error } = await getSessionToken({ tokenTemplate });
-
- if (sessionToken) {
- return {
- isSuccess: true,
- signIn,
- sessionToken: sessionToken,
- };
- } else {
- return {
- signIn,
- error,
- isSuccess: false,
- };
- }
- } catch (error) {
- return { isSuccess: false, signIn, error };
- } finally {
- setIsResetting(false);
- }
- };
-
- return {
- startResetPassword,
- verifyCode,
- resetPassword,
- isCodeSending,
- isVerifying,
- isResetting,
- };
-}
diff --git a/src/lib/src/features/clerk/hooks/use-update-identifier.ts b/src/lib/src/features/clerk/hooks/use-update-identifier.ts
deleted file mode 100644
index 4ad5016..0000000
--- a/src/lib/src/features/clerk/hooks/use-update-identifier.ts
+++ /dev/null
@@ -1,106 +0,0 @@
-import { useUser } from '@clerk/clerk-expo';
-import { EmailAddressResource, PhoneNumberResource } from '@clerk/types';
-import { useState } from 'react';
-import { IdentifierType, UseUpdateIdentifierReturn } from '../types';
-import { useAddIdentifier } from './use-add-identifier';
-
-/**
- * Hook that provides functionality to update an existing primary identifier
- * (email address or phone number) for the current user.
- *
- * This hook is a higher-level abstraction built on top of `useAddIdentifier`.
- * It reuses the identifier creation and verification flow, but extends it with
- * additional logic that, upon successful verification, automatically:
- *
- * - Sets the newly verified identifier as the primary one
- * - Removes the previously primary identifier (if different)
- *
- * The update process follows these stages:
- * 1. `createIdentifier` — adds a new identifier and initiates its verification flow
- * 2. `verifyCode` — verifies the received code and, if successful, updates the
- * user's primary identifier
- *
- * All basic method signatures and return types are inherited from `useAddIdentifier`, ensuring full compatibility
- *
- * @param {IdentifierType} type - Specifies the type of identifier (e.g., 'phone', 'email')
- *
- * @returns {UseUpdateIdentifierReturn} Object containing:
- * - `createIdentifier` — Adds a new email or phone identifier and prepares it for verification
- * - `verifyCode` — Verifies the code sent to the identifier and, on success,
- * updates the user's primary identifier
- * - `isCreating` — Indicates whether an identifier is currently being added
- * - `isVerifying` — Indicates whether a verification request is currently being processed
- * - `isUpdating` — Indicates whether the primary identifier update is currently in progress
- */
-export function useUpdateIdentifier(type: IdentifierType): UseUpdateIdentifierReturn {
- const { user } = useUser();
- const isEmail = type === 'email';
-
- const { createIdentifier, verifyCode: verifyAddIdentifierCode, isCreating, isVerifying } = useAddIdentifier(type);
-
- const [isUpdating, setIsUpdating] = useState(false);
-
- const getIdentifierResource = (identifier: string): EmailAddressResource | PhoneNumberResource | undefined => {
- return isEmail
- ? user?.emailAddresses?.find((a) => a.emailAddress === identifier)
- : user?.phoneNumbers?.find((a) => a.phoneNumber === identifier);
- };
-
- const swapPrimaryIdentifier = async (identifier: string) => {
- const newResource = getIdentifierResource(identifier);
-
- if (!newResource || newResource.verification?.status !== 'verified') {
- throw new Error('Identifier not found or not verified');
- }
-
- const currentPrimaryId = isEmail ? user?.primaryEmailAddressId : user?.primaryPhoneNumberId;
-
- const resources = isEmail ? user?.emailAddresses : user?.phoneNumbers;
- const oldPrimaryResource = resources?.find((r) => r.id === currentPrimaryId);
-
- if (isEmail) {
- await user?.update({ primaryEmailAddressId: newResource.id });
- } else {
- await user?.update({ primaryPhoneNumberId: newResource.id });
- }
-
- if (oldPrimaryResource && oldPrimaryResource.id !== newResource.id) {
- await oldPrimaryResource.destroy();
- }
-
- await user?.reload();
- };
-
- const verifyCode: UseUpdateIdentifierReturn['verifyCode'] = async ({ code, identifier }) => {
- setIsUpdating(true);
-
- const result = await verifyAddIdentifierCode({ code, identifier });
-
- // Important to reload user model after adding new fields
- await user?.reload();
-
- if (!result.isSuccess) {
- setIsUpdating(false);
-
- return result;
- }
-
- try {
- await swapPrimaryIdentifier(identifier);
-
- return { isSuccess: true, user };
- } catch (error) {
- return { isSuccess: false, error, user };
- } finally {
- setIsUpdating(false);
- }
- };
-
- return {
- createIdentifier,
- verifyCode,
- isCreating,
- isVerifying,
- isUpdating,
- } satisfies UseUpdateIdentifierReturn;
-}
diff --git a/src/lib/src/features/clerk/hooks/use-update-password.ts b/src/lib/src/features/clerk/hooks/use-update-password.ts
deleted file mode 100644
index 1c8a03f..0000000
--- a/src/lib/src/features/clerk/hooks/use-update-password.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import { useUser } from '@clerk/clerk-expo';
-import { useState } from 'react';
-import { UseUpdatePasswordReturn } from '../types';
-
-/**
- * Hook that provides functionality to update the current user's password.
- *
- * Requires the user to supply both the current password (for verification) and
- * the new password. On success, the user's password is updated in Clerk; on
- * failure, the hook returns an error without throwing.
- *
- * @returns {UseUpdatePasswordReturn} Object containing:
- * - `updatePassword` — Updates the user's password using current and new password
- * - `isPasswordUpdating` — Indicates whether a password update is currently in progress
- */
-export const useChangePassword = (): UseUpdatePasswordReturn => {
- const { user } = useUser();
- const [isPasswordUpdating, setIsPasswordUpdating] = useState(false);
-
- const updatePassword: UseUpdatePasswordReturn['updatePassword'] = async (params) => {
- const { newPassword, currentPassword } = params;
-
- try {
- setIsPasswordUpdating(true);
-
- await user?.updatePassword({ newPassword, currentPassword });
-
- return { isSuccess: true };
- } catch (error) {
- return { isSuccess: false, error };
- } finally {
- setIsPasswordUpdating(false);
- }
- };
-
- return { updatePassword, isPasswordUpdating };
-};
diff --git a/src/lib/src/features/clerk/index.ts b/src/lib/src/features/clerk/index.ts
deleted file mode 100644
index 26a7c5f..0000000
--- a/src/lib/src/features/clerk/index.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export * from './enums';
-export * from './types';
-export * from './hooks';
diff --git a/src/lib/src/features/clerk/types/index.ts b/src/lib/src/features/clerk/types/index.ts
deleted file mode 100644
index fcb073f..0000000
--- a/src/lib/src/features/clerk/types/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './types';
diff --git a/src/lib/src/features/clerk/types/types.ts b/src/lib/src/features/clerk/types/types.ts
deleted file mode 100644
index 203e4ea..0000000
--- a/src/lib/src/features/clerk/types/types.ts
+++ /dev/null
@@ -1,602 +0,0 @@
-import {
- ClerkAPIError,
- EmailAddressResource,
- OAuthStrategy,
- PhoneNumberResource,
- SetActive,
- SignInResource,
- SignInStatus,
- SignOut,
- SignUpCreateParams,
- SignUpResource,
- UpdateUserPasswordParams,
- UserResource,
-} from '@clerk/types';
-
-// #region --- BASE & UTILITY TYPES ---
-
-type BaseSuccessReturn = { isSuccess: true; error?: never };
-
-type BaseFailureReturn = { isSuccess?: false; error: ClerkAPIError | unknown };
-
-type WithTokenSuccessReturn = BaseSuccessReturn & { sessionToken: string };
-
-type WithTokenFailureReturn = BaseFailureReturn & { sessionToken?: null };
-
-type WithSignInReturn = {
- /** Provides access to SignIn object: https://clerk.com/docs/references/javascript/sign-in */
- signIn?: SignInResource;
- /** The current status of the sign-in. */
- status?: SignInStatus;
-};
-
-type WithSignUpReturn = {
- /** Provides access to SignUp object: https://clerk.com/docs/references/javascript/sign-up */
- signUp?: SignUpResource;
-};
-
-type WithClerkReturn = WithSignInReturn & WithSignUpReturn;
-
-type StartSignUpReturn = (BaseSuccessReturn | BaseFailureReturn) & WithSignUpReturn;
-
-type StartSignInReturn = (BaseSuccessReturn | BaseFailureReturn) & WithSignInReturn;
-
-type StartAuthorizationReturn = (BaseSuccessReturn | BaseFailureReturn) & WithClerkReturn & { isSignUp?: boolean };
-
-type AuthorizationFinishedReturn = (WithTokenSuccessReturn | WithTokenFailureReturn) & WithClerkReturn;
-
-/** Type for OTP methods (email or phone) */
-export type OtpMethod = 'emailAddress' | 'phoneNumber';
-
-/** Type for OTP strategies (email code or phone code) */
-export type OtpStrategy = 'email_code' | 'phone_code';
-
-/** Type for extra params during SignUp process */
-export type SignUpParams = Pick<
- SignUpCreateParams,
- 'firstName' | 'lastName' | 'locale' | 'unsafeMetadata' | 'username'
->;
-
-// #endregion
-
-// #region --- CORE RESOURCES & SESSION ---
-
-export type UseClerkResourcesReturn = WithClerkReturn & {
- /** A function that sets the active session */
- setActive: SetActive;
- /** A function that signs out the current user */
- signOut: SignOut;
-};
-
-/**
- * Retrieves the session token for the currently authenticated user.
- *
- * @param params - Optional parameters for retrieving the session token.
- * @param params.tokenTemplate - (Optional) Name of the token template to use.
- *
- * @returns A Promise resolving to:
- * - { isSuccess: true, sessionToken: string } on success
- * - { isSuccess: false, sessionToken: null, error } on failure
- */
-export type GetSessionTokenFn = (params: { tokenTemplate?: string }) => Promise;
-
-export interface UseGetSessionTokenReturn {
- /** Function to retrieve the session token */
- getSessionToken: GetSessionTokenFn;
-}
-
-export type GetSessionTokenReturn = WithTokenSuccessReturn | WithTokenFailureReturn;
-
-// #endregion
-
-// #region --- TICKET AUTHENTICATION ---
-
-export type StartAuthorizationWithTicketReturn = (WithTokenSuccessReturn | WithTokenFailureReturn) & WithSignInReturn;
-
-export interface UseAuthWithTicketReturn {
- /**
- * Initiates authentication using a one-time ticket issued by the backend.
- *
- * @param params - Parameters required to start the ticket-based authentication flow.
- * @param params.ticket - A valid ticket string issued by Clerk or your backend.
- * @param params.tokenTemplate - (Optional) The name of a token template to use when retrieving the session token.
- *
- * @returns A Promise that resolves to a `StartAuthorizationWithTicketReturn` object, which can be either:
- *
- * On success:
- * - `isSuccess: true`
- * - `sessionToken: string` — A valid session token string.
- * - `signIn?: SignInResource` — (Optional) SignIn object, present if the user needs to complete additional steps.
- *
- * On failure:
- * - `isSuccess: false` or undefined
- * - `sessionToken: null`
- * - `error: ClerkAPIError | unknown` — Details about the error occurred.
- * - `signIn?: SignInResource` — (Optional) SignIn object if available.
- */
- startAuthorization: (params: {
- ticket: string;
- tokenTemplate?: string;
- }) => Promise;
-
- /** Indicates whether the authentication process with the ticket is currently in progress. `true` or `false` */
- isLoading: boolean;
-}
-
-// #endregion
-
-// #region --- SSO FLOW ---
-
-/** Parameters for SSO flow */
-export interface StartSSOArgs {
- /**
- * The OAuth strategy to use (e.g., 'oauth_google', 'oauth_facebook', etc.).
- * See Clerk's documentation for a full list of supported strategies: https://clerk.com/docs/references/expo/use-sso
- */
- strategy: OAuthStrategy;
-
- /** Optional URL to redirect the user to after successful authentication. */
- redirectUrl?: string;
-
- /** Optional name of a token template to use for customizing the returned session token. */
- tokenTemplate?: string;
-}
-
-/** Return type for useAuthWithSSO hook */
-export interface UseAuthWithSSOReturn {
- /**
- * Initiates a Single Sign-On (SSO) authentication flow using the specified OAuth strategy.
- *
- * @param params - Parameters for initiating the SSO flow.
- * @param params.strategy - The OAuth strategy to use (e.g., 'oauth_google', 'oauth_facebook').
- * @param params.redirectUrl - (Optional) A URL to which the user will be redirected after the flow completes.
- * @param params.tokenTemplate - (Optional) A token template to use when requesting a session token.
- *
- * @returns A Promise that resolves to an object indicating the result of the authorization:
- * - `{ isSuccess: true, sessionToken: string, signIn?, signUp? }` on success
- * - `{ isSuccess: false, sessionToken: null, error, signIn?, signUp? }` on failure
- *
- * `signIn` and `signUp` may be present depending on the outcome and stage of the flow.
- */
- startSSOFlow: (params: StartSSOArgs) => Promise;
-
- /** Indicates whether the SSO authentication flow is currently in progress. `true` or `false` */
- isLoading: boolean;
-}
-
-// #endregion
-
-// #region --- OTP VERIFICATION ---
-
-/** Provides functionality for sending and verifying OTP (one-time password) codes using email or phone. */
-export interface UseOtpVerificationReturn {
- /**
- * Sends a one-time password (OTP) code to the user's identifier (email or phone number),
- * using the selected strategy.
- *
- * @param strategy - The delivery method for the OTP code.
- * - `'email_code'` – send code via email
- * - `'phone_code'` – send code via SMS
- * @param isSignUp - Indicates whether the OTP flow is used for sign-up (true) or sign-in (false)
- * @param isSecondFactor - (Optional) Indicates whether the OTP flow is used for a second factor verification (true) or not (false)
- *
- * @returns A Promise that resolves once the OTP has been successfully sent, or rejects if sending fails.
- */
- sendOtpCode: (params: { strategy: OtpStrategy; isSignUp: boolean; isSecondFactor?: boolean }) => Promise;
-
- /**
- * Verifies the OTP code entered by the user.
- *
- * @param params - Parameters required to verify the code.
- * @param params.code - The OTP code received by the user.
- * @param params.strategy - The strategy used to send the code (`'email_code'` or `'phone_code'`).
- * @param params.tokenTemplate - (Optional) The name of the token template to use when retrieving the session token.
- * @param isSignUp - Indicates whether the OTP flow is used for sign-up (true) or sign-in (false)
- * @param isSecondFactor - (Optional) Indicates whether the OTP flow is used for a second factor verification (true) or not (false)
- *
- * @returns A Promise that resolves to:
- * - `{ isSuccess: true, sessionToken: string, signIn?, signUp? }` on success
- * - `{ isSuccess: false, sessionToken: null, error, signIn?, signUp? }` on failure
- */
- verifyCode: (params: {
- code: string;
- strategy: OtpStrategy;
- isSignUp: boolean;
- tokenTemplate?: string;
- isSecondFactor?: boolean;
- }) => Promise;
-
- /** Indicates whether the OTP verification process is currently in progress. `true` or `false` */
- isVerifying: boolean;
-}
-
-// #endregion
-
-// #region --- IDENTIFIER MANAGEMENT ---
-
-export type IdentifierType = 'email' | 'phone';
-
-/**
- * Return type for a hook that manages adding a new authentication identifier
- * (such as an email address or phone number) to the currently signed-in user's account.
- */
-export interface UseAddIdentifierReturn {
- /**
- * Sends a request to create and link a new identifier (email or phone) to the current user.
- *
- * This triggers a verification flow (e.g., a code sent via email or SMS) and returns
- * a result indicating success or failure. On success, the identifier is pending verification.
- *
- * @param params - Parameters for identifier creation.
- * @param params.identifier - The new identifier to be added (e.g., email or phone number).
- *
- * @returns A Promise resolving to a result object:
- * - On success: `BaseSuccessReturn` with optional `user`.
- * - On failure: `BaseFailureReturn` with optional `user`.
- */
- createIdentifier: (params: { identifier: string }) => Promise<
- (BaseSuccessReturn | BaseFailureReturn) & {
- user?: UserResource | null;
- }
- >;
-
- /**
- * Verifies the code sent to the newly added identifier.
- *
- * @param params - Parameters for verification.
- * @param params.code - The one-time code sent to the identifier.
- *
- * @returns A Promise resolving to a result object:
- * - On success: `BaseSuccessReturn` with optional `user`.
- * - On failure: `BaseFailureReturn` with optional `verifyAttempt` (email or phone resource) and `user`.
- */
- verifyCode: (params: { code: string; identifier: string }) => Promise<
- (
- | BaseSuccessReturn
- | (BaseFailureReturn & {
- verifyAttempt?: PhoneNumberResource | EmailAddressResource;
- })
- ) & {
- user?: UserResource | null;
- }
- >;
-
- /** Indicates whether an identifier is currently being added via `createIdentifier`. `true` or `false` */
- isCreating: boolean;
-
- /** Indicates whether a verification request is currently being processed via `verifyCode`. `true` or `false` */
- isVerifying: boolean;
-}
-
-/**
- * Return type for a hook that manages updating a new authentication identifier
- * (such as an email address or phone number) to the currently signed-in user's account.
- */
-export interface UseUpdateIdentifierReturn extends Omit {
- /**
- * Verifies the code and select the provided identifier as primary.
- *
- * @param params - Parameters for verification.
- * @param params.code - The one-time code sent to the identifier.
- * @param params.identifier - The one-time code sent to the identifier.
- *
- * @returns A Promise resolving to a result object:
- * - On success: `BaseSuccessReturn` with optional `user`.
- * - On failure: `BaseFailureReturn` with optional `verifyAttempt` (email or phone resource) and `user`.
- */
- verifyCode: (params: { code: string; identifier: string }) => Promise<
- (
- | BaseSuccessReturn
- | (BaseFailureReturn & {
- verifyAttempt?: PhoneNumberResource | EmailAddressResource;
- })
- ) & {
- user?: UserResource | null;
- }
- >;
-
- /** Indicates whether a update identifier request is currently being processed. `true` or `false` */
- isUpdating: boolean;
-}
-
-// #endregion
-
-// #region --- AUTH WITH IDENTIFIER ---
-
-/** Type for authentication identifier methods */
-export type AuthIdentifierMethod = 'emailAddress' | 'phoneNumber' | 'username';
-
-/** Type for authentication verification methods */
-export type AuthIdentifierVerifyBy = 'otp' | 'password';
-
-/**
- * Maps verification method to the allowed identifier methods.
- *
- * - For `'otp'`, only email and phone are allowed.
- * - For `'password'`, all methods are allowed.
- */
-export type IdentifierMethodFor = VerifyBy extends 'otp'
- ? Exclude
- : AuthIdentifierMethod;
-
-/**
- * Parameters for starting an authentication flow, based on the selected verification method.
- *
- * - For `'otp'`: requires only an identifier (email or phone).
- * - For `'password'`: requires identifier and password, and optionally a token template.
- */
-export type StartAuthParams = VerifyBy extends 'otp'
- ? {
- /** Identifier (email address or phone number). */
- identifier: string;
- }
- : {
- /** Identifier (email address, phone number, or username). */
- identifier: string;
- /** User's password. */
- password: string;
- /** Optional name of a token template for customizing the session token. */
- tokenTemplate?: string;
- };
-
-/**
- * Return type for starting a sign-in flow.
- *
- * - For `'password'`: may include a `sessionToken`.
- * - For `'otp'`: standard return type.
- */
-export type StartSignInWithIdentifierReturn = VerifyBy extends 'password'
- ? StartSignInReturn & {
- /** Optional session token returned upon successful password sign-in. */
- sessionToken?: string;
- }
- : StartSignInReturn;
-
-/**
- * Return type for starting a sign-up flow.
- *
- * - For `'username'`: may include a `sessionToken`.
- * - For others: standard return type.
- */
-export type StartSignUpWithIdentifierReturn = Method extends 'username'
- ? StartSignUpReturn & {
- /** Optional session token returned upon successful username sign-up. */
- sessionToken?: string;
- }
- : StartSignUpReturn;
-
-/**
- * Return type for starting a generic authorization (sign-up or sign-in).
- *
- * - For `'username'`: may include a `sessionToken`.
- * - For others: standard return type.
- */
-export type StartAuthorizationWithIdentifierReturn = Method extends 'username'
- ? StartAuthorizationReturn & {
- /** Optional session token returned upon successful username authorization. */
- sessionToken?: string;
- }
- : StartAuthorizationReturn;
-
-export type StartSignUpParams = StartAuthParams & SignUpParams;
-
-/**
- * Base return type for useAuthWithIdentifier hook.
- *
- * Provides common methods and status flags for both verification methods (`otp`, `password`).
- */
-interface BaseUseAuthWithIdentifierReturn {
- /**
- * Initiates the sign-in flow using the provided identifier and verification method.
- *
- * @param params - Authentication parameters depending on `VerifyBy` type.
- * @returns A Promise resolving to a result of sign-in attempt.
- *
- * @example
- * // Example for email + password
- * await startSignIn({
- * identifier: 'user@example.com',
- * password: 'securePassword123'
- * });
- *
- * @example
- * // Example for phone + OTP
- * await startSignIn({
- * identifier: '+1234567890'
- * });
- */
- startSignIn: (params: StartAuthParams) => Promise>;
- /**
- * Initiates the sign-up flow using the provided identifier and verification method.
- *
- * @param params - Authentication parameters depending on `VerifyBy` type.
- * @returns A Promise resolving to a result of sign-up attempt.
- *
- * @example
- * // Example 1: Sign up with email + OTP
- * await startSignUp({
- * identifier: 'user@example.com',
- * });
- *
- * @example
- * // Example 2: Sign up with phone + OTP
- * await startSignUp({
- * identifier: '+1234567890',
- * });
- *
- * @example
- * // Example 3: Sign up with username + password
- * await startSignUp({
- * identifier: 'username',
- * password: 'password!'
- * });
- *
- * @example
- * // Example 4: Sign up with email + password + custom token template
- * await startSignUp({
- * identifier: 'user@example.com',
- * password: 'password',
- * tokenTemplate: 'my_template'
- * });
- */
- startSignUp: (params: StartSignUpParams) => Promise>;
-
- /**
- * Initiates a combined authorization flow (sign-up or sign-in) based on user existence.
- *
- * @param params - Authentication parameters depending on `VerifyBy` type.
- * @returns A Promise resolving to a result of the authorization flow.
- *
- * @example
- * // Example 1: Authorize with email + OTP (sign-in or sign-up automatically)
- * await startAuthorization({
- * identifier: 'user@example.com',
- * });
- *
- * @example
- * // Example 2: Authorize with phone + OTP
- * await startAuthorization({
- * identifier: '+1234567890',
- * });
- *
- * @example
- * // Example 3: Authorize with username + password
- * await startAuthorization({
- * identifier: 'username',
- * password: 'password'
- * });
- *
- * @example
- * // Example 4: Authorize with email + password + token template
- * await startAuthorization({
- * identifier: 'user@example.com',
- * password: 'password',
- * tokenTemplate: 'my_template'
- * });
- */
- startAuthorization: (params: StartAuthParams) => Promise>;
-
- /** Indicates whether an authentication request is currently being processed. `true` or `false` */
- isLoading: boolean;
-}
-
-/**
- * Conditional return type for `useAuthWithIdentifier` depending on identifier method.
- *
- * - Adds OTP-specific fields (`verifyCode`, `isVerifying`) for `emailAddress` and `phoneNumber`.
- * - These fields are omitted for `username`.
- */
-type ConditionalUseAuthWithIdentifierReturn<
- VerifyBy extends AuthIdentifierVerifyBy,
- Method extends AuthIdentifierMethod,
-> = Method extends 'username'
- ? BaseUseAuthWithIdentifierReturn
- : BaseUseAuthWithIdentifierReturn & {
- /**
- * Verifies the OTP code sent to the user.
- *
- * Only available when using `emailAddress` or `phoneNumber`.
- *
- * @param params.code - The one-time code entered by the user.
- * @param params.tokenTemplate - (Optional) Token template to customize the session.
- * @returns A Promise resolving to the final result of the authorization flow.
- */
- verifyCode: (params: { code: string; tokenTemplate?: string }) => Promise;
- /** Indicates whether OTP verification is currently in progress. `true` or `false` */
- isVerifying: boolean;
- };
-
-/**
- * Final return type of `useAuthWithIdentifier` hook.
- *
- * - Includes all sign-in, sign-up, and authorization methods.
- * - May include `verifyCode` and `isVerifying` if applicable.
- *
- * @template VerifyBy - Verification method used (`otp` or `password`)
- * @template Method - Identifier method used (`emailAddress`, `phoneNumber`, `username`)
- */
-export type UseAuthWithIdentifierReturn<
- VerifyBy extends AuthIdentifierVerifyBy,
- Method extends AuthIdentifierMethod,
-> = ConditionalUseAuthWithIdentifierReturn;
-
-// #endregion
-
-// #region --- PASSWORD FLOW ---
-
-/** Return type for a hook that manages the password reset process. */
-export interface UseResetPasswordReturn {
- /**
- * Initiates the password reset process for the given identifier.
- *
- * This sends a verification code (e.g., via email or SMS) to the provided identifier.
- *
- * @param params - Parameters required to start the password reset process.
- * @param params.identifier - The user's identifier (email address or phone number).
- *
- * @returns A Promise resolving to a result object:
- * - On success: `BaseSuccessReturn` with sign-in context via `WithSignInReturn`.
- * - On failure: `BaseFailureReturn` with possible error information.
- */
- startResetPassword: (params: {
- identifier: string;
- }) => Promise<(BaseSuccessReturn | BaseFailureReturn) & WithSignInReturn>;
-
- /**
- * Verifies the code sent to the newly added identifier.
- *
- * @param params - Parameters for verification.
- * @param params.code - The one-time code sent to the identifier.
- *
- * @returns A Promise resolving to a result object:
- * - On success: `BaseSuccessReturn` with optional `user`.
- * - On failure: `BaseFailureReturn` with optional `verifyAttempt` (email or phone resource) and `user`.
- */
- verifyCode: (params: { code: string }) => Promise<
- | BaseSuccessReturn
- | (BaseFailureReturn & {
- verifyAttempt?: PhoneNumberResource | EmailAddressResource;
- })
- >;
- /**
- * Completes the password reset process using the provided verification code and new password.
- *
- * @param params - Parameters required to reset the password.
- * @param params.password - The new password to be set.
- * @param params.tokenTemplate - (Optional) A token template name to use when creating the session token.
- *
- * @returns A Promise resolving to an `AuthorizationFinishedReturn`, which includes:
- * - `isSuccess`: Indicates whether the password reset was successful.
- * - `sessionToken`: A session token if authentication is completed.
- */
- resetPassword: (params: { password: string; tokenTemplate?: string }) => Promise<
- StartSignInReturn & {
- sessionToken?: string;
- }
- >;
-
- /** Indicates whether the password reset operation is currently in progress. `true` or `false` */
- isResetting: boolean;
-
- /** Indicates whether the code for password reset is currently being sent. `true` or `false` */
- isCodeSending: boolean;
-
- /** Indicates whether a verification request is currently being processed via `verifyCode`. `true` or `false` */
- isVerifying: boolean;
-}
-
-export interface UseUpdatePasswordReturn {
- /**
- * Initiates the password reset process for the given identifier.
- *
- * @returns A Promise resolving to a result object:
- * - On success: `BaseSuccessReturn` with sign-in context via `WithSignInReturn`.
- * - On failure: `BaseFailureReturn` with possible error information.
- */
- updatePassword: (params: UpdateUserPasswordParams) => Promise;
-
- /** Indicates whether the code for password reset is currently being sent. `true` or `false` */
- isPasswordUpdating: boolean;
-}
-
-// #endregion
diff --git a/tsconfig.base.json b/tsconfig.base.json
index 17c8750..db29cee 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -30,8 +30,7 @@
"@ronas-it/react-native-common-modules/reactotron": ["src/lib/src/data-access/store/utils/reactotron/index.ts"],
"@ronas-it/react-native-common-modules/websocket": ["src/lib/src/data-access/websocket/index.ts"],
"@ronas-it/react-native-common-modules/safe-area-view": ["src/lib/src/ui/safe-area-view/index.ts"],
- "@ronas-it/react-native-common-modules/i18n": ["src/lib/src/utils/i18n/index.ts"],
- "@ronas-it/react-native-common-modules/clerk": ["src/lib/src/features/clerk/index.ts"]
+ "@ronas-it/react-native-common-modules/i18n": ["src/lib/src/utils/i18n/index.ts"]
}
},
"exclude": ["node_modules", "tmp"]