@kimafinance/kima-transaction-api 1.3.2 → 1.3.3
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/build/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/index.ts +2 -2
package/build/index.d.ts
CHANGED
|
@@ -36,8 +36,8 @@ interface RequestTxProps {
|
|
|
36
36
|
targetAddress: string;
|
|
37
37
|
originSymbol: CurrencyOptions;
|
|
38
38
|
targetSymbol: CurrencyOptions;
|
|
39
|
-
amount:
|
|
40
|
-
fee:
|
|
39
|
+
amount: string;
|
|
40
|
+
fee: string;
|
|
41
41
|
htlcCreationHash: string;
|
|
42
42
|
htlcCreationVout: number;
|
|
43
43
|
htlcExpirationTimestamp: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kimafinance/kima-transaction-api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "A wrapper around Kima's API, enabling sending and monitoring transactions (Beta version)",
|
|
5
5
|
"repository": "https://github.com/kima-finance/kima-transaction-api",
|
|
6
6
|
"author": "",
|
package/src/index.ts
CHANGED
|
@@ -98,8 +98,8 @@ interface RequestTxProps {
|
|
|
98
98
|
targetAddress: string;
|
|
99
99
|
originSymbol: CurrencyOptions;
|
|
100
100
|
targetSymbol: CurrencyOptions;
|
|
101
|
-
amount: number
|
|
102
|
-
fee: number
|
|
101
|
+
amount: string; // number in whole units i.e. "12.34"
|
|
102
|
+
fee: string; // number in whole units i.e "0.061234"
|
|
103
103
|
htlcCreationHash: string;
|
|
104
104
|
htlcCreationVout: number;
|
|
105
105
|
htlcExpirationTimestamp: string;
|