@pioneer-platform/changelly-client 8.3.8 → 8.3.9

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.
Files changed (2) hide show
  1. package/lib/index.js +3 -0
  2. package/package.json +2 -2
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/changelly-client",
3
- "version": "8.3.8",
3
+ "version": "8.3.9",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "dependencies": {
@@ -30,5 +30,5 @@
30
30
  "ts-jest": "^29.0.5",
31
31
  "typescript": "^5.0.2"
32
32
  },
33
- "gitHead": "4c12b840606a82a8dabf03389e9c32c44d1efda6"
33
+ "gitHead": "c1e40e843e4fdc57c436fd16e36c2773cee756e4"
34
34
  }