Skip to content
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

Introduce connectAndSignIn #908

Merged
merged 3 commits into from
Jun 28, 2023
Merged

Introduce connectAndSignIn #908

merged 3 commits into from
Jun 28, 2023

Conversation

bangtoven
Copy link
Contributor

Summary

How did you test your changes?

Comment on lines +34 to +43
RequestEthereumAccountsBaseParams & {
domain: string;
aud: string;
version: string;
type: string;
nonce: string;
iat: string;
chainId: string;
statement?: string;
resources?: string[];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it includes RequestEthereumAccountsBaseParams

Comment on lines +29 to +34
export type ConnectAndSignInResponse = BaseWeb3Response<{
addresses: AddressString[];
message: string;
signature: HexString;
}>;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

open to suggestions

@@ -858,6 +860,31 @@ export class WalletLinkRelay extends WalletSDKRelayAbstract {
}
}

// WIP
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

having it private for now.
will be exposed as public once it's done.

@bangtoven bangtoven marked this pull request as ready for review June 28, 2023 01:47
@bangtoven bangtoven requested a review from vishnumad June 28, 2023 01:47
@bangtoven bangtoven enabled auto-merge (squash) June 28, 2023 01:48
// WIP
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
private connectAndSignIn(_params: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: _params to params

@bangtoven bangtoven merged commit 2669139 into master Jun 28, 2023
11 of 12 checks passed
@bangtoven bangtoven deleted the jungho/connect-and-sign-in branch June 28, 2023 15:47
@bangtoven bangtoven mentioned this pull request Jun 29, 2023
bangtoven added a commit that referenced this pull request Feb 29, 2024
* Introduce connectAndSignIn

* simpler

* linter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants