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 {
|
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,
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user