Skip to content

Commit

Permalink
chore: update web5 dependency (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-tbd authored Sep 4, 2024
1 parent 0e727d4 commit ef98115
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions lib/features/dap/dap_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class DapState {
'eth': 'USDC_ONCHAIN',
};

String? get protocol => selectedAddress?.css.split(':').firstOrNull;
String? get protocol => selectedAddress?.pss.split(':').firstOrNull;

String? get paymentAddress => selectedAddress?.css.split(':').lastOrNull;
String? get paymentAddress => selectedAddress?.pss.split(':').lastOrNull;

List<String>? get currencies =>
moneyAddresses?.map((address) => address.currency).toList();
Expand All @@ -35,7 +35,7 @@ class DapState {
final protocolKinds = moneyAddresses
?.map(
(address) =>
protocolToKindMap[address.css.split(':').firstOrNull ?? ''],
protocolToKindMap[address.pss.split(':').firstOrNull ?? ''],
)
.toSet();

Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ packages:
description:
path: "."
ref: main
resolved-ref: f05f43d2151aae7e268b64869ea4925f2ca358c6
resolved-ref: "36bd58a14dc74313baaa5a8967dc4e5a64482e9e"
url: "https://github.com/TBD54566975/dap-dart.git"
source: git
version: "0.1.0"
Expand Down Expand Up @@ -792,7 +792,7 @@ packages:
description:
path: "."
ref: main
resolved-ref: "658bfba6b3ca3938357177e5cab66080e0f41bbd"
resolved-ref: "04939d59eeebbb23d8f62a4a2be5752808cdf29e"
url: "https://github.com/TBD54566975/tbdex-dart.git"
source: git
version: "1.0.0"
Expand Down Expand Up @@ -936,10 +936,10 @@ packages:
dependency: "direct main"
description:
name: web5
sha256: e1561510262f1c773e09e2590af72672ebea1a7892840c966000d4377913ce83
sha256: b7b8641add97e29127d98616247442530506ded47bf73ce6ad4710e7202006d3
url: "https://pub.dev"
source: hosted
version: "0.2.0"
version: "0.3.0"
webview_flutter:
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 @@ -43,7 +43,7 @@ dependencies:
shared_preferences: ^2.2.2
url_launcher: ^6.2.5
webview_flutter: ^4.4.2
web5: ^0.2.0
web5: ^0.3.0

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit ef98115

Please sign in to comment.