|
1 | | -// @ts-check |
2 | | - |
3 | 1 | const unrealEngineRedirects = { |
4 | 2 | "/unreal-engine/blueprints/private-key-wallet": |
5 | 3 | "unreal-engine/blueprints/in-app-wallet", |
@@ -206,7 +204,7 @@ const reactRedirects = { |
206 | 204 | }; |
207 | 205 |
|
208 | 206 | const solidityRedirects = { |
209 | | - "/interact/overview": "/connect/blockchain-api", |
| 207 | + "/interact/overview": "/wallets", |
210 | 208 | "/solidity": "/contracts/build", |
211 | 209 | "/solidity/base-contract/erc721delayedreveal": |
212 | 210 | "/contracts/build/base-contracts/erc-721/delayed-reveal", |
@@ -545,98 +543,89 @@ const unityRedirects = { |
545 | 543 |
|
546 | 544 | const walletRedirects = { |
547 | 545 | //auth |
548 | | - "/auth": "/connect/auth", |
549 | | - "/auth/client-frameworks/react": "/connect/auth/client-frameworks/react", |
550 | | - "/auth/client-frameworks/react-native": |
551 | | - "/connect/auth/client-frameworks/react-native", |
552 | | - "/auth/faqs": "/connect/auth/faq", |
553 | | - "/auth/getting-started": "/connect/auth/get-started", |
554 | | - "/auth/how-auth-works": "/connect/auth/how-it-works", |
555 | | - "/auth/how-auth-works/auth-api": "/connect/auth/how-it-works/api", |
556 | | - "/auth/how-auth-works/json-web-tokens": "/connect/auth/how-it-works/jwt", |
557 | | - "/auth/how-auth-works/sign-in-with-wallet": "/connect/auth/how-it-works/siwe", |
558 | | - "/auth/integrations/firebase": "/connect/auth/integrations/firebase", |
559 | | - "/auth/integrations/next-auth": "/connect/auth/integrations/next-auth", |
560 | | - "/auth/integrations/supabase": "/connect/auth/integrations/supabase", |
561 | | - "/auth/server-frameworks/express": "/connect/auth/server-frameworks/express", |
562 | | - "/auth/server-frameworks/next": "/connect/auth/server-frameworks/next", |
563 | | - "/auth/wallet-configuration": "/connect/auth/wallet-configuration", |
| 546 | + "/auth": "/wallets/auth", |
| 547 | + "/auth/client-frameworks/react": "/wallets", |
| 548 | + "/auth/client-frameworks/react-native": "/wallets", |
| 549 | + "/auth/faqs": "/wallets/auth", |
| 550 | + "/auth/getting-started": "/wallets/auth", |
| 551 | + "/auth/how-auth-works": "/wallets/auth", |
| 552 | + "/auth/how-auth-works/auth-api": "/wallets/auth", |
| 553 | + "/auth/how-auth-works/json-web-tokens": "/wallets/auth", |
| 554 | + "/auth/how-auth-works/sign-in-with-wallet": "/wallets/auth", |
| 555 | + "/auth/integrations/firebase": "/wallets/auth", |
| 556 | + "/auth/integrations/next-auth": "/wallets/auth", |
| 557 | + "/auth/integrations/supabase": "/wallets/auth", |
| 558 | + "/auth/server-frameworks/express": "/wallets/auth", |
| 559 | + "/auth/server-frameworks/next": "/wallets/auth", |
| 560 | + "/auth/wallet-configuration": "/wallets/auth", |
564 | 561 | //connect |
565 | | - "/connect/architecture": "/connect", |
566 | | - "/connect/auth/client-frameworks/react": "/connect/auth", |
567 | | - "/connect/auth/client-frameworks/react-native": "/connect/auth", |
568 | | - "/connect/auth/faqs": "/connect/auth", |
569 | | - "/connect/auth/get-started": "/connect/auth", |
570 | | - "/connect/auth/how-it-works": "/connect/auth", |
571 | | - "/connect/auth/how-it-works/api": "/connect/auth", |
572 | | - "/connect/auth/how-it-works/jwt": "/connect/auth", |
573 | | - "/connect/auth/how-it-works/siwe": "/connect/auth", |
574 | | - "/connect/auth/integrations/firebase": "/connect/auth", |
575 | | - "/connect/auth/integrations/next-auth": "/connect/auth", |
576 | | - "/connect/auth/integrations/supabase": "/connect/auth", |
577 | | - "/connect/auth/server-frameworks/express": "/connect/auth", |
578 | | - "/connect/auth/server-frameworks/next": "/connect/auth", |
579 | | - "/connect/auth/wallet-configuration": "/connect/auth", |
580 | | - "/connect/connect-wallet": "/connect/connect", |
581 | | - "/connect/connect-wallet/auth": "/connect/sign-in", |
582 | | - "/connect/connect-wallet/button-title": "/connect/sign-in", |
583 | | - "/connect/connect-wallet/class-name": "/connect/sign-in", |
584 | | - "/connect/connect-wallet/custom-button": "/connect/sign-in", |
585 | | - "/connect/connect-wallet/custom-ui": "/connect/sign-in/custom-ui", |
586 | | - "/connect/connect-wallet/drop-down-positions": "/connect/sign-in", |
587 | | - "/connect/connect-wallet/hide-testnet-faucet": "/connect/sign-in", |
588 | | - "/connect/connect-wallet/modal-size": "/connect/sign-in", |
589 | | - "/connect/connect-wallet/modal-title": "/connect/sign-in", |
590 | | - "/connect/connect-wallet/privacy-policy": "/connect/sign-in", |
591 | | - "/connect/connect-wallet/switch-chain": "/connect/sign-in", |
592 | | - "/connect/connect-wallet/terms-of-service": "/connect/sign-in", |
593 | | - "/connect/connect-wallet/theme": "/connect/sign-in", |
594 | | - "/connect/connect-wallet/wallet-providers": "/connect/connect", |
595 | | - "/connect/connect-wallet/welcome-screen": "/connect/sign-in", |
596 | | - "/connect/ecosystem/ecosystem-premissions": |
597 | | - "/connect/wallet/ecosystem/permissions", |
| 562 | + "/connect/architecture": "/wallets", |
| 563 | + "/connect/auth/client-frameworks/react": "/wallets/auth", |
| 564 | + "/connect/auth/client-frameworks/react-native": "/wallets/auth", |
| 565 | + "/connect/auth/faqs": "/wallets/auth", |
| 566 | + "/connect/auth/get-started": "/wallets/auth", |
| 567 | + "/connect/auth/how-it-works": "/wallets/auth", |
| 568 | + "/connect/auth/how-it-works/api": "/wallets/auth", |
| 569 | + "/connect/auth/how-it-works/jwt": "/wallets/auth", |
| 570 | + "/connect/auth/how-it-works/siwe": "/wallets/auth", |
| 571 | + "/connect/auth/integrations/firebase": "/wallets/auth", |
| 572 | + "/connect/auth/integrations/next-auth": "/wallets/auth", |
| 573 | + "/connect/auth/integrations/supabase": "/wallets/auth", |
| 574 | + "/connect/auth/server-frameworks/express": "/wallets/auth", |
| 575 | + "/connect/auth/server-frameworks/next": "/wallets/auth", |
| 576 | + "/connect/auth/wallet-configuration": "/wallets/auth", |
| 577 | + "/connect/connect-wallet": "/wallets", |
| 578 | + "/connect/connect-wallet/auth": "/wallets", |
| 579 | + "/connect/connect-wallet/button-title": "/wallets", |
| 580 | + "/connect/connect-wallet/class-name": "/wallets", |
| 581 | + "/connect/connect-wallet/custom-button": "/wallets", |
| 582 | + "/connect/connect-wallet/custom-ui": "/wallets", |
| 583 | + "/connect/connect-wallet/drop-down-positions": "/wallets", |
| 584 | + "/connect/connect-wallet/hide-testnet-faucet": "/wallets", |
| 585 | + "/connect/connect-wallet/modal-size": "/wallets", |
| 586 | + "/connect/connect-wallet/modal-title": "/wallets", |
| 587 | + "/connect/connect-wallet/privacy-policy": "/wallets", |
| 588 | + "/connect/connect-wallet/switch-chain": "/wallets", |
| 589 | + "/connect/connect-wallet/terms-of-service": "/wallets", |
| 590 | + "/connect/connect-wallet/theme": "/wallets", |
| 591 | + "/connect/connect-wallet/wallet-providers": "/wallets", |
| 592 | + "/connect/connect-wallet/welcome-screen": "/wallets", |
| 593 | + "/connect/ecosystem/ecosystem-premissions": "/wallets/ecosystem/set-up", |
598 | 594 |
|
599 | | - "/connect/ecosystem/faq": "/connect/wallet/faq", |
600 | | - "/connect/ecosystem/get-started": "/connect/wallet/get-started", |
601 | | - "/connect/ecosystem/integrating-partners": |
602 | | - "/connect/wallet/ecosystem/integrating-partners", |
603 | | - "/connect/ecosystem/overview": "/connect/wallet/overview", |
604 | | - "/connect/ecosystem/pregenerate-wallets": |
605 | | - "/connect/wallet/pregenerate-wallets", |
606 | | - "/connect/ecosystem/security": "/connect/wallet/security", |
607 | | - "/connect/ecosystem/wallet-explorer": "/connect/wallet/ecosystem/portal", |
608 | | - "/connect/faqs": "/connect/sign-in", |
609 | | - "/connect/in-app-wallet/faqs": "/connect/wallet/faq", |
610 | | - "/connect/in-app-wallet/get-started": "/connect/wallet/get-started", |
| 595 | + "/connect/ecosystem/faq": "/wallets/faq", |
| 596 | + "/connect/ecosystem/get-started": "/wallets", |
| 597 | + "/connect/ecosystem/integrating-partners": "/wallets/ecosystem/set-up", |
| 598 | + "/connect/ecosystem/overview": "/wallets/ecosystem/set-up", |
| 599 | + "/connect/ecosystem/pregenerate-wallets": "/wallets", |
| 600 | + "/connect/ecosystem/security": "/wallets/security", |
| 601 | + "/connect/ecosystem/wallet-explorer": "/wallets/ecosystem/set-up", |
| 602 | + "/connect/faqs": "/wallets/faq", |
| 603 | + "/connect/in-app-wallet/faqs": "/wallets/faq", |
| 604 | + "/connect/in-app-wallet/get-started": "/wallets", |
611 | 605 | "/connect/in-app-wallet/guides/export-private-key": |
612 | | - "/connect/wallet/user-management/export-private-key", |
613 | | - "/connect/in-app-wallet/guides/get-user-details": |
614 | | - "/connect/wallet/user-management/get-user-profiles", |
| 606 | + "/wallets/export-private-key", |
| 607 | + "/connect/in-app-wallet/guides/get-user-details": "/wallets/get-users", |
615 | 608 | "/connect/in-app-wallet/guides/link-multiple-profiles": |
616 | | - "/connect/wallet/user-management/link-multiple-identity", |
| 609 | + "/wallets/link-profiles", |
617 | 610 | "/connect/in-app-wallet/guides/retrieve-linked-profiles": |
618 | | - "/connect/wallet/user-management/get-user-profiles", |
| 611 | + "/wallets/get-users", |
619 | 612 |
|
620 | | - "/connect/in-app-wallet/overview": "/connect/wallet/overview", |
621 | | - "/connect/in-app-wallet/security": "/connect/wallet/security", |
622 | | - "/connect/sign-in": "/connect/sign-in/overview", |
623 | | - "/connect/sign-in/ConnectButton": "/connect/wallet/get-started", |
624 | | - "/connect/sign-in/ConnectEmbed": "/connect/wallet/get-started", |
625 | | - "/connect/sign-in/Custom-UI": "/connect/wallet/get-started", |
626 | | - "/connect/sign-in/methods/email-and-phone": |
627 | | - "/connect/wallet/sign-in-methods/configure", |
628 | | - "/connect/sign-in/methods/external-wallets": |
629 | | - "/connect/wallet/sign-in-methods/external-wallets", |
630 | | - "/connect/sign-in/methods/guest-mode": |
631 | | - "/connect/wallet/sign-in-methods/guest", |
632 | | - "/connect/sign-in/methods/social-logins": |
633 | | - "/connect/wallet/sign-in-methods/configure", |
| 613 | + "/connect/in-app-wallet/overview": "/wallets", |
| 614 | + "/connect/in-app-wallet/security": "/wallets/security", |
| 615 | + "/connect/sign-in": "/wallets/auth", |
| 616 | + "/connect/sign-in/ConnectButton": "/wallets", |
| 617 | + "/connect/sign-in/ConnectEmbed": "/wallets", |
| 618 | + "/connect/sign-in/Custom-UI": "/wallets", |
| 619 | + "/connect/sign-in/methods/email-and-phone": "/wallets/users", |
| 620 | + "/connect/sign-in/methods/external-wallets": "/wallets/external-wallets", |
| 621 | + "/connect/sign-in/methods/guest-mode": "/wallets", |
| 622 | + "/connect/sign-in/methods/social-logins": "/wallets/users", |
634 | 623 |
|
635 | | - "/connect/sign-in/overview": "/connect/wallet/overview", |
636 | | - "/connect/usage-with-react-native-sdk": "/connect/sign-in", |
637 | | - "/connect/usage-with-react-sdk": "/connect/sign-in", |
638 | | - "/connect/usage-with-typescript-sdk": "/connect/sign-in", |
639 | | - "/connect/usage-with-unity-sdk": "/connect/sign-in", |
| 624 | + "/connect/sign-in/overview": "/wallets/auth", |
| 625 | + "/connect/usage-with-react-native-sdk": "/wallets", |
| 626 | + "/connect/usage-with-react-sdk": "/wallets", |
| 627 | + "/connect/usage-with-typescript-sdk": "/wallets", |
| 628 | + "/connect/usage-with-unity-sdk": "/wallets", |
640 | 629 |
|
641 | 630 | //embedded wallet |
642 | 631 | "/embedded-wallet": "/wallets/embedded-wallet/overview", |
@@ -1022,6 +1011,8 @@ const otherRedirects = { |
1022 | 1011 | "/wallet/get-started/overview": "/connect/wallet/overview", |
1023 | 1012 | // connect > wallets |
1024 | 1013 | "/connect": "/wallets", |
| 1014 | + "/connect/auth": "/wallets/auth", |
| 1015 | + "/connect/:path*": "/wallets/:path*", |
1025 | 1016 | "/connect/wallet/sign-in-methods/configure": "/wallets/users", |
1026 | 1017 | "/connect/wallet/server": "/wallets/server", |
1027 | 1018 | "/connect/account-abstraction/get-started": "/wallets/sponsor-gas", |
@@ -1061,7 +1052,7 @@ const v4ToV5Redirects = { |
1061 | 1052 | "/typescript/v4/:path*": "/typescript/v5", |
1062 | 1053 | "/unity/v4": "/unity/v5", |
1063 | 1054 | "/unity/v4/:path*": "/unity/v5", |
1064 | | - "/wallet-sdk/:path*": "/connect", |
| 1055 | + "/wallet-sdk/:path*": "/wallets", |
1065 | 1056 | }; |
1066 | 1057 |
|
1067 | 1058 | const payRedirects = { |
|
0 commit comments