@pioneer-platform/uniswap-client 0.0.2 → 0.0.4

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 +6 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -475,9 +475,14 @@ var get_quote = function (quote) {
475
475
  case 13:
476
476
  tx = _d.sent();
477
477
  log.info(tag, "tx: ", tx);
478
+ output.meta = {
479
+ quoteMode: "ETH_TO_ETH"
480
+ };
481
+ output.steps = 1;
482
+ output.complete = true;
478
483
  output.type = 'EVM';
479
484
  output.id = uuid();
480
- output.tx = [tx];
485
+ output.txs = [tx];
481
486
  return [2 /*return*/, output];
482
487
  case 14:
483
488
  e_2 = _d.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/uniswap-client",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "dependencies": {