@tomo-inc/chains-service 0.0.26 → 0.0.27

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.
package/dist/index.cjs CHANGED
@@ -5192,8 +5192,7 @@ var SolanaService = class _SolanaService extends BaseService {
5192
5192
  return fetch(url, { ...options });
5193
5193
  }
5194
5194
  };
5195
- const domain = walletUtils.TomoApiDomains[tomoAppInfo.tomoStage];
5196
- const rpcUrl = `${domain}/rpc/v1/solana`;
5195
+ const rpcUrl = "https://wallet.tomo.inc/rpc/v1/solana";
5197
5196
  this.rpcUrl = rpcUrl;
5198
5197
  this.connection = new web3_js.Connection(rpcUrl, config);
5199
5198
  }
package/dist/index.js CHANGED
@@ -5184,8 +5184,7 @@ var SolanaService = class _SolanaService extends BaseService {
5184
5184
  return fetch(url, { ...options });
5185
5185
  }
5186
5186
  };
5187
- const domain = TomoApiDomains[tomoAppInfo.tomoStage];
5188
- const rpcUrl = `${domain}/rpc/v1/solana`;
5187
+ const rpcUrl = "https://wallet.tomo.inc/rpc/v1/solana";
5189
5188
  this.rpcUrl = rpcUrl;
5190
5189
  this.connection = new Connection(rpcUrl, config);
5191
5190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomo-inc/chains-service",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "author": "tomo.inc",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -1,4 +1,4 @@
1
- import { ChainTypeEnum, SupportedChainTypes, TomoApiDomains } from "@tomo-inc/wallet-utils";
1
+ import { ChainTypeEnum, SupportedChainTypes } from "@tomo-inc/wallet-utils";
2
2
 
3
3
  import { BaseService } from "../base/service";
4
4
 
@@ -31,8 +31,7 @@ export class SolanaService extends BaseService {
31
31
  return fetch(url, { ...options });
32
32
  },
33
33
  };
34
- const domain = TomoApiDomains[tomoAppInfo.tomoStage];
35
- const rpcUrl = `${domain}/rpc/v1/solana`;
34
+ const rpcUrl = "https://wallet.tomo.inc/rpc/v1/solana";
36
35
 
37
36
  this.rpcUrl = rpcUrl;
38
37
  this.connection = new Connection(rpcUrl, config);