File tree Expand file tree Collapse file tree 7 files changed +28
-23
lines changed
components/account-recovery.disabled
pages/recovery.disabled/guardian/(actions) Expand file tree Collapse file tree 7 files changed +28
-23
lines changed Original file line number Diff line number Diff line change 6060 - name : Build apps
6161 env :
6262 NUXT_PUBLIC_DEFAULT_CHAIN_ID : 11155111
63+ NUXT_PUBLIC_AUTH_SERVER_API_URL : https://auth-server-api.stage-sso.zksync.dev
6364 NUXT_PUBLIC_SALT_SERVICE_URL : " https://sso-oidc.zksync.dev/salt"
6465 run : pnpm nx build auth-server
6566
Original file line number Diff line number Diff line change 6161
6262 - name : Build Auth Server
6363 env :
64- NUXT_PUBLIC_DEFAULT_CHAIN_ID : 300
64+ NUXT_PUBLIC_DEFAULT_CHAIN_ID : 11155111
65+ NUXT_PUBLIC_AUTH_SERVER_API_URL : https://auth-server-api.stage-sso.zksync.dev
6566 NUXT_PUBLIC_SALT_SERVICE_URL : " https://sso-oidc.zksync.dev/salt"
6667 run : pnpm nx build auth-server
6768
Original file line number Diff line number Diff line change 55</template >
66
77<script lang="ts" setup>
8- import { createAppKit } from " @reown/appkit/vue" ;
8+ /* import { createAppKit } from "@reown/appkit/vue";
99
1010const { defaultChain } = useClientStore();
1111const { metadata, projectId, wagmiAdapter } = useAppKit();
1212
13- // BigInt polyfill
14- // eslint-disable-next-line @typescript-eslint/no-explicit-any
15- (BigInt .prototype as any ).toJSON = function () {
16- return this .toString ();
17- };
18-
1913createAppKit({
2014 adapters: [wagmiAdapter],
2115 networks: [defaultChain],
2216 projectId,
2317 metadata,
24- });
18+ }); */
19+
20+ // BigInt polyfill
21+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
22+ (BigInt .prototype as any ).toJSON = function () {
23+ return this .toString ();
24+ };
2525 </script >
Original file line number Diff line number Diff line change 6363 Confirm Guardian
6464 </ZkButton >
6565
66- <CommonConnectButton
66+ <!-- < CommonConnectButton
6767 v-if="!isSsoAccount"
6868 type="primary"
6969 class="w-full md:max-w-48 mt-4"
7070 :disabled="confirmGuardianInProgress || getConfigurableAccountInProgress"
71- />
71+ /> -->
7272
7373 <ZkButton
7474 type =" secondary"
Original file line number Diff line number Diff line change 5656 >
5757 Confirm Recovery
5858 </ZkButton >
59- <CommonConnectButton
59+ <!-- < CommonConnectButton
6060 v-if="!selectedGuardianInfo?.isSsoAccount"
6161 type="primary"
6262 class="w-full mt-4"
6363 :disabled="initRecoveryInProgress || getConfigurableAccountInProgress"
64- />
64+ /> -->
6565 </template >
6666
6767 <ZkButton
Original file line number Diff line number Diff line change 7575 >
7676 Confirm Recovery
7777 </ZkButton >
78- <CommonConnectButton
78+ <!-- < CommonConnectButton
7979 v-if="!selectedGuardianInfo?.isSsoAccount"
8080 type="primary"
8181 class="w-full max-w-56"
8282 :disabled="initRecoveryInProgress || getConfigurableAccountInProgress"
83- />
83+ /> -->
8484 </div >
8585 <p
8686 v-if =" !selectedGuardianInfo?.isSsoAccount && accountData.isConnected && !isConnectedWalletGuardian"
Original file line number Diff line number Diff line change 1- import { QueryClient , VueQueryPlugin } from "@tanstack/vue-query" ;
2- import { WagmiPlugin } from "@wagmi/vue" ;
1+ // TODO: Figure out why this causes error:
2+ // `TypeError: Cannot set properties of undefined (setting 'type')`
33
4- const queryClient = new QueryClient ( ) ;
4+ // import { QueryClient, VueQueryPlugin } from "@tanstack/vue-query";
5+ // import { WagmiPlugin } from "@wagmi/vue";
56
6- export default defineNuxtPlugin ( ( nuxtApp ) => {
7- const { wagmiConfig } = useAppKit ( ) ;
7+ // const queryClient = new QueryClient();
88
9- nuxtApp . vueApp
10- . use ( WagmiPlugin , { config : wagmiConfig } )
11- . use ( VueQueryPlugin , { queryClient } ) ;
9+ export default defineNuxtPlugin ( ( _nuxtApp ) => {
10+ // const { wagmiConfig } = useAppKit();
11+
12+ // nuxtApp.vueApp
13+ // .use(WagmiPlugin, { config: wagmiConfig })
14+ // .use(VueQueryPlugin, { queryClient });
1215} ) ;
You can’t perform that action at this time.
0 commit comments