Skip to content

Commit

Permalink
switch port
Browse files Browse the repository at this point in the history
  • Loading branch information
SamueleA committed Apr 30, 2024
1 parent 1512d8c commit 811987c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/react-waas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.2.0",
"type": "module",
"scripts": {
"start": "vite --port 4444",
"start": "vite --port 3000",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
Expand Down
3 changes: 2 additions & 1 deletion examples/react-waas/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ const queryClient = new QueryClient()
const chains: readonly [Chain, ...Chain[]] = [arbitrumNova as Chain, arbitrumSepolia as Chain, mainnet as Chain, polygon as Chain]

// replace with your keys, and better to use env vars
const projectAccessKey = 'T3czhtWsTONJpbjFgAdLAuEAAAAAAAAA'
// const projectAccessKey = 'T3czhtWsTONJpbjFgAdLAuEAAAAAAAAA'
const projectAccessKey = 'AQAAAAAAAAK2JvvZhWqZ51riasWBftkrVXE'
// const waasConfigKey = 'eyJwcm9qZWN0SWQiOjc1LCJycGNTZXJ2ZXIiOiJodHRwczovL3dhYXMuc2VxdWVuY2UuYXBwIn0='
const waasConfigKey = 'eyJwcm9qZWN0SWQiOjY5NCwicnBjU2VydmVyIjoiaHR0cHM6Ly9kZXYtd2Fhcy5zZXF1ZW5jZS5hcHAiLCJlbWFpbFJlZ2lvbiI6ImNhLWNlbnRyYWwtMSIsImVtYWlsQ2xpZW50SWQiOiI1NGF0bjV1cGk2M3FjNTlhMWVtM3ZiaHJzbiJ9'
const googleClientId = '603294233249-6h5saeg2uiu8akpcbar3r2aqjp6j7oem.apps.googleusercontent.com'
Expand Down
2 changes: 1 addition & 1 deletion examples/react/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default defineConfig(() => {
},
server: {
minify: false,
port: 4444,
port: 3000,
fs: {
// Allow serving files from one level up to the project root
allow: ['..']
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/src/defaultConnectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const getDefaultWaasConnectors = ({
enableConfirmationModal
}: GetDefaultWaasConnectors): CreateConnectorFn[] => {
const wallets: any[] = [
// emailWaas({ projectAccessKey, waasConfigKey, enableConfirmationModal, network: defaultChainId }),
emailWaas({ projectAccessKey, waasConfigKey, enableConfirmationModal, network: defaultChainId }),
coinbaseWallet({
appName
}),
Expand Down

0 comments on commit 811987c

Please sign in to comment.