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

:fix swaps SA approval #3461

Merged
merged 15 commits into from
Dec 17, 2024
Merged

:fix swaps SA approval #3461

merged 15 commits into from
Dec 17, 2024

Conversation

svenvoskamp
Copy link
Contributor

Description

Please include a brief summary of the change.

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-xxx
For GH issues: closes #...

Showcase (Optional)

If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.

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

Copy link

changeset-bot bot commented Dec 13, 2024

🦋 Changeset detected

Latest commit: 73847be

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

This PR includes changesets to release 18 packages
Name Type
@reown/appkit-adapter-ethers5 Patch
@reown/appkit-adapter-ethers Patch
@reown/appkit-adapter-solana Patch
@reown/appkit-adapter-wagmi Patch
@reown/appkit-utils Patch
@reown/appkit Patch
@reown/appkit-common Patch
@reown/appkit-core Patch
@reown/appkit-siwe Patch
@reown/appkit-cdn Patch
@reown/appkit-cli Patch
@reown/appkit-experimental Patch
@reown/appkit-polyfills Patch
@reown/appkit-scaffold-ui Patch
@reown/appkit-siwx Patch
@reown/appkit-ui 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

Copy link

vercel bot commented Dec 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
appkit-builder ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 2:26am
appkit-laboratory ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 2:26am
appkit-vue-solana ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 2:26am
appkit-wagmi-cdn-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 2:26am
vue-wagmi-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 2:26am

Copy link
Contributor

github-actions bot commented Dec 13, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 53.94% 14821 / 27474
🔵 Statements 53.94% 14821 / 27474
🔵 Functions 40.86% 1067 / 2611
🔵 Branches 75.39% 1891 / 2508
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/adapters/ethers/src/client.ts 45.37% 51.78% 54.54% 45.37% 39-97, 113-114, 145-146, 159-182, 185-195, 208-244, 249-250, 257-274, 279-296, 299-320, 323-328, 338-339, 346-350, 373-380, 383-410, 414-415, 428-429, 431, 453-454, 458, 472, 483-485, 488-493, 496-500, 514-520, 542-544, 549-550, 552-557, 567-585, 591-592, 596-601, 610-611, 622-623
packages/adapters/ethers5/src/client.ts 43% 54% 54.54% 43% 40-98, 114-115, 146-147, 160-183, 186-196, 209-245, 250-251, 258-275, 280-297, 300-321, 324-329, 339-340, 347-351, 374-401, 404-411, 415-416, 429-430, 432, 457-458, 462, 476, 487-489, 492-497, 500-504, 518-524, 537-559, 567-585, 591-592, 596-601, 610-611, 622-623
packages/adapters/wagmi/src/client.ts 72.62% 56% 72.41% 72.62% 100-125, 146, 175-187, 192-195, 226, 228, 237, 259-260, 311-314, 319-320, 330-331, 399-414, 417-434, 443-444, 448-449, 466-476, 515, 519-522, 542-543, 549-550, 555-556, 560-565, 572-573, 579-580, 585-586, 595-596, 602-603, 608-609
packages/appkit/src/client.ts 18.93% 100% 0% 18.93% 188-195, 198-199, 202-237, 241-243, 246-248, 251-252, 256-257, 260-261, 264-273, 276-279, 282-285, 288-289, 292-293, 296-297, 300-302, 305-306, 309-310, 313-315, 318-319, 322-323, 326-337, 340-349, 352-353, 356-357, 360-361, 364-365, 368-369, 372-373, 376-377, 380-381, 384-385, 388-389, 392-393, 396-397, 400-401, 404-405, 408-411, 616-617, 620-623, 626-627, 630-631, 634-635, 638-639, 642-643, 647-734, 737-748, 751-771, 774-780, 783-792, 795-1127, 1130-1131, 1134-1266, 1269-1309, 1312-1380, 1383-1392, 1395-1405, 1408-1486, 1489-1509, 1512-1523, 1526-1551, 1557-1578, 1581-1620, 1623-1666, 1669-1680, 1683-1695, 1698-1738, 1741-1742, 1745-1754, 1757-1774, 1777-1797, 1800-1809, 1812-1828, 1831-1881, 1884-1895, 1898-1908, 1911-1927
packages/appkit/src/adapters/ChainAdapterBlueprint.ts 45.63% 70% 45.45% 45.63% 86-87, 94-103, 110-119, 127-146, 151-152, 161-162, 171-176, 185-189, 200-201
packages/common/src/contracts/swap.ts 100% 100% 100% 100%
packages/common/src/utils/ContractUtil.ts 60% 100% 0% 60% 9-13
packages/core/src/controllers/SendController.ts 25.68% 100% 35.48% 25.68% 52, 56, 84, 88, 92, 96-107, 111-154, 158-209, 213-248, 252-276, 274
packages/core/src/controllers/SwapController.ts 47.59% 64.7% 56.89% 47.59% 40-43, 166, 170, 180-181, 211-216, 242, 249-251, 260-261, 269-283, 287-299, 311, 315, 320-321, 329-332, 365, 372, 377-395, 405-407, 420-421, 432-433, 445, 452-453, 457-465, 493-494, 516-517, 531, 540-578, 582-639, 643-693, 698-750, 754-839, 856, 469-475, 855
Generated in workflow #8154 for commit 73847be by the Vitest Coverage Report Action

caipNetwork: CaipNetwork
provider?: AppKitConnector['provider']
caipAddress: CaipAddress
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this if unused

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.

2 participants