mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-23 08:54:22 +01:00
Rename namespace (#345)
* Rename namespace * Fix flutter build * Fix kotlin-multiplatform CI * Rename repositories
This commit is contained in:
@@ -197,31 +197,6 @@ enum LiquidNetwork {
|
||||
;
|
||||
}
|
||||
|
||||
@freezed
|
||||
sealed class LiquidSdkEvent with _$LiquidSdkEvent {
|
||||
const LiquidSdkEvent._();
|
||||
|
||||
const factory LiquidSdkEvent.paymentFailed({
|
||||
required Payment details,
|
||||
}) = LiquidSdkEvent_PaymentFailed;
|
||||
const factory LiquidSdkEvent.paymentPending({
|
||||
required Payment details,
|
||||
}) = LiquidSdkEvent_PaymentPending;
|
||||
const factory LiquidSdkEvent.paymentRefunded({
|
||||
required Payment details,
|
||||
}) = LiquidSdkEvent_PaymentRefunded;
|
||||
const factory LiquidSdkEvent.paymentRefundPending({
|
||||
required Payment details,
|
||||
}) = LiquidSdkEvent_PaymentRefundPending;
|
||||
const factory LiquidSdkEvent.paymentSucceeded({
|
||||
required Payment details,
|
||||
}) = LiquidSdkEvent_PaymentSucceeded;
|
||||
const factory LiquidSdkEvent.paymentWaitingConfirmation({
|
||||
required Payment details,
|
||||
}) = LiquidSdkEvent_PaymentWaitingConfirmation;
|
||||
const factory LiquidSdkEvent.synced() = LiquidSdkEvent_Synced;
|
||||
}
|
||||
|
||||
@freezed
|
||||
sealed class LnUrlPayResult with _$LnUrlPayResult {
|
||||
const LnUrlPayResult._();
|
||||
@@ -823,6 +798,31 @@ class RestoreRequest {
|
||||
other is RestoreRequest && runtimeType == other.runtimeType && backupPath == other.backupPath;
|
||||
}
|
||||
|
||||
@freezed
|
||||
sealed class SdkEvent with _$SdkEvent {
|
||||
const SdkEvent._();
|
||||
|
||||
const factory SdkEvent.paymentFailed({
|
||||
required Payment details,
|
||||
}) = SdkEvent_PaymentFailed;
|
||||
const factory SdkEvent.paymentPending({
|
||||
required Payment details,
|
||||
}) = SdkEvent_PaymentPending;
|
||||
const factory SdkEvent.paymentRefunded({
|
||||
required Payment details,
|
||||
}) = SdkEvent_PaymentRefunded;
|
||||
const factory SdkEvent.paymentRefundPending({
|
||||
required Payment details,
|
||||
}) = SdkEvent_PaymentRefundPending;
|
||||
const factory SdkEvent.paymentSucceeded({
|
||||
required Payment details,
|
||||
}) = SdkEvent_PaymentSucceeded;
|
||||
const factory SdkEvent.paymentWaitingConfirmation({
|
||||
required Payment details,
|
||||
}) = SdkEvent_PaymentWaitingConfirmation;
|
||||
const factory SdkEvent.synced() = SdkEvent_Synced;
|
||||
}
|
||||
|
||||
class SendPaymentResponse {
|
||||
final Payment payment;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user