@pioneer-platform/changelly-client 8.3.8 → 8.3.10
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/lib/index.js +3 -0
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -142,6 +142,9 @@ function create_transaction(from, to, address, amount, extraId) {
|
|
|
142
142
|
data = _a.sent();
|
|
143
143
|
console.log("data:", data);
|
|
144
144
|
data = data.result;
|
|
145
|
+
output.id = data.id;
|
|
146
|
+
output.amountOut = data.amountExpectedTo;
|
|
147
|
+
output.inboundAddress = data.payinAddress;
|
|
145
148
|
if (!data)
|
|
146
149
|
throw Error("Failed to create quote@changelly");
|
|
147
150
|
if (!data.payinAddress)
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pioneer-platform/changelly-client",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.10",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@bithighlander/changelly": "^1.0.0",
|
|
8
8
|
"@pioneer-platform/loggerdog": "^8.3.1",
|
|
9
|
-
"@pioneer-platform/pioneer-caip": "^9.2.
|
|
9
|
+
"@pioneer-platform/pioneer-caip": "^9.2.23",
|
|
10
10
|
"axios": "^1.3.4",
|
|
11
11
|
"dotenv": "^8.2.0",
|
|
12
12
|
"jayson": "^4.1.0",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"ts-jest": "^29.0.5",
|
|
31
31
|
"typescript": "^5.0.2"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "99c1e9eb0e9324259128f53302a8face18ec44f3"
|
|
34
34
|
}
|