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

Releases: WalletConnect/auth-client-js

2.1.2

Choose a tag to compare

@ganchoradkov ganchoradkov released this 14 Sep 08:34

What's Changed

Full Changelog: 2.1.1...2.1.2

2.1.1

Choose a tag to compare

@bkrem bkrem released this 17 Jul 10:08

What's Changed

New Contributors

Full Changelog: 2.1.0...2.1.1

2.1.0

Choose a tag to compare

@ganchoradkov ganchoradkov released this 04 May 15:09
d54c846

What's Changed

New Contributors

Full Changelog: 2.0.7...2.1.0

2.0.7

Choose a tag to compare

@ganchoradkov ganchoradkov released this 06 Apr 09:02
d46465c

What's Changed

Full Changelog: 2.0.6...2.0.7

2.0.6

Choose a tag to compare

@bkrem bkrem released this 03 Apr 08:56

What's Changed

  • fix(engine): ensure AuthEngine only attempts decrypt on own TYPE_1 msgs by @bkrem in #68

Full Changelog: 2.0.5...2.0.6

2.0.5

Choose a tag to compare

@xzilja xzilja released this 29 Mar 10:23
20c2a56

What's Changed

Full Changelog: 2.0.4...2.0.5

2.0.4

Choose a tag to compare

@bkrem bkrem released this 22 Mar 15:20

What's Changed

  • chore(cacao-payload): added chainId in the cacao payload by @Cali93 in #63
  • chore: update all walletconnect deps by @bkrem in #64

New Contributors

Full Changelog: 2.0.3...2.0.4

2.0.3

Choose a tag to compare

@bkrem bkrem released this 15 Feb 10:34

What's Changed

  • fix(engine): fixes known pairing request flow, use pairing.create() over pre-pairing API manual creation by @bkrem in #62

Full Changelog: 2.0.2...2.0.3

v2.0.0

Choose a tag to compare

@ganchoradkov ganchoradkov released this 16 Dec 10:48

What's Changed

Important changes when upgrading from 1.x to 2.0.0

  • BREAKING CHANGE authClient.respond(params, iss) requires an additional param iss
  • new formatMessage(payload, iss) added to format incoming auth requests

Usage example

authClient.on("auth_request", async ({ id, args }) => {

  // the user’s address
  const iss = `did:pkh:eip155:1:${WALLET_ADDRESS}`;

  // format the cacao payload with the user’s address
  const message = authClient.formatMessage(args.params.cacaoPayload, iss);
  
  // This is a good point to trigger a UI event to provide the user
  // with a button to accept or reject the authentication request,
  // instead of automatically responding.
  const signature = await wallet.signMessage(params.message);

  await authClient.respond({
    id: id,
    signature: {
      s: signature,
      t: "eip191",
    },
    iss,
  });
});

Full Changelog: 1.0.1...v2.0.0

1.0.1

Choose a tag to compare

@bkrem bkrem released this 11 Nov 14:08

What's Changed

  • refactor(signature): implements "bare-metal" EIP-1271 sig validation, reduce bundle size by ~32% by @bkrem in #48

Full Changelog: 1.0.0...1.0.1