Skip to content

Commit

Permalink
feat(app): add analytics entry (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleydon authored Sep 25, 2023
1 parent e3bdb2d commit 35ee3a4
Show file tree
Hide file tree
Showing 11 changed files with 1,132 additions and 929 deletions.
18 changes: 9 additions & 9 deletions apps/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@
},
"devDependencies": {
"@sveltejs/adapter-vercel": "^3.0.3",
"@sveltejs/kit": "^1.22.6",
"svelte": "^4.2.0",
"svelte-check": "^3.5.0",
"@sveltejs/kit": "^1.25.1",
"svelte": "^4.2.1",
"svelte-check": "^3.5.2",
"tslib": "^2.6.2",
"typescript": "^5.1.6",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module",
"dependencies": {
"@phala/util": "workspace:^",
"@rgossiaux/svelte-headlessui": "^2.0.0",
"@rgossiaux/svelte-heroicons": "^0.1.2",
"@tanstack/svelte-query": "^4.33.0",
"autoprefixer": "^10.4.15",
"chart.js": "^4.3.3",
"@tanstack/svelte-query": "^4.35.3",
"autoprefixer": "^10.4.16",
"chart.js": "^4.4.0",
"chartjs-adapter-date-fns": "^3.0.0",
"date-fns": "^2.30.0",
"decimal.js": "^10.4.3",
"graphql": "^16.8.0",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"postcss": "^8.4.28",
"postcss": "^8.4.30",
"svelte-chartjs": "^3.1.2",
"tailwindcss": "^3.3.3"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/app/components/PageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const PageHeader: FC<{
variant="h3"
component="h1"
display={{xs: 'none', sm: 'block'}}
my={{sm: 2, md: 3}}
py={{sm: 2, md: 3}}
>
{pageTitle ?? title}
</Typography>
Expand Down
1 change: 1 addition & 0 deletions apps/app/components/TopBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ const TopBar: FC = () => {
],
},
{label: 'SubBridge', href: 'https://subbridge.io'},
{label: 'Analytics', href: 'https://analytics.phala.network'},
{
label: 'DAO',
sub: [
Expand Down
42 changes: 21 additions & 21 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,54 +18,54 @@
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@mui/icons-material": "^5.14.3",
"@mui/lab": "5.0.0-alpha.140",
"@mui/material": "^5.14.5",
"@mui/x-data-grid": "^6.11.2",
"@mui/icons-material": "^5.14.9",
"@mui/lab": "5.0.0-alpha.145",
"@mui/material": "^5.14.10",
"@mui/x-data-grid": "^6.15.0",
"@phala/lib": "workspace:^",
"@phala/store": "workspace:^",
"@phala/util": "workspace:^",
"@polkadot/api": "^10.9.1",
"@polkadot/extension-inject": "^0.46.5",
"@polkadot/keyring": "^12.4.1",
"@polkadot/react-identicon": "^3.5.1",
"@polkadot/keyring": "^12.5.1",
"@polkadot/react-identicon": "^3.6.3",
"@polkadot/types": "^10.9.1",
"@polkadot/util": "^12.4.1",
"@polkadot/util": "^12.5.1",
"@talismn/connect-wallets": "^1.2.3",
"@tanstack/react-query": "^4.33.0",
"@tanstack/react-query-devtools": "^4.33.0",
"@types/react": "^18.2.20",
"@tanstack/react-query": "^4.35.3",
"@tanstack/react-query-devtools": "^4.35.3",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"ajv": "^8.12.0",
"date-fns": "^2.30.0",
"decimal.js": "^10.4.3",
"eslint": "^8.47.0",
"eslint-config-next": "^13.4.19",
"graphql": "^16.8.0",
"eslint": "^8.50.0",
"eslint-config-next": "^13.5.2",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"graphql-tag": "^2.12.6",
"jotai": "^2.3.1",
"jotai": "^2.4.2",
"jotai-devtools": "^0.6.2",
"lodash-es": "^4.17.21",
"mutative": "^0.6.0",
"next": "^13.4.19",
"next": "^13.5.2",
"notistack": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intersection-observer": "^9.5.2",
"react-markdown": "^8.0.7",
"react-snap-carousel": "^0.3.2",
"recharts": "^2.7.3",
"sharp": "^0.32.5",
"swr": "^2.2.1",
"typescript": "^5.1.6"
"recharts": "^2.8.0",
"sharp": "^0.32.6",
"swr": "^2.2.2",
"typescript": "^5.2.2"
},
"devDependencies": {
"@next/bundle-analyzer": "^13.4.19",
"@next/bundle-analyzer": "^13.5.2",
"@svgr/webpack": "^8.1.0",
"@swc-jotai/debug-label": "^0.1.0",
"@swc-jotai/react-refresh": "^0.1.0",
"@types/lodash-es": "^4.17.8",
"@types/lodash-es": "^4.17.9",
"@types/sharp": "^0.32.0"
}
}
2 changes: 1 addition & 1 deletion apps/subbridge/lib/evmSygma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const getEvmSygmaTransfer = async (
throw new Error('Chain or asset not supported')
}

const transfer = assetTransfer.createFungibleTransfer(
const transfer = await assetTransfer.createFungibleTransfer(
sender,
destinationChainId,
destinationAccount,
Expand Down
34 changes: 17 additions & 17 deletions apps/subbridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,45 @@
"lint:fix": "next lint --fix"
},
"dependencies": {
"@buildwithsygma/sygma-contracts": "2.3.0",
"@buildwithsygma/sygma-sdk-core": "2.2.0",
"@buildwithsygma/sygma-contracts": "2.4.1",
"@buildwithsygma/sygma-sdk-core": "2.3.0",
"@emotion/react": "^11.11.1",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@metamask/detect-provider": "^2.0.0",
"@metamask/providers": "^11.1.1",
"@mui/icons-material": "^5.14.3",
"@mui/lab": "5.0.0-alpha.140",
"@mui/material": "^5.14.5",
"@next/bundle-analyzer": "^13.4.19",
"@metamask/providers": "^13.0.0",
"@mui/icons-material": "^5.14.9",
"@mui/lab": "5.0.0-alpha.145",
"@mui/material": "^5.14.10",
"@next/bundle-analyzer": "^13.5.2",
"@phala/lib": "workspace:^",
"@phala/store": "workspace:^",
"@phala/util": "workspace:^",
"@polkadot/api": "^10.9.1",
"@polkadot/util": "^12.4.1",
"@polkadot/util-crypto": "^12.4.1",
"@polkadot/util": "^12.5.1",
"@polkadot/util-crypto": "^12.5.1",
"@talismn/connect-components": "^1.1.7",
"@talismn/connect-ui": "^1.1.2",
"@talismn/connect-wallets": "^1.2.3",
"decimal.js": "^10.4.3",
"ethers": "^5.7.2",
"jotai": "^2.3.1",
"jotai": "^2.4.2",
"jotai-devtools": "^0.6.2",
"next": "^13.4.19",
"next": "^13.5.2",
"next-images": "^1.8.5",
"notistack": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"swr": "^2.2.1"
"swr": "^2.2.2"
},
"devDependencies": {
"@phala/eslint-config": "workspace:^",
"@svgr/webpack": "^8.1.0",
"@types/node": "^18.17.6",
"@types/react": "^18.2.20",
"@types/node": "^18.17.19",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"eslint": "^8.47.0",
"eslint-config-next": "^13.4.19",
"typescript": "^5.1.6"
"eslint": "^8.50.0",
"eslint-config-next": "^13.5.2",
"typescript": "^5.2.2"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
},
"devDependencies": {
"@total-typescript/ts-reset": "^0.5.1",
"@types/node": "^18.17.6",
"@types/node": "^18.17.19",
"husky": "^8.0.3",
"turbo": "latest",
"typescript": "^5.1.6"
"turbo": "^1.10.14",
"typescript": "^5.2.2"
},
"packageManager": "[email protected]"
}
12 changes: 6 additions & 6 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"version": "0.0.0",
"main": "index.js",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.4.0",
"eslint": "^8.47.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^38.0.0",
"eslint-config-standard-with-typescript": "^39.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^3.0.2",
"typescript": "^5.1.6"
"prettier": "^3.0.3",
"typescript": "^5.2.2"
}
}
4 changes: 2 additions & 2 deletions packages/polkadot-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"devDependencies": {
"@phala/typedefs": "^0.2.33",
"@polkadot/typegen": "^10.9.1",
"@types/node": "^18.17.6",
"@types/node": "^18.17.19",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},
"dependencies": {
"@polkadot/api": "^10.9.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"check": "tsc --project ./tsconfig.json --noEmit"
},
"dependencies": {
"@polkadot/keyring": "^12.4.1",
"@polkadot/util": "^12.4.1",
"@polkadot/keyring": "^12.5.1",
"@polkadot/util": "^12.5.1",
"decimal.js": "^10.4.3"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 35ee3a4

Please sign in to comment.