@coinflowlabs/react-native 2.1.11 → 2.1.12
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/README.md +4 -0
- package/build/CoinflowTypes.d.ts +5 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,6 +58,10 @@ Props:
|
|
|
58
58
|
* `rent` (optional, Solana only): Specify the blockchain rent amount to add to the total
|
|
59
59
|
* `nativeSolToConvert` (optional, Solana only): Specify the amount of native SOL to convert wSOL for the purchase
|
|
60
60
|
|
|
61
|
+
## 2.1.12
|
|
62
|
+
|
|
63
|
+
- Added `waitForHash` to EvmTransactionData
|
|
64
|
+
|
|
61
65
|
## 2.1.11
|
|
62
66
|
|
|
63
67
|
- Added `theme` props to Coinflow components for easy color control
|
package/build/CoinflowTypes.d.ts
CHANGED
|
@@ -262,7 +262,10 @@ export interface CoinflowPolygonWithdrawProps extends CoinflowCommonWithdrawProp
|
|
|
262
262
|
blockchain: 'polygon';
|
|
263
263
|
}
|
|
264
264
|
export type CoinflowWithdrawProps = CoinflowSolanaWithdrawProps | CoinflowNearWithdrawProps | CoinflowEthWithdrawProps | CoinflowPolygonWithdrawProps;
|
|
265
|
-
export interface
|
|
265
|
+
export interface CommonEvmRedeem {
|
|
266
|
+
waitForHash?: boolean;
|
|
267
|
+
}
|
|
268
|
+
export interface NormalRedeem extends CommonEvmRedeem {
|
|
266
269
|
transaction: {
|
|
267
270
|
to: string;
|
|
268
271
|
data: string;
|
|
@@ -286,7 +289,7 @@ interface ReservoirOrderIdItem {
|
|
|
286
289
|
}
|
|
287
290
|
type ReservoirItem = ReservoirNftIdItem | ReservoirOrderIdItem;
|
|
288
291
|
type ReservoirItems = ReservoirItem | ReservoirItem[];
|
|
289
|
-
export interface ReservoirRedeem {
|
|
292
|
+
export interface ReservoirRedeem extends CommonEvmRedeem {
|
|
290
293
|
type: 'reservoir';
|
|
291
294
|
items: ReservoirItems;
|
|
292
295
|
}
|