@xstoicunicornx/payjoin_test 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/payjoin.d.ts +843 -167
- package/dist/generated/payjoin.d.ts.map +1 -1
- package/dist/generated/payjoin.js +1267 -78
- package/dist/generated/payjoin.js.map +1 -1
- package/dist/generated/wasm-bindgen/index.d.ts +186 -0
- package/dist/generated/wasm-bindgen/index.js +1257 -82
- package/dist/generated/wasm-bindgen/index_bg.wasm +0 -0
- package/dist/generated/wasm-bindgen/index_bg.wasm.d.ts +200 -14
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type UniffiByteArray, type
|
|
1
|
+
import { type UniffiByteArray, type UniffiGcObject, type UniffiHandle, FfiConverterObject, FfiConverterObjectAsError, FfiConverterObjectWithCallbacks, RustBuffer, UniffiAbstractObject, UniffiThrownObject, destructorGuardSymbol, pointerLiteralSymbol, uniffiTypeNameSymbol } from "uniffi-bindgen-react-native";
|
|
2
2
|
export declare function replayReceiverEventLog(persister: JsonReceiverSessionPersister): ReplayResultInterface;
|
|
3
3
|
export declare function replayReceiverEventLogAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
4
4
|
signal: AbortSignal;
|
|
@@ -3839,9 +3839,21 @@ export interface AddressParseErrorInterface {
|
|
|
3839
3839
|
*/
|
|
3840
3840
|
export declare class AddressParseError extends UniffiAbstractObject implements AddressParseErrorInterface {
|
|
3841
3841
|
readonly [uniffiTypeNameSymbol] = "AddressParseError";
|
|
3842
|
-
readonly [destructorGuardSymbol]:
|
|
3843
|
-
readonly [pointerLiteralSymbol]:
|
|
3842
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
3843
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
3844
3844
|
private constructor();
|
|
3845
|
+
/**
|
|
3846
|
+
* Calls into the `Debug` string representation of `AddressParseErrorInterface` (the native Rust peer).
|
|
3847
|
+
*
|
|
3848
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
3849
|
+
*/
|
|
3850
|
+
toDebugString(): string;
|
|
3851
|
+
/**
|
|
3852
|
+
* Calls into the `AddressParseErrorInterface::to_string()` method of the native Rust peer.
|
|
3853
|
+
*
|
|
3854
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
3855
|
+
*/
|
|
3856
|
+
toString(): string;
|
|
3845
3857
|
/**
|
|
3846
3858
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
3847
3859
|
*/
|
|
@@ -3856,8 +3868,8 @@ export interface AssumeInteractiveTransitionInterface {
|
|
|
3856
3868
|
}
|
|
3857
3869
|
export declare class AssumeInteractiveTransition extends UniffiAbstractObject implements AssumeInteractiveTransitionInterface {
|
|
3858
3870
|
readonly [uniffiTypeNameSymbol] = "AssumeInteractiveTransition";
|
|
3859
|
-
readonly [destructorGuardSymbol]:
|
|
3860
|
-
readonly [pointerLiteralSymbol]:
|
|
3871
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
3872
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
3861
3873
|
private constructor();
|
|
3862
3874
|
save(persister: JsonReceiverSessionPersister): MaybeInputsOwnedInterface;
|
|
3863
3875
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -3883,9 +3895,30 @@ export interface BuildSenderErrorInterface {
|
|
|
3883
3895
|
*/
|
|
3884
3896
|
export declare class BuildSenderError extends UniffiAbstractObject implements BuildSenderErrorInterface {
|
|
3885
3897
|
readonly [uniffiTypeNameSymbol] = "BuildSenderError";
|
|
3886
|
-
readonly [destructorGuardSymbol]:
|
|
3887
|
-
readonly [pointerLiteralSymbol]:
|
|
3898
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
3899
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
3888
3900
|
private constructor();
|
|
3901
|
+
/**
|
|
3902
|
+
* Calls into the `Debug` string representation of `BuildSenderErrorInterface` (the native Rust peer).
|
|
3903
|
+
*
|
|
3904
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
3905
|
+
*/
|
|
3906
|
+
toDebugString(): string;
|
|
3907
|
+
/**
|
|
3908
|
+
* Calls into the `BuildSenderErrorInterface::to_string()` method of the native Rust peer.
|
|
3909
|
+
*
|
|
3910
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
3911
|
+
*/
|
|
3912
|
+
toString(): string;
|
|
3913
|
+
/**
|
|
3914
|
+
* Calls into the `==` method of `BuildSenderErrorInterface` (the native Rust peer).
|
|
3915
|
+
*
|
|
3916
|
+
* Returns `true` if and only if the two instance of `BuildSenderErrorInterface` are
|
|
3917
|
+
* equivalent on the Rust side.
|
|
3918
|
+
*
|
|
3919
|
+
* Generated by deriving the `Eq` trait in Rust.
|
|
3920
|
+
*/
|
|
3921
|
+
equals(other: BuildSenderError): boolean;
|
|
3889
3922
|
/**
|
|
3890
3923
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
3891
3924
|
*/
|
|
@@ -3897,8 +3930,8 @@ export interface CanBroadcast {
|
|
|
3897
3930
|
}
|
|
3898
3931
|
export declare class CanBroadcastImpl extends UniffiAbstractObject implements CanBroadcast {
|
|
3899
3932
|
readonly [uniffiTypeNameSymbol] = "CanBroadcastImpl";
|
|
3900
|
-
readonly [destructorGuardSymbol]:
|
|
3901
|
-
readonly [pointerLiteralSymbol]:
|
|
3933
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
3934
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
3902
3935
|
private constructor();
|
|
3903
3936
|
callback(tx: ArrayBuffer): boolean;
|
|
3904
3937
|
/**
|
|
@@ -3907,12 +3940,53 @@ export declare class CanBroadcastImpl extends UniffiAbstractObject implements Ca
|
|
|
3907
3940
|
uniffiDestroy(): void;
|
|
3908
3941
|
static instanceOf(obj: any): obj is CanBroadcastImpl;
|
|
3909
3942
|
}
|
|
3943
|
+
/**
|
|
3944
|
+
* A terminal transition produced by cancelling a receiver session.
|
|
3945
|
+
*/
|
|
3946
|
+
export interface CancelTransitionInterface {
|
|
3947
|
+
/**
|
|
3948
|
+
* Persist the cancellation and return the fallback transaction if available.
|
|
3949
|
+
*
|
|
3950
|
+
* The fallback transaction is the consensus-encoded raw transaction bytes,
|
|
3951
|
+
* or `None` if the session was cancelled before the sender's original
|
|
3952
|
+
* proposal was received.
|
|
3953
|
+
*/
|
|
3954
|
+
save(persister: JsonReceiverSessionPersister): ArrayBuffer | undefined;
|
|
3955
|
+
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
3956
|
+
signal: AbortSignal;
|
|
3957
|
+
}): Promise<ArrayBuffer | undefined>;
|
|
3958
|
+
}
|
|
3959
|
+
/**
|
|
3960
|
+
* A terminal transition produced by cancelling a receiver session.
|
|
3961
|
+
*/
|
|
3962
|
+
export declare class CancelTransition extends UniffiAbstractObject implements CancelTransitionInterface {
|
|
3963
|
+
readonly [uniffiTypeNameSymbol] = "CancelTransition";
|
|
3964
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
3965
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
3966
|
+
private constructor();
|
|
3967
|
+
/**
|
|
3968
|
+
* Persist the cancellation and return the fallback transaction if available.
|
|
3969
|
+
*
|
|
3970
|
+
* The fallback transaction is the consensus-encoded raw transaction bytes,
|
|
3971
|
+
* or `None` if the session was cancelled before the sender's original
|
|
3972
|
+
* proposal was received.
|
|
3973
|
+
*/
|
|
3974
|
+
save(persister: JsonReceiverSessionPersister): ArrayBuffer | undefined;
|
|
3975
|
+
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
3976
|
+
signal: AbortSignal;
|
|
3977
|
+
}): Promise<ArrayBuffer | undefined>;
|
|
3978
|
+
/**
|
|
3979
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
3980
|
+
*/
|
|
3981
|
+
uniffiDestroy(): void;
|
|
3982
|
+
static instanceOf(obj: any): obj is CancelTransition;
|
|
3983
|
+
}
|
|
3910
3984
|
export interface ClientResponseInterface {
|
|
3911
3985
|
}
|
|
3912
3986
|
export declare class ClientResponse extends UniffiAbstractObject implements ClientResponseInterface {
|
|
3913
3987
|
readonly [uniffiTypeNameSymbol] = "ClientResponse";
|
|
3914
|
-
readonly [destructorGuardSymbol]:
|
|
3915
|
-
readonly [pointerLiteralSymbol]:
|
|
3988
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
3989
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
3916
3990
|
private constructor();
|
|
3917
3991
|
/**
|
|
3918
3992
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
@@ -3938,9 +4012,21 @@ export interface CreateRequestErrorInterface {
|
|
|
3938
4012
|
*/
|
|
3939
4013
|
export declare class CreateRequestError extends UniffiAbstractObject implements CreateRequestErrorInterface {
|
|
3940
4014
|
readonly [uniffiTypeNameSymbol] = "CreateRequestError";
|
|
3941
|
-
readonly [destructorGuardSymbol]:
|
|
3942
|
-
readonly [pointerLiteralSymbol]:
|
|
4015
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4016
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
3943
4017
|
private constructor();
|
|
4018
|
+
/**
|
|
4019
|
+
* Calls into the `Debug` string representation of `CreateRequestErrorInterface` (the native Rust peer).
|
|
4020
|
+
*
|
|
4021
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
4022
|
+
*/
|
|
4023
|
+
toDebugString(): string;
|
|
4024
|
+
/**
|
|
4025
|
+
* Calls into the `CreateRequestErrorInterface::to_string()` method of the native Rust peer.
|
|
4026
|
+
*
|
|
4027
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
4028
|
+
*/
|
|
4029
|
+
toString(): string;
|
|
3944
4030
|
/**
|
|
3945
4031
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
3946
4032
|
*/
|
|
@@ -3959,9 +4045,21 @@ export interface EncapsulationErrorInterface {
|
|
|
3959
4045
|
*/
|
|
3960
4046
|
export declare class EncapsulationError extends UniffiAbstractObject implements EncapsulationErrorInterface {
|
|
3961
4047
|
readonly [uniffiTypeNameSymbol] = "EncapsulationError";
|
|
3962
|
-
readonly [destructorGuardSymbol]:
|
|
3963
|
-
readonly [pointerLiteralSymbol]:
|
|
4048
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4049
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
3964
4050
|
private constructor();
|
|
4051
|
+
/**
|
|
4052
|
+
* Calls into the `Debug` string representation of `EncapsulationErrorInterface` (the native Rust peer).
|
|
4053
|
+
*
|
|
4054
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
4055
|
+
*/
|
|
4056
|
+
toDebugString(): string;
|
|
4057
|
+
/**
|
|
4058
|
+
* Calls into the `EncapsulationErrorInterface::to_string()` method of the native Rust peer.
|
|
4059
|
+
*
|
|
4060
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
4061
|
+
*/
|
|
4062
|
+
toString(): string;
|
|
3965
4063
|
/**
|
|
3966
4064
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
3967
4065
|
*/
|
|
@@ -3972,9 +4070,21 @@ export interface FeeRateErrorInterface {
|
|
|
3972
4070
|
}
|
|
3973
4071
|
export declare class FeeRateError extends UniffiAbstractObject implements FeeRateErrorInterface {
|
|
3974
4072
|
readonly [uniffiTypeNameSymbol] = "FeeRateError";
|
|
3975
|
-
readonly [destructorGuardSymbol]:
|
|
3976
|
-
readonly [pointerLiteralSymbol]:
|
|
4073
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4074
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
3977
4075
|
private constructor();
|
|
4076
|
+
/**
|
|
4077
|
+
* Calls into the `Debug` string representation of `FeeRateErrorInterface` (the native Rust peer).
|
|
4078
|
+
*
|
|
4079
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
4080
|
+
*/
|
|
4081
|
+
toDebugString(): string;
|
|
4082
|
+
/**
|
|
4083
|
+
* Calls into the `FeeRateErrorInterface::to_string()` method of the native Rust peer.
|
|
4084
|
+
*
|
|
4085
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
4086
|
+
*/
|
|
4087
|
+
toString(): string;
|
|
3978
4088
|
/**
|
|
3979
4089
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
3980
4090
|
*/
|
|
@@ -3984,14 +4094,34 @@ export declare class FeeRateError extends UniffiAbstractObject implements FeeRat
|
|
|
3984
4094
|
static getInner(err: UniffiThrownObject<FeeRateError>): FeeRateError;
|
|
3985
4095
|
}
|
|
3986
4096
|
export interface HasReplyableErrorInterface {
|
|
4097
|
+
/**
|
|
4098
|
+
* Cancel the Payjoin session immediately.
|
|
4099
|
+
*
|
|
4100
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4101
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4102
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4103
|
+
*
|
|
4104
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4105
|
+
*/
|
|
4106
|
+
cancel(): CancelTransitionInterface;
|
|
3987
4107
|
createErrorRequest(ohttpRelay: string): RequestResponse;
|
|
3988
4108
|
processErrorResponse(body: ArrayBuffer, ohttpContext: ClientResponseInterface): HasReplyableErrorTransitionInterface;
|
|
3989
4109
|
}
|
|
3990
4110
|
export declare class HasReplyableError extends UniffiAbstractObject implements HasReplyableErrorInterface {
|
|
3991
4111
|
readonly [uniffiTypeNameSymbol] = "HasReplyableError";
|
|
3992
|
-
readonly [destructorGuardSymbol]:
|
|
3993
|
-
readonly [pointerLiteralSymbol]:
|
|
4112
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4113
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
3994
4114
|
private constructor();
|
|
4115
|
+
/**
|
|
4116
|
+
* Cancel the Payjoin session immediately.
|
|
4117
|
+
*
|
|
4118
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4119
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4120
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4121
|
+
*
|
|
4122
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4123
|
+
*/
|
|
4124
|
+
cancel(): CancelTransitionInterface;
|
|
3995
4125
|
createErrorRequest(ohttpRelay: string): RequestResponse;
|
|
3996
4126
|
processErrorResponse(body: ArrayBuffer, ohttpContext: ClientResponseInterface): HasReplyableErrorTransitionInterface;
|
|
3997
4127
|
/**
|
|
@@ -4008,8 +4138,8 @@ export interface HasReplyableErrorTransitionInterface {
|
|
|
4008
4138
|
}
|
|
4009
4139
|
export declare class HasReplyableErrorTransition extends UniffiAbstractObject implements HasReplyableErrorTransitionInterface {
|
|
4010
4140
|
readonly [uniffiTypeNameSymbol] = "HasReplyableErrorTransition";
|
|
4011
|
-
readonly [destructorGuardSymbol]:
|
|
4012
|
-
readonly [pointerLiteralSymbol]:
|
|
4141
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4142
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4013
4143
|
private constructor();
|
|
4014
4144
|
save(persister: JsonReceiverSessionPersister): void;
|
|
4015
4145
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -4035,9 +4165,21 @@ export interface ImplementationErrorInterface {
|
|
|
4035
4165
|
*/
|
|
4036
4166
|
export declare class ImplementationError extends UniffiAbstractObject implements ImplementationErrorInterface {
|
|
4037
4167
|
readonly [uniffiTypeNameSymbol] = "ImplementationError";
|
|
4038
|
-
readonly [destructorGuardSymbol]:
|
|
4039
|
-
readonly [pointerLiteralSymbol]:
|
|
4168
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4169
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4040
4170
|
private constructor();
|
|
4171
|
+
/**
|
|
4172
|
+
* Calls into the `Debug` string representation of `ImplementationErrorInterface` (the native Rust peer).
|
|
4173
|
+
*
|
|
4174
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
4175
|
+
*/
|
|
4176
|
+
toDebugString(): string;
|
|
4177
|
+
/**
|
|
4178
|
+
* Calls into the `ImplementationErrorInterface::to_string()` method of the native Rust peer.
|
|
4179
|
+
*
|
|
4180
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
4181
|
+
*/
|
|
4182
|
+
toString(): string;
|
|
4041
4183
|
/**
|
|
4042
4184
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
4043
4185
|
*/
|
|
@@ -4052,8 +4194,8 @@ export interface InitialReceiveTransitionInterface {
|
|
|
4052
4194
|
}
|
|
4053
4195
|
export declare class InitialReceiveTransition extends UniffiAbstractObject implements InitialReceiveTransitionInterface {
|
|
4054
4196
|
readonly [uniffiTypeNameSymbol] = "InitialReceiveTransition";
|
|
4055
|
-
readonly [destructorGuardSymbol]:
|
|
4056
|
-
readonly [pointerLiteralSymbol]:
|
|
4197
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4198
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4057
4199
|
private constructor();
|
|
4058
4200
|
save(persister: JsonReceiverSessionPersister): InitializedInterface;
|
|
4059
4201
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -4073,8 +4215,8 @@ export interface InitialSendTransitionInterface {
|
|
|
4073
4215
|
}
|
|
4074
4216
|
export declare class InitialSendTransition extends UniffiAbstractObject implements InitialSendTransitionInterface {
|
|
4075
4217
|
readonly [uniffiTypeNameSymbol] = "InitialSendTransition";
|
|
4076
|
-
readonly [destructorGuardSymbol]:
|
|
4077
|
-
readonly [pointerLiteralSymbol]:
|
|
4218
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4219
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4078
4220
|
private constructor();
|
|
4079
4221
|
save(persister: JsonSenderSessionPersister): WithReplyKeyInterface;
|
|
4080
4222
|
saveAsync(persister: JsonSenderSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -4087,6 +4229,16 @@ export declare class InitialSendTransition extends UniffiAbstractObject implemen
|
|
|
4087
4229
|
static instanceOf(obj: any): obj is InitialSendTransition;
|
|
4088
4230
|
}
|
|
4089
4231
|
export interface InitializedInterface {
|
|
4232
|
+
/**
|
|
4233
|
+
* Cancel the Payjoin session immediately.
|
|
4234
|
+
*
|
|
4235
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4236
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4237
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4238
|
+
*
|
|
4239
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4240
|
+
*/
|
|
4241
|
+
cancel(): CancelTransitionInterface;
|
|
4090
4242
|
/**
|
|
4091
4243
|
* Construct an OHTTP encapsulated GET request, polling the mailbox for the Original PSBT
|
|
4092
4244
|
*/
|
|
@@ -4102,9 +4254,19 @@ export interface InitializedInterface {
|
|
|
4102
4254
|
}
|
|
4103
4255
|
export declare class Initialized extends UniffiAbstractObject implements InitializedInterface {
|
|
4104
4256
|
readonly [uniffiTypeNameSymbol] = "Initialized";
|
|
4105
|
-
readonly [destructorGuardSymbol]:
|
|
4106
|
-
readonly [pointerLiteralSymbol]:
|
|
4257
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4258
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4107
4259
|
private constructor();
|
|
4260
|
+
/**
|
|
4261
|
+
* Cancel the Payjoin session immediately.
|
|
4262
|
+
*
|
|
4263
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4264
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4265
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4266
|
+
*
|
|
4267
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4268
|
+
*/
|
|
4269
|
+
cancel(): CancelTransitionInterface;
|
|
4108
4270
|
/**
|
|
4109
4271
|
* Construct an OHTTP encapsulated GET request, polling the mailbox for the Original PSBT
|
|
4110
4272
|
*/
|
|
@@ -4131,8 +4293,8 @@ export interface InitializedTransitionInterface {
|
|
|
4131
4293
|
}
|
|
4132
4294
|
export declare class InitializedTransition extends UniffiAbstractObject implements InitializedTransitionInterface {
|
|
4133
4295
|
readonly [uniffiTypeNameSymbol] = "InitializedTransition";
|
|
4134
|
-
readonly [destructorGuardSymbol]:
|
|
4135
|
-
readonly [pointerLiteralSymbol]:
|
|
4296
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4297
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4136
4298
|
private constructor();
|
|
4137
4299
|
save(persister: JsonReceiverSessionPersister): InitializedTransitionOutcome;
|
|
4138
4300
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -4154,9 +4316,21 @@ export interface InputContributionErrorInterface {
|
|
|
4154
4316
|
*/
|
|
4155
4317
|
export declare class InputContributionError extends UniffiAbstractObject implements InputContributionErrorInterface {
|
|
4156
4318
|
readonly [uniffiTypeNameSymbol] = "InputContributionError";
|
|
4157
|
-
readonly [destructorGuardSymbol]:
|
|
4158
|
-
readonly [pointerLiteralSymbol]:
|
|
4319
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4320
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4159
4321
|
private constructor();
|
|
4322
|
+
/**
|
|
4323
|
+
* Calls into the `Debug` string representation of `InputContributionErrorInterface` (the native Rust peer).
|
|
4324
|
+
*
|
|
4325
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
4326
|
+
*/
|
|
4327
|
+
toDebugString(): string;
|
|
4328
|
+
/**
|
|
4329
|
+
* Calls into the `InputContributionErrorInterface::to_string()` method of the native Rust peer.
|
|
4330
|
+
*
|
|
4331
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
4332
|
+
*/
|
|
4333
|
+
toString(): string;
|
|
4160
4334
|
/**
|
|
4161
4335
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
4162
4336
|
*/
|
|
@@ -4169,8 +4343,8 @@ export interface InputPairInterface {
|
|
|
4169
4343
|
}
|
|
4170
4344
|
export declare class InputPair extends UniffiAbstractObject implements InputPairInterface {
|
|
4171
4345
|
readonly [uniffiTypeNameSymbol] = "InputPair";
|
|
4172
|
-
readonly [destructorGuardSymbol]:
|
|
4173
|
-
readonly [pointerLiteralSymbol]:
|
|
4346
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4347
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4174
4348
|
constructor(txin: PlainTxIn, psbtin: PlainPsbtInput, expectedWeight: PlainWeight | undefined);
|
|
4175
4349
|
/**
|
|
4176
4350
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
@@ -4182,9 +4356,21 @@ export interface IntoUrlErrorInterface {
|
|
|
4182
4356
|
}
|
|
4183
4357
|
export declare class IntoUrlError extends UniffiAbstractObject implements IntoUrlErrorInterface {
|
|
4184
4358
|
readonly [uniffiTypeNameSymbol] = "IntoUrlError";
|
|
4185
|
-
readonly [destructorGuardSymbol]:
|
|
4186
|
-
readonly [pointerLiteralSymbol]:
|
|
4359
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4360
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4187
4361
|
private constructor();
|
|
4362
|
+
/**
|
|
4363
|
+
* Calls into the `Debug` string representation of `IntoUrlErrorInterface` (the native Rust peer).
|
|
4364
|
+
*
|
|
4365
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
4366
|
+
*/
|
|
4367
|
+
toDebugString(): string;
|
|
4368
|
+
/**
|
|
4369
|
+
* Calls into the `IntoUrlErrorInterface::to_string()` method of the native Rust peer.
|
|
4370
|
+
*
|
|
4371
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
4372
|
+
*/
|
|
4373
|
+
toString(): string;
|
|
4188
4374
|
/**
|
|
4189
4375
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
4190
4376
|
*/
|
|
@@ -4196,8 +4382,8 @@ export interface IsOutputKnown {
|
|
|
4196
4382
|
}
|
|
4197
4383
|
export declare class IsOutputKnownImpl extends UniffiAbstractObject implements IsOutputKnown {
|
|
4198
4384
|
readonly [uniffiTypeNameSymbol] = "IsOutputKnownImpl";
|
|
4199
|
-
readonly [destructorGuardSymbol]:
|
|
4200
|
-
readonly [pointerLiteralSymbol]:
|
|
4385
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4386
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4201
4387
|
private constructor();
|
|
4202
4388
|
callback(outpoint: PlainOutPoint): boolean;
|
|
4203
4389
|
/**
|
|
@@ -4211,8 +4397,8 @@ export interface IsScriptOwned {
|
|
|
4211
4397
|
}
|
|
4212
4398
|
export declare class IsScriptOwnedImpl extends UniffiAbstractObject implements IsScriptOwned {
|
|
4213
4399
|
readonly [uniffiTypeNameSymbol] = "IsScriptOwnedImpl";
|
|
4214
|
-
readonly [destructorGuardSymbol]:
|
|
4215
|
-
readonly [pointerLiteralSymbol]:
|
|
4400
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4401
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4216
4402
|
private constructor();
|
|
4217
4403
|
callback(script: ArrayBuffer): boolean;
|
|
4218
4404
|
/**
|
|
@@ -4234,8 +4420,8 @@ export interface JsonReceiverSessionPersister {
|
|
|
4234
4420
|
*/
|
|
4235
4421
|
export declare class JsonReceiverSessionPersisterImpl extends UniffiAbstractObject implements JsonReceiverSessionPersister {
|
|
4236
4422
|
readonly [uniffiTypeNameSymbol] = "JsonReceiverSessionPersisterImpl";
|
|
4237
|
-
readonly [destructorGuardSymbol]:
|
|
4238
|
-
readonly [pointerLiteralSymbol]:
|
|
4423
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4424
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4239
4425
|
private constructor();
|
|
4240
4426
|
save(event: string): void;
|
|
4241
4427
|
load(): Array<string>;
|
|
@@ -4265,8 +4451,8 @@ export interface JsonReceiverSessionPersisterAsync {
|
|
|
4265
4451
|
*/
|
|
4266
4452
|
export declare class JsonReceiverSessionPersisterAsyncImpl extends UniffiAbstractObject implements JsonReceiverSessionPersisterAsync {
|
|
4267
4453
|
readonly [uniffiTypeNameSymbol] = "JsonReceiverSessionPersisterAsyncImpl";
|
|
4268
|
-
readonly [destructorGuardSymbol]:
|
|
4269
|
-
readonly [pointerLiteralSymbol]:
|
|
4454
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4455
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4270
4456
|
private constructor();
|
|
4271
4457
|
save(event: string, asyncOpts_?: {
|
|
4272
4458
|
signal: AbortSignal;
|
|
@@ -4309,9 +4495,30 @@ export interface JsonReplyInterface {
|
|
|
4309
4495
|
*/
|
|
4310
4496
|
export declare class JsonReply extends UniffiAbstractObject implements JsonReplyInterface {
|
|
4311
4497
|
readonly [uniffiTypeNameSymbol] = "JsonReply";
|
|
4312
|
-
readonly [destructorGuardSymbol]:
|
|
4313
|
-
readonly [pointerLiteralSymbol]:
|
|
4498
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4499
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4314
4500
|
private constructor();
|
|
4501
|
+
/**
|
|
4502
|
+
* Calls into the `Debug` string representation of `JsonReplyInterface` (the native Rust peer).
|
|
4503
|
+
*
|
|
4504
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
4505
|
+
*/
|
|
4506
|
+
toDebugString(): string;
|
|
4507
|
+
/**
|
|
4508
|
+
* Calls into the `Debug` string representation of `JsonReplyInterface` (the native Rust peer).
|
|
4509
|
+
*
|
|
4510
|
+
* Generated by deriving the `Debug` trait in Rust, without deriving `Display`.
|
|
4511
|
+
*/
|
|
4512
|
+
toString(): string;
|
|
4513
|
+
/**
|
|
4514
|
+
* Calls into the `==` method of `JsonReplyInterface` (the native Rust peer).
|
|
4515
|
+
*
|
|
4516
|
+
* Returns `true` if and only if the two instance of `JsonReplyInterface` are
|
|
4517
|
+
* equivalent on the Rust side.
|
|
4518
|
+
*
|
|
4519
|
+
* Generated by deriving the `Eq` trait in Rust.
|
|
4520
|
+
*/
|
|
4521
|
+
equals(other: JsonReply): boolean;
|
|
4315
4522
|
/**
|
|
4316
4523
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
4317
4524
|
*/
|
|
@@ -4331,8 +4538,8 @@ export interface JsonSenderSessionPersister {
|
|
|
4331
4538
|
*/
|
|
4332
4539
|
export declare class JsonSenderSessionPersisterImpl extends UniffiAbstractObject implements JsonSenderSessionPersister {
|
|
4333
4540
|
readonly [uniffiTypeNameSymbol] = "JsonSenderSessionPersisterImpl";
|
|
4334
|
-
readonly [destructorGuardSymbol]:
|
|
4335
|
-
readonly [pointerLiteralSymbol]:
|
|
4541
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4542
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4336
4543
|
private constructor();
|
|
4337
4544
|
save(event: string): void;
|
|
4338
4545
|
load(): Array<string>;
|
|
@@ -4362,8 +4569,8 @@ export interface JsonSenderSessionPersisterAsync {
|
|
|
4362
4569
|
*/
|
|
4363
4570
|
export declare class JsonSenderSessionPersisterAsyncImpl extends UniffiAbstractObject implements JsonSenderSessionPersisterAsync {
|
|
4364
4571
|
readonly [uniffiTypeNameSymbol] = "JsonSenderSessionPersisterAsyncImpl";
|
|
4365
|
-
readonly [destructorGuardSymbol]:
|
|
4366
|
-
readonly [pointerLiteralSymbol]:
|
|
4572
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4573
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4367
4574
|
private constructor();
|
|
4368
4575
|
save(event: string, asyncOpts_?: {
|
|
4369
4576
|
signal: AbortSignal;
|
|
@@ -4381,6 +4588,16 @@ export declare class JsonSenderSessionPersisterAsyncImpl extends UniffiAbstractO
|
|
|
4381
4588
|
static instanceOf(obj: any): obj is JsonSenderSessionPersisterAsyncImpl;
|
|
4382
4589
|
}
|
|
4383
4590
|
export interface MaybeInputsOwnedInterface {
|
|
4591
|
+
/**
|
|
4592
|
+
* Cancel the Payjoin session immediately.
|
|
4593
|
+
*
|
|
4594
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4595
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4596
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4597
|
+
*
|
|
4598
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4599
|
+
*/
|
|
4600
|
+
cancel(): CancelTransitionInterface;
|
|
4384
4601
|
checkInputsNotOwned(isOwned: IsScriptOwned): MaybeInputsOwnedTransitionInterface;
|
|
4385
4602
|
/**
|
|
4386
4603
|
* The Sender’s Original PSBT
|
|
@@ -4389,9 +4606,19 @@ export interface MaybeInputsOwnedInterface {
|
|
|
4389
4606
|
}
|
|
4390
4607
|
export declare class MaybeInputsOwned extends UniffiAbstractObject implements MaybeInputsOwnedInterface {
|
|
4391
4608
|
readonly [uniffiTypeNameSymbol] = "MaybeInputsOwned";
|
|
4392
|
-
readonly [destructorGuardSymbol]:
|
|
4393
|
-
readonly [pointerLiteralSymbol]:
|
|
4609
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4610
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4394
4611
|
private constructor();
|
|
4612
|
+
/**
|
|
4613
|
+
* Cancel the Payjoin session immediately.
|
|
4614
|
+
*
|
|
4615
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4616
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4617
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4618
|
+
*
|
|
4619
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4620
|
+
*/
|
|
4621
|
+
cancel(): CancelTransitionInterface;
|
|
4395
4622
|
checkInputsNotOwned(isOwned: IsScriptOwned): MaybeInputsOwnedTransitionInterface;
|
|
4396
4623
|
/**
|
|
4397
4624
|
* The Sender’s Original PSBT
|
|
@@ -4411,8 +4638,8 @@ export interface MaybeInputsOwnedTransitionInterface {
|
|
|
4411
4638
|
}
|
|
4412
4639
|
export declare class MaybeInputsOwnedTransition extends UniffiAbstractObject implements MaybeInputsOwnedTransitionInterface {
|
|
4413
4640
|
readonly [uniffiTypeNameSymbol] = "MaybeInputsOwnedTransition";
|
|
4414
|
-
readonly [destructorGuardSymbol]:
|
|
4415
|
-
readonly [pointerLiteralSymbol]:
|
|
4641
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4642
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4416
4643
|
private constructor();
|
|
4417
4644
|
save(persister: JsonReceiverSessionPersister): MaybeInputsSeenInterface;
|
|
4418
4645
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -4425,13 +4652,33 @@ export declare class MaybeInputsOwnedTransition extends UniffiAbstractObject imp
|
|
|
4425
4652
|
static instanceOf(obj: any): obj is MaybeInputsOwnedTransition;
|
|
4426
4653
|
}
|
|
4427
4654
|
export interface MaybeInputsSeenInterface {
|
|
4655
|
+
/**
|
|
4656
|
+
* Cancel the Payjoin session immediately.
|
|
4657
|
+
*
|
|
4658
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4659
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4660
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4661
|
+
*
|
|
4662
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4663
|
+
*/
|
|
4664
|
+
cancel(): CancelTransitionInterface;
|
|
4428
4665
|
checkNoInputsSeenBefore(isKnown: IsOutputKnown): MaybeInputsSeenTransitionInterface;
|
|
4429
4666
|
}
|
|
4430
4667
|
export declare class MaybeInputsSeen extends UniffiAbstractObject implements MaybeInputsSeenInterface {
|
|
4431
4668
|
readonly [uniffiTypeNameSymbol] = "MaybeInputsSeen";
|
|
4432
|
-
readonly [destructorGuardSymbol]:
|
|
4433
|
-
readonly [pointerLiteralSymbol]:
|
|
4669
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4670
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4434
4671
|
private constructor();
|
|
4672
|
+
/**
|
|
4673
|
+
* Cancel the Payjoin session immediately.
|
|
4674
|
+
*
|
|
4675
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4676
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4677
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4678
|
+
*
|
|
4679
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4680
|
+
*/
|
|
4681
|
+
cancel(): CancelTransitionInterface;
|
|
4435
4682
|
checkNoInputsSeenBefore(isKnown: IsOutputKnown): MaybeInputsSeenTransitionInterface;
|
|
4436
4683
|
/**
|
|
4437
4684
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
@@ -4447,8 +4694,8 @@ export interface MaybeInputsSeenTransitionInterface {
|
|
|
4447
4694
|
}
|
|
4448
4695
|
export declare class MaybeInputsSeenTransition extends UniffiAbstractObject implements MaybeInputsSeenTransitionInterface {
|
|
4449
4696
|
readonly [uniffiTypeNameSymbol] = "MaybeInputsSeenTransition";
|
|
4450
|
-
readonly [destructorGuardSymbol]:
|
|
4451
|
-
readonly [pointerLiteralSymbol]:
|
|
4697
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4698
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4452
4699
|
private constructor();
|
|
4453
4700
|
save(persister: JsonReceiverSessionPersister): OutputsUnknownInterface;
|
|
4454
4701
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -4461,13 +4708,33 @@ export declare class MaybeInputsSeenTransition extends UniffiAbstractObject impl
|
|
|
4461
4708
|
static instanceOf(obj: any): obj is MaybeInputsSeenTransition;
|
|
4462
4709
|
}
|
|
4463
4710
|
export interface MonitorInterface {
|
|
4711
|
+
/**
|
|
4712
|
+
* Cancel the Payjoin session immediately.
|
|
4713
|
+
*
|
|
4714
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4715
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4716
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4717
|
+
*
|
|
4718
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4719
|
+
*/
|
|
4720
|
+
cancel(): CancelTransitionInterface;
|
|
4464
4721
|
monitor(transactionExists: TransactionExists): MonitorTransitionInterface;
|
|
4465
4722
|
}
|
|
4466
4723
|
export declare class Monitor extends UniffiAbstractObject implements MonitorInterface {
|
|
4467
4724
|
readonly [uniffiTypeNameSymbol] = "Monitor";
|
|
4468
|
-
readonly [destructorGuardSymbol]:
|
|
4469
|
-
readonly [pointerLiteralSymbol]:
|
|
4725
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4726
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4470
4727
|
private constructor();
|
|
4728
|
+
/**
|
|
4729
|
+
* Cancel the Payjoin session immediately.
|
|
4730
|
+
*
|
|
4731
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4732
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4733
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4734
|
+
*
|
|
4735
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4736
|
+
*/
|
|
4737
|
+
cancel(): CancelTransitionInterface;
|
|
4471
4738
|
monitor(transactionExists: TransactionExists): MonitorTransitionInterface;
|
|
4472
4739
|
/**
|
|
4473
4740
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
@@ -4483,8 +4750,8 @@ export interface MonitorTransitionInterface {
|
|
|
4483
4750
|
}
|
|
4484
4751
|
export declare class MonitorTransition extends UniffiAbstractObject implements MonitorTransitionInterface {
|
|
4485
4752
|
readonly [uniffiTypeNameSymbol] = "MonitorTransition";
|
|
4486
|
-
readonly [destructorGuardSymbol]:
|
|
4487
|
-
readonly [pointerLiteralSymbol]:
|
|
4753
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4754
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4488
4755
|
private constructor();
|
|
4489
4756
|
save(persister: JsonReceiverSessionPersister): void;
|
|
4490
4757
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -4500,9 +4767,21 @@ export interface OhttpErrorInterface {
|
|
|
4500
4767
|
}
|
|
4501
4768
|
export declare class OhttpError extends UniffiAbstractObject implements OhttpErrorInterface {
|
|
4502
4769
|
readonly [uniffiTypeNameSymbol] = "OhttpError";
|
|
4503
|
-
readonly [destructorGuardSymbol]:
|
|
4504
|
-
readonly [pointerLiteralSymbol]:
|
|
4770
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4771
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4505
4772
|
private constructor();
|
|
4773
|
+
/**
|
|
4774
|
+
* Calls into the `Debug` string representation of `OhttpErrorInterface` (the native Rust peer).
|
|
4775
|
+
*
|
|
4776
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
4777
|
+
*/
|
|
4778
|
+
toDebugString(): string;
|
|
4779
|
+
/**
|
|
4780
|
+
* Calls into the `OhttpErrorInterface::to_string()` method of the native Rust peer.
|
|
4781
|
+
*
|
|
4782
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
4783
|
+
*/
|
|
4784
|
+
toString(): string;
|
|
4506
4785
|
/**
|
|
4507
4786
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
4508
4787
|
*/
|
|
@@ -4515,8 +4794,8 @@ export interface OhttpKeysInterface {
|
|
|
4515
4794
|
}
|
|
4516
4795
|
export declare class OhttpKeys extends UniffiAbstractObject implements OhttpKeysInterface {
|
|
4517
4796
|
readonly [uniffiTypeNameSymbol] = "OhttpKeys";
|
|
4518
|
-
readonly [destructorGuardSymbol]:
|
|
4519
|
-
readonly [pointerLiteralSymbol]:
|
|
4797
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4798
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4520
4799
|
private constructor();
|
|
4521
4800
|
/**
|
|
4522
4801
|
* Decode an OHTTP KeyConfig
|
|
@@ -4538,9 +4817,21 @@ export interface OutputSubstitutionProtocolErrorInterface {
|
|
|
4538
4817
|
*/
|
|
4539
4818
|
export declare class OutputSubstitutionProtocolError extends UniffiAbstractObject implements OutputSubstitutionProtocolErrorInterface {
|
|
4540
4819
|
readonly [uniffiTypeNameSymbol] = "OutputSubstitutionProtocolError";
|
|
4541
|
-
readonly [destructorGuardSymbol]:
|
|
4542
|
-
readonly [pointerLiteralSymbol]:
|
|
4820
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4821
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4543
4822
|
private constructor();
|
|
4823
|
+
/**
|
|
4824
|
+
* Calls into the `Debug` string representation of `OutputSubstitutionProtocolErrorInterface` (the native Rust peer).
|
|
4825
|
+
*
|
|
4826
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
4827
|
+
*/
|
|
4828
|
+
toDebugString(): string;
|
|
4829
|
+
/**
|
|
4830
|
+
* Calls into the `OutputSubstitutionProtocolErrorInterface::to_string()` method of the native Rust peer.
|
|
4831
|
+
*
|
|
4832
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
4833
|
+
*/
|
|
4834
|
+
toString(): string;
|
|
4544
4835
|
/**
|
|
4545
4836
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
4546
4837
|
*/
|
|
@@ -4554,6 +4845,16 @@ export declare class OutputSubstitutionProtocolError extends UniffiAbstractObjec
|
|
|
4554
4845
|
* Identify those outputs with `identify_receiver_outputs()` to proceed
|
|
4555
4846
|
*/
|
|
4556
4847
|
export interface OutputsUnknownInterface {
|
|
4848
|
+
/**
|
|
4849
|
+
* Cancel the Payjoin session immediately.
|
|
4850
|
+
*
|
|
4851
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4852
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4853
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4854
|
+
*
|
|
4855
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4856
|
+
*/
|
|
4857
|
+
cancel(): CancelTransitionInterface;
|
|
4557
4858
|
/**
|
|
4558
4859
|
* Find which outputs belong to the receiver
|
|
4559
4860
|
*/
|
|
@@ -4567,9 +4868,19 @@ export interface OutputsUnknownInterface {
|
|
|
4567
4868
|
*/
|
|
4568
4869
|
export declare class OutputsUnknown extends UniffiAbstractObject implements OutputsUnknownInterface {
|
|
4569
4870
|
readonly [uniffiTypeNameSymbol] = "OutputsUnknown";
|
|
4570
|
-
readonly [destructorGuardSymbol]:
|
|
4571
|
-
readonly [pointerLiteralSymbol]:
|
|
4871
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4872
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4572
4873
|
private constructor();
|
|
4874
|
+
/**
|
|
4875
|
+
* Cancel the Payjoin session immediately.
|
|
4876
|
+
*
|
|
4877
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4878
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4879
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4880
|
+
*
|
|
4881
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4882
|
+
*/
|
|
4883
|
+
cancel(): CancelTransitionInterface;
|
|
4573
4884
|
/**
|
|
4574
4885
|
* Find which outputs belong to the receiver
|
|
4575
4886
|
*/
|
|
@@ -4588,8 +4899,8 @@ export interface OutputsUnknownTransitionInterface {
|
|
|
4588
4899
|
}
|
|
4589
4900
|
export declare class OutputsUnknownTransition extends UniffiAbstractObject implements OutputsUnknownTransitionInterface {
|
|
4590
4901
|
readonly [uniffiTypeNameSymbol] = "OutputsUnknownTransition";
|
|
4591
|
-
readonly [destructorGuardSymbol]:
|
|
4592
|
-
readonly [pointerLiteralSymbol]:
|
|
4902
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4903
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4593
4904
|
private constructor();
|
|
4594
4905
|
save(persister: JsonReceiverSessionPersister): WantsOutputsInterface;
|
|
4595
4906
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -4602,6 +4913,16 @@ export declare class OutputsUnknownTransition extends UniffiAbstractObject imple
|
|
|
4602
4913
|
static instanceOf(obj: any): obj is OutputsUnknownTransition;
|
|
4603
4914
|
}
|
|
4604
4915
|
export interface PayjoinProposalInterface {
|
|
4916
|
+
/**
|
|
4917
|
+
* Cancel the Payjoin session immediately.
|
|
4918
|
+
*
|
|
4919
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4920
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4921
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4922
|
+
*
|
|
4923
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4924
|
+
*/
|
|
4925
|
+
cancel(): CancelTransitionInterface;
|
|
4605
4926
|
/**
|
|
4606
4927
|
* Construct an OHTTP Encapsulated HTTP POST request for the Proposal PSBT
|
|
4607
4928
|
*/
|
|
@@ -4619,9 +4940,19 @@ export interface PayjoinProposalInterface {
|
|
|
4619
4940
|
}
|
|
4620
4941
|
export declare class PayjoinProposal extends UniffiAbstractObject implements PayjoinProposalInterface {
|
|
4621
4942
|
readonly [uniffiTypeNameSymbol] = "PayjoinProposal";
|
|
4622
|
-
readonly [destructorGuardSymbol]:
|
|
4623
|
-
readonly [pointerLiteralSymbol]:
|
|
4943
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4944
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4624
4945
|
private constructor();
|
|
4946
|
+
/**
|
|
4947
|
+
* Cancel the Payjoin session immediately.
|
|
4948
|
+
*
|
|
4949
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
4950
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
4951
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
4952
|
+
*
|
|
4953
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
4954
|
+
*/
|
|
4955
|
+
cancel(): CancelTransitionInterface;
|
|
4625
4956
|
/**
|
|
4626
4957
|
* Construct an OHTTP Encapsulated HTTP POST request for the Proposal PSBT
|
|
4627
4958
|
*/
|
|
@@ -4650,8 +4981,8 @@ export interface PayjoinProposalTransitionInterface {
|
|
|
4650
4981
|
}
|
|
4651
4982
|
export declare class PayjoinProposalTransition extends UniffiAbstractObject implements PayjoinProposalTransitionInterface {
|
|
4652
4983
|
readonly [uniffiTypeNameSymbol] = "PayjoinProposalTransition";
|
|
4653
|
-
readonly [destructorGuardSymbol]:
|
|
4654
|
-
readonly [pointerLiteralSymbol]:
|
|
4984
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4985
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4655
4986
|
private constructor();
|
|
4656
4987
|
save(persister: JsonReceiverSessionPersister): MonitorInterface;
|
|
4657
4988
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -4667,9 +4998,30 @@ export interface PjNotSupportedInterface {
|
|
|
4667
4998
|
}
|
|
4668
4999
|
export declare class PjNotSupported extends UniffiAbstractObject implements PjNotSupportedInterface {
|
|
4669
5000
|
readonly [uniffiTypeNameSymbol] = "PjNotSupported";
|
|
4670
|
-
readonly [destructorGuardSymbol]:
|
|
4671
|
-
readonly [pointerLiteralSymbol]:
|
|
5001
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5002
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4672
5003
|
private constructor();
|
|
5004
|
+
/**
|
|
5005
|
+
* Calls into the `Debug` string representation of `PjNotSupportedInterface` (the native Rust peer).
|
|
5006
|
+
*
|
|
5007
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
5008
|
+
*/
|
|
5009
|
+
toDebugString(): string;
|
|
5010
|
+
/**
|
|
5011
|
+
* Calls into the `PjNotSupportedInterface::to_string()` method of the native Rust peer.
|
|
5012
|
+
*
|
|
5013
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
5014
|
+
*/
|
|
5015
|
+
toString(): string;
|
|
5016
|
+
/**
|
|
5017
|
+
* Calls into the `==` method of `PjNotSupportedInterface` (the native Rust peer).
|
|
5018
|
+
*
|
|
5019
|
+
* Returns `true` if and only if the two instance of `PjNotSupportedInterface` are
|
|
5020
|
+
* equivalent on the Rust side.
|
|
5021
|
+
*
|
|
5022
|
+
* Generated by deriving the `Eq` trait in Rust.
|
|
5023
|
+
*/
|
|
5024
|
+
equals(other: PjNotSupported): boolean;
|
|
4673
5025
|
/**
|
|
4674
5026
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
4675
5027
|
*/
|
|
@@ -4682,8 +5034,8 @@ export interface PjParamInterface {
|
|
|
4682
5034
|
}
|
|
4683
5035
|
export declare class PjParam extends UniffiAbstractObject implements PjParamInterface {
|
|
4684
5036
|
readonly [uniffiTypeNameSymbol] = "PjParam";
|
|
4685
|
-
readonly [destructorGuardSymbol]:
|
|
4686
|
-
readonly [pointerLiteralSymbol]:
|
|
5037
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5038
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4687
5039
|
private constructor();
|
|
4688
5040
|
/**
|
|
4689
5041
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
@@ -4695,9 +5047,30 @@ export interface PjParseErrorInterface {
|
|
|
4695
5047
|
}
|
|
4696
5048
|
export declare class PjParseError extends UniffiAbstractObject implements PjParseErrorInterface {
|
|
4697
5049
|
readonly [uniffiTypeNameSymbol] = "PjParseError";
|
|
4698
|
-
readonly [destructorGuardSymbol]:
|
|
4699
|
-
readonly [pointerLiteralSymbol]:
|
|
5050
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5051
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4700
5052
|
private constructor();
|
|
5053
|
+
/**
|
|
5054
|
+
* Calls into the `Debug` string representation of `PjParseErrorInterface` (the native Rust peer).
|
|
5055
|
+
*
|
|
5056
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
5057
|
+
*/
|
|
5058
|
+
toDebugString(): string;
|
|
5059
|
+
/**
|
|
5060
|
+
* Calls into the `PjParseErrorInterface::to_string()` method of the native Rust peer.
|
|
5061
|
+
*
|
|
5062
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
5063
|
+
*/
|
|
5064
|
+
toString(): string;
|
|
5065
|
+
/**
|
|
5066
|
+
* Calls into the `==` method of `PjParseErrorInterface` (the native Rust peer).
|
|
5067
|
+
*
|
|
5068
|
+
* Returns `true` if and only if the two instance of `PjParseErrorInterface` are
|
|
5069
|
+
* equivalent on the Rust side.
|
|
5070
|
+
*
|
|
5071
|
+
* Generated by deriving the `Eq` trait in Rust.
|
|
5072
|
+
*/
|
|
5073
|
+
equals(other: PjParseError): boolean;
|
|
4701
5074
|
/**
|
|
4702
5075
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
4703
5076
|
*/
|
|
@@ -4721,8 +5094,8 @@ export interface PjUriInterface {
|
|
|
4721
5094
|
}
|
|
4722
5095
|
export declare class PjUri extends UniffiAbstractObject implements PjUriInterface {
|
|
4723
5096
|
readonly [uniffiTypeNameSymbol] = "PjUri";
|
|
4724
|
-
readonly [destructorGuardSymbol]:
|
|
4725
|
-
readonly [pointerLiteralSymbol]:
|
|
5097
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5098
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4726
5099
|
private constructor();
|
|
4727
5100
|
address(): string;
|
|
4728
5101
|
/**
|
|
@@ -4742,6 +5115,16 @@ export declare class PjUri extends UniffiAbstractObject implements PjUriInterfac
|
|
|
4742
5115
|
static instanceOf(obj: any): obj is PjUri;
|
|
4743
5116
|
}
|
|
4744
5117
|
export interface PollingForProposalInterface {
|
|
5118
|
+
/**
|
|
5119
|
+
* Cancel the Payjoin session immediately.
|
|
5120
|
+
*
|
|
5121
|
+
* Returns a [`SenderCancelTransition`] that, once persisted, yields the fallback
|
|
5122
|
+
* transaction. The fallback transaction is the sender's original transaction
|
|
5123
|
+
* that should be broadcast to complete the payment without Payjoin.
|
|
5124
|
+
*
|
|
5125
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
5126
|
+
*/
|
|
5127
|
+
cancel(): SenderCancelTransitionInterface;
|
|
4745
5128
|
createPollRequest(ohttpRelay: string): RequestOhttpContext;
|
|
4746
5129
|
/**
|
|
4747
5130
|
* Decodes and validates the response.
|
|
@@ -4752,9 +5135,19 @@ export interface PollingForProposalInterface {
|
|
|
4752
5135
|
}
|
|
4753
5136
|
export declare class PollingForProposal extends UniffiAbstractObject implements PollingForProposalInterface {
|
|
4754
5137
|
readonly [uniffiTypeNameSymbol] = "PollingForProposal";
|
|
4755
|
-
readonly [destructorGuardSymbol]:
|
|
4756
|
-
readonly [pointerLiteralSymbol]:
|
|
5138
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5139
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4757
5140
|
private constructor();
|
|
5141
|
+
/**
|
|
5142
|
+
* Cancel the Payjoin session immediately.
|
|
5143
|
+
*
|
|
5144
|
+
* Returns a [`SenderCancelTransition`] that, once persisted, yields the fallback
|
|
5145
|
+
* transaction. The fallback transaction is the sender's original transaction
|
|
5146
|
+
* that should be broadcast to complete the payment without Payjoin.
|
|
5147
|
+
*
|
|
5148
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
5149
|
+
*/
|
|
5150
|
+
cancel(): SenderCancelTransitionInterface;
|
|
4758
5151
|
createPollRequest(ohttpRelay: string): RequestOhttpContext;
|
|
4759
5152
|
/**
|
|
4760
5153
|
* Decodes and validates the response.
|
|
@@ -4776,8 +5169,8 @@ export interface PollingForProposalTransitionInterface {
|
|
|
4776
5169
|
}
|
|
4777
5170
|
export declare class PollingForProposalTransition extends UniffiAbstractObject implements PollingForProposalTransitionInterface {
|
|
4778
5171
|
readonly [uniffiTypeNameSymbol] = "PollingForProposalTransition";
|
|
4779
|
-
readonly [destructorGuardSymbol]:
|
|
4780
|
-
readonly [pointerLiteralSymbol]:
|
|
5172
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5173
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4781
5174
|
private constructor();
|
|
4782
5175
|
save(persister: JsonSenderSessionPersister): PollingForProposalTransitionOutcome;
|
|
4783
5176
|
saveAsync(persister: JsonSenderSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -4794,8 +5187,8 @@ export interface ProcessPsbt {
|
|
|
4794
5187
|
}
|
|
4795
5188
|
export declare class ProcessPsbtImpl extends UniffiAbstractObject implements ProcessPsbt {
|
|
4796
5189
|
readonly [uniffiTypeNameSymbol] = "ProcessPsbtImpl";
|
|
4797
|
-
readonly [destructorGuardSymbol]:
|
|
4798
|
-
readonly [pointerLiteralSymbol]:
|
|
5190
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5191
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4799
5192
|
private constructor();
|
|
4800
5193
|
callback(psbt: string): string;
|
|
4801
5194
|
/**
|
|
@@ -4830,9 +5223,21 @@ export interface ProtocolErrorInterface {
|
|
|
4830
5223
|
*/
|
|
4831
5224
|
export declare class ProtocolError extends UniffiAbstractObject implements ProtocolErrorInterface {
|
|
4832
5225
|
readonly [uniffiTypeNameSymbol] = "ProtocolError";
|
|
4833
|
-
readonly [destructorGuardSymbol]:
|
|
4834
|
-
readonly [pointerLiteralSymbol]:
|
|
5226
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5227
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4835
5228
|
private constructor();
|
|
5229
|
+
/**
|
|
5230
|
+
* Calls into the `Debug` string representation of `ProtocolErrorInterface` (the native Rust peer).
|
|
5231
|
+
*
|
|
5232
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
5233
|
+
*/
|
|
5234
|
+
toDebugString(): string;
|
|
5235
|
+
/**
|
|
5236
|
+
* Calls into the `ProtocolErrorInterface::to_string()` method of the native Rust peer.
|
|
5237
|
+
*
|
|
5238
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
5239
|
+
*/
|
|
5240
|
+
toString(): string;
|
|
4836
5241
|
/**
|
|
4837
5242
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
4838
5243
|
*/
|
|
@@ -4840,14 +5245,34 @@ export declare class ProtocolError extends UniffiAbstractObject implements Proto
|
|
|
4840
5245
|
static instanceOf(obj: any): obj is ProtocolError;
|
|
4841
5246
|
}
|
|
4842
5247
|
export interface ProvisionalProposalInterface {
|
|
5248
|
+
/**
|
|
5249
|
+
* Cancel the Payjoin session immediately.
|
|
5250
|
+
*
|
|
5251
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
5252
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
5253
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
5254
|
+
*
|
|
5255
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
5256
|
+
*/
|
|
5257
|
+
cancel(): CancelTransitionInterface;
|
|
4843
5258
|
finalizeProposal(processPsbt: ProcessPsbt): ProvisionalProposalTransitionInterface;
|
|
4844
5259
|
psbtToSign(): string;
|
|
4845
5260
|
}
|
|
4846
5261
|
export declare class ProvisionalProposal extends UniffiAbstractObject implements ProvisionalProposalInterface {
|
|
4847
5262
|
readonly [uniffiTypeNameSymbol] = "ProvisionalProposal";
|
|
4848
|
-
readonly [destructorGuardSymbol]:
|
|
4849
|
-
readonly [pointerLiteralSymbol]:
|
|
5263
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5264
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4850
5265
|
private constructor();
|
|
5266
|
+
/**
|
|
5267
|
+
* Cancel the Payjoin session immediately.
|
|
5268
|
+
*
|
|
5269
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
5270
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
5271
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
5272
|
+
*
|
|
5273
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
5274
|
+
*/
|
|
5275
|
+
cancel(): CancelTransitionInterface;
|
|
4851
5276
|
finalizeProposal(processPsbt: ProcessPsbt): ProvisionalProposalTransitionInterface;
|
|
4852
5277
|
psbtToSign(): string;
|
|
4853
5278
|
/**
|
|
@@ -4864,8 +5289,8 @@ export interface ProvisionalProposalTransitionInterface {
|
|
|
4864
5289
|
}
|
|
4865
5290
|
export declare class ProvisionalProposalTransition extends UniffiAbstractObject implements ProvisionalProposalTransitionInterface {
|
|
4866
5291
|
readonly [uniffiTypeNameSymbol] = "ProvisionalProposalTransition";
|
|
4867
|
-
readonly [destructorGuardSymbol]:
|
|
4868
|
-
readonly [pointerLiteralSymbol]:
|
|
5292
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5293
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4869
5294
|
private constructor();
|
|
4870
5295
|
save(persister: JsonReceiverSessionPersister): PayjoinProposalInterface;
|
|
4871
5296
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -4887,9 +5312,21 @@ export interface PsbtInputErrorInterface {
|
|
|
4887
5312
|
*/
|
|
4888
5313
|
export declare class PsbtInputError extends UniffiAbstractObject implements PsbtInputErrorInterface {
|
|
4889
5314
|
readonly [uniffiTypeNameSymbol] = "PsbtInputError";
|
|
4890
|
-
readonly [destructorGuardSymbol]:
|
|
4891
|
-
readonly [pointerLiteralSymbol]:
|
|
5315
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5316
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4892
5317
|
private constructor();
|
|
5318
|
+
/**
|
|
5319
|
+
* Calls into the `Debug` string representation of `PsbtInputErrorInterface` (the native Rust peer).
|
|
5320
|
+
*
|
|
5321
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
5322
|
+
*/
|
|
5323
|
+
toDebugString(): string;
|
|
5324
|
+
/**
|
|
5325
|
+
* Calls into the `PsbtInputErrorInterface::to_string()` method of the native Rust peer.
|
|
5326
|
+
*
|
|
5327
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
5328
|
+
*/
|
|
5329
|
+
toString(): string;
|
|
4893
5330
|
/**
|
|
4894
5331
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
4895
5332
|
*/
|
|
@@ -4907,8 +5344,8 @@ export interface ReceiverBuilderInterface {
|
|
|
4907
5344
|
}
|
|
4908
5345
|
export declare class ReceiverBuilder extends UniffiAbstractObject implements ReceiverBuilderInterface {
|
|
4909
5346
|
readonly [uniffiTypeNameSymbol] = "ReceiverBuilder";
|
|
4910
|
-
readonly [destructorGuardSymbol]:
|
|
4911
|
-
readonly [pointerLiteralSymbol]:
|
|
5347
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5348
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4912
5349
|
/**
|
|
4913
5350
|
* Creates a new [`Initialized`] with the provided parameters.
|
|
4914
5351
|
*
|
|
@@ -4944,9 +5381,21 @@ export interface ReceiverReplayErrorInterface {
|
|
|
4944
5381
|
*/
|
|
4945
5382
|
export declare class ReceiverReplayError extends UniffiAbstractObject implements ReceiverReplayErrorInterface {
|
|
4946
5383
|
readonly [uniffiTypeNameSymbol] = "ReceiverReplayError";
|
|
4947
|
-
readonly [destructorGuardSymbol]:
|
|
4948
|
-
readonly [pointerLiteralSymbol]:
|
|
5384
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5385
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4949
5386
|
private constructor();
|
|
5387
|
+
/**
|
|
5388
|
+
* Calls into the `Debug` string representation of `ReceiverReplayErrorInterface` (the native Rust peer).
|
|
5389
|
+
*
|
|
5390
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
5391
|
+
*/
|
|
5392
|
+
toDebugString(): string;
|
|
5393
|
+
/**
|
|
5394
|
+
* Calls into the `ReceiverReplayErrorInterface::to_string()` method of the native Rust peer.
|
|
5395
|
+
*
|
|
5396
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
5397
|
+
*/
|
|
5398
|
+
toString(): string;
|
|
4950
5399
|
/**
|
|
4951
5400
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
4952
5401
|
*/
|
|
@@ -4960,8 +5409,8 @@ export interface ReceiverSessionEventInterface {
|
|
|
4960
5409
|
}
|
|
4961
5410
|
export declare class ReceiverSessionEvent extends UniffiAbstractObject implements ReceiverSessionEventInterface {
|
|
4962
5411
|
readonly [uniffiTypeNameSymbol] = "ReceiverSessionEvent";
|
|
4963
|
-
readonly [destructorGuardSymbol]:
|
|
4964
|
-
readonly [pointerLiteralSymbol]:
|
|
5412
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5413
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4965
5414
|
private constructor();
|
|
4966
5415
|
static fromJson(json: string): ReceiverSessionEventInterface;
|
|
4967
5416
|
toJson(): string;
|
|
@@ -4987,8 +5436,8 @@ export interface ReceiverSessionHistoryInterface {
|
|
|
4987
5436
|
}
|
|
4988
5437
|
export declare class ReceiverSessionHistory extends UniffiAbstractObject implements ReceiverSessionHistoryInterface {
|
|
4989
5438
|
readonly [uniffiTypeNameSymbol] = "ReceiverSessionHistory";
|
|
4990
|
-
readonly [destructorGuardSymbol]:
|
|
4991
|
-
readonly [pointerLiteralSymbol]:
|
|
5439
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5440
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4992
5441
|
private constructor();
|
|
4993
5442
|
/**
|
|
4994
5443
|
* Fallback transaction from the session if present
|
|
@@ -5012,8 +5461,8 @@ export interface ReceiverSessionOutcomeInterface {
|
|
|
5012
5461
|
}
|
|
5013
5462
|
export declare class ReceiverSessionOutcome extends UniffiAbstractObject implements ReceiverSessionOutcomeInterface {
|
|
5014
5463
|
readonly [uniffiTypeNameSymbol] = "ReceiverSessionOutcome";
|
|
5015
|
-
readonly [destructorGuardSymbol]:
|
|
5016
|
-
readonly [pointerLiteralSymbol]:
|
|
5464
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5465
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5017
5466
|
private constructor();
|
|
5018
5467
|
/**
|
|
5019
5468
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
@@ -5033,8 +5482,8 @@ export interface ReceiverSessionStatusInterface {
|
|
|
5033
5482
|
*/
|
|
5034
5483
|
export declare class ReceiverSessionStatus extends UniffiAbstractObject implements ReceiverSessionStatusInterface {
|
|
5035
5484
|
readonly [uniffiTypeNameSymbol] = "ReceiverSessionStatus";
|
|
5036
|
-
readonly [destructorGuardSymbol]:
|
|
5037
|
-
readonly [pointerLiteralSymbol]:
|
|
5485
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5486
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5038
5487
|
private constructor();
|
|
5039
5488
|
/**
|
|
5040
5489
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
@@ -5048,8 +5497,8 @@ export interface ReplayResultInterface {
|
|
|
5048
5497
|
}
|
|
5049
5498
|
export declare class ReplayResult extends UniffiAbstractObject implements ReplayResultInterface {
|
|
5050
5499
|
readonly [uniffiTypeNameSymbol] = "ReplayResult";
|
|
5051
|
-
readonly [destructorGuardSymbol]:
|
|
5052
|
-
readonly [pointerLiteralSymbol]:
|
|
5500
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5501
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5053
5502
|
private constructor();
|
|
5054
5503
|
sessionHistory(): ReceiverSessionHistoryInterface;
|
|
5055
5504
|
state(): ReceiveSession;
|
|
@@ -5069,9 +5518,21 @@ export interface SelectionErrorInterface {
|
|
|
5069
5518
|
*/
|
|
5070
5519
|
export declare class SelectionError extends UniffiAbstractObject implements SelectionErrorInterface {
|
|
5071
5520
|
readonly [uniffiTypeNameSymbol] = "SelectionError";
|
|
5072
|
-
readonly [destructorGuardSymbol]:
|
|
5073
|
-
readonly [pointerLiteralSymbol]:
|
|
5521
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5522
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5074
5523
|
private constructor();
|
|
5524
|
+
/**
|
|
5525
|
+
* Calls into the `Debug` string representation of `SelectionErrorInterface` (the native Rust peer).
|
|
5526
|
+
*
|
|
5527
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
5528
|
+
*/
|
|
5529
|
+
toDebugString(): string;
|
|
5530
|
+
/**
|
|
5531
|
+
* Calls into the `SelectionErrorInterface::to_string()` method of the native Rust peer.
|
|
5532
|
+
*
|
|
5533
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
5534
|
+
*/
|
|
5535
|
+
toString(): string;
|
|
5075
5536
|
/**
|
|
5076
5537
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
5077
5538
|
*/
|
|
@@ -5127,8 +5588,8 @@ export interface SenderBuilderInterface {
|
|
|
5127
5588
|
*/
|
|
5128
5589
|
export declare class SenderBuilder extends UniffiAbstractObject implements SenderBuilderInterface {
|
|
5129
5590
|
readonly [uniffiTypeNameSymbol] = "SenderBuilder";
|
|
5130
|
-
readonly [destructorGuardSymbol]:
|
|
5131
|
-
readonly [pointerLiteralSymbol]:
|
|
5591
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5592
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5132
5593
|
/**
|
|
5133
5594
|
* Prepare an HTTP request and request context to process the response
|
|
5134
5595
|
*
|
|
@@ -5175,6 +5636,47 @@ export declare class SenderBuilder extends UniffiAbstractObject implements Sende
|
|
|
5175
5636
|
uniffiDestroy(): void;
|
|
5176
5637
|
static instanceOf(obj: any): obj is SenderBuilder;
|
|
5177
5638
|
}
|
|
5639
|
+
/**
|
|
5640
|
+
* A terminal transition produced by cancelling a sender session.
|
|
5641
|
+
*/
|
|
5642
|
+
export interface SenderCancelTransitionInterface {
|
|
5643
|
+
/**
|
|
5644
|
+
* Persist the cancellation and return the fallback transaction.
|
|
5645
|
+
*
|
|
5646
|
+
* The fallback transaction is the consensus-encoded raw transaction bytes of
|
|
5647
|
+
* the sender's original transaction that should be broadcast to complete the
|
|
5648
|
+
* payment without Payjoin.
|
|
5649
|
+
*/
|
|
5650
|
+
save(persister: JsonSenderSessionPersister): ArrayBuffer;
|
|
5651
|
+
saveAsync(persister: JsonSenderSessionPersisterAsync, asyncOpts_?: {
|
|
5652
|
+
signal: AbortSignal;
|
|
5653
|
+
}): Promise<ArrayBuffer>;
|
|
5654
|
+
}
|
|
5655
|
+
/**
|
|
5656
|
+
* A terminal transition produced by cancelling a sender session.
|
|
5657
|
+
*/
|
|
5658
|
+
export declare class SenderCancelTransition extends UniffiAbstractObject implements SenderCancelTransitionInterface {
|
|
5659
|
+
readonly [uniffiTypeNameSymbol] = "SenderCancelTransition";
|
|
5660
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5661
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5662
|
+
private constructor();
|
|
5663
|
+
/**
|
|
5664
|
+
* Persist the cancellation and return the fallback transaction.
|
|
5665
|
+
*
|
|
5666
|
+
* The fallback transaction is the consensus-encoded raw transaction bytes of
|
|
5667
|
+
* the sender's original transaction that should be broadcast to complete the
|
|
5668
|
+
* payment without Payjoin.
|
|
5669
|
+
*/
|
|
5670
|
+
save(persister: JsonSenderSessionPersister): ArrayBuffer;
|
|
5671
|
+
saveAsync(persister: JsonSenderSessionPersisterAsync, asyncOpts_?: {
|
|
5672
|
+
signal: AbortSignal;
|
|
5673
|
+
}): Promise<ArrayBuffer>;
|
|
5674
|
+
/**
|
|
5675
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
5676
|
+
*/
|
|
5677
|
+
uniffiDestroy(): void;
|
|
5678
|
+
static instanceOf(obj: any): obj is SenderCancelTransition;
|
|
5679
|
+
}
|
|
5178
5680
|
/**
|
|
5179
5681
|
* Error that may occur when the sender session event log is replayed
|
|
5180
5682
|
*/
|
|
@@ -5185,9 +5687,21 @@ export interface SenderReplayErrorInterface {
|
|
|
5185
5687
|
*/
|
|
5186
5688
|
export declare class SenderReplayError extends UniffiAbstractObject implements SenderReplayErrorInterface {
|
|
5187
5689
|
readonly [uniffiTypeNameSymbol] = "SenderReplayError";
|
|
5188
|
-
readonly [destructorGuardSymbol]:
|
|
5189
|
-
readonly [pointerLiteralSymbol]:
|
|
5690
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5691
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5190
5692
|
private constructor();
|
|
5693
|
+
/**
|
|
5694
|
+
* Calls into the `Debug` string representation of `SenderReplayErrorInterface` (the native Rust peer).
|
|
5695
|
+
*
|
|
5696
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
5697
|
+
*/
|
|
5698
|
+
toDebugString(): string;
|
|
5699
|
+
/**
|
|
5700
|
+
* Calls into the `SenderReplayErrorInterface::to_string()` method of the native Rust peer.
|
|
5701
|
+
*
|
|
5702
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
5703
|
+
*/
|
|
5704
|
+
toString(): string;
|
|
5191
5705
|
/**
|
|
5192
5706
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
5193
5707
|
*/
|
|
@@ -5202,8 +5716,8 @@ export interface SenderReplayResultInterface {
|
|
|
5202
5716
|
}
|
|
5203
5717
|
export declare class SenderReplayResult extends UniffiAbstractObject implements SenderReplayResultInterface {
|
|
5204
5718
|
readonly [uniffiTypeNameSymbol] = "SenderReplayResult";
|
|
5205
|
-
readonly [destructorGuardSymbol]:
|
|
5206
|
-
readonly [pointerLiteralSymbol]:
|
|
5719
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5720
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5207
5721
|
private constructor();
|
|
5208
5722
|
sessionHistory(): SenderSessionHistoryInterface;
|
|
5209
5723
|
state(): SendSession;
|
|
@@ -5218,8 +5732,8 @@ export interface SenderSessionEventInterface {
|
|
|
5218
5732
|
}
|
|
5219
5733
|
export declare class SenderSessionEvent extends UniffiAbstractObject implements SenderSessionEventInterface {
|
|
5220
5734
|
readonly [uniffiTypeNameSymbol] = "SenderSessionEvent";
|
|
5221
|
-
readonly [destructorGuardSymbol]:
|
|
5222
|
-
readonly [pointerLiteralSymbol]:
|
|
5735
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5736
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5223
5737
|
private constructor();
|
|
5224
5738
|
static fromJson(json: string): SenderSessionEventInterface;
|
|
5225
5739
|
toJson(): string;
|
|
@@ -5239,8 +5753,8 @@ export interface SenderSessionHistoryInterface {
|
|
|
5239
5753
|
}
|
|
5240
5754
|
export declare class SenderSessionHistory extends UniffiAbstractObject implements SenderSessionHistoryInterface {
|
|
5241
5755
|
readonly [uniffiTypeNameSymbol] = "SenderSessionHistory";
|
|
5242
|
-
readonly [destructorGuardSymbol]:
|
|
5243
|
-
readonly [pointerLiteralSymbol]:
|
|
5756
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5757
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5244
5758
|
private constructor();
|
|
5245
5759
|
/**
|
|
5246
5760
|
* Fallback transaction from the session if present
|
|
@@ -5262,8 +5776,8 @@ export interface SenderSessionOutcomeInterface {
|
|
|
5262
5776
|
}
|
|
5263
5777
|
export declare class SenderSessionOutcome extends UniffiAbstractObject implements SenderSessionOutcomeInterface {
|
|
5264
5778
|
readonly [uniffiTypeNameSymbol] = "SenderSessionOutcome";
|
|
5265
|
-
readonly [destructorGuardSymbol]:
|
|
5266
|
-
readonly [pointerLiteralSymbol]:
|
|
5779
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5780
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5267
5781
|
private constructor();
|
|
5268
5782
|
isCancelled(): boolean;
|
|
5269
5783
|
isFailure(): boolean;
|
|
@@ -5287,8 +5801,8 @@ export interface SenderSessionStatusInterface {
|
|
|
5287
5801
|
*/
|
|
5288
5802
|
export declare class SenderSessionStatus extends UniffiAbstractObject implements SenderSessionStatusInterface {
|
|
5289
5803
|
readonly [uniffiTypeNameSymbol] = "SenderSessionStatus";
|
|
5290
|
-
readonly [destructorGuardSymbol]:
|
|
5291
|
-
readonly [pointerLiteralSymbol]:
|
|
5804
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5805
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5292
5806
|
private constructor();
|
|
5293
5807
|
/**
|
|
5294
5808
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
@@ -5300,9 +5814,21 @@ export interface SerdeJsonErrorInterface {
|
|
|
5300
5814
|
}
|
|
5301
5815
|
export declare class SerdeJsonError extends UniffiAbstractObject implements SerdeJsonErrorInterface {
|
|
5302
5816
|
readonly [uniffiTypeNameSymbol] = "SerdeJsonError";
|
|
5303
|
-
readonly [destructorGuardSymbol]:
|
|
5304
|
-
readonly [pointerLiteralSymbol]:
|
|
5817
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5818
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5305
5819
|
private constructor();
|
|
5820
|
+
/**
|
|
5821
|
+
* Calls into the `Debug` string representation of `SerdeJsonErrorInterface` (the native Rust peer).
|
|
5822
|
+
*
|
|
5823
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
5824
|
+
*/
|
|
5825
|
+
toDebugString(): string;
|
|
5826
|
+
/**
|
|
5827
|
+
* Calls into the `SerdeJsonErrorInterface::to_string()` method of the native Rust peer.
|
|
5828
|
+
*
|
|
5829
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
5830
|
+
*/
|
|
5831
|
+
toString(): string;
|
|
5306
5832
|
/**
|
|
5307
5833
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
5308
5834
|
*/
|
|
@@ -5321,9 +5847,21 @@ export interface SessionErrorInterface {
|
|
|
5321
5847
|
*/
|
|
5322
5848
|
export declare class SessionError extends UniffiAbstractObject implements SessionErrorInterface {
|
|
5323
5849
|
readonly [uniffiTypeNameSymbol] = "SessionError";
|
|
5324
|
-
readonly [destructorGuardSymbol]:
|
|
5325
|
-
readonly [pointerLiteralSymbol]:
|
|
5850
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5851
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5326
5852
|
private constructor();
|
|
5853
|
+
/**
|
|
5854
|
+
* Calls into the `Debug` string representation of `SessionErrorInterface` (the native Rust peer).
|
|
5855
|
+
*
|
|
5856
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
5857
|
+
*/
|
|
5858
|
+
toDebugString(): string;
|
|
5859
|
+
/**
|
|
5860
|
+
* Calls into the `SessionErrorInterface::to_string()` method of the native Rust peer.
|
|
5861
|
+
*
|
|
5862
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
5863
|
+
*/
|
|
5864
|
+
toString(): string;
|
|
5327
5865
|
/**
|
|
5328
5866
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
5329
5867
|
*/
|
|
@@ -5337,8 +5875,8 @@ export interface TransactionExists {
|
|
|
5337
5875
|
}
|
|
5338
5876
|
export declare class TransactionExistsImpl extends UniffiAbstractObject implements TransactionExists {
|
|
5339
5877
|
readonly [uniffiTypeNameSymbol] = "TransactionExistsImpl";
|
|
5340
|
-
readonly [destructorGuardSymbol]:
|
|
5341
|
-
readonly [pointerLiteralSymbol]:
|
|
5878
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5879
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5342
5880
|
private constructor();
|
|
5343
5881
|
callback(txid: string): ArrayBuffer | undefined;
|
|
5344
5882
|
/**
|
|
@@ -5356,12 +5894,22 @@ export interface UncheckedOriginalPayloadInterface {
|
|
|
5356
5894
|
* Those receivers call `extract_tx_to_check_broadcast()` and `attest_tested_and_scheduled_broadcast()` after making those checks downstream.
|
|
5357
5895
|
*/
|
|
5358
5896
|
assumeInteractiveReceiver(): AssumeInteractiveTransitionInterface;
|
|
5897
|
+
/**
|
|
5898
|
+
* Cancel the Payjoin session immediately.
|
|
5899
|
+
*
|
|
5900
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
5901
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
5902
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
5903
|
+
*
|
|
5904
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
5905
|
+
*/
|
|
5906
|
+
cancel(): CancelTransitionInterface;
|
|
5359
5907
|
checkBroadcastSuitability(minFeeRate: /*u64*/ bigint | undefined, canBroadcast: CanBroadcast): UncheckedOriginalPayloadTransitionInterface;
|
|
5360
5908
|
}
|
|
5361
5909
|
export declare class UncheckedOriginalPayload extends UniffiAbstractObject implements UncheckedOriginalPayloadInterface {
|
|
5362
5910
|
readonly [uniffiTypeNameSymbol] = "UncheckedOriginalPayload";
|
|
5363
|
-
readonly [destructorGuardSymbol]:
|
|
5364
|
-
readonly [pointerLiteralSymbol]:
|
|
5911
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5912
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5365
5913
|
private constructor();
|
|
5366
5914
|
/**
|
|
5367
5915
|
* Call this method if the only way to initiate a Payjoin with this receiver
|
|
@@ -5371,6 +5919,16 @@ export declare class UncheckedOriginalPayload extends UniffiAbstractObject imple
|
|
|
5371
5919
|
* Those receivers call `extract_tx_to_check_broadcast()` and `attest_tested_and_scheduled_broadcast()` after making those checks downstream.
|
|
5372
5920
|
*/
|
|
5373
5921
|
assumeInteractiveReceiver(): AssumeInteractiveTransitionInterface;
|
|
5922
|
+
/**
|
|
5923
|
+
* Cancel the Payjoin session immediately.
|
|
5924
|
+
*
|
|
5925
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
5926
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
5927
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
5928
|
+
*
|
|
5929
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
5930
|
+
*/
|
|
5931
|
+
cancel(): CancelTransitionInterface;
|
|
5374
5932
|
checkBroadcastSuitability(minFeeRate: /*u64*/ bigint | undefined, canBroadcast: CanBroadcast): UncheckedOriginalPayloadTransitionInterface;
|
|
5375
5933
|
/**
|
|
5376
5934
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
@@ -5386,8 +5944,8 @@ export interface UncheckedOriginalPayloadTransitionInterface {
|
|
|
5386
5944
|
}
|
|
5387
5945
|
export declare class UncheckedOriginalPayloadTransition extends UniffiAbstractObject implements UncheckedOriginalPayloadTransitionInterface {
|
|
5388
5946
|
readonly [uniffiTypeNameSymbol] = "UncheckedOriginalPayloadTransition";
|
|
5389
|
-
readonly [destructorGuardSymbol]:
|
|
5390
|
-
readonly [pointerLiteralSymbol]:
|
|
5947
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5948
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5391
5949
|
private constructor();
|
|
5392
5950
|
save(persister: JsonReceiverSessionPersister): MaybeInputsOwnedInterface;
|
|
5393
5951
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -5412,8 +5970,8 @@ export interface UriInterface {
|
|
|
5412
5970
|
}
|
|
5413
5971
|
export declare class Uri extends UniffiAbstractObject implements UriInterface {
|
|
5414
5972
|
readonly [uniffiTypeNameSymbol] = "Uri";
|
|
5415
|
-
readonly [destructorGuardSymbol]:
|
|
5416
|
-
readonly [pointerLiteralSymbol]:
|
|
5973
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5974
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5417
5975
|
private constructor();
|
|
5418
5976
|
static parse(uri: string): UriInterface;
|
|
5419
5977
|
address(): string;
|
|
@@ -5437,8 +5995,8 @@ export interface UrlInterface {
|
|
|
5437
5995
|
}
|
|
5438
5996
|
export declare class Url extends UniffiAbstractObject implements UrlInterface {
|
|
5439
5997
|
readonly [uniffiTypeNameSymbol] = "Url";
|
|
5440
|
-
readonly [destructorGuardSymbol]:
|
|
5441
|
-
readonly [pointerLiteralSymbol]:
|
|
5998
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
5999
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5442
6000
|
private constructor();
|
|
5443
6001
|
static parse(input: string): UrlInterface;
|
|
5444
6002
|
asString(): string;
|
|
@@ -5453,9 +6011,21 @@ export interface UrlParseErrorInterface {
|
|
|
5453
6011
|
}
|
|
5454
6012
|
export declare class UrlParseError extends UniffiAbstractObject implements UrlParseErrorInterface {
|
|
5455
6013
|
readonly [uniffiTypeNameSymbol] = "UrlParseError";
|
|
5456
|
-
readonly [destructorGuardSymbol]:
|
|
5457
|
-
readonly [pointerLiteralSymbol]:
|
|
6014
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6015
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5458
6016
|
private constructor();
|
|
6017
|
+
/**
|
|
6018
|
+
* Calls into the `Debug` string representation of `UrlParseErrorInterface` (the native Rust peer).
|
|
6019
|
+
*
|
|
6020
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
6021
|
+
*/
|
|
6022
|
+
toDebugString(): string;
|
|
6023
|
+
/**
|
|
6024
|
+
* Calls into the `UrlParseErrorInterface::to_string()` method of the native Rust peer.
|
|
6025
|
+
*
|
|
6026
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
6027
|
+
*/
|
|
6028
|
+
toString(): string;
|
|
5459
6029
|
/**
|
|
5460
6030
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
5461
6031
|
*/
|
|
@@ -5481,8 +6051,8 @@ export interface V1ContextInterface {
|
|
|
5481
6051
|
*/
|
|
5482
6052
|
export declare class V1Context extends UniffiAbstractObject implements V1ContextInterface {
|
|
5483
6053
|
readonly [uniffiTypeNameSymbol] = "V1Context";
|
|
5484
|
-
readonly [destructorGuardSymbol]:
|
|
5485
|
-
readonly [pointerLiteralSymbol]:
|
|
6054
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6055
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5486
6056
|
private constructor();
|
|
5487
6057
|
/**
|
|
5488
6058
|
* Decodes and validates the response.
|
|
@@ -5505,9 +6075,21 @@ export interface ValidationErrorInterface {
|
|
|
5505
6075
|
*/
|
|
5506
6076
|
export declare class ValidationError extends UniffiAbstractObject implements ValidationErrorInterface {
|
|
5507
6077
|
readonly [uniffiTypeNameSymbol] = "ValidationError";
|
|
5508
|
-
readonly [destructorGuardSymbol]:
|
|
5509
|
-
readonly [pointerLiteralSymbol]:
|
|
6078
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6079
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5510
6080
|
private constructor();
|
|
6081
|
+
/**
|
|
6082
|
+
* Calls into the `Debug` string representation of `ValidationErrorInterface` (the native Rust peer).
|
|
6083
|
+
*
|
|
6084
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
6085
|
+
*/
|
|
6086
|
+
toDebugString(): string;
|
|
6087
|
+
/**
|
|
6088
|
+
* Calls into the `ValidationErrorInterface::to_string()` method of the native Rust peer.
|
|
6089
|
+
*
|
|
6090
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
6091
|
+
*/
|
|
6092
|
+
toString(): string;
|
|
5511
6093
|
/**
|
|
5512
6094
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
5513
6095
|
*/
|
|
@@ -5538,11 +6120,21 @@ export interface WantsFeeRangeInterface {
|
|
|
5538
6120
|
* the original proposal parameters and the limit passed in the `min_fee_rate_sat_per_vb` parameter.
|
|
5539
6121
|
*/
|
|
5540
6122
|
applyFeeRange(minFeeRateSatPerVb: /*u64*/ bigint | undefined, maxEffectiveFeeRateSatPerVb: /*u64*/ bigint | undefined): WantsFeeRangeTransitionInterface;
|
|
6123
|
+
/**
|
|
6124
|
+
* Cancel the Payjoin session immediately.
|
|
6125
|
+
*
|
|
6126
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
6127
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
6128
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
6129
|
+
*
|
|
6130
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
6131
|
+
*/
|
|
6132
|
+
cancel(): CancelTransitionInterface;
|
|
5541
6133
|
}
|
|
5542
6134
|
export declare class WantsFeeRange extends UniffiAbstractObject implements WantsFeeRangeInterface {
|
|
5543
6135
|
readonly [uniffiTypeNameSymbol] = "WantsFeeRange";
|
|
5544
|
-
readonly [destructorGuardSymbol]:
|
|
5545
|
-
readonly [pointerLiteralSymbol]:
|
|
6136
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6137
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5546
6138
|
private constructor();
|
|
5547
6139
|
/**
|
|
5548
6140
|
* Applies additional fee contribution now that the receiver has contributed inputs
|
|
@@ -5567,6 +6159,16 @@ export declare class WantsFeeRange extends UniffiAbstractObject implements Wants
|
|
|
5567
6159
|
* the original proposal parameters and the limit passed in the `min_fee_rate_sat_per_vb` parameter.
|
|
5568
6160
|
*/
|
|
5569
6161
|
applyFeeRange(minFeeRateSatPerVb: /*u64*/ bigint | undefined, maxEffectiveFeeRateSatPerVb: /*u64*/ bigint | undefined): WantsFeeRangeTransitionInterface;
|
|
6162
|
+
/**
|
|
6163
|
+
* Cancel the Payjoin session immediately.
|
|
6164
|
+
*
|
|
6165
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
6166
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
6167
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
6168
|
+
*
|
|
6169
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
6170
|
+
*/
|
|
6171
|
+
cancel(): CancelTransitionInterface;
|
|
5570
6172
|
/**
|
|
5571
6173
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
5572
6174
|
*/
|
|
@@ -5581,8 +6183,8 @@ export interface WantsFeeRangeTransitionInterface {
|
|
|
5581
6183
|
}
|
|
5582
6184
|
export declare class WantsFeeRangeTransition extends UniffiAbstractObject implements WantsFeeRangeTransitionInterface {
|
|
5583
6185
|
readonly [uniffiTypeNameSymbol] = "WantsFeeRangeTransition";
|
|
5584
|
-
readonly [destructorGuardSymbol]:
|
|
5585
|
-
readonly [pointerLiteralSymbol]:
|
|
6186
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6187
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5586
6188
|
private constructor();
|
|
5587
6189
|
save(persister: JsonReceiverSessionPersister): ProvisionalProposalInterface;
|
|
5588
6190
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -5595,6 +6197,16 @@ export declare class WantsFeeRangeTransition extends UniffiAbstractObject implem
|
|
|
5595
6197
|
static instanceOf(obj: any): obj is WantsFeeRangeTransition;
|
|
5596
6198
|
}
|
|
5597
6199
|
export interface WantsInputsInterface {
|
|
6200
|
+
/**
|
|
6201
|
+
* Cancel the Payjoin session immediately.
|
|
6202
|
+
*
|
|
6203
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
6204
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
6205
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
6206
|
+
*
|
|
6207
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
6208
|
+
*/
|
|
6209
|
+
cancel(): CancelTransitionInterface;
|
|
5598
6210
|
commitInputs(): WantsInputsTransitionInterface;
|
|
5599
6211
|
contributeInputs(replacementInputs: Array<InputPairInterface>): WantsInputsInterface;
|
|
5600
6212
|
/**
|
|
@@ -5612,9 +6224,19 @@ export interface WantsInputsInterface {
|
|
|
5612
6224
|
}
|
|
5613
6225
|
export declare class WantsInputs extends UniffiAbstractObject implements WantsInputsInterface {
|
|
5614
6226
|
readonly [uniffiTypeNameSymbol] = "WantsInputs";
|
|
5615
|
-
readonly [destructorGuardSymbol]:
|
|
5616
|
-
readonly [pointerLiteralSymbol]:
|
|
6227
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6228
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5617
6229
|
private constructor();
|
|
6230
|
+
/**
|
|
6231
|
+
* Cancel the Payjoin session immediately.
|
|
6232
|
+
*
|
|
6233
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
6234
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
6235
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
6236
|
+
*
|
|
6237
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
6238
|
+
*/
|
|
6239
|
+
cancel(): CancelTransitionInterface;
|
|
5618
6240
|
commitInputs(): WantsInputsTransitionInterface;
|
|
5619
6241
|
contributeInputs(replacementInputs: Array<InputPairInterface>): WantsInputsInterface;
|
|
5620
6242
|
/**
|
|
@@ -5643,8 +6265,8 @@ export interface WantsInputsTransitionInterface {
|
|
|
5643
6265
|
}
|
|
5644
6266
|
export declare class WantsInputsTransition extends UniffiAbstractObject implements WantsInputsTransitionInterface {
|
|
5645
6267
|
readonly [uniffiTypeNameSymbol] = "WantsInputsTransition";
|
|
5646
|
-
readonly [destructorGuardSymbol]:
|
|
5647
|
-
readonly [pointerLiteralSymbol]:
|
|
6268
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6269
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5648
6270
|
private constructor();
|
|
5649
6271
|
save(persister: JsonReceiverSessionPersister): WantsFeeRangeInterface;
|
|
5650
6272
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -5657,6 +6279,16 @@ export declare class WantsInputsTransition extends UniffiAbstractObject implemen
|
|
|
5657
6279
|
static instanceOf(obj: any): obj is WantsInputsTransition;
|
|
5658
6280
|
}
|
|
5659
6281
|
export interface WantsOutputsInterface {
|
|
6282
|
+
/**
|
|
6283
|
+
* Cancel the Payjoin session immediately.
|
|
6284
|
+
*
|
|
6285
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
6286
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
6287
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
6288
|
+
*
|
|
6289
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
6290
|
+
*/
|
|
6291
|
+
cancel(): CancelTransitionInterface;
|
|
5660
6292
|
commitOutputs(): WantsOutputsTransitionInterface;
|
|
5661
6293
|
outputSubstitution(): OutputSubstitution;
|
|
5662
6294
|
replaceReceiverOutputs(replacementOutputs: Array<PlainTxOut>, drainScriptPubkey: ArrayBuffer): WantsOutputsInterface;
|
|
@@ -5664,9 +6296,19 @@ export interface WantsOutputsInterface {
|
|
|
5664
6296
|
}
|
|
5665
6297
|
export declare class WantsOutputs extends UniffiAbstractObject implements WantsOutputsInterface {
|
|
5666
6298
|
readonly [uniffiTypeNameSymbol] = "WantsOutputs";
|
|
5667
|
-
readonly [destructorGuardSymbol]:
|
|
5668
|
-
readonly [pointerLiteralSymbol]:
|
|
6299
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6300
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5669
6301
|
private constructor();
|
|
6302
|
+
/**
|
|
6303
|
+
* Cancel the Payjoin session immediately.
|
|
6304
|
+
*
|
|
6305
|
+
* Returns a [`CancelTransition`] that, once persisted, yields the fallback
|
|
6306
|
+
* transaction when applicable. The fallback transaction is the sender's original
|
|
6307
|
+
* transaction that should be broadcast to complete the payment without Payjoin.
|
|
6308
|
+
*
|
|
6309
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
6310
|
+
*/
|
|
6311
|
+
cancel(): CancelTransitionInterface;
|
|
5670
6312
|
commitOutputs(): WantsOutputsTransitionInterface;
|
|
5671
6313
|
outputSubstitution(): OutputSubstitution;
|
|
5672
6314
|
replaceReceiverOutputs(replacementOutputs: Array<PlainTxOut>, drainScriptPubkey: ArrayBuffer): WantsOutputsInterface;
|
|
@@ -5685,8 +6327,8 @@ export interface WantsOutputsTransitionInterface {
|
|
|
5685
6327
|
}
|
|
5686
6328
|
export declare class WantsOutputsTransition extends UniffiAbstractObject implements WantsOutputsTransitionInterface {
|
|
5687
6329
|
readonly [uniffiTypeNameSymbol] = "WantsOutputsTransition";
|
|
5688
|
-
readonly [destructorGuardSymbol]:
|
|
5689
|
-
readonly [pointerLiteralSymbol]:
|
|
6330
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6331
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5690
6332
|
private constructor();
|
|
5691
6333
|
save(persister: JsonReceiverSessionPersister): WantsInputsInterface;
|
|
5692
6334
|
saveAsync(persister: JsonReceiverSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -5708,9 +6350,21 @@ export interface WellKnownErrorInterface {
|
|
|
5708
6350
|
*/
|
|
5709
6351
|
export declare class WellKnownError extends UniffiAbstractObject implements WellKnownErrorInterface {
|
|
5710
6352
|
readonly [uniffiTypeNameSymbol] = "WellKnownError";
|
|
5711
|
-
readonly [destructorGuardSymbol]:
|
|
5712
|
-
readonly [pointerLiteralSymbol]:
|
|
6353
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6354
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5713
6355
|
private constructor();
|
|
6356
|
+
/**
|
|
6357
|
+
* Calls into the `Debug` string representation of `WellKnownErrorInterface` (the native Rust peer).
|
|
6358
|
+
*
|
|
6359
|
+
* Generated by deriving the `Debug` trait in Rust.
|
|
6360
|
+
*/
|
|
6361
|
+
toDebugString(): string;
|
|
6362
|
+
/**
|
|
6363
|
+
* Calls into the `WellKnownErrorInterface::to_string()` method of the native Rust peer.
|
|
6364
|
+
*
|
|
6365
|
+
* Generated by deriving the `Display` trait in Rust.
|
|
6366
|
+
*/
|
|
6367
|
+
toString(): string;
|
|
5714
6368
|
/**
|
|
5715
6369
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
5716
6370
|
*/
|
|
@@ -5718,6 +6372,16 @@ export declare class WellKnownError extends UniffiAbstractObject implements Well
|
|
|
5718
6372
|
static instanceOf(obj: any): obj is WellKnownError;
|
|
5719
6373
|
}
|
|
5720
6374
|
export interface WithReplyKeyInterface {
|
|
6375
|
+
/**
|
|
6376
|
+
* Cancel the Payjoin session immediately.
|
|
6377
|
+
*
|
|
6378
|
+
* Returns a [`SenderCancelTransition`] that, once persisted, yields the fallback
|
|
6379
|
+
* transaction. The fallback transaction is the sender's original transaction
|
|
6380
|
+
* that should be broadcast to complete the payment without Payjoin.
|
|
6381
|
+
*
|
|
6382
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
6383
|
+
*/
|
|
6384
|
+
cancel(): SenderCancelTransitionInterface;
|
|
5721
6385
|
/**
|
|
5722
6386
|
* Construct serialized Request and Context from a Payjoin Proposal.
|
|
5723
6387
|
*
|
|
@@ -5735,9 +6399,19 @@ export interface WithReplyKeyInterface {
|
|
|
5735
6399
|
}
|
|
5736
6400
|
export declare class WithReplyKey extends UniffiAbstractObject implements WithReplyKeyInterface {
|
|
5737
6401
|
readonly [uniffiTypeNameSymbol] = "WithReplyKey";
|
|
5738
|
-
readonly [destructorGuardSymbol]:
|
|
5739
|
-
readonly [pointerLiteralSymbol]:
|
|
6402
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6403
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5740
6404
|
private constructor();
|
|
6405
|
+
/**
|
|
6406
|
+
* Cancel the Payjoin session immediately.
|
|
6407
|
+
*
|
|
6408
|
+
* Returns a [`SenderCancelTransition`] that, once persisted, yields the fallback
|
|
6409
|
+
* transaction. The fallback transaction is the sender's original transaction
|
|
6410
|
+
* that should be broadcast to complete the payment without Payjoin.
|
|
6411
|
+
*
|
|
6412
|
+
* This is a terminal transition — the session cannot be used after cancellation.
|
|
6413
|
+
*/
|
|
6414
|
+
cancel(): SenderCancelTransitionInterface;
|
|
5741
6415
|
/**
|
|
5742
6416
|
* Construct serialized Request and Context from a Payjoin Proposal.
|
|
5743
6417
|
*
|
|
@@ -5766,8 +6440,8 @@ export interface WithReplyKeyTransitionInterface {
|
|
|
5766
6440
|
}
|
|
5767
6441
|
export declare class WithReplyKeyTransition extends UniffiAbstractObject implements WithReplyKeyTransitionInterface {
|
|
5768
6442
|
readonly [uniffiTypeNameSymbol] = "WithReplyKeyTransition";
|
|
5769
|
-
readonly [destructorGuardSymbol]:
|
|
5770
|
-
readonly [pointerLiteralSymbol]:
|
|
6443
|
+
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
6444
|
+
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
5771
6445
|
private constructor();
|
|
5772
6446
|
save(persister: JsonSenderSessionPersister): PollingForProposalInterface;
|
|
5773
6447
|
saveAsync(persister: JsonSenderSessionPersisterAsync, asyncOpts_?: {
|
|
@@ -5797,6 +6471,7 @@ declare const _default: Readonly<{
|
|
|
5797
6471
|
FfiConverterTypeAssumeInteractiveTransition: FfiConverterObject<AssumeInteractiveTransitionInterface>;
|
|
5798
6472
|
FfiConverterTypeBuildSenderError: FfiConverterObject<BuildSenderErrorInterface>;
|
|
5799
6473
|
FfiConverterTypeCanBroadcast: FfiConverterObjectWithCallbacks<CanBroadcast>;
|
|
6474
|
+
FfiConverterTypeCancelTransition: FfiConverterObject<CancelTransitionInterface>;
|
|
5800
6475
|
FfiConverterTypeClientResponse: FfiConverterObject<ClientResponseInterface>;
|
|
5801
6476
|
FfiConverterTypeCreateRequestError: FfiConverterObject<CreateRequestErrorInterface>;
|
|
5802
6477
|
FfiConverterTypeCreateRequestError__as_error: FfiConverterObjectAsError<CreateRequestErrorInterface>;
|
|
@@ -6140,6 +6815,7 @@ declare const _default: Readonly<{
|
|
|
6140
6815
|
lower(value: SendSession): UniffiByteArray;
|
|
6141
6816
|
};
|
|
6142
6817
|
FfiConverterTypeSenderBuilder: FfiConverterObject<SenderBuilderInterface>;
|
|
6818
|
+
FfiConverterTypeSenderCancelTransition: FfiConverterObject<SenderCancelTransitionInterface>;
|
|
6143
6819
|
FfiConverterTypeSenderInputError: {
|
|
6144
6820
|
read(from: RustBuffer): SenderInputError;
|
|
6145
6821
|
write(value: SenderInputError, into: RustBuffer): void;
|