Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main to injective #332

Merged
merged 71 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
cc5c7cf
Up registry to 4.6.0
ltyu Oct 4, 2024
2beb5b3
Merge pull request #278 from hyperlane-xyz/ltyu/up-registry-4.6.0
ltyu Oct 4, 2024
5b56b9b
chore: Auto-format tailwind classes (#287)
jmrossy Oct 14, 2024
4c4250a
Bump @babel/traverse from 7.22.10 to 7.25.7 (#288)
dependabot[bot] Oct 14, 2024
042b1cc
Bump crypto-js from 4.1.1 to 4.2.0 (#289)
dependabot[bot] Oct 14, 2024
df000ac
Upgrade Next to 13.5.7 (#290)
jmrossy Oct 14, 2024
1a89dc0
Up SDK and registry
ltyu Oct 15, 2024
e863d2b
up utils and widgets too, i guess
ltyu Oct 15, 2024
1209e52
Up to 5.5
ltyu Oct 15, 2024
c289248
reduce widget package
ltyu Oct 15, 2024
764a8b0
Update packages
ltyu Oct 15, 2024
302a65e
Upate yarnlock
ltyu Oct 15, 2024
f285b81
Bump browserify-sign from 4.2.1 to 4.2.3 (#188)
dependabot[bot] Oct 16, 2024
b257e90
Merge branch 'main' into ltyu/renzo-sei-taiko
jmrossy Oct 16, 2024
d6a1030
Rename classes prop to className
jmrossy Oct 16, 2024
1f1be7f
Merge pull request #291 from hyperlane-xyz/ltyu/renzo-sei-taiko
ltyu Oct 16, 2024
78a82b3
feat: add terms, privacy and bounty links (#294)
Xaroz Oct 17, 2024
6af61bd
Bump secp256k1 from 4.0.3 to 4.0.4 (#299)
dependabot[bot] Oct 22, 2024
7d64f2b
Feat: Transaction history improvements (#298)
Xaroz Oct 23, 2024
834c904
feat: upgrade registry and monorepo dependencies
tkporter Oct 28, 2024
861af71
yarn.lock
tkporter Oct 28, 2024
a9836c8
Merge pull request #304 from hyperlane-xyz/trevor/update-deps
tkporter Oct 28, 2024
99d8bf0
chore: update registry (#305)
daniel-savu Nov 1, 2024
719be34
chore: increase the Cosmos gas estimate multiplier
tkporter Nov 5, 2024
fc3fff1
chore: remove repeated components from widgets
Xaroz Nov 5, 2024
13992ac
prettier
tkporter Nov 6, 2024
0a7891a
Merge pull request #310 from hyperlane-xyz/trevor/bump-cosmos-gas-est…
tkporter Nov 6, 2024
59a468b
chore: Upgrade Next, Typescript, ESlint, and others (#311)
jmrossy Nov 6, 2024
039ad90
chore: use chain name instead of chainId for ChainLogo (#313)
paulbalaji Nov 6, 2024
0c62ad6
chore: Upgrade to Wagmi/Viem 2 (#315)
jmrossy Nov 8, 2024
6b05b45
chore: Format imports for auto-ordering (#316)
jmrossy Nov 8, 2024
b8f74d2
fix: Sentry v7 to v8 migration issues (#317)
jmrossy Nov 8, 2024
ae55f6c
chore: remove components
Xaroz Nov 11, 2024
2ba11f1
chore: merge with main
Xaroz Nov 11, 2024
55e985a
refactor: Replace global warp context with store data (#319)
jmrossy Nov 11, 2024
f5fb54b
chore: dedup icon button
Xaroz Nov 11, 2024
1fc3242
merge main
Xaroz Nov 11, 2024
54d7d97
chore: remove more unused icons
Xaroz Nov 11, 2024
aa89fae
feat: dedup modal
Xaroz Nov 12, 2024
fdabd85
feat: dedup small spinner
Xaroz Nov 12, 2024
daa5453
feat: remove redundant components, add from widgets
Xaroz Nov 12, 2024
4da2ac7
chore: remove custom warp route
Xaroz Nov 12, 2024
eb201ac
chore: remove unneeded fragment
Xaroz Nov 13, 2024
a531e03
chore: Migrate various utils from the Warp UI to the Widgets lib
jmrossy Nov 13, 2024
111bb9e
Delete default cosmos chain def
jmrossy Nov 13, 2024
a863873
Replace multi-protocol wallet hooks with Widgets lib version
jmrossy Nov 17, 2024
ca4062f
Remove copy button
jmrossy Nov 17, 2024
a6365e1
Migrate WalletControlBar and WalletLogo to widgets lib
jmrossy Nov 17, 2024
550c8d5
Migrate account list and summary components to widgets lib
jmrossy Nov 18, 2024
da8f154
Update hyp packages to 7.1.0-beta.0
jmrossy Nov 18, 2024
3d98856
Merge pull request #326 from hyperlane-xyz/rossy/hooks-migration
jmrossy Nov 18, 2024
508ce51
Merge pull request #322 from hyperlane-xyz/rossy/utils-migration
jmrossy Nov 18, 2024
70ba5a6
Merge branch 'chore/components-dedup' into rossy/component-dedupe
jmrossy Nov 18, 2024
3696d4e
Remove dead code and images
jmrossy Nov 18, 2024
54c05a7
Improve token image error handling
jmrossy Nov 18, 2024
bb3982f
Merge pull request #327 from hyperlane-xyz/rossy/component-dedupe
jmrossy Nov 18, 2024
48776d5
feat: Replace chain picker with new ChainSearchMenu from Widgets lib …
jmrossy Nov 19, 2024
a323a8a
feat: Add chain RPC test and warning banner (#329)
jmrossy Nov 19, 2024
17d53aa
feat: Improve UX of token list modal (#330)
jmrossy Nov 19, 2024
bb46a81
chore: Upgrade hyp packages to 7.1.0 (#331)
jmrossy Nov 19, 2024
2a66df3
fix: Reduce spinner size
jmrossy Nov 19, 2024
7b66d93
Merge branch 'main' into main-to-injective
jmrossy Nov 20, 2024
6041b89
Fix footer issues from merge conflicts
jmrossy Nov 20, 2024
7fdd824
Simplify footer link grid
jmrossy Nov 20, 2024
e685bad
Fix errors in TransfersDetailsModal when metadata is missing
jmrossy Nov 20, 2024
f678adb
Merge pull request #333 from hyperlane-xyz/rossy/migration-fixes
jmrossy Nov 20, 2024
6654905
Merge branch 'main' into main-to-injective
jmrossy Nov 20, 2024
0584fcf
Remove solana and eclipse chain configs
jmrossy Nov 20, 2024
9a150b0
Fix transfer details modal error for successful transfer when metadat…
jmrossy Nov 21, 2024
497b9d9
Merge pull request #335 from hyperlane-xyz/rossy/details-modal-fix
jmrossy Nov 21, 2024
b9e6ea1
Merge branch 'main' into main-to-injective
jmrossy Nov 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .eslintignore

This file was deleted.

43 changes: 0 additions & 43 deletions .eslintrc

This file was deleted.

8 changes: 5 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all",
"importOrder": ["^@hyperlane-xyz/(.*)$", "^../(.*)$", "^./(.*)$"],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
"plugins": [
"prettier-plugin-organize-imports",
"prettier-plugin-tailwindcss"
],
"tailwindFunctions": ["clsx"]
}
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@
},
"editor.tabSize": 2,
"editor.detectIndentation": false,
"tailwindCSS.experimental.classRegex": [["clsx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]]
}
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.0.2.cjs

This file was deleted.

925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.5.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
spec: "https://mskelton.dev/yarn-outdated/v3"

yarnPath: .yarn/releases/yarn-4.0.2.cjs
yarnPath: .yarn/releases/yarn-4.5.0.cjs
84 changes: 84 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
import { FlatCompat } from '@eslint/eslintrc';
import js from '@eslint/js';
import typescriptEslint from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import globals from 'globals';
import path from 'node:path';
import { fileURLToPath } from 'node:url';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});

export default [
{
ignores: [
'**/node_modules',
'**/dist',
'**/build',
'**/coverage',
'**/postcss.config.js',
'**/next.config.js',
'**/tailwind.config.js',
'**/sentry.*',
],
},
...compat.extends(
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@tanstack/eslint-plugin-query/recommended',
'next',
'next/core-web-vitals',
'prettier',
),
{
plugins: {
'@typescript-eslint': typescriptEslint,
},

languageOptions: {
globals: {
...globals.node,
...globals.browser,
},

parser: tsParser,
ecmaVersion: 12,
sourceType: 'module',

parserOptions: {
project: './tsconfig.json',
},
},

rules: {
'no-console': ['warn'],
'no-eval': ['error'],
'no-ex-assign': ['error'],
'no-extra-boolean-cast': ['error'],
'no-constant-condition': ['off'],
'guard-for-in': ['error'],
'@typescript-eslint/ban-ts-comment': ['off'],
'@typescript-eslint/explicit-module-boundary-types': ['off'],
'@typescript-eslint/no-explicit-any': ['off'],
'@typescript-eslint/no-non-null-assertion': ['off'],
'@typescript-eslint/no-require-imports': ['warn'],

'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],

'jsx-a11y/alt-text': ['off'],
'@next/next/no-img-element': ['off'],
},
},
];
23 changes: 0 additions & 23 deletions jest.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
12 changes: 4 additions & 8 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,23 +80,19 @@ const nextConfig = {
},

reactStrictMode: true,
swcMinify: true,

sentry: {
hideSourceMaps: true,
tunnelRoute: "/monitoring-tunnel",
},
}

const sentryWebpackPluginOptions = {
const sentryOptions = {
org: "hyperlane",
project: "warp-ui",
authToken: process.env.SENTRY_AUTH_TOKEN,
hideSourceMaps: true,
tunnelRoute: "/monitoring-tunnel",
bundleSizeOptimizations: {
excludeDebugStatements: true,
excludeReplayIframe: true,
excludeReplayShadowDom: true,
},
};

module.exports = withBundleAnalyzer(withSentryConfig(nextConfig, sentryWebpackPluginOptions));
module.exports = withBundleAnalyzer(withSentryConfig(nextConfig, sentryOptions));
99 changes: 51 additions & 48 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@hyperlane-xyz/warp-ui-template",
"description": "A web app template for building Hyperlane Warp Route UIs",
"version": "5.1.0",
"version": "7.1.0",
"author": "J M Rossy",
"dependencies": {
"@chakra-ui/next-js": "^2.2.0",
"@chakra-ui/next-js": "^2.4.2",
"@chakra-ui/react": "^2.8.2",
"@cosmjs/cosmwasm-stargate": "patch:@cosmjs/cosmwasm-stargate@npm%3A0.32.4#~/.yarn/patches/@cosmjs-cosmwasm-stargate-npm-0.32.4-f9dd51429c.patch",
"@cosmjs/stargate": "^0.32.4",
Expand All @@ -14,68 +14,69 @@
"@cosmos-kit/leap": "^2.12.2",
"@cosmos-kit/react": "^2.18.0",
"@drift-labs/snap-wallet-adapter": "^0.3.0",
"@emotion/react": "^11.13.0",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@headlessui/react": "^1.7.14",
"@hyperlane-xyz/registry": "4.3.6",
"@hyperlane-xyz/sdk": "5.3.0",
"@hyperlane-xyz/utils": "5.3.0",
"@hyperlane-xyz/widgets": "5.3.0",
"@headlessui/react": "^2.2.0",
"@hyperlane-xyz/registry": "6.1.0",
"@hyperlane-xyz/sdk": "7.1.0",
"@hyperlane-xyz/utils": "7.1.0",
"@hyperlane-xyz/widgets": "7.1.0",
"@interchain-ui/react": "^1.23.28",
"@metamask/jazzicon": "https://github.com/jmrossy/jazzicon#7a8df28974b4e81129bfbe3cab76308b889032a6",
"@metamask/post-message-stream": "6.1.2",
"@metamask/providers": "10.2.1",
"@rainbow-me/rainbowkit": "1.3.0",
"@sentry/nextjs": "^7.118.0",
"@solana/spl-token": "^0.3.8",
"@rainbow-me/rainbowkit": "^2.2.0",
"@sentry/nextjs": "^8.38.0",
"@solana/spl-token": "^0.4.9",
"@solana/wallet-adapter-base": "^0.9.22",
"@solana/wallet-adapter-react": "^0.15.32",
"@solana/wallet-adapter-react-ui": "^0.9.31",
"@solana/wallet-adapter-wallets": "^0.19.16",
"@solana/web3.js": "^1.77.0",
"@tanstack/react-query": "^4.29.7",
"@vercel/analytics": "^1.1.1",
"bignumber.js": "^9.1.1",
"@solana/web3.js": "^1.95.4",
"@tanstack/react-query": "^5.59.20",
"@vercel/analytics": "^1.4.0",
"@vercel/functions": "^1.5.0",
"bignumber.js": "^9.1.2",
"buffer": "^6.0.3",
"clsx": "^2.1.1",
"cosmjs-types": "^0.9.0",
"formik": "^2.4.5",
"formik": "^2.4.6",
"framer-motion": "^10.16.4",
"next": "^13.5.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-toastify": "^9.1.3",
"viem": "1.20.0",
"wagmi": "^1.4.12",
"zod": "^3.21.4",
"zustand": "^4.3.9"
"next": "^15.0.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-toastify": "^10.0.6",
"viem": "^2.21.41",
"wagmi": "^2.12.26",
"zod": "3.21.4",
"zustand": "^4.4.7"
},
"devDependencies": {
"@next/bundle-analyzer": "^14.2.5",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/jest": "^29.5.3",
"@next/bundle-analyzer": "^15.0.2",
"@tanstack/eslint-plugin-query": "^5.59.20",
"@types/node": "^18.11.18",
"@types/react": "^18.2.7",
"@types/react-dom": "^18.2.4",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"autoprefixer": "^10.4.14",
"eslint": "^8.41.0",
"eslint-config-next": "^13.4.3",
"eslint-config-prettier": "^8.8.0",
"jest": "^29.6.3",
"jest-transform-yaml": "^1.1.2",
"postcss": "^8.4.23",
"prettier": "^2.8.8",
"tailwindcss": "^3.3.2",
"ts-node": "^10.9.1",
"typescript": "^5.3.3",
"yaml": "^2.3.4",
"yaml-loader": "^0.8.0"
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.14.0",
"eslint-config-next": "^15.0.2",
"eslint-config-prettier": "^9.1.0",
"postcss": "^8.4.47",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-tailwindcss": "^0.6.8",
"tailwindcss": "^3.4.15",
"ts-node": "^10.9.2",
"typescript": "5.6.3",
"yaml": "^2.6.0",
"yaml-loader": "^0.8.1"
},
"homepage": "https://www.hyperlane.xyz",
"license": "Apache-2.0",
"main": "dist/src/index.js",
"packageManager": "yarn@4.0.2",
"packageManager": "yarn@4.5.0",
"private": true,
"repository": {
"type": "git",
Expand All @@ -88,19 +89,21 @@
"typecheck": "tsc",
"lint": "next lint",
"start": "next start",
"test": "jest --passWithNoTests",
"test": "echo 'No tests'",
"prettier": "prettier --write ./src"
},
"types": "dist/src/index.d.ts",
"resolutions": {
"@solana/web3.js": "^1.78.4",
"@solana/web3.js": "^1.95.4",
"axios": "0.27.2",
"bignumber": "9.1.2",
"bn.js": "^5.2",
"cosmjs-types": "0.9",
"ethers": "^5.7",
"globals": "^14.0.0",
"lit-html": "2.8.0",
"react-fast-compare": "^3.2",
"viem": "1.20.0",
"viem": "^2.21.41",
"zustand": "^4.4",
"@cosmjs/cosmwasm-stargate@npm:^0.32.3": "patch:@cosmjs/cosmwasm-stargate@npm%3A0.32.4#~/.yarn/patches/@cosmjs-cosmwasm-stargate-npm-0.32.4-f9dd51429c.patch",
"@cosmjs/cosmwasm-stargate@npm:^0.32.4": "patch:@cosmjs/cosmwasm-stargate@npm%3A0.32.4#~/.yarn/patches/@cosmjs-cosmwasm-stargate-npm-0.32.4-f9dd51429c.patch"
Expand Down
Loading
Loading