Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Rename serializedParams to paramsJson
Browse files Browse the repository at this point in the history
  • Loading branch information
orhoj committed Mar 20, 2024
1 parent acacf00 commit 78102c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/wallet-connectors/src/WalletConnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ export class WalletConnectConnection implements WalletConnection {
challenge: string,
credentialStatements: CredentialStatements
): Promise<VerifiablePresentation> {
const serializedParams = JSONBigInt.stringify({ challenge, credentialStatements });
const params = { paramsJson: serializedParams };
const paramsJson = JSONBigInt.stringify({ challenge, credentialStatements });
const params = { paramsJson };
const result = await this.connector.client.request<{ verifiablePresentationJson: string }>({
topic: this.session.topic,
request: {
Expand Down

0 comments on commit 78102c5

Please sign in to comment.