-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
154 changed files
with
2,129 additions
and
1,950 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ | |
"@tanstack/react-query": "5.59.16", | ||
"@tanstack/react-table": "^8.17.3", | ||
"@thirdweb-dev/service-utils": "workspace:*", | ||
"@vercel/functions": "^1.4.2", | ||
"@vercel/og": "^0.6.2", | ||
"abitype": "1.0.6", | ||
"chakra-react-select": "^4.7.6", | ||
|
@@ -69,7 +70,7 @@ | |
"ipaddr.js": "^2.2.0", | ||
"lottie-react": "^2.4.0", | ||
"lucide-react": "0.453.0", | ||
"next": "14.2.15", | ||
"next": "15.0.1", | ||
"next-plausible": "^3.12.0", | ||
"next-seo": "^6.5.0", | ||
"next-themes": "^0.3.0", | ||
|
@@ -80,10 +81,10 @@ | |
"prism-react-renderer": "^2.3.1", | ||
"prismjs": "^1.29.0", | ||
"qrcode": "^1.5.3", | ||
"react": "18.3.1", | ||
"react": "19.0.0-rc-69d4b800-20241021", | ||
"react-children-utilities": "^2.10.0", | ||
"react-day-picker": "^8.10.1", | ||
"react-dom": "18.3.1", | ||
"react-dom": "19.0.0-rc-69d4b800-20241021", | ||
"react-dropzone": "^14.2.9", | ||
"react-error-boundary": "^4.1.2", | ||
"react-hook-form": "7.52.0", | ||
|
@@ -106,8 +107,8 @@ | |
"devDependencies": { | ||
"@chakra-ui/cli": "^2.4.1", | ||
"@chromatic-com/storybook": "2.0.2", | ||
"@next/bundle-analyzer": "14.2.15", | ||
"@next/eslint-plugin-next": "14.2.15", | ||
"@next/bundle-analyzer": "15.0.1", | ||
"@next/eslint-plugin-next": "15.0.1", | ||
"@playwright/test": "1.47.2", | ||
"@storybook/addon-essentials": "8.3.6", | ||
"@storybook/addon-interactions": "8.3.6", | ||
|
@@ -123,8 +124,8 @@ | |
"@types/papaparse": "^5.3.15", | ||
"@types/pluralize": "^0.0.33", | ||
"@types/qrcode": "^1.5.5", | ||
"@types/react": "^18.3.11", | ||
"@types/react-dom": "^18.3.1", | ||
"@types/react": "npm:[email protected]", | ||
"@types/react-dom": "npm:[email protected].1", | ||
"@types/react-table": "^7.7.20", | ||
"@types/spdx-correct": "^3.1.3", | ||
"@types/swagger-ui-react": "^4.18.3", | ||
|
@@ -134,7 +135,7 @@ | |
"checkly": "^4.8.1", | ||
"eslint": "8.57.0", | ||
"eslint-config-biome": "1.9.3", | ||
"eslint-plugin-react-compiler": "0.0.0-experimental-fa06e2c-20241014", | ||
"eslint-plugin-react-compiler": "19.0.0-beta-8a03594-20241020", | ||
"eslint-plugin-storybook": "^0.9.0", | ||
"knip": "^5.33.3", | ||
"next-sitemap": "^4.2.3", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
import { cookies } from "next/headers"; | ||
import { type UnsafeUnwrappedCookies, cookies } from "next/headers"; | ||
|
||
export const COOKIE_ACTIVE_ACCOUNT = "tw_active_account"; | ||
export const COOKIE_PREFIX_TOKEN = "tw_token_"; | ||
|
||
export function getActiveAccountCookie() { | ||
return cookies().get(COOKIE_ACTIVE_ACCOUNT)?.value; | ||
return (cookies() as unknown as UnsafeUnwrappedCookies).get( | ||
COOKIE_ACTIVE_ACCOUNT, | ||
)?.value; | ||
} | ||
|
||
export function getJWTCookie(address: string) { | ||
return cookies().get(COOKIE_PREFIX_TOKEN + address)?.value; | ||
return (cookies() as unknown as UnsafeUnwrappedCookies).get( | ||
COOKIE_PREFIX_TOKEN + address, | ||
)?.value; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.