@cryptorubic/web3 1.1.0-alpha-stellar.28 → 1.1.0-alpha-stellar.29

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptorubic/web3",
3
- "version": "1.1.0-alpha-stellar.28",
3
+ "version": "1.1.0-alpha-stellar.29",
4
4
  "dependencies": {
5
5
  "@ethersproject/bignumber": "^5.8.0",
6
6
  "@mysten/sui": "^1.24.0",
@@ -82,9 +82,6 @@ class BlockchainAdapterFactoryService {
82
82
  if (blockchainType === core_1.CHAIN_TYPE.SOLANA) {
83
83
  return new solana_adapter_1.SolanaAdapter(rpcs, this.httpClient, this.createLogger?.(`SOLANA_ADAPTER`), this.clientParams);
84
84
  }
85
- if (blockchain === core_1.BLOCKCHAIN_NAME.STELLAR && this.stellarParams) {
86
- return new stellar_adapter_1.StellarAdapter(this.stellarParams, this.httpClient, this.logger, this.clientParams);
87
- }
88
85
  }
89
86
  if (blockchain === core_1.BLOCKCHAIN_NAME.TON && this.tonParams?.tonApiConfig && this.tonParams?.tonClientConfig) {
90
87
  return new ton_adapter_1.TonAdapter(this.httpClient, this.tonParams, this.createLogger?.(`TON_ADAPTER`), this.clientParams);
@@ -92,6 +89,9 @@ class BlockchainAdapterFactoryService {
92
89
  if (blockchain === core_1.BLOCKCHAIN_NAME.BITCOIN && this.httpClient) {
93
90
  return new bitcoin_adapter_1.BitcoinAdapter(this.httpClient, this.createLogger?.(`BTC_ADAPTER`), this.clientParams);
94
91
  }
92
+ if (blockchain === core_1.BLOCKCHAIN_NAME.STELLAR && this.stellarParams) {
93
+ return new stellar_adapter_1.StellarAdapter(this.stellarParams, this.httpClient, this.logger, this.clientParams);
94
+ }
95
95
  return null;
96
96
  }
97
97
  connectWallet(blockchain, wallet) {