From 97694d1606244f0d9c5f0993e153f867560fe053 Mon Sep 17 00:00:00 2001 From: Jack Hamer Date: Thu, 1 Feb 2024 20:53:48 +0200 Subject: [PATCH] fix: add account validation --- .husky/_/husky.sh | 0 environments/.env.goerli | 3 ++- environments/.env.goerli-beta | 3 ++- environments/.env.mainnet | 3 ++- nuxt.config.ts | 1 + package.json | 2 +- yarn.lock | 10 +++++----- 7 files changed, 13 insertions(+), 9 deletions(-) mode change 100755 => 100644 .husky/_/husky.sh diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh old mode 100755 new mode 100644 diff --git a/environments/.env.goerli b/environments/.env.goerli index 097dd87cb..35a3298fb 100755 --- a/environments/.env.goerli +++ b/environments/.env.goerli @@ -6,4 +6,5 @@ UTORG_MAINNET_SID=zksynkio MOONPAY_MAINNET_API_PUBLIC_KEY=pk_live_cS0AkN9LR0qquMUk9w4JGsaeoplwEuD MIXPANEL_TOKEN=5600dbc62a772c26f25b8df97ee54701 UNS_KEY=356a3eb3-d413-490a-94ac-4c9bb312ff49 -FIREBASE_FUNCTIONS_BASE_URL=https://us-central1-zksync-vue.cloudfunctions.net/ \ No newline at end of file +FIREBASE_FUNCTIONS_BASE_URL=https://us-central1-zksync-vue.cloudfunctions.net/ +SCREENING_API_URL=https://us-central1-screening-service.cloudfunctions.net/validate \ No newline at end of file diff --git a/environments/.env.goerli-beta b/environments/.env.goerli-beta index 4fa9e1bcd..d6a093fd9 100755 --- a/environments/.env.goerli-beta +++ b/environments/.env.goerli-beta @@ -6,4 +6,5 @@ UTORG_MAINNET_SID=zksynkio MOONPAY_MAINNET_API_PUBLIC_KEY=pk_live_cS0AkN9LR0qquMUk9w4JGsaeoplwEuD MIXPANEL_TOKEN=5600dbc62a772c26f25b8df97ee54701 UNS_KEY=356a3eb3-d413-490a-94ac-4c9bb312ff49 -FIREBASE_FUNCTIONS_BASE_URL=https://us-central1-zksync-vue.cloudfunctions.net/ \ No newline at end of file +FIREBASE_FUNCTIONS_BASE_URL=https://us-central1-zksync-vue.cloudfunctions.net/ +SCREENING_API_URL=https://us-central1-screening-service.cloudfunctions.net/validate \ No newline at end of file diff --git a/environments/.env.mainnet b/environments/.env.mainnet index 2ab92dc26..30226dacf 100755 --- a/environments/.env.mainnet +++ b/environments/.env.mainnet @@ -6,4 +6,5 @@ UTORG_MAINNET_SID=zksynkio MOONPAY_MAINNET_API_PUBLIC_KEY=pk_live_cS0AkN9LR0qquMUk9w4JGsaeoplwEuD MIXPANEL_TOKEN=d6ce0bc1434361893bfa0084a601710c UNS_KEY=356a3eb3-d413-490a-94ac-4c9bb312ff49 -FIREBASE_FUNCTIONS_BASE_URL=https://us-central1-zksync-vue.cloudfunctions.net/ \ No newline at end of file +FIREBASE_FUNCTIONS_BASE_URL=https://us-central1-zksync-vue.cloudfunctions.net/ +SCREENING_API_URL=https://us-central1-screening-service.cloudfunctions.net/validate \ No newline at end of file diff --git a/nuxt.config.ts b/nuxt.config.ts index 2f61b71f7..2b29cc4ee 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -226,6 +226,7 @@ const config = { ], restoreNetwork: true, logoutRedirect: "/", + screeningApiUrl: process.env.SCREENING_API_URL, }, ], ], diff --git a/package.json b/package.json index 2837f8029..1931ff9c1 100755 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "@inkline/nuxt": "^2.3.6", "@matterlabs/eslint-config-nuxt": "^1.0.6", "@matterlabs/prettier-config": "^1.0.2", - "@matterlabs/zksync-nuxt-core": "^1.11.3", + "@matterlabs/zksync-nuxt-core": "1.12.0-alpha.2", "@nuxt/typescript-runtime": "^2.1.0", "@nuxtjs/google-gtag": "^1.0.4", "@nuxtjs/sentry": "^5.1.7", diff --git a/yarn.lock b/yarn.lock index 3b1f155c3..694aecbe8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3550,9 +3550,9 @@ __metadata: languageName: node linkType: hard -"@matterlabs/zksync-nuxt-core@npm:^1.11.3": - version: 1.11.3 - resolution: "@matterlabs/zksync-nuxt-core@npm:1.11.3" +"@matterlabs/zksync-nuxt-core@npm:1.12.0-alpha.2": + version: 1.12.0-alpha.2 + resolution: "@matterlabs/zksync-nuxt-core@npm:1.12.0-alpha.2" dependencies: "@nuxtjs/axios": ^5.13.1 "@walletconnect/web3-provider": ^1.8.0 @@ -3578,7 +3578,7 @@ __metadata: ts-node: ^9.1.1 web3: ^1.5.3 zksync: ^0.13.1 - checksum: 3bfc7f12c1c75682bd7b8c5e10b604ca20c912d9ed15e6fec51ad07d8386734daf3ea0ab93f54ba1b150ea80d523bc1abb75e0ad6eca153fddf548110027d66f + checksum: fe56c6fe3c027574949424a74be1ad68e0b8d13d90a47d3f1f8f8c2fbe3acdd1e313df8a2e3f63e6832b9754b23bcd99396d9e100c7fbc7fefe8289d324fcf55 languageName: node linkType: hard @@ -3596,7 +3596,7 @@ __metadata: "@inkline/nuxt": ^2.3.6 "@matterlabs/eslint-config-nuxt": ^1.0.6 "@matterlabs/prettier-config": ^1.0.2 - "@matterlabs/zksync-nuxt-core": ^1.11.3 + "@matterlabs/zksync-nuxt-core": 1.12.0-alpha.2 "@nuxt/types": ^2.15.8 "@nuxt/typescript-build": ^2.1.0 "@nuxt/typescript-runtime": ^2.1.0