Skip to content

Commit

Permalink
chore(deps): Updated hashlib so that we gain access to `valueString…
Browse files Browse the repository at this point in the history
…()` method.
  • Loading branch information
Skyost committed Jul 11, 2024
1 parent b225ae1 commit 48cba96
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/model/totp/decrypted.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class DecryptedTotp extends Totp {
);

/// Generates a code using the [generator].
String generateCode() => generator.value().toString().padLeft(digits ?? Totp.kDefaultDigits, '0');
String generateCode() => generator.valueString();

@override
List<Object?> get props => [...super.props, secret, label, issuer];
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -673,10 +673,10 @@ packages:
dependency: "direct main"
description:
name: hashlib
sha256: "5037d3b8c36384c03a728543ae67d962a56970c5432a50862279fe68ee4c8411"
sha256: d41795742c10947930630118c6836608deeb9047cd05aee32d2baeb697afd66a
url: "https://pub.dev"
source: hosted
version: "1.19.1"
version: "1.19.2"
hashlib_codecs:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies:
purchases_ui_flutter: ^6.30.0
rate_my_app: ^2.2.0
app_links: ^6.1.4
hashlib: ^1.19.1
hashlib: ^1.19.2
hashlib_codecs: ^2.5.0
yaml_magic: ^1.0.6
conventional_commit: ^0.6.0+1
Expand Down

0 comments on commit 48cba96

Please sign in to comment.