-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LW-9813] Create posthog alias after new wallet is restored #906
[LW-9813] Create posthog alias after new wallet is restored #906
Conversation
Allure report
smokeTests: ✅ test report for b1c8acd4
|
dd8c73b
to
c8c7217
Compare
Changes unknown |
c76c207
to
d7da760
Compare
connectedDevice: model, | ||
deviceConnection: connection, | ||
name, | ||
accountIndex: account | ||
}); | ||
await analytics.sendMergeEvent(source.account.extendedAccountPublicKey); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure we want to send the public key in plain text?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its not sent as is. Its hashed first with generateWalletBasedUserId
.
@@ -53,7 +56,8 @@ export const RestoreRecoveryPhrase = (): JSX.Element => { | |||
}} | |||
onSubmit={useCallback(async () => { | |||
try { | |||
await createWallet(data); | |||
const { source } = await createWallet(data); | |||
await analytics.sendMergeEvent(source.account.extendedAccountPublicKey); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure we want to send & save the public key in plain text?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not sent as is. It's hashed first with generateWalletBasedUserId
.
...ension-wallet/src/views/browser-view/features/wallet-setup/components/HardwareWalletFlow.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
daa2543
to
e4ed066
Compare
d7da760
to
5a847e6
Compare
9f3fdb4
to
caa9ebc
Compare
caa9ebc
to
d30d8fa
Compare
d30d8fa
to
b1c8acd
Compare
Quality Gate passedIssues Measures |
Checklist
Proposed solution
Testing
Posthog user aliasing
Hardware wallet operations immediately after onboarding
Screenshots
Attach screenshots here if implementation involves some UI changes