@pioneer-platform/osmosis-network 8.1.34 → 8.1.35

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 +5 -3
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -502,9 +502,11 @@ var broadcast_transaction = function (tx) {
502
502
  })];
503
503
  case 3:
504
504
  result2 = _a.sent();
505
- log.debug(tag, '** Broadcast ** REMOTE: result: ', result2.data);
506
- if (result2.data.txhash)
507
- output.txid = result2.data.txhash;
505
+ log.info(tag, '** Broadcast ** REMOTE: result: ', result2.data);
506
+ if (result2.data.tx_response.txhash) {
507
+ output.txid = result2.data.tx_response.txhash;
508
+ output.success = true;
509
+ }
508
510
  //verify success
509
511
  if (result2.data.raw_log) {
510
512
  logSend = result2.data.raw_log;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/osmosis-network",
3
- "version": "8.1.34",
3
+ "version": "8.1.35",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "scripts": {