|
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", |
@@ -540,98 +538,89 @@ const unityRedirects = { |
540 | 538 |
|
541 | 539 | const walletRedirects = { |
542 | 540 | //auth |
543 | | - "/auth": "/connect/auth", |
544 | | - "/auth/client-frameworks/react": "/connect/auth/client-frameworks/react", |
545 | | - "/auth/client-frameworks/react-native": |
546 | | - "/connect/auth/client-frameworks/react-native", |
547 | | - "/auth/faqs": "/connect/auth/faq", |
548 | | - "/auth/getting-started": "/connect/auth/get-started", |
549 | | - "/auth/how-auth-works": "/connect/auth/how-it-works", |
550 | | - "/auth/how-auth-works/auth-api": "/connect/auth/how-it-works/api", |
551 | | - "/auth/how-auth-works/json-web-tokens": "/connect/auth/how-it-works/jwt", |
552 | | - "/auth/how-auth-works/sign-in-with-wallet": "/connect/auth/how-it-works/siwe", |
553 | | - "/auth/integrations/firebase": "/connect/auth/integrations/firebase", |
554 | | - "/auth/integrations/next-auth": "/connect/auth/integrations/next-auth", |
555 | | - "/auth/integrations/supabase": "/connect/auth/integrations/supabase", |
556 | | - "/auth/server-frameworks/express": "/connect/auth/server-frameworks/express", |
557 | | - "/auth/server-frameworks/next": "/connect/auth/server-frameworks/next", |
558 | | - "/auth/wallet-configuration": "/connect/auth/wallet-configuration", |
| 541 | + "/auth": "/wallets/auth", |
| 542 | + "/auth/client-frameworks/react": "/wallets", |
| 543 | + "/auth/client-frameworks/react-native": "/wallets", |
| 544 | + "/auth/faqs": "/wallets/auth", |
| 545 | + "/auth/getting-started": "/wallets/auth", |
| 546 | + "/auth/how-auth-works": "/wallets/auth", |
| 547 | + "/auth/how-auth-works/auth-api": "/wallets/auth", |
| 548 | + "/auth/how-auth-works/json-web-tokens": "/wallets/auth", |
| 549 | + "/auth/how-auth-works/sign-in-with-wallet": "/wallets/auth", |
| 550 | + "/auth/integrations/firebase": "/wallets/auth", |
| 551 | + "/auth/integrations/next-auth": "/wallets/auth", |
| 552 | + "/auth/integrations/supabase": "/wallets/auth", |
| 553 | + "/auth/server-frameworks/express": "/wallets/auth", |
| 554 | + "/auth/server-frameworks/next": "/wallets/auth", |
| 555 | + "/auth/wallet-configuration": "/wallets/auth", |
559 | 556 | //connect |
560 | | - "/connect/architecture": "/connect", |
561 | | - "/connect/auth/client-frameworks/react": "/connect/auth", |
562 | | - "/connect/auth/client-frameworks/react-native": "/connect/auth", |
563 | | - "/connect/auth/faqs": "/connect/auth", |
564 | | - "/connect/auth/get-started": "/connect/auth", |
565 | | - "/connect/auth/how-it-works": "/connect/auth", |
566 | | - "/connect/auth/how-it-works/api": "/connect/auth", |
567 | | - "/connect/auth/how-it-works/jwt": "/connect/auth", |
568 | | - "/connect/auth/how-it-works/siwe": "/connect/auth", |
569 | | - "/connect/auth/integrations/firebase": "/connect/auth", |
570 | | - "/connect/auth/integrations/next-auth": "/connect/auth", |
571 | | - "/connect/auth/integrations/supabase": "/connect/auth", |
572 | | - "/connect/auth/server-frameworks/express": "/connect/auth", |
573 | | - "/connect/auth/server-frameworks/next": "/connect/auth", |
574 | | - "/connect/auth/wallet-configuration": "/connect/auth", |
575 | | - "/connect/connect-wallet": "/connect/connect", |
576 | | - "/connect/connect-wallet/auth": "/connect/sign-in", |
577 | | - "/connect/connect-wallet/button-title": "/connect/sign-in", |
578 | | - "/connect/connect-wallet/class-name": "/connect/sign-in", |
579 | | - "/connect/connect-wallet/custom-button": "/connect/sign-in", |
580 | | - "/connect/connect-wallet/custom-ui": "/connect/sign-in/custom-ui", |
581 | | - "/connect/connect-wallet/drop-down-positions": "/connect/sign-in", |
582 | | - "/connect/connect-wallet/hide-testnet-faucet": "/connect/sign-in", |
583 | | - "/connect/connect-wallet/modal-size": "/connect/sign-in", |
584 | | - "/connect/connect-wallet/modal-title": "/connect/sign-in", |
585 | | - "/connect/connect-wallet/privacy-policy": "/connect/sign-in", |
586 | | - "/connect/connect-wallet/switch-chain": "/connect/sign-in", |
587 | | - "/connect/connect-wallet/terms-of-service": "/connect/sign-in", |
588 | | - "/connect/connect-wallet/theme": "/connect/sign-in", |
589 | | - "/connect/connect-wallet/wallet-providers": "/connect/connect", |
590 | | - "/connect/connect-wallet/welcome-screen": "/connect/sign-in", |
591 | | - "/connect/ecosystem/ecosystem-premissions": |
592 | | - "/connect/wallet/ecosystem/permissions", |
| 557 | + "/connect/architecture": "/wallets", |
| 558 | + "/connect/auth/client-frameworks/react": "/wallets/auth", |
| 559 | + "/connect/auth/client-frameworks/react-native": "/wallets/auth", |
| 560 | + "/connect/auth/faqs": "/wallets/auth", |
| 561 | + "/connect/auth/get-started": "/wallets/auth", |
| 562 | + "/connect/auth/how-it-works": "/wallets/auth", |
| 563 | + "/connect/auth/how-it-works/api": "/wallets/auth", |
| 564 | + "/connect/auth/how-it-works/jwt": "/wallets/auth", |
| 565 | + "/connect/auth/how-it-works/siwe": "/wallets/auth", |
| 566 | + "/connect/auth/integrations/firebase": "/wallets/auth", |
| 567 | + "/connect/auth/integrations/next-auth": "/wallets/auth", |
| 568 | + "/connect/auth/integrations/supabase": "/wallets/auth", |
| 569 | + "/connect/auth/server-frameworks/express": "/wallets/auth", |
| 570 | + "/connect/auth/server-frameworks/next": "/wallets/auth", |
| 571 | + "/connect/auth/wallet-configuration": "/wallets/auth", |
| 572 | + "/connect/connect-wallet": "/wallets", |
| 573 | + "/connect/connect-wallet/auth": "/wallets", |
| 574 | + "/connect/connect-wallet/button-title": "/wallets", |
| 575 | + "/connect/connect-wallet/class-name": "/wallets", |
| 576 | + "/connect/connect-wallet/custom-button": "/wallets", |
| 577 | + "/connect/connect-wallet/custom-ui": "/wallets", |
| 578 | + "/connect/connect-wallet/drop-down-positions": "/wallets", |
| 579 | + "/connect/connect-wallet/hide-testnet-faucet": "/wallets", |
| 580 | + "/connect/connect-wallet/modal-size": "/wallets", |
| 581 | + "/connect/connect-wallet/modal-title": "/wallets", |
| 582 | + "/connect/connect-wallet/privacy-policy": "/wallets", |
| 583 | + "/connect/connect-wallet/switch-chain": "/wallets", |
| 584 | + "/connect/connect-wallet/terms-of-service": "/wallets", |
| 585 | + "/connect/connect-wallet/theme": "/wallets", |
| 586 | + "/connect/connect-wallet/wallet-providers": "/wallets", |
| 587 | + "/connect/connect-wallet/welcome-screen": "/wallets", |
| 588 | + "/connect/ecosystem/ecosystem-premissions": "/wallets/ecosystem/set-up", |
593 | 589 |
|
594 | | - "/connect/ecosystem/faq": "/connect/wallet/faq", |
595 | | - "/connect/ecosystem/get-started": "/connect/wallet/get-started", |
596 | | - "/connect/ecosystem/integrating-partners": |
597 | | - "/connect/wallet/ecosystem/integrating-partners", |
598 | | - "/connect/ecosystem/overview": "/connect/wallet/overview", |
599 | | - "/connect/ecosystem/pregenerate-wallets": |
600 | | - "/connect/wallet/pregenerate-wallets", |
601 | | - "/connect/ecosystem/security": "/connect/wallet/security", |
602 | | - "/connect/ecosystem/wallet-explorer": "/connect/wallet/ecosystem/portal", |
603 | | - "/connect/faqs": "/connect/sign-in", |
604 | | - "/connect/in-app-wallet/faqs": "/connect/wallet/faq", |
605 | | - "/connect/in-app-wallet/get-started": "/connect/wallet/get-started", |
| 590 | + "/connect/ecosystem/faq": "/wallets/faq", |
| 591 | + "/connect/ecosystem/get-started": "/wallets", |
| 592 | + "/connect/ecosystem/integrating-partners": "/wallets/ecosystem/set-up", |
| 593 | + "/connect/ecosystem/overview": "/wallets/ecosystem/set-up", |
| 594 | + "/connect/ecosystem/pregenerate-wallets": "/wallets", |
| 595 | + "/connect/ecosystem/security": "/wallets/security", |
| 596 | + "/connect/ecosystem/wallet-explorer": "/wallets/ecosystem/set-up", |
| 597 | + "/connect/faqs": "/wallets/faq", |
| 598 | + "/connect/in-app-wallet/faqs": "/wallets/faq", |
| 599 | + "/connect/in-app-wallet/get-started": "/wallets", |
606 | 600 | "/connect/in-app-wallet/guides/export-private-key": |
607 | | - "/connect/wallet/user-management/export-private-key", |
608 | | - "/connect/in-app-wallet/guides/get-user-details": |
609 | | - "/connect/wallet/user-management/get-user-profiles", |
| 601 | + "/wallets/export-private-key", |
| 602 | + "/connect/in-app-wallet/guides/get-user-details": "/wallets/get-users", |
610 | 603 | "/connect/in-app-wallet/guides/link-multiple-profiles": |
611 | | - "/connect/wallet/user-management/link-multiple-identity", |
| 604 | + "/wallets/link-profiles", |
612 | 605 | "/connect/in-app-wallet/guides/retrieve-linked-profiles": |
613 | | - "/connect/wallet/user-management/get-user-profiles", |
| 606 | + "/wallets/get-users", |
614 | 607 |
|
615 | | - "/connect/in-app-wallet/overview": "/connect/wallet/overview", |
616 | | - "/connect/in-app-wallet/security": "/connect/wallet/security", |
617 | | - "/connect/sign-in": "/connect/sign-in/overview", |
618 | | - "/connect/sign-in/ConnectButton": "/connect/wallet/get-started", |
619 | | - "/connect/sign-in/ConnectEmbed": "/connect/wallet/get-started", |
620 | | - "/connect/sign-in/Custom-UI": "/connect/wallet/get-started", |
621 | | - "/connect/sign-in/methods/email-and-phone": |
622 | | - "/connect/wallet/sign-in-methods/configure", |
623 | | - "/connect/sign-in/methods/external-wallets": |
624 | | - "/connect/wallet/sign-in-methods/external-wallets", |
625 | | - "/connect/sign-in/methods/guest-mode": |
626 | | - "/connect/wallet/sign-in-methods/guest", |
627 | | - "/connect/sign-in/methods/social-logins": |
628 | | - "/connect/wallet/sign-in-methods/configure", |
| 608 | + "/connect/in-app-wallet/overview": "/wallets", |
| 609 | + "/connect/in-app-wallet/security": "/wallets/security", |
| 610 | + "/connect/sign-in": "/wallets/auth", |
| 611 | + "/connect/sign-in/ConnectButton": "/wallets", |
| 612 | + "/connect/sign-in/ConnectEmbed": "/wallets", |
| 613 | + "/connect/sign-in/Custom-UI": "/wallets", |
| 614 | + "/connect/sign-in/methods/email-and-phone": "/wallets/users", |
| 615 | + "/connect/sign-in/methods/external-wallets": "/wallets/external-wallets", |
| 616 | + "/connect/sign-in/methods/guest-mode": "/wallets", |
| 617 | + "/connect/sign-in/methods/social-logins": "/wallets/users", |
629 | 618 |
|
630 | | - "/connect/sign-in/overview": "/connect/wallet/overview", |
631 | | - "/connect/usage-with-react-native-sdk": "/connect/sign-in", |
632 | | - "/connect/usage-with-react-sdk": "/connect/sign-in", |
633 | | - "/connect/usage-with-typescript-sdk": "/connect/sign-in", |
634 | | - "/connect/usage-with-unity-sdk": "/connect/sign-in", |
| 619 | + "/connect/sign-in/overview": "/wallets/auth", |
| 620 | + "/connect/usage-with-react-native-sdk": "/wallets", |
| 621 | + "/connect/usage-with-react-sdk": "/wallets", |
| 622 | + "/connect/usage-with-typescript-sdk": "/wallets", |
| 623 | + "/connect/usage-with-unity-sdk": "/wallets", |
635 | 624 |
|
636 | 625 | //embedded wallet |
637 | 626 | "/embedded-wallet": "/wallets/embedded-wallet/overview", |
@@ -1017,6 +1006,8 @@ const otherRedirects = { |
1017 | 1006 | "/wallet/get-started/overview": "/connect/wallet/overview", |
1018 | 1007 | // connect > wallets |
1019 | 1008 | "/connect": "/wallets", |
| 1009 | + "/connect/auth": "/wallets/auth", |
| 1010 | + "/connect/:path*": "/wallets/:path*", |
1020 | 1011 | "/connect/wallet/sign-in-methods/configure": "/wallets/users", |
1021 | 1012 | "/connect/wallet/server": "/wallets/server", |
1022 | 1013 | "/connect/account-abstraction/get-started": "/wallets/sponsor-gas", |
@@ -1053,7 +1044,7 @@ const v4ToV5Redirects = { |
1053 | 1044 | "/typescript/v4/:path*": "/typescript/v5", |
1054 | 1045 | "/unity/v4": "/unity/v5", |
1055 | 1046 | "/unity/v4/:path*": "/unity/v5", |
1056 | | - "/wallet-sdk/:path*": "/connect", |
| 1047 | + "/wallet-sdk/:path*": "/wallets", |
1057 | 1048 | }; |
1058 | 1049 |
|
1059 | 1050 | const payRedirects = { |
|
0 commit comments