@pioneer-platform/osmosis-network 8.3.10 → 8.3.12

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 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -105,6 +105,8 @@ var BASE_OSMO = 1000000;
105
105
  //**********************************/
106
106
  module.exports = {
107
107
  init: function (url, settings) {
108
+ log.info(TAG, "init", url, settings);
109
+ URL_OSMO_RPC = url;
108
110
  return true;
109
111
  },
110
112
  isOnline: function () {
@@ -712,7 +714,7 @@ var get_transaction = function (txid) {
712
714
  _a.label = 1;
713
715
  case 1:
714
716
  _a.trys.push([1, 3, , 4]);
715
- return [4 /*yield*/, axios({ method: 'GET', url: URL_OSMO_LCD + '/txs/' + txid })];
717
+ return [4 /*yield*/, axios({ method: 'GET', url: URL_OSMO_LCD + '/cosmos/tx/v1beta1/txs/' + txid })];
716
718
  case 2:
717
719
  txInfo = _a.sent();
718
720
  log.debug(tag, "txInfo: ", txInfo.data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/osmosis-network",
3
- "version": "8.3.10",
3
+ "version": "8.3.12",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "scripts": {