Compare commits

..
Author SHA1 Message Date
bb80b1d758 Version Packages (#2909)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-04 15:28:53 +12:00
Joaquim Verges 5b0c37a0d9 feat: default account factory for smart accounts + switch chain support (#2917) 2024-05-03 20:03:28 -07:00
greg d77b6f67ad Adds use client directives (#2921) 2024-05-03 19:33:45 -07:00
github-actions[bot] 2c4af9a85d chore(chains): update chains (#2920)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-03 18:25:16 -07:00
Jonas Daniels 47de345b60 chore(wallets): add support for several new wallets (#2919) 2024-05-03 18:25:01 -07:00
github-actions[bot] 7485f6bb41 chore(chains): update chains (#2918)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-03 16:33:27 -07:00
github-actions[bot] c280112bba chore(chains): update chains (#2910)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-03 12:15:06 -07:00
Joaquim Verges 664082e5e6 feat: prepareDeployDeterministicTransaction (#2915) 2024-05-03 01:50:10 +00:00
Joaquim Verges 24a3ee49d1 fix: legacy transactions with in-app wallet (#2914) 2024-05-03 13:44:55 +12:00
greg 5525a0e336 Filter invalid auction listings on getAllAuctions (#2913) 2024-05-02 13:53:57 -07:00
greg 35acbcd10e Update mintWithSignature ABIs with proper return types (#2911) 2024-05-02 16:05:35 +00:00
github-actions[bot] 83d1d6f397 chore(chains): update chains (#2908)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-02 09:16:38 +12:00
greg 1f3e5c4726 Create wallet ID constants file (#2900) 2024-05-01 16:29:01 +00:00
Jonas Danielsandgithub-actions[bot] 6bf1dad28b Version Packages (#2896)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-01 21:55:20 +12:00
Joaquim Verges 75e66b189d fix: signTypedData verification for smart accounts (#2906) 2024-05-01 21:37:58 +12:00
Joaquim Verges d2541e5d2c chore: update to cb wallet rc2 (#2907) 2024-05-01 21:25:15 +12:00
github-actions[bot] 0bce535094 chore(chains): update chains (#2902)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-01 20:39:11 +12:00
gregandJoaquim Verges 88886acd76 Adds overrides to extension functions (#2898)
Co-authored-by: Joaquim Verges <[email protected]>
2024-05-01 14:00:29 +12:00
Yash 1d669547fb Contracts version 3.15.0 (#2904) 2024-05-01 01:38:03 +00:00
Joaquim Verges 9a031bb19f chore: bump timeout for userop receipts to 2 mins (#2905) 2024-05-01 01:17:19 +00:00
greg e6fce1f2e6 Fix event duplication in useContractEvents (#2899) 2024-04-30 20:12:25 +00:00
Joaquim Verges 3c13fe4423 fix: switch to base sepolia for sw legacy integration tests (#2901) 2024-04-30 21:19:01 +12:00
greg f916d7a453 Fix TransactionButton loading state layout (#2897) 2024-04-30 04:57:07 +00:00
Joaquim Verges 7882b22306 feat: coinbase wallet sdk v4 with SW support (#2875) 2024-04-30 00:52:35 +00:00
429f2d3291 Version Packages (#2868)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-30 10:21:33 +12:00
dependabot[bot] 27ef292377 build(deps-dev): bump @babel/runtime from 7.24.4 to 7.24.5 (#2889)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 14:23:40 -07:00
dependabot[bot] 9962f99ecf build(deps): bump @walletconnect/utils from 2.12.1 to 2.12.2 (#2891)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 21:14:49 +00:00
github-actions[bot] bdeb6734ce chore(chains): update chains (#2895)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-29 14:09:00 -07:00
dependabot[bot] fdbc2cc9a7 build(deps): bump turbo from 1.13.2 to 1.13.3 (#2893)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 13:59:12 -07:00
dependabot[bot] 91af89349f build(deps-dev): bump @biomejs/biome from 1.7.0 to 1.7.1 (#2894)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 13:59:00 -07:00
github-actions[bot] 7f2ec9c2dc chore(chains): update chains (#2865)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-29 13:57:57 -07:00
dependabot[bot] c05e2a325b build(deps): bump @walletconnect/web3wallet from 1.11.1 to 1.11.2 (#2884)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 20:49:36 +00:00
dependabot[bot] 913a801111 build(deps): bump @walletconnect/react-native-compat from 2.12.1 to 2.12.2 (#2886)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 20:49:12 +00:00
Manan Tank 597900bdcc Add onConnect prop on AutoConnect (#2879) 2024-04-29 18:06:29 +00:00
greg bfdfc23e3a Better error message on failed predictAddress (#2882) 2024-04-29 10:57:35 -07:00
greg 48e6427d65 Small improvement to verifySignature docs example (#2883) 2024-04-29 10:40:45 -07:00
Kien NgoandKien Ngo 7f4caf0627 Fix nonce value for ethers5 adapter (#2881)
Co-authored-by: Kien Ngo <[email protected]>
2024-04-29 10:11:07 -07:00
gregandManan Tank 8ae8e6a702 Cleanup TransactionButton loading state (#2870)
Co-authored-by: Manan Tank <[email protected]>
2024-04-29 09:55:17 -07:00
d2aead486e Docs: update incorrect code snippet for viem adapter (#2874)
Signed-off-by: Joaquim Verges <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2024-04-29 09:54:59 -07:00
Manan Tank 62c799d348 Fix exception on chain with unknown chainId (#2866) 2024-04-29 14:41:54 +00:00
Joaquim Verges 99298b397c Add optional icon in ChainOptions (#2872) 2024-04-29 04:59:06 +00:00
Joaquim Verges e98405e676 fix: jsDoc import for viem adapter (#2873) 2024-04-28 20:30:55 +12:00
Joaquim Verges 272e0ebf05 fix: ENS jsDocs exports (#2871) 2024-04-28 17:32:24 +12:00
greg fa4bd436e0 Adds disabled prop to TransactionButton (#2869) 2024-04-26 22:09:29 +00:00
greg 674fcc7e95 Enable single phase drop compatibility (#2867) 2024-04-26 14:18:02 -07:00
Jonas Danielsandgithub-actions[bot] faf65e31b7 Version Packages (#2864)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-26 11:09:43 -07:00
github-actions[bot] 5a87891d16 chore(chains): update chains (#2862)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-26 10:59:36 -07:00
Jonas DanielsandManan Tank 84487d0d78 fix(legacy_packages): fix onAuthSuccess not being passed through to… (#2863)
Co-authored-by: Manan Tank <[email protected]>
2024-04-26 17:52:54 +00:00
ddfdfc5a02 Version Packages (#2856)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-25 15:32:29 -07:00
github-actions[bot] dbdafa2b01 chore(chains): update chains (#2852)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-25 15:05:38 -07:00
77c2a8ae0c Update code snippet for ERC20 getBalance; fix typos (#2857)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-25 14:27:01 -07:00
gregandJonas Daniels 5c1f4db356 Fix: Use 127.0.0.1 on anvil rpc (#2860)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-25 14:26:42 -07:00
Yash 5b83353237 Export airdrop extensions (#2861) 2024-04-25 21:19:22 +00:00
56c139c5a2 feat: Add account abstraction options to useConnect (#2853)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-25 21:06:41 +00:00
Jonas Daniels 03d8d6c15b feat(TransactionButton): add gasless prop (#2859) 2024-04-25 20:10:21 +00:00
greg f12f9bbdcf Cleanup getUniswapV3Pool docs and internal naming (#2855) 2024-04-25 19:59:17 +00:00
Firekeeper 82ee42d667 Unity 4.12.4 (#2858) 2024-04-25 19:50:05 +00:00
Firekeeper 81c297faeb Unity 4.12.3 (#2854) 2024-04-25 07:44:08 +00:00
20fb0d2300 Version Packages (#2847)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-24 16:48:07 -07:00
github-actions[bot] 637c510f59 chore(chains): update chains (#2838)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-24 16:02:15 -07:00
Yash 2ae9a13b01 feat: add new airdrop extension (#2841) 2024-04-24 22:24:15 +00:00
Manan Tank 8d91e55eac Add missing lang for JSDoc code examples (#2851) 2024-04-24 21:24:30 +00:00
Manan Tank aa0b8c4465 Fix All Wallets UI in Connect (#2850) 2024-04-24 20:37:25 +00:00
Jonas Daniels 41be954bd0 feat: Add celo chains to known op stack chains (#2848) 2024-04-24 11:55:40 -07:00
Kien NgoandJonas Daniels e8e3368fde Add extension: isERC20 (#2846)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-24 10:06:03 -07:00
Jonas Daniels e1cd07c3e0 Version Packages (#2840) 2024-04-24 08:42:51 -07:00
Jonas Daniels 8683449abb fix: Fix exportLocalWallet component rendering issue (#2845) 2024-04-23 22:16:13 -07:00
Manan TankandJonas Daniels cfff7e838a Fix custom chain not used in wallet connection (#2768)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-24 04:48:23 +00:00
Jonas DanielsandJoaquim Verges 948f155e7c feat(transactions): add support for gasless transactions (#2818)
Co-authored-by: Joaquim Verges <[email protected]>
2024-04-23 21:56:19 -07:00
Joaquim Verges d7e6671c0a fix: handle signature mint with price and currency (#2842) 2024-04-23 23:01:21 +00:00
560d8adafa feat: Add sign-in with Phone number in in-app wallet (#2679)
Signed-off-by: Winston Yeo <[email protected]>
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2024-04-23 22:57:06 +00:00
Manan Tank 3be61ddc52 Enable Buy Modal by default with useSendTransaction hook (#2839) 2024-04-23 13:58:14 -07:00
greg a0e26a8c4f Contributing guide updates (#2833) 2024-04-23 12:54:38 -07:00
2c8bdfd493 Version Packages (#2835)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-23 11:50:27 -07:00
Jonas Daniels 3810df57aa feat: add missing events for erc721, erc1155 and erc20 (#2836) 2024-04-23 18:00:22 +00:00
github-actions[bot] 45677ad620 chore(chains): update chains (#2821)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-23 11:03:22 -07:00
Jonas Daniels 0b5bb015f9 chore: Add @gregfromstl as code owner (#2837) 2024-04-23 11:00:10 -07:00
dependabot[bot] 20d73bf0eb build(deps): bump @walletconnect/ethereum-provider from 2.12.1 to 2.12.2 (#2825)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 16:51:45 +00:00
Farhan Khwaja 773b70aa1c Update: Added httpMethod to usage-tracker (#2832) 2024-04-23 16:27:41 +00:00
dependabot[bot] e77488217b build(deps): bump @thirdweb-dev/contracts from 3.13.0 to 3.14.0 (#2826)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 16:26:35 +00:00
b62dc4abb3 Version Packages (#2820)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-23 21:58:09 +12:00
Joaquim Verges be8541054e fix: erc1155 sigmint with additional supply (#2834) 2024-04-23 21:11:12 +12:00
Manan Tank 38f3b2eb21 Fix Smart Wallet + In-app wallet connection (#2831) 2024-04-22 21:33:12 +00:00
Joaquim Verges 493bf8d2db fix: jsdoc for useConnect (#2830) 2024-04-23 08:21:23 +12:00
Kien NgoandJonas Daniels a919b27c7a Add extension: multicall3 (#2822)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-22 17:46:01 +00:00
Firekeeper 0ca69a9234 Unity 4.12.2 (#2824) 2024-04-22 17:17:57 +00:00
github-actions[bot] 6d6e0ac694 chore(chains): update chains (#2819)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-20 12:38:18 -07:00
Jonas Danielsandgithub-actions[bot] 8516fc11f9 Version Packages (#2817)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-19 14:36:14 -07:00
github-actions[bot] b4e7c74ce5 chore(chains): update chains (#2812)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-19 11:11:44 -07:00
Jonas Daniels d6646475e2 refactor(viem): explicitly type walletClient return type (#2816) 2024-04-19 17:30:13 +00:00
Jonas Daniels 4dbcbd13db feat(react): initial auth for <ConnectButton /> (#2793)
Co-authored-by: Manan Tank <[email protected]>
2024-04-19 10:36:11 -07:00
Jonas Danielsandgithub-actions[bot] 4eb628363a Version Packages (#2808)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-19 21:00:12 +12:00
Joaquim Verges 381b669cd1 fix: react query invalidation (#2815) 2024-04-19 20:42:24 +12:00
Jonas Daniels bebcf46c3a feat: Add support for updating metadata for ERC1155 contracts (#2814) 2024-04-18 14:43:22 -07:00
Joaquim VergesandJonas Daniels 1b2bfc83d7 feat: add ERC20 and ERC1155 signature mint extensions (#2811)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-18 21:22:03 +00:00
Jonas Daniels 576bb579f6 refactor: Refactor test code for ERC721 and ERC1155 direct listings (#2813) 2024-04-18 11:01:19 -07:00
github-actions[bot] 23680d19cb chore(chains): update chains (#2809)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-18 09:10:29 -07:00
Jonas Daniels 94e354aad3 feat(marketplace/offers): implement extensions for marketplace offers (#2806)
Signed-off-by: Jonas Daniels <[email protected]>
2024-04-18 01:54:56 -07:00
Jonas Daniels e18606e034 chore: update stale issue settings (#2810) 2024-04-17 23:43:45 -07:00
github-actions[bot] ca2576f818 chore(chains): update chains (#2802)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-17 22:55:46 -07:00
Firekeeper ec35f32d2b Unity 4.12.1 (#2805) 2024-04-18 05:45:13 +00:00
Jonas Danielsandgithub-actions[bot] b4df56f40f Version Packages (#2786)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-17 14:20:16 -07:00
Jonas Daniels 4a6eed5d99 chore: update release-artifacts timeout (#2804) 2024-04-17 14:15:25 -07:00
Jonas Daniels a54c745977 feat: Added new extensions for English Auctions (#2803) 2024-04-17 14:13:55 -07:00
Jonas Daniels 0c95e80665 feat(marketplace): add more english auction extensions (#2794)
Signed-off-by: Jonas Daniels <[email protected]>
2024-04-17 13:28:45 -07:00
github-actions[bot] 31b6a4ffe1 chore(chains): update chains (#2791)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-17 12:17:45 -07:00
Jonas Daniels 4f2a3fb1f1 docs: Update terminology in useSendTransaction.tsx (#2800) 2024-04-17 12:16:39 -07:00
Jonas Daniels 37bd0e42a5 fix(cli): fix spawn issue on windows (#2799) 2024-04-17 11:52:17 -07:00
Joaquim Verges f5abbe8b54 feat: Add deployPublishedContract deploy extension (#2788) 2024-04-17 18:12:27 +00:00
Jonas Daniels b1d9e4aa97 chore: Remove unused code from LocalWallet (#2798) 2024-04-17 17:35:32 +00:00
Eiman 5398d6813e fixed mintAdditionalSupplyTo example (#2796) 2024-04-17 09:39:53 -07:00
Firekeeper bf0509e746 Unity 4.12 - Engine Relayer Support (#2792) 2024-04-17 15:53:00 +00:00
Joaquim Verges 7c178923f9 fix: claim with price and no allowlists (#2795) 2024-04-17 22:03:16 +12:00
Manan TankandJonas Daniels 300e4c8a51 feat: Integrate Buy Modal with useSendTransaction hook (#2767)
Signed-off-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-16 15:14:44 -07:00
github-actions[bot] 8cb8a74002 chore(chains): update chains (#2789)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-16 13:50:01 -07:00
Manan Tank dc7ea82f8a show email selection by default for in-app wallet in Connect UI (#2790) 2024-04-16 13:02:08 -07:00
github-actions[bot] 8541709359 chore(chains): update chains (#2787)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-15 22:40:56 -07:00
github-actions[bot] 76f93a4346 chore(chains): update chains (#2777)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-15 18:46:12 -07:00
Jonas Daniels 4c7153c95d chore: update dependencies (#2785) 2024-04-15 18:45:47 -07:00
dependabot[bot] 2fd9c92c49 build(deps): bump eslint-config-next from 13.4.12 to 14.2.1 (#2780)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 01:39:01 +00:00
Jonas Daniels 2de2b69934 chore(tests): add test for gas cost for native token (#2783) 2024-04-15 15:27:37 -07:00
Jonas Danielsandgithub-actions[bot] 9cb51536b4 Version Packages (#2762)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-15 15:05:59 -07:00
Joaquim Verges 9b0a3df709 fix: deploy WETH9 infra contract for marketplace deploys (#2775) 2024-04-14 23:44:17 -07:00
github-actions[bot]andJonas Daniels 0c9376ff17 chore(chains): update chains (#2772)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-13 16:22:48 +00:00
Jonas Daniels df338f5f75 feat(extensions/erc20): add claimTo and claim condition extensions (#2771) 2024-04-13 09:16:18 -07:00
Jonas Daniels ea0dedcb6e test: Update chain definition in isEIP155Enforced test (#2773) 2024-04-12 22:58:47 -07:00
github-actions[bot] 50bbc7c053 chore(chains): update chains (#2763)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-12 16:42:36 -07:00
Jonas Daniels ff354a6ae1 Jd/cleanups (#2770) 2024-04-12 13:33:15 -07:00
gregandJonas Daniels 8197b3ced2 [SDK] Adds serializeTransaction function (#2760)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-12 13:29:54 -07:00
Joaquim VergesandJonas Daniels 65e4ddc8e0 feat: add erc721 claim conditions + override list support (#2766)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-12 18:55:38 +00:00
Jonas Daniels 955a20737a chore: temporarily move the bridge to legacy_packages until it is switched to v5 SDK (#2769) 2024-04-12 16:17:49 +00:00
Firekeeper f0fe1fdb1b Unity 4.11.0, EmbeddedWallet -> InAppWallet + fix 4.10 regression (#2765) 2024-04-12 00:10:11 +00:00
Jonas Daniels b22a572d8a fix: Update package dependencies versions (#2764) 2024-04-11 17:08:52 -07:00
Jonas Daniels 9d46fce50f extensions(permissions): add support for initial permissions (#2757) 2024-04-11 16:47:30 -07:00
Manan Tank a18fc8e1b7 Connect UI context cleanup (#2761) 2024-04-11 23:34:14 +00:00
github-actions[bot] 6574e4da99 chore(chains): update chains (#2755)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-11 15:39:02 -07:00
Jonas Danielsandgithub-actions[bot] 5781dac184 Version Packages (#2751)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-11 13:50:17 -07:00
Joaquim VergesandJonas Daniels db05717803 feat: 1155 extensions (#2744)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-11 13:15:02 -07:00
Joaquim Verges cb2a7e964a [v4] Alias embeddedWallet to inAppWallet (#2745) 2024-04-11 18:51:13 +00:00
Manan TankandJonas Daniels 07f98a5b92 feat: Update Swap UI in ConnectButton (#2759)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-11 17:33:00 +00:00
Manan Tank 007770cd63 feat: add alias for inApp wallet, show ENS in Connect (#2748) 2024-04-11 16:47:39 +00:00
Manan Tank a92311a53d [v4] Fix window popup blocked for social login in iOS Safari when using useEmbeddedWallet hook (#2758) 2024-04-11 16:25:28 +00:00
Jonas Daniels e6b5d9cc5d fix: ens avatar resolution (#2756) 2024-04-11 15:28:34 +00:00
Jonas Daniels c4d51e0b80 refactor: Update optional properties input in schema (#2754) 2024-04-10 22:26:23 -07:00
github-actions[bot] 259ff7c07c chore(chains): update chains (#2753)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-10 21:42:22 -07:00
Jonas Daniels 39c6fbc552 feat(extensions): add generated is<Ext>Supported and encode<Ext> calls, add concatHex util fn (#2752) 2024-04-10 17:14:16 -07:00
YashandJonas Daniels 9453f74bbf Custom gas settings for any evm deployments (#2678)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-10 17:13:21 -07:00
github-actions[bot] bf6a8e0cab chore(chains): update chains (#2746)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-10 17:12:37 -07:00
Jonas Daniels eb919ed49d implement extensions for royalty, platformfee and primarysale (#2749) 2024-04-10 22:04:15 +00:00
Jonas Daniels 4d7ecc24b7 add the ability to define async value overrides in contract call (#2747) 2024-04-10 19:44:24 +00:00
Jonas Daniels 758cbdde0a Version Packages (#2743) 2024-04-10 08:44:09 -07:00
github-actions[bot] d65713a7af chore(chains): update chains (#2740) 2024-04-10 08:32:45 -07:00
gregandJonas Daniels ce144ff521 [SDK] Add test cases for sign-transaction types (#2737)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-09 23:32:50 +00:00
d836889f46 [v4] Add Buy with Crypto APIs and UI in ConnectWallet component (#2579)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2024-04-09 23:07:32 +00:00
1f6ee22fb9 Version Packages (#2742)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-09 12:28:38 -07:00
Manan Tank 900e7d0324 fix: Remove duplicated entry for MetaMask in MM browser (#2741) 2024-04-09 19:06:00 +00:00
031eccbab1 Version Packages (#2713)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-09 02:23:28 -07:00
github-actions[bot] 9e8cca2da5 chore(chains): update chains (#2739)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-09 02:03:38 -07:00
Firekeeper 8d81b686f2 Unity 4.10.1 (#2733) 2024-04-09 08:57:23 +00:00
Jonas Daniels d9cd6f5c2a implement additional extensions (#2735) 2024-04-09 08:51:13 +00:00
github-actions[bot] 2a5c7d0ebc chore(chains): update chains (#2734)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-09 01:03:26 -07:00
greg 3847617f8e [SDK] fromGwei helper function (#2736) 2024-04-08 23:18:07 -07:00
Jonas Daniels 1d4fdd6753 feat: Add chain Metadata type (#2731) 2024-04-08 16:42:03 -07:00
github-actions[bot] c98112445c chore(chains): update chains (#2732)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 16:32:15 -07:00
f6a30c0371 feat: add phone login for embedded wallet (#2366)
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2024-04-08 23:08:43 +00:00
dependabot[bot] b1013fc302 build(deps-dev): bump knip from 5.8.0 to 5.9.1 (#2720)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 15:30:24 -07:00
github-actions[bot] f2b5d4ba56 chore(chains): update chains (#2730)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 15:30:03 -07:00
Joaquim Verges 6961e09a4c [SDK] simulate inner transactions before bundling user ops (#2714) 2024-04-08 21:48:44 +00:00
github-actions[bot] 49354c6cc3 chore(chains): update chains (#2727)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 14:07:17 -07:00
Jonas Daniels 51502596d9 chore: remove unused dependency (#2726) 2024-04-08 20:54:19 +00:00
dependabot[bot]andJonas Daniels df5eba9aff build(deps): bump octokit/request-action from 2.2.0 to 2.3.0 (#2715)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-08 13:25:53 -07:00
Jonas Daniels 64c03ab378 chore: Update .gitignore and add VSCode configuration files (#2716) 2024-04-08 13:18:12 -07:00
github-actions[bot] 53e56f4bf8 chore(chains): update chains (#2708)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 13:05:45 -07:00
Jonas Daniels 02583f857e fix(rpc): Fix issue with block number polling (#2712) 2024-04-08 19:45:47 +00:00
Joaquim VergesandJonas Daniels 14cecc9c75 feat: expose useSendBatchTransaction for smart accounts (#2711)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-08 18:54:55 +00:00
Joaquim Verges 30e6385dea chore: remove log (#2710) 2024-04-08 17:15:40 +02:00
37c3224a78 Version Packages (#2705)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-07 16:30:37 -07:00
github-actions[bot] ebdfb571c9 chore(chains): update chains (#2707)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-07 13:58:06 -07:00
github-actions[bot]andJonas Daniels 48c1d60382 chore(chains): update chains (#2702)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-07 19:26:20 +00:00
Jonas Daniels 584d68e6f6 fix: update test command in package.json files (#2706) 2024-04-07 12:10:06 -07:00
Jonas Daniels 703cb6ae3c chore: update dependencies (#2701) 2024-04-07 10:09:20 -07:00
7a9a086cdc Export ERC721 event: TokensLazyMintedEvent (#2704)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-07 16:05:16 +00:00
90571a0a5c Version Packages (#2680)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-06 08:50:49 -07:00
Jonas Daniels f709f136a7 feat(extensions/ens): add support for more ens features (#2700) 2024-04-06 02:33:42 +00:00
Joaquim VergesandJonas Daniels c2eba49112 refactor: rename embeddedWallet to inAppWallet (#2697)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-06 02:13:57 +00:00
github-actions[bot] 0ebd2204a6 chore(chains): update chains (#2699)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-05 15:30:26 -07:00
6c64102314 chore(chains): update chains (#2696)
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-05 11:11:33 -07:00
Jonas Daniels b583ebb7df chore(chains): sync from db (#2698) 2024-04-05 11:02:00 -07:00
github-actions[bot]andGitHub Action fda0c1d01b chore(chains): update chains (#2694)
Co-authored-by: GitHub Action <[email protected]>
2024-04-05 04:13:13 -07:00
Jonas Daniels 5dd4ff1b38 feat: Update dependencies and size limitThe commit updates dependenci… (#2695) 2024-04-05 04:12:53 -07:00
97556c4d5d chore(chains): update chains (#2692)
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-05 03:18:14 -07:00
Jonas Daniels 5be3c22df6 Update README.md (#2693)
Signed-off-by: Jonas Daniels <[email protected]>
2024-04-05 03:15:48 -07:00
Jonas Daniels 740a675a40 feat(extensions): add initial marketplace extensions (#2689) 2024-04-05 03:09:37 -07:00
github-actions[bot]andGitHub Action 5f41412027 chore(chains): update chains (#2690)
Co-authored-by: GitHub Action <[email protected]>
2024-04-05 02:30:29 -07:00
github-actions[bot]andGitHub Action 87cf5de8e8 chore(chains): update chains (#2688)
Co-authored-by: GitHub Action <[email protected]>
2024-04-04 18:16:37 -07:00
Firekeeper 4e19c2f1be Unity 4.10.0 - Phone EWS, Native Only (#2687) 2024-04-05 00:41:56 +00:00
farhanW3andJoaquim Verges 0e479e2082 fix: Added 50k overhead to userOps estimation (#2677)
Co-authored-by: Joaquim Verges <[email protected]>
2024-04-05 00:20:53 +00:00
github-actions[bot]andGitHub Action c38584825f chore(chains): update chains (#2685)
Co-authored-by: GitHub Action <[email protected]>
2024-04-04 13:03:16 -07:00
Manan Tank b3d01402dd [v4 wallets] Start new session for walletConnect on connect method call (#2683) 2024-04-04 19:18:42 +00:00
Manan Tank a2423cac70 feat: Add modalSize prop on ConnectEmbed (#2686) 2024-04-04 18:53:45 +00:00
github-actions[bot]andGitHub Action e5e3347c3e chore(chains): update chains (#2682)
Co-authored-by: GitHub Action <[email protected]>
2024-04-04 09:30:46 -07:00
Manan Tank 4504a8d170 [test] Fix sourcemap warnings in CRA (#2684) 2024-04-04 16:18:26 +00:00
github-actions[bot] e9309bfc70 chore(chains): update chains (#2681) 2024-04-03 22:01:14 -07:00
github-actions[bot] 83ecf67c4b chore(chains): update chains (#2676) 2024-04-03 21:34:54 -07:00
57b1f5839d Version Packages (#2669)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-04 00:48:19 +02:00
Joaquim Verges 97a31f57ce feat: add useSendAndConfirmTransaction hook (#2674) 2024-04-03 19:17:14 +00:00
github-actions[bot] 319435a331 chore(chains): update chains (#2673) 2024-04-03 12:19:41 -07:00
Joaquim VergesandJonas Daniels 69ee97981c chore: add more adapter tests (#2672)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-03 18:35:36 +00:00
Joaquim VergesandJonas Daniels 44d96309d5 feat: Add provider and signTypedData to ethers5 signer adapter (#2667)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-03 18:09:54 +00:00
Manan TankandJonas Daniels 367576ca00 feat: always use new session when calling connect method for WC (#2637)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-03 17:51:31 +00:00
Jonas Daniels 6fc9afa58f test: Update contract deployment tests (#2671) 2024-04-03 17:40:47 +00:00
github-actions[bot]andGitHub Action b4a71d5d5b chore(chains): update chains (#2670)
Co-authored-by: GitHub Action <[email protected]>
2024-04-03 10:03:33 -07:00
gregandJonas Daniels 127c476cff Fix getAddresses call for accounts converted to viem (#2666)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-03 09:14:00 -07:00
github-actions[bot]andGitHub Action b3fca9509f chore(chains): update chains (#2668)
Co-authored-by: GitHub Action <[email protected]>
2024-04-03 09:02:15 -07:00
Jonas Daniels 2108af7cf3 Version Packages (#2633) 2024-04-02 22:58:28 -07:00
Jonas Daniels e4d243ef34 fix(adapters): sendTransaction within viemAdapter.walletClient.toViem() (#2662) 2024-04-02 19:41:42 -07:00
Jonas Daniels 421ffa024c chore: Add job name for build step (#2665) 2024-04-02 19:38:04 -07:00
Jonas Daniels 286b9f1e0b build: Add build:packages and build:legacy_packages scripts (#2664) 2024-04-02 19:32:57 -07:00
dependabot[bot] 46e880d9e2 build(deps): bump expo-file-system from 15.9.0 to 16.0.8 (#2658)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 02:28:04 +00:00
dependabot[bot] 7116ae0ce6 build(deps): bump @google-cloud/kms from 3.0.1 to 4.2.0 (#2653)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 02:27:56 +00:00
dependabot[bot] 1042b5538a build(deps-dev): bump @tanstack/eslint-plugin-query from 5.28.6 to 5.28.11 (#2654)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 02:13:09 +00:00
Jonas Daniels 9d319f462c chore: Update lint script in package.json (#2663) 2024-04-02 18:48:06 -07:00
dependabot[bot] ed19f73fae build(deps): bump @typescript-eslint/eslint-plugin from 7.4.0 to 7.5.0 (#2650)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 18:42:50 -07:00
8718354e69 chore(chains): update chains (#2640)
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-03 00:23:19 +00:00
Jonas Daniels 945ea1d9ad chore(CI/tests): update workflows (#2660) 2024-04-02 17:12:27 -07:00
Jonas Daniels 02c8d51b84 chore(CI): Update CI configuration for packages and legacy packages (#2659) 2024-04-02 16:36:41 -07:00
Jonas Daniels 47f7b4df39 test: run "Account Permissions" only if TW_SECRET_KEY is defined (#2657) 2024-04-02 16:32:22 -07:00
Jonas Daniels 891fde539d chore: Update linting script (#2656) 2024-04-02 16:21:47 -07:00
dependabot[bot] 9666940fed build(deps): bump peter-evans/create-pull-request from 3 to 6 (#2648)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 16:18:16 -07:00
dependabot[bot] b7b5ad2c11 build(deps): bump octokit/request-action from 2.1.0 to 2.2.0 (#2647)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 16:14:53 -07:00
dependabot[bot] 5de549c5d2 build(deps): bump actions/checkout from 2 to 4 (#2646)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 16:14:32 -07:00
Jonas Daniels 1de78fb2f3 chore(ci): Add concurrency control to CI workflow (#2644) 2024-04-02 16:13:32 -07:00
Jonas Daniels 603ea56c54 chore: Remove legacy e2e tests workflow (#2643) 2024-04-02 15:35:57 -07:00
Jonas Daniels 7365634c0a chore: Update CI configuration (#2642) 2024-04-02 15:33:42 -07:00
Jonas Daniels b76d89dbb2 chore(workflows): cleanup workflows (#2641) 2024-04-02 15:16:37 -07:00
Jonas Daniels de7f7d701c update workflows (#2639) 2024-04-02 14:58:54 -07:00
github-actions[bot]andGitHub Action 32fa0c6aa8 chore(chains): update chains (#2638)
Co-authored-by: GitHub Action <[email protected]>
2024-04-02 14:10:32 -07:00
Joaquim Verges c508751f38 refactor: optimize encode with async params (#2636) 2024-04-02 20:52:49 +00:00
github-actions[bot]andGitHub Action fbf4556d48 chore(chains): update chains (#2635)
Co-authored-by: GitHub Action <[email protected]>
2024-04-02 13:53:06 -07:00
Firekeeper c9f290a1d4 Unity 4.9.1 (#2634) 2024-04-02 17:54:19 +00:00
github-actions[bot]andGitHub Action 5fb92c0a98 chore(chains): update chains (#2630)
Co-authored-by: GitHub Action <[email protected]>
2024-04-02 09:56:18 -07:00
YashandJonas Daniels 9af8561284 [SDK] ZkSync deterministic deployments (#2592)
Signed-off-by: Yash <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-02 16:45:05 +00:00
2e12c769f9 Version Packages (#2600)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-02 18:18:07 +02:00
Manan Tank d89f009f14 feat: Wallet connection improvements (#2632) 2024-04-02 16:04:34 +00:00
Joaquim Verges 1c29556f14 refactor: get userOp gas prices from bundler (#2631) 2024-04-02 15:15:01 +00:00
github-actions[bot]andGitHub Action 15697ae741 chore(chains): update chains (#2629)
Co-authored-by: GitHub Action <[email protected]>
2024-04-02 02:01:58 -07:00
Jonas Daniels d2ffb82071 refactor: Update import statement for AutoConnect in ConnectWallet.tsx (#2628) 2024-04-02 00:58:10 -07:00
Jonas Daniels e8063936c9 fix(WalletConnectConnection): fix wallet connect uri parsing (#2626) 2024-04-01 22:38:20 -07:00
Joaquim VergesandJonas Daniels 0394eb22bf feat: add ERC4337 account / factory extensions (#2606)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-02 01:38:38 +00:00
+1 7234e6bc10 [SDK] Native privateKeyAccount implementation (#2525)
Signed-off-by: Joaquim Verges <[email protected]>
Signed-off-by: jxom  <[email protected]>
Signed-off-by: greg <[email protected]>
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: jxom <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: iketw <[email protected]>
Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: Isaac Dubuque <[email protected]>
2024-04-01 18:27:35 -07:00
Jonas Daniels 26a50b1e05 chore: update depdendencies (#2623) 2024-04-01 15:41:52 -07:00
Joaquim Verges 00be583b89 chore(v4): get gas price from bundler for userOps (#2622) 2024-04-01 22:19:38 +00:00
Jonas Daniels 8c9def769c feat: add turbo build and update-version commands to release script (#2621) 2024-04-01 13:47:06 -07:00
dependabot[bot]andJonas Daniels 213f313034 build(deps): bump viem from 2.9.5 to 2.9.6 (#2610)
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-01 13:22:41 -07:00
gregandJonas Daniels 3aaad1e9bf [SDK] generateWallet utility function (#2602)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-01 09:59:01 -07:00
github-actions[bot]andGitHub Action 55848db4ea chore(chains): update chains (#2605)
Co-authored-by: GitHub Action <[email protected]>
2024-04-01 09:58:37 -07:00
Jonas Daniels 0c83897f62 test: add erc20 approve test (#2596) 2024-03-30 18:12:12 -07:00
Jonas Daniels b6a6eae3cc chore(tests): skip tests that will fail without secret key set (#2604) 2024-03-30 16:58:28 -07:00
github-actions[bot]andGitHub Action f7b45fa04e chore(chains): update chains (#2601)
Co-authored-by: GitHub Action <[email protected]>
2024-03-30 16:57:35 -07:00
github-actions[bot]andGitHub Action 82e5f53bc4 chore(chains): update chains (#2597)
Co-authored-by: GitHub Action <[email protected]>
2024-03-30 06:34:10 -07:00
Joaquim Verges 13c3083ac4 Update README.md (#2599)
Signed-off-by: Joaquim Verges <[email protected]>
2024-03-29 21:12:36 -07:00
755cffe590 Version Packages (#2589)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-03-29 16:17:16 -07:00
Manan Tank dd1141f9af fix: Do not open wallet uri when connected using official WC modal (#2595) 2024-03-29 23:00:55 +00:00
Joaquim Verges 968fdc3ebe chore: add smart wallet exports for user op types (#2594) 2024-03-29 22:29:21 +00:00
github-actions[bot]andGitHub Action 2ef20589b7 chore(chains): update chains (#2593)
Co-authored-by: GitHub Action <[email protected]>
2024-03-29 15:07:03 -07:00
Manan Tank 6d63920c0a feat: add walletConnect, Fix WC connection issues (#2591) 2024-03-29 21:58:03 +00:00
github-actions[bot]andGitHub Action 3ef378659e chore(chains): update chains (#2590)
Co-authored-by: GitHub Action <[email protected]>
2024-03-29 14:24:29 -07:00
Joaquim Verges eba8f1c198 fix: 721/1155 claimTo with custom currency (#2588) 2024-03-29 19:45:02 +00:00
52f827e8f2 Version Packages (#2586)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-03-29 11:37:16 -07:00
Jonas Daniels 6063f40f87 fix(cli): fix execution on windows and when prettier is not installed (#2587) 2024-03-29 18:16:38 +00:00
Yash 6bd1b82a58 [CLI] Publish and deploy updates for ZKSync (#2584) 2024-03-29 17:12:50 +00:00
Manan Tank 052892b396 [v5] Fix WC session request (#2585) 2024-03-29 17:09:06 +00:00
3b12c5c926 Version Packages (#2574)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-03-29 03:59:31 -07:00
Jonas Daniels 02d2377ca5 build: Update dependencies in package.json (#2582) 2024-03-29 03:44:43 -07:00
github-actions[bot]andGitHub Action 9545005908 chore(chains): update chains (#2581)
Co-authored-by: GitHub Action <[email protected]>
2024-03-29 03:43:37 -07:00
Jonas Daniels d93286bc1f chore: Update devDependencies versions (#2577) 2024-03-29 10:29:33 +00:00
github-actions[bot]andGitHub Action 50e7dbaa9d chore(chains): update chains (#2580)
Co-authored-by: GitHub Action <[email protected]>
2024-03-28 21:05:46 -07:00
Joaquim Verges 04961f0e9a feat: change getWalletBalance prop from account to address (#2576) 2024-03-28 23:45:15 +00:00
Jonas Daniels 37f8433c7c chore: Skip benchmark step for merge groups (#2575) 2024-03-28 22:29:33 +00:00
Jonas Daniels c81bb882c5 fix(evm): fix CWE-1333 (#2573) 2024-03-28 22:22:51 +00:00
Jonas Daniels 701cd880df chore: point CLI backwards compatibility @latest instead of @beta (#2572) 2024-03-28 22:10:17 +00:00
3f0a3124f3 Version Packages (#2551)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-03-28 14:51:33 -07:00
Joaquim VergesandJonas Daniels 949032ee09 Fix jsDoc syntax highlighting for generated functions (#2571)
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-28 20:25:05 +00:00
Jonas Daniels 3c58d17aba refactor: Remove unnecessary dependencies and configurations (#2569) 2024-03-28 20:07:06 +00:00
Manan TankandJonas Daniels 07954bb20b [v5] types/jsdoc cleanup (#2570)
Signed-off-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-28 19:41:29 +00:00
github-actions[bot]andGitHub Action 275af27a81 chore(chains): update chains (#2568)
Co-authored-by: GitHub Action <[email protected]>
2024-03-28 11:50:25 -07:00
Yash c63d9ea7ac Contract verification status update (#2566) 2024-03-28 17:23:10 +00:00
github-actions[bot]andGitHub Action 8518ea18a7 chore(chains): update chains (#2567)
Co-authored-by: GitHub Action <[email protected]>
2024-03-28 10:07:19 -07:00
Jonas Daniels 18aaf5a1b8 chore: update references to packages across the repo (#2565) 2024-03-28 16:50:06 +00:00
Jonas Daniels 9543a81d76 chore: Remove unnecessary changeset file (#2564) 2024-03-28 16:07:29 +00:00
allenhsuandJonas Daniels 13f00cf476 fix: fix imToken wallet issue (#2562)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-28 09:02:27 -07:00
Manan Tank 9e28754bb1 Add "All wallets" in connect ui (#2560) 2024-03-28 15:39:28 +00:00
github-actions[bot] 095d227a13 chore(chains): update chains (#2559) 2024-03-28 08:39:38 -07:00
Manan Tank 889a1a08f5 smart wallet autoconnect and other fixes (#2558) 2024-03-28 09:48:41 +00:00
Firekeeper 6d7eedc213 Unity 4.9.0 (#2556) 2024-03-28 02:59:41 +00:00
Jonas Daniels bfdfb2ca38 chore(release): Update Workflows (#2555) 2024-03-28 02:16:28 +00:00
Joaquim Verges 17c772e839 ERC721 signature mint (#2554) 2024-03-28 01:51:02 +00:00
Joaquim Verges 73b5161a67 Update generate script to expose clean types (#2553) 2024-03-28 01:19:58 +00:00
Jonas Daniels 95eb75ac77 chore: move legacy packages to legacy_packages (#2552) 2024-03-28 00:55:03 +00:00
+1 01fd5237f5 Beta (#2356)
Signed-off-by: Joaquim Verges <[email protected]>
Signed-off-by: jxom  <[email protected]>
Signed-off-by: greg <[email protected]>
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: jxom <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: greg <[email protected]>
Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: iketw <[email protected]>
Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: Isaac Dubuque <[email protected]>
2024-03-27 17:13:03 -07:00
5880 changed files with 194665 additions and 21924 deletions
-3
View File
@@ -16,9 +16,6 @@
"baseBranch": "main", "baseBranch": "main",
"updateInternalDependencies": "patch", "updateInternalDependencies": "patch",
"ignore": [ "ignore": [
"e2e-cra-5",
"e2e-next-13",
"e2e-vite-3",
"bundlers-esbuild", "bundlers-esbuild",
"bundlers-vite", "bundlers-vite",
"bundlers-webpack", "bundlers-webpack",
+39 -15
View File
@@ -2,28 +2,52 @@
# Platform team owns everything by default # Platform team owns everything by default
* @thirdweb-dev/platform - @jnsdls @joaquim-verges @MananTank @gregfromstl
# Devrel owns all markdown files (README etc.) # legacy packages
*.md @thirdweb-dev/devrel legacy_packages/auth/ @jnsdls
.changeset/ legacy_packages/chains/ @jnsdls
legacy_packages/cli/ @jnsdls
legacy_packages/contracts-js/ @jnsdls
legacy_packages/crypto/ @jnsdls
legacy_packages/generated-abis/ @jnsdls
legacy_packages/merkletree/ @jnsdls
legacy_packages/pay/ @jnsdls
legacy_packages/payments/ @jnsdls
legacy_packages/react/ @MananTank @jnsdls
legacy_packages/react-core/ @MananTank @jnsdls
legacy_packages/react-native/ @jnsdls
legacy_packages/react-native-compat/ @jnsdls
legacy_packages/sdk/ @joaquim-verges @jnsdls
legacy_packages/storage/ @jnsdls
legacy_packages/wallets/ @MananTank @jnsdls
# Shared ownership of the react and react-core packages # legacy e2e
packages/react/ @thirdweb-dev/product @thirdweb-dev/platform legacy_e2e/ @jnsdls
packages/react-core/ @thirdweb-dev/product @thirdweb-dev/platform
# Shared ownership of the CLI # packages
packages/cli/ @thirdweb-dev/product @thirdweb-dev/platform ## specific thirdweb pieces
# Chains is owned specifically by jonas for now packages/thirdweb/src/react/ @MananTank
packages/thirdweb/src/reactive/ @MananTank
packages/thirdweb/src/gas/ @joaquim-verges
packages/thirdweb/src/pay/ @MananTank @IDubuque
packages/chains/ @jnsdls packages/typedoc-gen/ @MananTank
# .github folder + .changeset + turbo config is owned by joaquim and jonas for now # owned by phil for now
.github/ @jnsdls @joaquim-verges packages/service-utils/ @arcoraven
.changeset/config.json @jnsdls @joaquim-verges packages/eslint-config-thirdweb/ @jnsdls
turbo.json @joaquim-verges @jnsdls packages/tw-tsconfig/ @jnsdls
packages/unity-js-bridge/ @joaquim-verges @0xFirekeeper
# .github folder + .changeset + turbo config is owned by jonas for now
scripts/ @jnsdls
.github/ @jnsdls
.changeset/config.json @jnsdls
turbo.json @jnsdls
+9 -2
View File
@@ -4,13 +4,20 @@ description: "Sets up Node.js and runs install"
runs: runs:
using: composite using: composite
steps: steps:
- uses: pnpm/action-setup@v2 # we use bun for some test suites
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35
# pnpm for our dependencies
- uses: pnpm/action-setup@v3
with: with:
version: 8 version: 8
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 20
check-latest: true
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
cache: "pnpm" cache: "pnpm"
+50 -40
View File
@@ -1,9 +1,5 @@
# Contributing to thirdweb # Contributing to thirdweb
You can find a full video tutorial on how to contribute to thirdweb below:
https://www.youtube.com/watch?v=TXsQ3qok3B0
## Getting Started ## Getting Started
To get started, read the [How this repo works](#how-this-repo-works) section below to learn about the structure of this repo. To get started, read the [How this repo works](#how-this-repo-works) section below to learn about the structure of this repo.
@@ -12,23 +8,19 @@ From there, you can take a look at our [Good First Issues](https://github.com/th
If you have any questions about the issue, feel free to ask on our [Discord server](https://discord.gg/thirdweb) in the `#contributors` channel; where you'll be able to get help from our team and other contributors. If you have any questions about the issue, feel free to ask on our [Discord server](https://discord.gg/thirdweb) in the `#contributors` channel; where you'll be able to get help from our team and other contributors.
<br/> <br />
## How this repo works ## How this repo works
[@thirdweb-dev/js](https://github.com/thirdweb-dev/js) is a monorepo, meaning it contains many projects within it. We use [Turborepo](https://turbo.build/repo/docs) to manage the repository, and help speed up the [CI/CD](https://www.atlassian.com/continuous-delivery/principles/continuous-integration-vs-delivery-vs-deployment) pipeline to ship to production faster 🚢. Turborepo is a project dependency, and doesn't need to be installed separately.
We use [Turborepo](https://turborepo.org/docs/getting-started) to manage the monorepo, and help speed up the [CI/CD](https://www.atlassian.com/continuous-delivery/principles/continuous-integration-vs-delivery-vs-deployment) pipeline to ship to production faster 🚢. We use [pnpm](https://pnpm.io) for package management across the repo. `pnpm` is similar to `npm` or `yarn` but with more efficient disk space usage.
You can see a quick outline of each of the projects within this repo below, each living within the [/packages](/packages) directory: **With the v5 SDK, we've consolidated everything into a single project at [/packages/thirdweb](./packages/thirdweb). You can still find the legacy packages at [/legacy_packages](./legacy_packages).**
| Package | Description | Latest Version | This single package provides a performant & lightweight SDK to interact with any EVM chain across Node, React, and React Native. Learn more about how to use the thirdweb SDK in our [documentation](https://portal.thirdweb.com/typescript/v5).
| ------------------------------ | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [/sdk](./packages/sdk) | Best in class web3 SDK for Browser, Node and Mobile apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/sdk"><img src="https://img.shields.io/npm/v/@thirdweb-dev/sdk?color=red&label=npm&logo=npm" alt="npm version"/></a> | <br />
| [/react](./packages/react) | Ultimate collection of React hooks for your web3 apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/react"><img src="https://img.shields.io/npm/v/@thirdweb-dev/react?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/auth](./packages/auth) | Best in class wallet authentication for Node backends | <a href="https://www.npmjs.com/package/@thirdweb-dev/auth"><img src="https://img.shields.io/npm/v/@thirdweb-dev/auth?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/storage](./packages/storage) | Best in class decentralized storage SDK for Browser and Node | <a href="https://www.npmjs.com/package/@thirdweb-dev/storage"><img src="https://img.shields.io/npm/v/@thirdweb-dev/storage?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/cli](./packages/cli) | Publish and deploy smart contracts without dealing with private keys | <a href="https://www.npmjs.com/package/thirdweb"><img src="https://img.shields.io/npm/v/thirdweb?color=red&label=npm&logo=npm" alt="npm version"/></a> |
## How to contribute ## How to contribute
@@ -36,7 +28,7 @@ Let's explore how you can set up the repo on your local machine and start contri
This section requires some existing knowledge of [Git](https://git-scm.com/), [Node.js](https://nodejs.org/en/) and [pnpm](https://pnpm.io/). This section requires some existing knowledge of [Git](https://git-scm.com/), [Node.js](https://nodejs.org/en/) and [pnpm](https://pnpm.io/).
<br/> <br />
### Getting the repo ### Getting the repo
@@ -50,26 +42,50 @@ To begin:
3. Create a new branch on your fork to start working on your changes: 3. Create a new branch on your fork to start working on your changes:
``` ```bash
git checkout -b MY_BRANCH_NAME git checkout -b <YOUR BRANCH NAME>
``` ```
4. Install the dependencies: 4. Install the dependencies:
``` ```bash
pnpm install pnpm install
``` ```
If you are on windows, use the `--ignore-scripts` flag If you are on windows, use the `--ignore-scripts` flag
``` ```bash
pnpm install --ignore-scripts pnpm install --ignore-scripts
``` ```
Now you have got the repo on your local machine, and you're ready to start making your changes! Now you have the repo on your local machine, and you're ready to start making your changes!
<br/> <br/>
### Test Your Changes ### Test Your Changes
We use [yalc](https://github.com/wclr/yalc) to test changes locally. #### Writing Unit Tests
Try to include unit test coverage with your changes where appropriate. We use `vitest` for testing, look for files with the `.test.ts` extension for examples of how to structure your unit tests.
To run your tests, run the following from the package directory (most likely /packages/thirdweb):
```bash
pnpm test:dev <YOUR TEST FILE PATH>
```
> Specifying your test file path is optional, but will save time by only running specific tests each time. Before opening your PR, run `pnpm test` from the monorepo root (without specifying your test file) to ensure your changes didn't break any existing tests.
#### Linting
We use a linter to maintain best practices across projects. Once your changes are complete (or periodically while making changes), run the linter with the following command from the repo root:
```bash
pnpm lint
```
If there are errors, try running `pnpm fix` to auto-fix any basic errors. Other linter errors, like missing documentation, will need to be fixed manually. See existing files for examples of inline documentation.
#### Creating a Local Test Project
You can use [yalc](https://github.com/wclr/yalc) to test changes on a local project.
Install the yalc CLI globally: Install the yalc CLI globally:
@@ -77,40 +93,35 @@ Install the yalc CLI globally:
pnpm add yalc -g pnpm add yalc -g
``` ```
First, create a test project where you can experiment with your changes: First, create a test project where you can experiment with your changes. This can be any node project that uses your changes.
You can create a basic starter project with the `sdk` and `react` packages installed using the CLI:
Push your local version to your `yalc` store with:
```bash ```bash
npx thirdweb create --app pnpm build && pnpm push
``` ```
Use `yalc` to link your local changes in the monorepo to the test project, by running the following command from your test repo: Link your local changes in the monorepo to the test project by running the following command from your test repo:
```bash ```bash
yalc add @thirdweb-dev/react # Link the react package yalc add thirdweb
yalc add @thirdweb-dev/sdk # Link the sdk package
# etc...
``` ```
From the monorepo, run the following command to publish your local changes to the test project: Now, each time you make a change to the monorepo, you can run `pnpm push` from the monorepo then `yalc update thirdweb` from your test project to publish your latest changes to the test project.
```bash If your changes modify dependencies, you may need to reinstall dependencies on your test project with `pnpm install`
pnpm push
```
Now, each time you make a change to the monorepo, you can run `pnpm push` to publish your changes to the test project. To make sure your latest changes are used, in your test project you may need to:
In your test project, you need to: 1. Delete the dependencies cache. If you're using Next.js, that's the `.next` directory, and if you're using CRA, that's the `node_modules/.cache` directory.
1. Delete the dependencies cache. If you're using Next.js, that is the `.next` directory, and if you're using CRA, that is the `node_modules/.cache` directory.
2. Restart the development server. 2. Restart the development server.
#### Testing from npm #### Testing from npm
You can also test your changes by publishing a dev package to npm and adding your package as you normally do in your projects. You can also test your changes by publishing a dev package to npm and adding your package as you normally do in your projects.
Once you have your PR up you can add a comment with the text: `/release-pr`. This will trigger a GitHub action that will publish a dev version to npm. **Once you have your PR up** you can add a comment with the text: `/release-pr`. This will trigger a GitHub action that will publish a dev version to npm.
You can see the action progress in GitHub's `Actions` tab, look for the workflow: `release-pr`. You can see the action progress in GitHub's `Actions` tab, look for the workflow: `release-pr`.
@@ -154,9 +165,8 @@ git commit -am "My commit message"
3. Push your changes to the SDK: 3. Push your changes to the SDK:
``` ```
git push origin MY_BRANCH_NAME git push origin <YOUR BRANCH NAME>
``` ```
4. Create a [pull request](https://www.atlassian.com/git/tutorials/making-a-pull-request) to the `main` branch of the official (not your fork) SDK repo. 4. Create a [pull request](https://www.atlassian.com/git/tutorials/making-a-pull-request) to the `main` branch of the official (not your fork) SDK repo.
It's helpful to tag PRs with `[SDK]`, `[REACT]`, `[AUTH]`, (the name of the package you're modifying) to indicate the package that you are engaging with.
+5
View File
@@ -9,3 +9,8 @@ updates:
directory: "/" # Location of package manifests directory: "/" # Location of package manifests
schedule: schedule:
interval: "weekly" interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
+1 -1
View File
@@ -1,5 +1,5 @@
# Number of days of inactivity before an issue becomes stale # Number of days of inactivity before an issue becomes stale
daysUntilStale: 60 daysUntilStale: 14
# Number of days of inactivity before a stale issue is closed # Number of days of inactivity before a stale issue is closed
daysUntilClose: 7 daysUntilClose: 7
# Issues with these labels will never be considered stale # Issues with these labels will never be considered stale
+143
View File
@@ -0,0 +1,143 @@
name: CI
on:
push:
branches: ["main"]
paths:
- "packages/**"
- "package.json"
pull_request:
types: [opened, synchronize]
paths:
- "packages/**"
- "package.json"
# trigger on merge group as well (merge queue)
merge_group:
types: [checks_requested]
branches: ["main"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# To use Remote Caching, uncomment the next lines and follow the steps below.
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
name: Build Packages
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Build Packages
run: pnpm build:packages
lint:
timeout-minutes: 15
name: Lint Packages
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- run: pnpm lint
test:
timeout-minutes: 15
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
with:
cache: false
- run: pnpm test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
directory: packages/
flags: packages
verbose: true
e2e:
timeout-minutes: 15
name: E2E Tests
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
# TODO actually run e2e tests
benchmark:
# cannot run benchmarks on merge group
if: github.event_name != 'merge_group'
timeout-minutes: 15
name: "Benchmarks"
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
with:
cache: false
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: "pnpm bench"
size:
# only run on pull requests
if: github.event_name == 'pull_request'
timeout-minutes: 15
name: "Size"
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Report bundle size
uses: andresz1/size-limit-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
package_manager: pnpm
directory: packages/thirdweb
+98
View File
@@ -0,0 +1,98 @@
name: CI (Legacy Packages)
on:
push:
branches: ["main"]
paths:
- "legacy_packages/**"
- "legacy_e2e/**"
- "package.json"
pull_request:
types: [opened, synchronize]
paths:
- "legacy_packages/**"
- "legacy_e2e/**"
- "package.json"
# trigger on merge group as well (merge queue)
merge_group:
types: [checks_requested]
branches: ["main"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# To use Remote Caching, uncomment the next lines and follow the steps below.
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest-16
name: Build Packages
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Build Packages
run: pnpm build:legacy_packages
lint:
timeout-minutes: 15
name: Lint Packages
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- run: pnpm lint:legacy
test:
timeout-minutes: 15
name: Unit Tests
runs-on: ubuntu-latest-16
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- run: pnpm test:legacy
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
directory: legacy_packages/
flags: legacy_packages
verbose: true
e2e:
timeout-minutes: 15
name: E2E Tests
runs-on: ubuntu-latest-16
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run e2e tests
run: pnpm e2e:legacy
env:
NODE_OPTIONS: "--max_old_space_size=4096"
CLI_E2E_API_KEY: ${{ secrets.CLI_E2E_API_KEY }}
-157
View File
@@ -1,157 +0,0 @@
name: Build, Lint & Test
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
# trigger on merge group as well (merge queue)
merge_group:
types: [checks_requested]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# To use Remote Caching, uncomment the next lines and follow the steps below.
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
jobs:
build:
timeout-minutes: 15
name: Build
runs-on: ubuntu-latest-16
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 25
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.21
- name: Install
uses: ./.github/composite-actions/install
- run: pnpm build
# We use week in the turbo cache key to keep the cache from infinitely growing
- id: get-week
run: echo "WEEK=$(date +%U)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
timeout-minutes: 5
id: cache-build
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
lint:
timeout-minutes: 15
name: Lint Packages
runs-on: ubuntu-latest
needs: build
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
check-latest: true
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.21
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/cache@v3
timeout-minutes: 5
id: restore-build
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
- run: pnpm lint
test:
timeout-minutes: 15
name: Unit Tests
runs-on: ubuntu-latest-16
needs: build
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
check-latest: true
# we use bun for some test suites
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.21
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/cache@v3
timeout-minutes: 5
id: restore-build
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
- run: pnpm test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./packages/sdk/coverage/evm/lcov.info
e2e:
timeout-minutes: 15
name: E2E Tests
runs-on: ubuntu-latest-16
needs: build
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
check-latest: true
# we use bun for some test suites
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.21
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/cache@v3
timeout-minutes: 5
id: restore-build
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run e2e tests
run: pnpm e2e
env:
NODE_OPTIONS: "--max_old_space_size=4096"
CLI_E2E_API_KEY: ${{ secrets.CLI_E2E_API_KEY }}
+34 -31
View File
@@ -13,12 +13,16 @@ name: "CodeQL"
on: on:
push: push:
branches: [ "main" ] branches: ["main"]
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [ "main" ] branches: ["main"]
schedule: schedule:
- cron: '37 9 * * 3' - cron: "37 9 * * 3"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
analyze: analyze:
@@ -32,41 +36,40 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
language: [ 'javascript' ] language: ["javascript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@v3
with: with:
languages: ${{ matrix.language }} languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file. # If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file. # By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file. # Prefix the list here with "+" to use these queries and those in the config file.
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # queries: security-extended,security-and-quality
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# ℹ️ Command-line programs to run using the OS shell. # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun # If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
# If the Autobuild fails above, remove it and uncomment the following three lines. # ℹ️ Command-line programs to run using the OS shell.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# - run: | # If the Autobuild fails above, remove it and uncomment the following three lines.
# echo "Run, Build Application using script" # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis # - run: |
uses: github/codeql-action/analyze@v2 # echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
+17 -10
View File
@@ -10,21 +10,27 @@ on:
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
# cancel any previous runs if they were started before this one
cancel-in-progress: true cancel-in-progress: true
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
jobs: jobs:
release-artifacts: release-artifacts:
timeout-minutes: 15 timeout-minutes: 60
runs-on: ubuntu-latest-16 runs-on: ubuntu-latest-16
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@v3 uses: actions/checkout@v4
# bun setup is required, because pnpm typdoc will run pnpm build and some packages uses bun for build # bun setup is required, because pnpm typdoc will run pnpm build and some packages uses bun for build
- name: Setup bun - name: Setup bun
uses: oven-sh/setup-bun@v1 uses: oven-sh/setup-bun@v1
with: with:
bun-version: 1.0.21 bun-version: 1.0.35
- name: Install - name: Install
uses: ./.github/composite-actions/install uses: ./.github/composite-actions/install
@@ -37,7 +43,7 @@ jobs:
- name: Generate Docs - name: Generate Docs
run: | run: |
cd packages/sdk cd legacy_packages/sdk
pnpm generate-docs pnpm generate-docs
cd ../react-core cd ../react-core
pnpm generate-docs pnpm generate-docs
@@ -53,12 +59,13 @@ jobs:
git config --local user.email "[email protected]" git config --local user.email "[email protected]"
git config --local user.name "GitHub Action" git config --local user.name "GitHub Action"
git status git status
git add packages/react/typedoc/documentation.json.gz git add legacy_packages/react/typedoc/documentation.json.gz
git add packages/react-core/typedoc/documentation.json.gz git add legacy_packages/react-core/typedoc/documentation.json.gz
git add packages/react-native/typedoc/documentation.json.gz git add legacy_packages/react-native/typedoc/documentation.json.gz
git add packages/sdk/typedoc/documentation.json.gz git add legacy_packages/sdk/typedoc/documentation.json.gz
git add packages/storage/typedoc/documentation.json.gz git add legacy_packages/storage/typedoc/documentation.json.gz
git add packages/wallets/typedoc/documentation.json.gz git add legacy_packages/wallets/typedoc/documentation.json.gz
git add packages/thirdweb/typedoc/documentation.json.gz
git add snippets/feature_snippets_react.json git add snippets/feature_snippets_react.json
git add snippets/feature_snippets_sdk.json git add snippets/feature_snippets_sdk.json
git add snippets/snippets.json git add snippets/snippets.json
-47
View File
@@ -1,47 +0,0 @@
name: Release Next
on:
push:
paths:
- ".changeset/**"
- "packages/**"
branches:
- next
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
timeout-minutes: 30
runs-on: ubuntu-latest-16
steps:
- name: Checkout branch
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.21
- name: Install
uses: ./.github/composite-actions/install
- name: Build
run: pnpm build
- name: Create @next release
run: |
git checkout next
pnpm version-packages:next
pnpm release:next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+3 -3
View File
@@ -51,7 +51,7 @@ jobs:
steps: steps:
- name: get pull request ref - name: get pull request ref
id: get_pull_request_ref id: get_pull_request_ref
uses: octokit/request-action@v2.1.0 uses: octokit/request-action@v2.3.0
with: with:
route: GET /repos/{owner}/{repository}/pulls/{issue_id} route: GET /repos/{owner}/{repository}/pulls/{issue_id}
owner: ${{ github.repository_owner }} owner: ${{ github.repository_owner }}
@@ -61,7 +61,7 @@ jobs:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: pull the repo. - name: pull the repo.
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
persist-credentials: true persist-credentials: true
repository: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.repo.full_name }} repository: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.repo.full_name }}
@@ -70,7 +70,7 @@ jobs:
- name: Setup bun - name: Setup bun
uses: oven-sh/setup-bun@v1 uses: oven-sh/setup-bun@v1
with: with:
bun-version: 1.0.21 bun-version: 1.0.35
- name: Install - name: Install
uses: ./.github/composite-actions/install uses: ./.github/composite-actions/install
+3 -2
View File
@@ -8,6 +8,7 @@ on:
paths: paths:
- ".changeset/**" - ".changeset/**"
- "packages/**" - "packages/**"
- "legacy_packages/**"
branches: branches:
- main - main
@@ -25,7 +26,7 @@ jobs:
runs-on: ubuntu-latest-16 runs-on: ubuntu-latest-16
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
# Do not use the GITHUB_TOKEN by default # Do not use the GITHUB_TOKEN by default
@@ -34,7 +35,7 @@ jobs:
- name: Setup bun - name: Setup bun
uses: oven-sh/setup-bun@v1 uses: oven-sh/setup-bun@v1
with: with:
bun-version: 1.0.21 bun-version: 1.0.35
- name: Install - name: Install
uses: ./.github/composite-actions/install uses: ./.github/composite-actions/install
+6 -6
View File
@@ -10,16 +10,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Install bun - name: Install bun
uses: oven-sh/setup-bun@v1 uses: oven-sh/setup-bun@v1
with: with:
bun-version: 1.0.21 bun-version: 1.0.35
- name: Run chains sync - name: Run chains sync
run: bun run db:sync run: bun run db:sync
working-directory: ./packages/chains working-directory: ./legacy_packages/chains
- name: Check for Changes - name: Check for Changes
id: git-check id: git-check
@@ -42,14 +42,14 @@ jobs:
- name: Commit Changes - name: Commit Changes
if: env.CHANGES_FOUND == 'true' if: env.CHANGES_FOUND == 'true'
run: | run: |
git config --local user.email "action@github.com" git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "GitHub Action" git config --local user.name "github-actions[bot]"
git add -A git add -A
git commit -m "chore(chains): sync from db" git commit -m "chore(chains): sync from db"
- name: Create or Update Pull Request - name: Create or Update Pull Request
if: env.CHANGES_FOUND == 'true' if: env.CHANGES_FOUND == 'true'
uses: peter-evans/create-pull-request@v3 uses: peter-evans/create-pull-request@v6
with: with:
title: "chore(chains): update chains" title: "chore(chains): update chains"
branch: "sync-chains" branch: "sync-chains"
+5 -3
View File
@@ -10,14 +10,16 @@ dist-ssr
.cache .cache
server/dist server/dist
public/dist public/dist
./packages/contracts-js/abis ./legacy_packages/contracts-js/abis
.idea/ .idea/
.yalc/ .yalc/
yalc.lock yalc.lock
build/ build/
playwright-report/ playwright-report/
.vscode/
.env/ .env/
# Artifacts # Artifacts
packages/cli/artifacts/ legacy_packages/cli/artifacts/
# codecov binary
codecov
+7
View File
@@ -0,0 +1,7 @@
{
"recommendations": ["biomejs.biome"],
"unwantedRecommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
+15
View File
@@ -0,0 +1,15 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"typescript.preferences.importModuleSpecifier": "relative",
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
+9 -26
View File
@@ -1,15 +1,15 @@
<p align="center"> <p align="center">
<br /> <br />
<a href="https://thirdweb.com"> <a href="https://thirdweb.com">
<img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a> <img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br /> <br />
</p> </p>
<h1 align="center"><a href='https://thirdweb.com/'>thirdweb</a> TypeScript SDK</h1> <h1 align="center"><a href='https://thirdweb.com/'>thirdweb</a> TypeScript SDK</h1>
<p align="center"> <p align="center">
<a href="https://github.com/thirdweb-dev/js/actions/workflows/build-test-lint.yml"> <a href="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml">
<img alt="Build Status" src="https://github.com/thirdweb-dev/js/actions/workflows/build-test-lint.yml/badge.svg"/> <img alt="Build Status" src="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml/badge.svg"/>
</a> </a>
<a href="https://discord.gg/thirdweb"> <a href="https://discord.gg/thirdweb">
<img alt="Join our Discord!" src="https://img.shields.io/discord/834227967404146718.svg?color=7289da&label=discord&logo=discord&style=flat"/> <img alt="Join our Discord!" src="https://img.shields.io/discord/834227967404146718.svg?color=7289da&label=discord&logo=discord&style=flat"/>
@@ -18,9 +18,6 @@
<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p> <p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>
> [!IMPORTANT]
> We rewrote the thirdweb SDK from scratch for performance! Head over to the [Beta version unified SDK](https://github.com/thirdweb-dev/js/tree/beta/packages/thirdweb).
## Features ## Features
- Support for React & React-Native - Support for React & React-Native
@@ -32,7 +29,7 @@
- High level contract extensions for interacting with common standards - High level contract extensions for interacting with common standards
- Automatic ABI resolution - Automatic ABI resolution
## Library Comparison ## Library Comparison
| | thirdweb | Wagmi | Viem | Ethers@6 | | | thirdweb | Wagmi | Viem | Ethers@6 |
| ----------------------------------------- | -------- | ------------------ | ------------------ | -------- | | ----------------------------------------- | -------- | ------------------ | ------------------ | -------- |
@@ -53,33 +50,19 @@
| React Native Hooks | ✅ | ❌ | ❌ | ❌ | | React Native Hooks | ✅ | ❌ | ❌ | ❌ |
| React Native UI Components | ✅ | ❌ | ❌ | ❌ | | React Native UI Components | ✅ | ❌ | ❌ | ❌ |
## Packages
| Package | Description
| -----------------------------------------|-----------------------------------------------------------------------------|
| [/sdk](./packages/sdk) | Best in class web3 SDK for Browser, Node and Mobile apps |
| [/wallets](./packages/wallets) | Unified web3 Wallet library to integrate any wallet into your applications. |
| [/react](./packages/react) | Ultimate collection of React hooks for your web3 apps |
| [/react-native](./packages/react-native) | Ultimate collection of React hooks for your native mobile web3 apps |
| [/auth](./packages/auth) | Best in class wallet authentication for Node backends |
| [/storage](./packages/storage) | Best in class decentralized storage SDK for Browser and Node |
| [/cli](./packages/cli) | Publish and deploy smart contracts without dealing with private keys |
| [/chains](./packages/chains) | All EVM chain information as JS objects for easy handling |
## Contributing ## Contributing
We welcome contributions from all developers regardless of experience level. If you are interested in contributing, please read our [Contributing Guide](.github/contributing.md) to learn how the repo works, how to test your changes, and how to submit a pull request. We welcome contributions from all developers regardless of experience level. If you are interested in contributing, please read our [Contributing Guide](.github/contributing.md) to learn how the repo works, how to test your changes, and how to submit a pull request.
See our [open source page](https://thirdweb.com/open-source) for more information on our open-source bounties and program. See our [open source page](https://thirdweb.com/open-source) for more information on our open-source bounties and program.
## Additional Resources ## Additional Resources
- [SDK Documentation](https://portal.thirdweb.com/typescript/v5) - [Documentation](https://portal.thirdweb.com/typescript/v5)
- [Templates](https://thirdweb.com/templates) - [Templates](https://thirdweb.com/templates)
- [YouTube](https://www.youtube.com/c/thirdweb_) - [YouTube](https://www.youtube.com/c/thirdweb)
## Support
## Support
For help or feedback, please [visit our support site](https://thirdweb.com/support) For help or feedback, please [visit our support site](https://thirdweb.com/support)
+40
View File
@@ -0,0 +1,40 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"files": {
"ignore": [
"legacy_packages/**",
"packages/thirdweb/src/crypto/aes/lib/md5.ts",
"packages/thirdweb/src/utils/promise/p-limit.ts",
"packages/thirdweb/src/utils/bytecode/cbor-decode.ts",
"packages/thirdweb/src/**/__generated__/**"
]
},
"overrides": [
{
"include": ["packages/thirdweb/src/**"],
"linter": {
"rules": {
"style": {
"noRestrictedGlobals": {
"options": { "deniedGlobals": ["Buffer"] },
"level": "error"
}
}
}
}
}
]
}
+30
View File
@@ -0,0 +1,30 @@
coverage:
status:
project:
default:
target: auto
patch:
packages:
target: auto
flags:
- packages
legacy_packages:
target: auto
flags:
- legacy_packages
github_checks:
annotations: true
flag_management:
default_rules:
carryforward: true
comment:
layout: "newheader, diff, flags, files"
require_changes: false # if true: only post the comment if coverage changes
require_base: false # [yes :: must have a base report to post]
require_head: true # [yes :: must have a head report to post]
show_carryforward_flags: true
hide_comment_details: true #collapse all the "detailed info" for the PR comment
@@ -14,8 +14,7 @@
"e2e": "bun run.ts" "e2e": "bun run.ts"
}, },
"devDependencies": { "devDependencies": {
"esbuild": "0.15.17", "esbuild": "0.20.2",
"execa": "^8.0.1",
"ora": "^6.3.1" "ora": "^6.3.1"
} }
} }
@@ -1,4 +1,4 @@
import { execa } from "execa"; import { $ } from "bun";
import fs from "node:fs/promises"; import fs from "node:fs/promises";
import ora from "ora"; import ora from "ora";
@@ -9,7 +9,7 @@ const spinner = ora("Running fixtures: ").start();
for (const fixture of fixtures) { for (const fixture of fixtures) {
spinner.suffixText = fixture; spinner.suffixText = fixture;
try { try {
await execa("bunx", ["swc", "fixtures/" + fixture]); await $`esbuild fixtures/${fixture} --bundle`.text();
} catch (error) { } catch (error) {
if (error.exitCode !== 0) { if (error.exitCode !== 0) {
console.error(error); console.error(error);
@@ -14,9 +14,8 @@
"e2e": "bun run.ts" "e2e": "bun run.ts"
}, },
"devDependencies": { "devDependencies": {
"@swc/cli": "^0.1.63", "@swc/cli": "0.3.10",
"@swc/core": "^1.3.71", "@swc/core": "^1.4.12",
"execa": "^8.0.1",
"ora": "^6.3.1" "ora": "^6.3.1"
} }
} }
@@ -1,4 +1,4 @@
import { execa } from "execa"; import { $ } from "bun";
import fs from "node:fs/promises"; import fs from "node:fs/promises";
import ora from "ora"; import ora from "ora";
@@ -9,7 +9,7 @@ const spinner = ora("Running fixtures: ").start();
for (const fixture of fixtures) { for (const fixture of fixtures) {
spinner.suffixText = fixture; spinner.suffixText = fixture;
try { try {
await execa("esbuild", ["fixtures/" + fixture, "--bundle"]); await $`bunx swc fixtures/${fixture}`.text();
} catch (error) { } catch (error) {
if (error.exitCode !== 0) { if (error.exitCode !== 0) {
console.error(error); console.error(error);
@@ -14,8 +14,7 @@
"e2e": "bun run.ts" "e2e": "bun run.ts"
}, },
"devDependencies": { "devDependencies": {
"execa": "^8.0.1",
"ora": "^6.3.1", "ora": "^6.3.1",
"vite": "^3.2.8" "vite": "^5.2.8"
} }
} }
@@ -1,4 +1,4 @@
import { execa } from "execa"; import { $ } from "bun";
import fs from "node:fs/promises"; import fs from "node:fs/promises";
import ora from "ora"; import ora from "ora";
@@ -20,7 +20,7 @@ for (const fixture of fixtures) {
`, `,
); );
await execa("vite", ["build", "fixtures/"]); await $`vite build fixtures/`.text();
} catch (error) { } catch (error) {
if (error.exitCode !== 0) { if (error.exitCode !== 0) {
console.error(error); console.error(error);
@@ -14,9 +14,8 @@
"e2e": "bun run.ts" "e2e": "bun run.ts"
}, },
"devDependencies": { "devDependencies": {
"execa": "^8.0.1",
"ora": "^6.3.1", "ora": "^6.3.1",
"webpack": "^5.89.0", "webpack": "^5.91.0",
"webpack-cli": "^5.1.4" "webpack-cli": "^5.1.4"
} }
} }
@@ -1,4 +1,4 @@
import { execa } from "execa"; import { $ } from "bun";
import fs from "node:fs/promises"; import fs from "node:fs/promises";
import ora from "ora"; import ora from "ora";
@@ -9,7 +9,7 @@ const spinner = ora("Running fixtures: ").start();
for (const fixture of fixtures) { for (const fixture of fixtures) {
spinner.suffixText = fixture; spinner.suffixText = fixture;
try { try {
await execa("webpack", ["build", "./fixtures/" + fixture]); await $`webpack build ./fixtures/${fixture} --mode=production`.text();
} catch (error) { } catch (error) {
if (error.exitCode !== 0) { if (error.exitCode !== 0) {
console.error(error); console.error(error);
@@ -15,7 +15,6 @@
"e2e": "bun run.ts" "e2e": "bun run.ts"
}, },
"devDependencies": { "devDependencies": {
"execa": "^8.0.1",
"ora": "^6.3.1" "ora": "^6.3.1"
} }
} }
@@ -1,4 +1,4 @@
import { execa } from "execa"; import { $ } from "bun";
import fs from "node:fs/promises"; import fs from "node:fs/promises";
import ora from "ora"; import ora from "ora";
@@ -9,7 +9,7 @@ const spinner = ora("Running fixtures: ").start();
for (const fixture of fixtures) { for (const fixture of fixtures) {
spinner.suffixText = fixture; spinner.suffixText = fixture;
try { try {
await execa("node", ["fixtures/" + fixture]); await $`node fixtures/${fixture}`.text();
} catch (error) { } catch (error) {
if (error.exitCode !== 0) { if (error.exitCode !== 0) {
console.error(error); console.error(error);
@@ -15,7 +15,6 @@
"e2e": "bun run.ts" "e2e": "bun run.ts"
}, },
"devDependencies": { "devDependencies": {
"execa": "^8.0.1",
"ora": "^6.3.1" "ora": "^6.3.1"
} }
} }
@@ -1,4 +1,4 @@
import { execa } from "execa"; import { $ } from "bun";
import fs from "node:fs/promises"; import fs from "node:fs/promises";
import ora from "ora"; import ora from "ora";
@@ -9,7 +9,7 @@ const spinner = ora("Running fixtures: ").start();
for (const fixture of fixtures) { for (const fixture of fixtures) {
spinner.suffixText = fixture; spinner.suffixText = fixture;
try { try {
await execa("node", ["fixtures/" + fixture]); await $`node fixtures/${fixture}`.text();
} catch (error) { } catch (error) {
if (error.exitCode !== 0) { if (error.exitCode !== 0) {
console.error(error); console.error(error);
@@ -1,5 +1,184 @@
# @thirdweb-dev/auth # @thirdweb-dev/auth
## 4.1.73
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.15
## 4.1.72
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.14
## 4.1.71
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.13
## 4.1.70
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.12
## 4.1.69
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.11
## 4.1.68
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.10
## 4.1.67
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.9
## 4.1.66
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.8
## 4.1.65
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.7
## 4.1.64
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.6
## 4.1.63
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.5
## 4.1.62
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.4
## 4.1.61
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.3
## 4.1.60
### Patch Changes
- Updated dependencies [[`cb2a7e9`](https://github.com/thirdweb-dev/js/commit/cb2a7e964a78b9fc8670392f1b033936dae696dc)]:
- @thirdweb-dev/wallets@2.5.2
## 4.1.59
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.1
## 4.1.58
### Patch Changes
- Updated dependencies [[`6961e09`](https://github.com/thirdweb-dev/js/commit/6961e09a4cec4c276b233285e721dc0505792be5), [`f6a30c0`](https://github.com/thirdweb-dev/js/commit/f6a30c037197391ef0a514570931775b18927f17), [`5150259`](https://github.com/thirdweb-dev/js/commit/51502596d9f165a5316ce08da8a04b3e5c5e4eba)]:
- @thirdweb-dev/wallets@2.5.0
## 4.1.57
### Patch Changes
- [#2701](https://github.com/thirdweb-dev/js/pull/2701) [`703cb6a`](https://github.com/thirdweb-dev/js/commit/703cb6ae3cc51fa4b0ba7c87f09f8e84dab8ed3f) Thanks [@jnsdls](https://github.com/jnsdls)! - updated dependencies
- Updated dependencies [[`703cb6a`](https://github.com/thirdweb-dev/js/commit/703cb6ae3cc51fa4b0ba7c87f09f8e84dab8ed3f)]:
- @thirdweb-dev/wallets@2.4.35
## 4.1.56
### Patch Changes
- Updated dependencies [[`0e479e2`](https://github.com/thirdweb-dev/js/commit/0e479e2082fd685c9b8cae7d1cad53cade65de18), [`b3d0140`](https://github.com/thirdweb-dev/js/commit/b3d01402dd93c24f6b16aaa55674c2c10eb33be5)]:
- @thirdweb-dev/wallets@2.4.34
## 4.1.55
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.4.33
## 4.1.54
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.4.32
## 4.1.53
### Patch Changes
- Updated dependencies [[`00be583`](https://github.com/thirdweb-dev/js/commit/00be583b8902a1a0e5382ffdaafa6b9e31316075)]:
- @thirdweb-dev/wallets@2.4.31
## 4.1.52
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.4.30
## 4.1.51
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.4.29
## 4.1.50
### Patch Changes
- [#2577](https://github.com/thirdweb-dev/js/pull/2577) [`d93286b`](https://github.com/thirdweb-dev/js/commit/d93286bc1f8224d055b50ce3ffa4f302869cb2b1) Thanks [@jnsdls](https://github.com/jnsdls)! - update dependencies
- Updated dependencies [[`d93286b`](https://github.com/thirdweb-dev/js/commit/d93286bc1f8224d055b50ce3ffa4f302869cb2b1)]:
- @thirdweb-dev/wallets@2.4.28
## 4.1.49
### Patch Changes
- Updated dependencies [[`13f00cf`](https://github.com/thirdweb-dev/js/commit/13f00cf476b126683649a166e9e03b8e3f6599e4)]:
- @thirdweb-dev/wallets@2.4.27
## 4.1.48 ## 4.1.48
### Patch Changes ### Patch Changes
@@ -1,6 +1,6 @@
<p align="center"> <p align="center">
<br /> <br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a> <a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br /> <br />
</p> </p>
<h1 align="center">thirdweb Auth</h1> <h1 align="center">thirdweb Auth</h1>
@@ -1,6 +1,6 @@
{ {
"name": "@thirdweb-dev/auth", "name": "@thirdweb-dev/auth",
"version": "4.1.48", "version": "4.1.73",
"main": "dist/thirdweb-dev-auth.cjs.js", "main": "dist/thirdweb-dev-auth.cjs.js",
"module": "dist/thirdweb-dev-auth.esm.js", "module": "dist/thirdweb-dev-auth.esm.js",
"browser": { "browser": {
@@ -51,17 +51,17 @@
}, },
"./package.json": "./package.json" "./package.json": "./package.json"
}, },
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/auth", "repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/auth",
"author": "thirdweb eng <[email protected]>", "author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0", "license": "Apache-2.0",
"sideEffects": false, "sideEffects": false,
"scripts": { "scripts": {
"build": "preconstruct build", "build": "preconstruct build",
"format": "prettier --write 'src/**/*'", "format": "prettier --write 'src/**/*'",
"lint": "eslint src/ && bunx publint --strict --level warning", "lint": "eslint src/",
"fix": "eslint src/ --fix", "fix": "eslint src/ --fix",
"clean": "rm -rf dist/ && rm -rf node_modules/", "clean": "rm -rf dist/ && rm -rf node_modules/",
"test": "mocha --config './test/.mocharc.json' --timeout 240000 --parallel './test/**/*.test.ts'", "test": "vitest run",
"push": "yalc push" "push": "yalc push"
}, },
"preconstruct": { "preconstruct": {
@@ -80,48 +80,37 @@
} }
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.23.7", "@microsoft/api-documenter": "^7.24.1",
"@babel/preset-env": "^7.23.8", "@microsoft/api-extractor": "^7.43.0",
"@babel/preset-typescript": "^7.23.3", "@microsoft/tsdoc": "^0.14.2",
"@microsoft/api-documenter": "^7.22.30",
"@microsoft/api-extractor": "^7.36.3",
"@microsoft/tsdoc": "^0.14.1",
"@preconstruct/cli": "2.7.0", "@preconstruct/cli": "2.7.0",
"@swc-node/register": "^1.6.8", "@swc-node/register": "^1.9.0",
"@swc/core": "^1.3.71", "@swc/core": "^1.4.12",
"@thirdweb-dev/tsconfig": "workspace:*", "@thirdweb-dev/tsconfig": "workspace:*",
"@types/chai": "^4.3.5", "@types/cookie": "^0.6.0",
"@types/cookie": "^0.5.1", "@types/cookie-parser": "^1.4.7",
"@types/cookie-parser": "^1.4.3", "@types/express": "^4.17.21",
"@types/express": "^4.17.13", "@types/uuid": "^9.0.8",
"@types/mocha": "^10.0.0",
"@types/uuid": "^9.0.5",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.19.1",
"chai": "^4.3.6",
"cookie-parser": "^1.4.6", "cookie-parser": "^1.4.6",
"eslint": "^8.56.0", "eslint": "8.57.0",
"eslint-config-prettier": "^8.9.0",
"eslint-config-thirdweb": "workspace:*", "eslint-config-thirdweb": "workspace:*",
"eslint-plugin-import": "^2.26.0", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-inclusive-language": "^2.2.0", "eslint-plugin-inclusive-language": "^2.2.1",
"eslint-plugin-prettier": "^5.0.0", "eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-tsdoc": "^0.2.16", "eslint-plugin-tsdoc": "^0.2.17",
"ethers": "^5.7.2", "ethers": "^5.7.2",
"express": "^4.18.1", "express": "^4.19.2",
"fastify": "^4.25.2", "fastify": "^4.26.2",
"mocha": "^10.2.0", "next": "^13.5.6",
"next": "^13.4", "next-auth": "^4.24.7",
"next-auth": "^4.22.3", "typescript": "5.4.4"
"prettier": "^3.1.1",
"typescript": "^5.3.3"
}, },
"peerDependencies": { "peerDependencies": {
"cookie-parser": "^1.4.6", "cookie-parser": "^1.4.6",
"ethers": "^5", "ethers": "^5",
"express": "^4", "express": "^4",
"fastify": "^4.25.2", "fastify": "^4.25.2",
"next": "^12 || ^13 || ^14", "next": "^13.4 || ^14",
"next-auth": "^4" "next-auth": "^4"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
@@ -145,12 +134,12 @@
} }
}, },
"dependencies": { "dependencies": {
"@fastify/cookie": "^9.1.0", "@fastify/cookie": "^9.3.1",
"@thirdweb-dev/wallets": "workspace:*", "@thirdweb-dev/wallets": "workspace:*",
"cookie": "^0.5.0", "cookie": "^0.6.0",
"fastify-type-provider-zod": "^1.1.9", "fastify-type-provider-zod": "^1.1.9",
"uuid": "^9.0.1", "uuid": "^9.0.1",
"zod": "^3.22.3" "zod": "^3.22.4"
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"

Some files were not shown because too many files have changed in this diff Show More