Skip to content

release: packages upgrade#1162

Merged
GarageInc merged 129 commits intoprodfrom
dev
Jan 27, 2026
Merged

release: packages upgrade#1162
GarageInc merged 129 commits intoprodfrom
dev

Conversation

@GarageInc
Copy link
Collaborator

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

GarageInc and others added 30 commits August 27, 2025 22:58
* feat: hardcoded chains for keplr

* chore: self review
* chore: savepoint

* chore: savepoint

* feat: erc20 bridge

* chore: self review

* fix: devnet url

* feat: add devnet

* chore: self review

* fix: addresses

* feat: tokens fetcher

* chore: savepoint

* chore: api for tokens

* fix: bridge allowance

* chore: savepoint

* feat: use bridge state

* chore: self review

* fix: balances from sepolia

* chore: prettier

* fix: explorer for devnet

* feat: https

* feat: token deployment page

* fix: rpc url

* fix: balances and token deployment

* chore: cleanup logs

* feat: logs parser

* feat: correct handle remote token address

* chore: self review

* chore: precommit hook

* chore: handle allowance with timers

* chore: savepoint

* feat: l2 to l1 orders list

* chore: self review for bridge tokens/links

* chore: self review

* feat: correct devnet configs for time to prove checks

* chore: correct chain switch for proving

* chore: correct finilize steps

* chore: review

* feat: self review UI for bridge page

* fix: header btns for bridge page

* fix: reloading timers

* chore: self review

* chore: replace local storage usage

* chore: review comments
* feat: upd wagmi lib

* fix: build providers
* feat: restore withdraw by tx hash

* chore: savecommit

* feat: recover page with order creation

* fix: linter issues

* fix: types

* fix: upd addresses

* Potential fix for code scanning alert no. 390: Useless assignment to local variable

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Rinat Fihtengolts <9-b-rinat@rambler.ru>

---------

Signed-off-by: Rinat Fihtengolts <9-b-rinat@rambler.ru>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* fix: approve btn disable and chains in header

* chore: savepoint refactored bridge page

* feat: share by url support
* feat: use new testethic

* chore: savepoint

* chore: upd addresses

* fix: build

* fix: search tokens

* chore: self review

* fix: allowance checking

* fix: bridge

* chore: savepoint
* fix: pre release fixes

* chore: savepoint

* chore: reset token on chain id change

* fix: validators count

* fix: chain switch problem

* fix: links
* fix: decrease RPC calls

* fix: rename ISLM to ETH
* fix: correct chain switch on bridge page

* chore: error block styles

* fix: handle back chain switch
* chore: savepoint

* chore: savepoint

* feat: testethiq faucet support
}

// Handle error objects without message property
const message = error instanceof Error ? error.message : String(error || '');

Check warning

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'error' always evaluates to true.

Copilot Autofix

AI 28 days ago

In general, to fix a “useless conditional” you should remove any redundant boolean checks or fallback expressions that cannot change the result given the surrounding control flow and types. Here, the earlier if (!error) guard ensures error is always truthy from that point on, so error || '' can never produce ''. We still want the behavior “if it’s an Error, use its message; otherwise convert the value to string”, but we don’t need the useless || '' for that.

The best minimal fix is to change line 44 from:

const message = error instanceof Error ? error.message : String(error || '');

to:

const message = error instanceof Error ? error.message : String(error);

This keeps the same observable behavior for all values that can actually reach this line, removes the statically useless || '', and addresses CodeQL’s complaint. No imports, new methods, or other definitions are needed, and no surrounding logic has to change. The change is confined to libs/burn-waitlist/src/lib/waitlist-page.tsx within the sanitizeErrorMessage function.

Suggested changeset 1
libs/burn-waitlist/src/lib/waitlist-page.tsx

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/libs/burn-waitlist/src/lib/waitlist-page.tsx b/libs/burn-waitlist/src/lib/waitlist-page.tsx
--- a/libs/burn-waitlist/src/lib/waitlist-page.tsx
+++ b/libs/burn-waitlist/src/lib/waitlist-page.tsx
@@ -41,7 +41,7 @@
   }
 
   // Handle error objects without message property
-  const message = error instanceof Error ? error.message : String(error || '');
+  const message = error instanceof Error ? error.message : String(error);
 
   if (!message || message.trim() === '') {
     return undefined;
EOF
@@ -41,7 +41,7 @@
}

// Handle error objects without message property
const message = error instanceof Error ? error.message : String(error || '');
const message = error instanceof Error ? error.message : String(error);

if (!message || message.trim() === '') {
return undefined;
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
@vercel
Copy link

vercel bot commented Jan 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
shell-app Ready Ready Preview, Comment Jan 26, 2026 10:24am

Request Review

@GarageInc GarageInc merged commit 01df3a8 into prod Jan 27, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments