@aptos-labs/wallet-adapter-core
Advanced tools
Comparing version 3.8.0 to 3.9.0
# @aptos-labs/wallet-adapter-core | ||
## 3.9.0 | ||
### Minor Changes | ||
- 6be2a06: Convert uppercase network name to lowercase in NetworkInfo | ||
## 3.8.0 | ||
@@ -4,0 +10,0 @@ |
@@ -694,3 +694,3 @@ "use strict"; | ||
this._network = { | ||
name: standardizeNetwork.name, | ||
name: standardizeNetwork.name.toLowerCase(), | ||
chainId: standardizeNetwork.chainId.toString(), | ||
@@ -701,3 +701,3 @@ url: standardizeNetwork.url | ||
} | ||
this._network = { ...network }; | ||
this._network = { ...network, name: network.name.toLowerCase() }; | ||
} | ||
@@ -704,0 +704,0 @@ isConnected() { |
{ | ||
"name": "@aptos-labs/wallet-adapter-core", | ||
"version": "3.8.0", | ||
"version": "3.9.0", | ||
"description": "Aptos Wallet Adapter Core", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
import { TxnBuilderTypes, Types, BCS } from "aptos"; | ||
import { | ||
Network, | ||
AnyRawTransaction, | ||
@@ -386,3 +387,3 @@ AccountAuthenticator, | ||
this._network = { | ||
name: standardizeNetwork.name, | ||
name: standardizeNetwork.name.toLowerCase() as Network, | ||
chainId: standardizeNetwork.chainId.toString(), | ||
@@ -393,3 +394,3 @@ url: standardizeNetwork.url, | ||
} | ||
this._network = { ...(network as NetworkInfo) }; | ||
this._network = { ...(network as NetworkInfo), name: network.name.toLowerCase() as Network }; | ||
} | ||
@@ -396,0 +397,0 @@ |
Sorry, the diff of this file is not supported yet
149920
4125