@connect-xyz/withdraw-js 0.49.2 → 0.50.0
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/index.d.ts +8 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,11 +7,6 @@
|
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
declare type Amount = {
|
|
11
|
-
amount: string;
|
|
12
|
-
notional_amount?: string;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
10
|
/**
|
|
16
11
|
* Generic app event structure
|
|
17
12
|
* @template TType - Event type string
|
|
@@ -493,8 +488,8 @@ declare class Withdraw extends BaseJsSdk<WithdrawConfig> {
|
|
|
493
488
|
export { Withdraw }
|
|
494
489
|
export default Withdraw;
|
|
495
490
|
|
|
491
|
+
/** Payload reported when a withdrawal reaches a terminal state. */
|
|
496
492
|
declare type WithdrawalCompletedPayload = {
|
|
497
|
-
/** Data associated with the withdrawal */
|
|
498
493
|
data: {
|
|
499
494
|
/** Unique identifier for the withdrawal */
|
|
500
495
|
withdrawalId: string;
|
|
@@ -507,12 +502,17 @@ declare type WithdrawalCompletedPayload = {
|
|
|
507
502
|
/** Amount being withdrawn */
|
|
508
503
|
amount?: string;
|
|
509
504
|
/** Blockchain network transaction fee charged for processing the withdrawal */
|
|
510
|
-
network_fee?:
|
|
505
|
+
network_fee?: WithdrawalFeeAmount;
|
|
511
506
|
/** Connect service fee charged for facilitating the withdrawal */
|
|
512
|
-
withdrawal_fee?:
|
|
507
|
+
withdrawal_fee?: WithdrawalFeeAmount;
|
|
513
508
|
};
|
|
514
509
|
};
|
|
515
510
|
|
|
511
|
+
declare type WithdrawalFeeAmount = {
|
|
512
|
+
amount: string;
|
|
513
|
+
notional_amount?: string;
|
|
514
|
+
};
|
|
515
|
+
|
|
516
516
|
/**
|
|
517
517
|
* Withdrawal initiated event data
|
|
518
518
|
*/
|