Skip to content

Feat/shield#962

Draft
cawabunga-bytes wants to merge 17 commits intomainfrom
feat/shield
Draft

Feat/shield#962
cawabunga-bytes wants to merge 17 commits intomainfrom
feat/shield

Conversation

@cawabunga-bytes
Copy link
Collaborator

No description provided.

Move the Private Mode toggle from the Settings popover to the Account
page header using IslandHeader's rightSlot. Create a reusable
PrivateModeToggle component with tooltip hints for disabled states.
Store both access and refresh tokens in separate HTTP-only cookies.
Automatically refresh access token when expired or about to expire
(60s threshold). Clear session and require re-auth if refresh fails
or API returns 401.
The SDK changed GetBalanceResponseDto to GetBalancesResponse, where
balances is now Array<BalanceEntry> instead of Record<string, string>.
Also fix private holdings lookup to search inside unified token groups.
Add getPrivateTransferQuote server action with both depositType and
recipientType set to PRIVATE_INTENTS, accepting a recipientIntentsUserId
for the destination. Add Transfer tab to shield-demo page with recipient
input field. Rename generateShieldIntent/submitShieldIntent/
getShieldExecutionStatus to generateIntent/submitIntent/getExecutionStatus
to reflect their use across all three flows.
Replace EVM/NEAR-only signers (createIntentSignerViem,
createIntentSignerNEP413) with wallet-agnostic signing via
useWalletAgnosticSignMessage + prepareBroadcastRequest. All 7 wallet
types now supported. SDK's intentBuilder().build() still used for
correct verifying_contract and nonce generation; new
intentPayloadToWalletMessage() bridges IntentPayload to WalletMessage.

Also fixes NEAR signature double-encoding bug where Buffer.from(base64)
without encoding arg corrupted signatures.
…verride

The SDK applies OpenAPI.TOKEN after HEADERS, so 1cs.ts setting
TOKEN=API_KEY was overwriting the JWT we placed in HEADERS.authorization.
Replace global setAuthToken/resetAuthToken mutations with an
OpenAPI.TOKEN resolver that reads the JWT from cookies on each
request, eliminating race conditions between concurrent server actions.
@vercel
Copy link

vercel bot commented Feb 16, 2026

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

Project Deployment Actions Updated (UTC)
defuse-widget Ready Ready Preview, Comment Feb 20, 2026 11:32am

Request Review

@coderabbitai
Copy link

coderabbitai bot commented Feb 16, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/shield

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@supabase
Copy link

supabase bot commented Feb 16, 2026

Updates to Preview Branch (feat/shield) ↗︎

Deployments Status Updated
Database Fri, 20 Feb 2026 11:32:29 UTC
Services Fri, 20 Feb 2026 11:32:29 UTC
APIs Fri, 20 Feb 2026 11:32:29 UTC

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks Status Updated
Configurations Fri, 20 Feb 2026 11:32:29 UTC
Migrations Fri, 20 Feb 2026 11:32:30 UTC
Seeding Fri, 20 Feb 2026 11:32:31 UTC
Edge Functions Fri, 20 Feb 2026 11:32:31 UTC

View logs for this Workflow Run ↗︎.
Learn more about Supabase for Git ↗︎.

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