mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 22:04:21 +01:00
Bump Dart snippets SDK dependency to v0.2.9
This commit is contained in:
@@ -3,7 +3,7 @@ import 'package:breez_sdk/bridge_generated.dart';
|
||||
|
||||
Future<List<Payment>> listPayments() async {
|
||||
// ANCHOR: list-payments
|
||||
ListPaymentsRequest req = ListPaymentsRequest(filter: PaymentTypeFilter.All);
|
||||
ListPaymentsRequest req = ListPaymentsRequest();
|
||||
List<Payment> paymentsList = await BreezSDK().listPayments(req: req);
|
||||
print(paymentsList);
|
||||
// ANCHOR_END: list-payments
|
||||
@@ -22,7 +22,7 @@ Future<List<Payment>> listPaymentsFiltered({
|
||||
int fromTimestamp = DateTime.now().subtract(const Duration(minutes: 30)).millisecondsSinceEpoch ~/ 1000;
|
||||
|
||||
ListPaymentsRequest req = ListPaymentsRequest(
|
||||
filter: PaymentTypeFilter.Sent,
|
||||
filters: [PaymentTypeFilter.Sent],
|
||||
fromTimestamp: fromTimestamp,
|
||||
toTimestamp: toTimestamp,
|
||||
includeFailures: includeFailures,
|
||||
|
||||
@@ -57,7 +57,7 @@ packages:
|
||||
resolved-ref: "9629def110a9dd03413850a05e9709d3c9794b0d"
|
||||
url: "https://github.com/breez/breez-sdk-flutter"
|
||||
source: git
|
||||
version: "0.2.7"
|
||||
version: "0.2.9"
|
||||
build:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user