Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool committed Jul 2, 2024
1 parent 786aa14 commit 3955222
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 2.3.0-beta02
## 2.3.0-beta03

- One-Click Auth support

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Overview

WalletConnect Dart v2 package for WalletKit. https://walletconnect.com/walletkit.
WalletConnect Dart v2 package for WalletKit and AppKit. https://walletconnect.com/.

Check out official docs: https://docs.walletconnect.com/walletkit/overview
Check out official docs: https://docs.walletconnect.com/

# To Use

Expand Down
11 changes: 11 additions & 0 deletions lib/apis/sign_api/sign_engine.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,14 @@ class SignEngine implements ISignEngine {
final chainId = 'Chain ID: ${AddressUtils.getDidChainId(iss)}';
final nonce = 'Nonce: ${cacaoPayload.nonce}';
final issuedAt = 'Issued At: ${cacaoPayload.iat}';
final expirationTime = (cacaoPayload.exp != null)
? 'Expiration Time: ${cacaoPayload.exp}'
: null;
final notBefore =
(cacaoPayload.nbf != null) ? 'Not Before: ${cacaoPayload.nbf}' : null;
final requestId = (cacaoPayload.requestId != null)
? 'Request ID: ${cacaoPayload.requestId}'
: null;
final resources = cacaoPayload.resources != null &&
cacaoPayload.resources!.isNotEmpty
? 'Resources:\n${cacaoPayload.resources!.map((resource) => '- $resource').join('\n')}'
Expand All @@ -1923,6 +1931,9 @@ class SignEngine implements ISignEngine {
chainId,
nonce,
issuedAt,
expirationTime,
notBefore,
requestId,
resources,
].where((element) => element != null).join('\n');

Expand Down
2 changes: 1 addition & 1 deletion lib/src/version.dart

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

2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: walletconnect_flutter_v2
description: WalletConnect's official Dart library v2 for WalletKit and AppKit. The communications protocol for web3.
version: 2.3.0-beta02
version: 2.3.0-beta03
repository: https://github.com/WalletConnect/WalletConnectFlutterV2

environment:
Expand Down

0 comments on commit 3955222

Please sign in to comment.