@openocean.finance/openocean-sdk 1.7.84 → 1.7.85

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.
@@ -44,7 +44,7 @@ var web3_1 = __importDefault(require("web3"));
44
44
  var ethers_1 = require("ethers");
45
45
  var bignumber_js_1 = __importDefault(require("bignumber.js"));
46
46
  var providerEth = new ethers_1.ethers.providers.JsonRpcProvider({
47
- url: "https://rpc.ankr.com/eth"
47
+ url: "https://1rpc.io/eth"
48
48
  });
49
49
  var Approve = /** @class */ (function () {
50
50
  function Approve(contract, wallet) {
@@ -63,7 +63,7 @@ var axios_1 = __importDefault(require("axios"));
63
63
  var bs58 = require("bs58");
64
64
  ontology_dapi_1.client.registerClient({});
65
65
  var providerEth = new ethers_1.ethers.providers.JsonRpcProvider({
66
- url: "https://rpc.ankr.com/eth"
66
+ url: "https://1rpc.io/eth"
67
67
  });
68
68
  var Swap = /** @class */ (function () {
69
69
  function Swap(res, wallet, chain, isNew) {
@@ -53,7 +53,7 @@ var providerNear = new near_api_js_1.providers.JsonRpcProvider({
53
53
  url: "https://near.drpc.org"
54
54
  });
55
55
  var providerEth = new ethers_1.ethers.providers.JsonRpcProvider({
56
- url: "https://rpc.ankr.com/eth"
56
+ url: "https://1rpc.io/eth"
57
57
  });
58
58
  function getBalance(account, tokenAddressOrSymbol, decimals, chainName, myWallet, customAddress) {
59
59
  return __awaiter(this, void 0, void 0, function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/openocean-sdk",
3
- "version": "1.7.84",
3
+ "version": "1.7.85",
4
4
  "description": "Openocean sdk",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {