Skip to content

Commit

Permalink
Merge pull request #183 from Outblock:94-event-tracking-add-mixpanel-…
Browse files Browse the repository at this point in the history
…event-tracking

94-event-tracking-add-mixpanel-event-tracking
  • Loading branch information
tombeckenham authored Nov 29, 2024
2 parents 94ee737 + ddf30d6 commit 8abaab6
Show file tree
Hide file tree
Showing 31 changed files with 1,147 additions and 225 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"@trustwallet/wallet-core": "^4.1.19",
"@tsparticles/engine": "^3.6.0",
"@tsparticles/react": "^3.0.0",
"@types/mixpanel-browser": "^2.50.2",
"@walletconnect/core": "^2.17.2",
"@walletconnect/jsonrpc-utils": "^1.0.8",
"@walletconnect/modal": "^2.7.0",
Expand Down Expand Up @@ -97,6 +98,7 @@
"lodash": "^4.17.21",
"loglevel": "^1.9.2",
"lru-cache": "^6.0.0",
"mixpanel-browser": "^2.56.0",
"nanoid": "^3.3.7",
"obs-store": "^4.0.3",
"process": "^0.11.10",
Expand Down
79 changes: 79 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions src/background/controller/provider/rpcFlow.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { ethErrors } from 'eth-rpc-errors';

import eventBus from '@/eventBus';
import { isValidEthereumAddress } from '@/ui/utils/address';
import {
keyringService,
notificationService,
Expand All @@ -7,10 +10,10 @@ import {
} from 'background/service';
import { PromiseFlow, underline2Camelcase } from 'background/utils';
import { EVENTS } from 'consts';
import providerController from './controller';
import eventBus from '@/eventBus';

import Wallet from '../wallet';
import { isValidEthereumAddress } from '@/ui/utils/address';

import providerController from './controller';

const isSignApproval = (type: string) => {
const SIGN_APPROVALS = ['SignText', 'SignTypedData', 'SignTx', 'EthConfirm'];
Expand Down
Loading

0 comments on commit 8abaab6

Please sign in to comment.