Skip to content

feat: add send arguments to open method#4962

Merged
tomiir merged 31 commits intomainfrom
feat/open-send
Sep 9, 2025
Merged

feat: add send arguments to open method#4962
tomiir merged 31 commits intomainfrom
feat/open-send

Conversation

@0xmkh
Copy link
Copy Markdown
Collaborator

@0xmkh 0xmkh commented Sep 4, 2025

Description

Added openSend function to customize the send flow experience by pre-configuring the token, amount, chain, and recipient address

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • 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 not work as expected)

Associated Issues

For Linear issues: Closes APKT-3632,APKT-3628
For GH issues: closes #...

Showcase (Optional)

example

image image

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

@linear
Copy link
Copy Markdown

linear bot commented Sep 4, 2025

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Sep 4, 2025

🦋 Changeset detected

Latest commit: 240d0ca

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 25 packages
Name Type
@reown/appkit-utils Patch
@reown/appkit-controllers Patch
@reown/appkit-scaffold-ui Patch
@reown/appkit Patch
pay-test-exchange Patch
@reown/appkit-adapter-bitcoin Patch
@reown/appkit-adapter-ethers Patch
@reown/appkit-adapter-ethers5 Patch
@reown/appkit-adapter-solana Patch
@reown/appkit-adapter-wagmi Patch
@reown/appkit-cdn Patch
@reown/appkit-cli Patch
@reown/appkit-codemod Patch
@reown/appkit-common Patch
@reown/appkit-core Patch
@reown/appkit-experimental Patch
@reown/appkit-pay Patch
@reown/appkit-polyfills Patch
@reown/appkit-siwe Patch
@reown/appkit-siwx Patch
@reown/appkit-testing Patch
@reown/appkit-ui Patch
@reown/appkit-universal-connector Patch
@reown/appkit-wallet Patch
@reown/appkit-wallet-button Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Sep 4, 2025

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

Project Deployment Preview Comments Updated (UTC)
appkit-basic-html Ready Ready Preview Comment Sep 8, 2025 4:26pm
appkit-demo Ready Ready Preview Comment Sep 8, 2025 4:26pm
appkit-gallery Ready Ready Preview Comment Sep 8, 2025 4:26pm
appkit-laboratory Ready Ready Preview Comment Sep 8, 2025 4:26pm
10 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
appkit-basic-example Ignored Ignored Sep 8, 2025 4:26pm
appkit-basic-sign-client-example Ignored Ignored Sep 8, 2025 4:26pm
appkit-basic-up-example Ignored Ignored Sep 8, 2025 4:26pm
appkit-ethers5-bera Ignored Ignored Sep 8, 2025 4:26pm
appkit-nansen-demo Ignored Ignored Sep 8, 2025 4:26pm
appkit-vue-solana Ignored Ignored Sep 8, 2025 4:26pm
appkit-wagmi-cdn-example Ignored Ignored Sep 8, 2025 4:26pm
ethereum-provider-wagmi-example Ignored Ignored Sep 8, 2025 4:26pm
next-wagmi-solana-bitcoin-example Ignored Ignored Sep 8, 2025 4:26pm
vue-wagmi-example Ignored Ignored Sep 8, 2025 4:26pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 4, 2025

Warnings
⚠️

🔑 Potential UUID detected in packages/controllers/src/utils/AssetUtil.ts (line 16): ba0ba0cd-17c6-4806-a...

⚠️

🔑 Potential UUID detected in packages/controllers/src/utils/AssetUtil.ts (line 18): a1b58899-f671-4276-6...

⚠️

🔑 Potential UUID detected in packages/controllers/src/utils/AssetUtil.ts (line 22): 0b4838db-0161-4ffe-0...

Generated by 🚫 dangerJS against 240d0ca

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 4, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 78.28% 35236 / 45012
🔵 Statements 78.28% 35236 / 45012
🔵 Functions 75.91% 3870 / 5098
🔵 Branches 86.61% 8346 / 9636
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/appkit-utils/exports/index.ts 100% 100% 100% 100%
packages/appkit-utils/src/TokenUtil.ts 100% 100% 100% 100%
packages/appkit/exports/react.ts 50% 100% 33.33% 50% 50-62, 65-72
packages/appkit/exports/vue-core.ts 43.75% 100% 50% 43.75% 42-62
packages/appkit/src/client/appkit-base-client.ts 72.67% 87.07% 76.52% 72.67% 193, 206-209, 212, 224-225, 228-235, 244, 291-292, 338-339, 373-374, 376-377, 382-383, 464-465, 501-507, 572-573, 599-600, 603-604, 646-647, 650, 691-695, 702-703, 706-707, 718-741, 750-751, 768-780, 784-805, 808-814, 817-823, 826-832, 835-841, 844-854, 857-863, 866-872, 892-901, 904-910, 913-914, 917-918, 937-938, 962-1004, 1011-1023, 1029-1062, 1065-1075, 1127-1128, 1133, 1148-1164, 1178, 1182-1189, 1218-1219, 1256-1258, 1262-1275, 1280-1281, 1289-1290, 1292-1293, 1385-1386, 1398-1399, 1404, 1427-1432, 1475, 1496-1497, 1507, 1509-1525, 1530, 1575-1576, 1589-1600, 1646-1659, 1704, 1710-1714, 1733-1734, 1753-1756, 1792-1811, 1834-1845, 1874-1875, 1881-1907, 2117-2118, 2155-2156, 2159-2160, 2173-2176, 2179-2180, 2200-2201, 2204-2205, 2217-2227, 2245-2246, 2249-2256, 2260-2261, 2275, 2283, 2286, 2290, 2295-2314, 2317-2326, 2333-2334, 2348-2349, 2352-2353, 2360-2361, 2400-2401, 2484-2485, 2488-2489, 2492-2495, 2498-2499, 2502-2503, 2506-2507, 2510-2511, 2514-2518, 2527-2536, 2545-2556, 1273, 1841, 2297-2318
packages/appkit/src/library/react/index.ts 11.42% 100% 16.66% 11.42% 77-113, 116-129, 132-150, 153-181, 184-201
packages/appkit/src/library/vue/index.ts 24.1% 100% 28.57% 24.1% 85-119, 122-138, 141-156, 159-179, 182-197
packages/controllers/exports/index.ts 100% 100% 100% 100%
packages/controllers/exports/utils.ts 100% 100% 100% 100%
packages/controllers/src/controllers/ChainController.ts 75.17% 88.26% 74.72% 75.17% 179-190, 194-213, 217-227, 231-253, 275-276, 297-298, 386-393, 397-410, 417-418, 437-438, 452-453, 458-459, 462-463, 472-473, 478-479, 491-492, 514-517, 538-545, 553-554, 592-598, 611-612, 646-647, 681-701, 729-730, 765-767, 775-776, 101, 197, 727
packages/controllers/src/controllers/RouterController.ts 68.42% 79.31% 70.58% 68.42% 138-143, 145-147, 149-151, 193, 209-220, 225-231, 235-240
packages/controllers/src/controllers/SendController.ts 60% 68.51% 62.85% 60% 82, 126-128, 130, 141-142, 147-148, 151-152, 173-174, 176-195, 240-255, 260-294, 300-301, 313, 315-346, 353-354, 358-359, 371-372, 383-384, 163-340
packages/controllers/src/utils/AssetUtil.ts 85.71% 94.44% 82.35% 85.71% 40-41, 55, 60, 104-105, 116-117, 127, 131-136
packages/controllers/src/utils/BalanceUtil.ts 97.22% 100% 100% 97.22% 55, 64, 86
packages/controllers/src/utils/ConstantsUtil.ts 100% 0% 100% 100%
packages/controllers/src/utils/ExchangeUtil.ts 100% 93.75% 76.92% 100%
packages/controllers/src/utils/ViemUtil.ts 29.26% 100% 0% 29.26% 20-32, 37-41, 44-48, 51-65
packages/scaffold-ui/exports/send.ts 100% 100% 100% 100%
packages/scaffold-ui/src/modal/w3m-router/index.ts 63.75% 16.41% 83.33% 63.75% 50, 54, 62, 66, 70, 72, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180
packages/scaffold-ui/src/partials/w3m-header/index.ts 90.82% 85.1% 77.77% 90.82% 90-91, 152-153, 165, 197, 210, 228, 250, 262, 273, 277-281, 284-289
packages/scaffold-ui/src/partials/w3m-input-address/index.ts 98.49% 100% 94.11% 98.49% 62, 102
packages/scaffold-ui/src/partials/w3m-input-token/index.ts 92.3% 96.87% 91.66% 92.3% 46, 57, 65, 83, 94, 99, 127
packages/scaffold-ui/src/views/w3m-send-confirmed-view/index.ts 47.36% 100% 0% 47.36% 20-22, 26-49, 53-54
packages/scaffold-ui/src/views/w3m-send-confirmed-view/styles.ts 100% 100% 100% 100%
packages/scaffold-ui/src/views/w3m-wallet-send-preview-view/index.ts 75.42% 84% 85.71% 75.42% 139, 150, 158-161, 166, 172-201, 199
packages/scaffold-ui/src/views/w3m-wallet-send-view/index.ts 94.9% 93.75% 92.85% 94.9% 68, 120, 168-169, 207-211
Generated in workflow #14919 for commit 240d0ca by the Vitest Coverage Report Action

Comment thread packages/appkit/src/client/appkit-base-client.ts
@0xmkh 0xmkh added this pull request to the merge queue Sep 9, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 9, 2025
@0xmkh 0xmkh added this pull request to the merge queue Sep 9, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 9, 2025
@tomiir tomiir merged commit 197dcbf into main Sep 9, 2025
41 checks passed
@tomiir tomiir deleted the feat/open-send branch September 9, 2025 09:22
@github-actions github-actions bot mentioned this pull request Sep 9, 2025
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.

4 participants