@connect-xyz/withdraw-react 0.8.1 → 0.11.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 +9 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
2
|
|
|
3
|
+
declare type Amount = {
|
|
4
|
+
amount: string;
|
|
5
|
+
notional_amount?: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
3
8
|
/**
|
|
4
9
|
* Generic app event structure
|
|
5
10
|
* @template TType - Event type string
|
|
@@ -123,6 +128,10 @@ declare type WithdrawalCompletedPayload = {
|
|
|
123
128
|
networkId: string;
|
|
124
129
|
/** Amount being withdrawn */
|
|
125
130
|
amount?: string;
|
|
131
|
+
/** Blockchain network transaction fee charged for processing the withdrawal */
|
|
132
|
+
network_fee?: Amount;
|
|
133
|
+
/** Connect service fee charged for facilitating the withdrawal */
|
|
134
|
+
withdrawal_fee?: Amount;
|
|
126
135
|
};
|
|
127
136
|
};
|
|
128
137
|
|