@atomiqlabs/base 13.1.7 → 13.1.8
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.
|
@@ -47,6 +47,11 @@ export type SpvWithdrawalClaimedState = {
|
|
|
47
47
|
recipient: string;
|
|
48
48
|
claimer: string;
|
|
49
49
|
fronter: string;
|
|
50
|
+
getClaimTxId?: () => Promise<string>;
|
|
51
|
+
getTxBlock?: () => Promise<{
|
|
52
|
+
blockHeight: number;
|
|
53
|
+
blockTime: number;
|
|
54
|
+
}>;
|
|
50
55
|
} & SpvWithdrawalStateCommon;
|
|
51
56
|
/**
|
|
52
57
|
* The withdrawal has been fronted by some 3rd party
|
|
@@ -57,6 +62,11 @@ export type SpvWithdrawalFrontedState = {
|
|
|
57
62
|
type: SpvWithdrawalStateType.FRONTED;
|
|
58
63
|
recipient: string;
|
|
59
64
|
fronter: string;
|
|
65
|
+
getFrontTxId?: () => Promise<string>;
|
|
66
|
+
getTxBlock?: () => Promise<{
|
|
67
|
+
blockHeight: number;
|
|
68
|
+
blockTime: number;
|
|
69
|
+
}>;
|
|
60
70
|
} & SpvWithdrawalStateCommon;
|
|
61
71
|
/**
|
|
62
72
|
* An SPV vault (UTXO-controlled vault), has been closed as a result of the claim (withdrawal) transaction,
|
|
@@ -67,6 +77,11 @@ export type SpvWithdrawalFrontedState = {
|
|
|
67
77
|
export type SpvWithdrawalClosedState = {
|
|
68
78
|
type: SpvWithdrawalStateType.CLOSED;
|
|
69
79
|
error: string;
|
|
80
|
+
getClosedTxId?: () => Promise<string>;
|
|
81
|
+
getTxBlock?: () => Promise<{
|
|
82
|
+
blockHeight: number;
|
|
83
|
+
blockTime: number;
|
|
84
|
+
}>;
|
|
70
85
|
} & SpvWithdrawalStateCommon;
|
|
71
86
|
/**
|
|
72
87
|
* A union type for the state of the spv vault claim (withdrawal)
|
package/package.json
CHANGED
|
@@ -49,7 +49,9 @@ export type SpvWithdrawalClaimedState = {
|
|
|
49
49
|
type: SpvWithdrawalStateType.CLAIMED,
|
|
50
50
|
recipient: string,
|
|
51
51
|
claimer: string,
|
|
52
|
-
fronter: string
|
|
52
|
+
fronter: string,
|
|
53
|
+
getClaimTxId?: () => Promise<string>,
|
|
54
|
+
getTxBlock?: () => Promise<{blockHeight: number, blockTime: number}>
|
|
53
55
|
} & SpvWithdrawalStateCommon;
|
|
54
56
|
|
|
55
57
|
/**
|
|
@@ -60,7 +62,9 @@ export type SpvWithdrawalClaimedState = {
|
|
|
60
62
|
export type SpvWithdrawalFrontedState = {
|
|
61
63
|
type: SpvWithdrawalStateType.FRONTED,
|
|
62
64
|
recipient: string,
|
|
63
|
-
fronter: string
|
|
65
|
+
fronter: string,
|
|
66
|
+
getFrontTxId?: () => Promise<string>,
|
|
67
|
+
getTxBlock?: () => Promise<{blockHeight: number, blockTime: number}>
|
|
64
68
|
} & SpvWithdrawalStateCommon;
|
|
65
69
|
|
|
66
70
|
/**
|
|
@@ -71,7 +75,9 @@ export type SpvWithdrawalFrontedState = {
|
|
|
71
75
|
*/
|
|
72
76
|
export type SpvWithdrawalClosedState = {
|
|
73
77
|
type: SpvWithdrawalStateType.CLOSED,
|
|
74
|
-
error: string
|
|
78
|
+
error: string,
|
|
79
|
+
getClosedTxId?: () => Promise<string>,
|
|
80
|
+
getTxBlock?: () => Promise<{blockHeight: number, blockTime: number}>
|
|
75
81
|
} & SpvWithdrawalStateCommon;
|
|
76
82
|
|
|
77
83
|
/**
|