@pioneer-platform/mayachain-client 0.0.18 → 0.0.20

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 +2 -2
  2. package/package.json +4 -4
package/lib/index.js CHANGED
@@ -214,10 +214,10 @@ var get_quote = function (quote) {
214
214
  log.info(tag, "memo: ", memo);
215
215
  tx = {
216
216
  type: "transfer",
217
- chain: quote.sellAsset.split(".")[0],
217
+ chain: ChainToNetworkId(quote.sellAsset.split(".")[0]),
218
218
  txParams: {
219
219
  senderAddress: quote.senderAddress,
220
- recipientAddress: quote.inboundAddress,
220
+ recipientAddress: quote.inbound_address,
221
221
  amount: quote.sellAmount,
222
222
  token: quote.sellAsset.split(".")[1],
223
223
  memo: memo
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pioneer-platform/mayachain-client",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "dependencies": {
7
7
  "@pioneer-platform/loggerdog": "^8.3.1",
8
- "@pioneer-platform/maya-network": "^8.3.5",
9
- "@pioneer-platform/pioneer-caip": "^9.2.22",
10
- "@pioneer-platform/pioneer-coins": "^9.2.12",
8
+ "@pioneer-platform/maya-network": "^8.3.7",
9
+ "@pioneer-platform/pioneer-caip": "^9.2.23",
10
+ "@pioneer-platform/pioneer-coins": "^9.2.13",
11
11
  "axios": "^1.3.4",
12
12
  "dotenv": "^8.2.0",
13
13
  "rango-sdk": "^0.1.45",