@aptos-labs/wallet-adapter-core 5.4.1 → 5.5.0
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/WalletCore.d.ts +3 -0
- package/dist/WalletCore.d.ts.map +1 -1
- package/dist/index.js +1 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -13
- package/dist/index.mjs.map +1 -1
- package/dist/sdkWallets.d.ts.map +1 -1
- package/dist/utils/helpers.d.ts +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -4
- package/src/WalletCore.ts +3 -0
- package/src/sdkWallets.ts +0 -16
- package/src/utils/helpers.ts +9 -9
- package/src/utils/walletSelector.ts +9 -9
- package/src/version.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -294,7 +294,7 @@ function _ts_generator(thisArg, body) {
|
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
|
-
var WALLET_ADAPTER_CORE_VERSION = "5.
|
|
297
|
+
var WALLET_ADAPTER_CORE_VERSION = "5.5.0";
|
|
298
298
|
// src/WalletCore.ts
|
|
299
299
|
import EventEmitter from "eventemitter3";
|
|
300
300
|
import { AccountAddress, Aptos as Aptos2, Network as Network3, NetworkToChainId } from "@aptos-labs/ts-sdk";
|
|
@@ -818,7 +818,6 @@ var aptosStandardSupportedWalletList = [
|
|
|
818
818
|
import { AptosConnectAppleWallet, AptosConnectGoogleWallet } from "@aptos-connect/wallet-adapter-plugin";
|
|
819
819
|
import { Network as Network2 } from "@aptos-labs/ts-sdk";
|
|
820
820
|
import { DevTWallet, TWallet } from "@atomrigslab/aptos-wallet-adapter";
|
|
821
|
-
import { MizuWallet } from "@mizuwallet-sdk/aptos-wallet-adapter";
|
|
822
821
|
import { MSafeWallet } from "@msafe/aptos-aip62-wallet";
|
|
823
822
|
function getSDKWallets(dappConfig) {
|
|
824
823
|
var sdkWallets = [];
|
|
@@ -830,17 +829,6 @@ function getSDKWallets(dappConfig) {
|
|
|
830
829
|
network: dappConfig === null || dappConfig === void 0 ? void 0 : dappConfig.network,
|
|
831
830
|
dappId: dappConfig === null || dappConfig === void 0 ? void 0 : dappConfig.aptosConnectDappId
|
|
832
831
|
}, dappConfig === null || dappConfig === void 0 ? void 0 : dappConfig.aptosConnect)));
|
|
833
|
-
if ((dappConfig === null || dappConfig === void 0 ? void 0 : dappConfig.mizuwallet) && (dappConfig === null || dappConfig === void 0 ? void 0 : dappConfig.network) && [
|
|
834
|
-
Network2.MAINNET,
|
|
835
|
-
Network2.TESTNET
|
|
836
|
-
].includes(dappConfig.network)) {
|
|
837
|
-
sdkWallets.push(new MizuWallet({
|
|
838
|
-
// mizo supports only TESTNET and MAINNET and holds a custom type for network
|
|
839
|
-
network: dappConfig.network,
|
|
840
|
-
manifestURL: dappConfig.mizuwallet.manifestURL,
|
|
841
|
-
appId: dappConfig.mizuwallet.appId
|
|
842
|
-
}));
|
|
843
|
-
}
|
|
844
832
|
}
|
|
845
833
|
if ((dappConfig === null || dappConfig === void 0 ? void 0 : dappConfig.network) === Network2.MAINNET) {
|
|
846
834
|
sdkWallets.push(new TWallet());
|