Bump Dart snippets SDK dependency to v0.2.9

This commit is contained in:
ok300
2023-11-13 15:44:35 +01:00
parent a80ef49d96
commit 4c50c6d026
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ import 'package:breez_sdk/bridge_generated.dart';
Future<List<Payment>> listPayments() async { Future<List<Payment>> listPayments() async {
// ANCHOR: list-payments // ANCHOR: list-payments
ListPaymentsRequest req = ListPaymentsRequest(filter: PaymentTypeFilter.All); ListPaymentsRequest req = ListPaymentsRequest();
List<Payment> paymentsList = await BreezSDK().listPayments(req: req); List<Payment> paymentsList = await BreezSDK().listPayments(req: req);
print(paymentsList); print(paymentsList);
// ANCHOR_END: list-payments // ANCHOR_END: list-payments
@@ -22,7 +22,7 @@ Future<List<Payment>> listPaymentsFiltered({
int fromTimestamp = DateTime.now().subtract(const Duration(minutes: 30)).millisecondsSinceEpoch ~/ 1000; int fromTimestamp = DateTime.now().subtract(const Duration(minutes: 30)).millisecondsSinceEpoch ~/ 1000;
ListPaymentsRequest req = ListPaymentsRequest( ListPaymentsRequest req = ListPaymentsRequest(
filter: PaymentTypeFilter.Sent, filters: [PaymentTypeFilter.Sent],
fromTimestamp: fromTimestamp, fromTimestamp: fromTimestamp,
toTimestamp: toTimestamp, toTimestamp: toTimestamp,
includeFailures: includeFailures, includeFailures: includeFailures,

View File

@@ -57,7 +57,7 @@ packages:
resolved-ref: "9629def110a9dd03413850a05e9709d3c9794b0d" resolved-ref: "9629def110a9dd03413850a05e9709d3c9794b0d"
url: "https://github.com/breez/breez-sdk-flutter" url: "https://github.com/breez/breez-sdk-flutter"
source: git source: git
version: "0.2.7" version: "0.2.9"
build: build:
dependency: transitive dependency: transitive
description: description: