@aptos-labs/wallet-adapter-core 5.4.1 → 5.4.2

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.
@@ -32,7 +32,7 @@ export declare const fetchDevnetChainId: () => Promise<number>;
32
32
  * as a string, this function converts the string to Uint8Array.
33
33
  */
34
34
  export declare const handlePublishPackageTransaction: (transactionInput: InputTransactionData) => {
35
- metadataBytes: number | bigint | boolean | Uint8Array | import("@aptos-labs/ts-sdk/dist/common/accountAddress-5ltp27oM").g | import("@aptos-labs/ts-sdk").Bool | import("@aptos-labs/ts-sdk").U8 | import("@aptos-labs/ts-sdk").U16 | import("@aptos-labs/ts-sdk").U32 | import("@aptos-labs/ts-sdk").U64 | import("@aptos-labs/ts-sdk").U128 | import("@aptos-labs/ts-sdk").U256 | import("@aptos-labs/ts-sdk").MoveVector<import("@aptos-labs/ts-sdk").EntryFunctionArgumentTypes> | import("@aptos-labs/ts-sdk").MoveOption<import("@aptos-labs/ts-sdk").EntryFunctionArgumentTypes> | import("@aptos-labs/ts-sdk").MoveString | import("@aptos-labs/ts-sdk").FixedBytes | ArrayBuffer | (import("@aptos-labs/ts-sdk").EntryFunctionArgumentTypes | import("@aptos-labs/ts-sdk").SimpleEntryFunctionArgumentTypes)[] | import("@aptos-labs/ts-sdk").MoveVector<import("@aptos-labs/ts-sdk").ScriptFunctionArgumentTypes> | import("@aptos-labs/ts-sdk").Serialized | null | undefined;
35
+ metadataBytes: number | bigint | boolean | Uint8Array | import("@aptos-labs/ts-sdk/dist/common/accountAddress-D0xKX-UM").g | import("@aptos-labs/ts-sdk").Bool | import("@aptos-labs/ts-sdk").U8 | import("@aptos-labs/ts-sdk").U16 | import("@aptos-labs/ts-sdk").U32 | import("@aptos-labs/ts-sdk").U64 | import("@aptos-labs/ts-sdk").U128 | import("@aptos-labs/ts-sdk").U256 | import("@aptos-labs/ts-sdk").MoveVector<import("@aptos-labs/ts-sdk").EntryFunctionArgumentTypes> | import("@aptos-labs/ts-sdk").MoveOption<import("@aptos-labs/ts-sdk").EntryFunctionArgumentTypes> | import("@aptos-labs/ts-sdk").MoveString | import("@aptos-labs/ts-sdk").FixedBytes | ArrayBuffer | (import("@aptos-labs/ts-sdk").EntryFunctionArgumentTypes | import("@aptos-labs/ts-sdk").SimpleEntryFunctionArgumentTypes)[] | import("@aptos-labs/ts-sdk").MoveVector<import("@aptos-labs/ts-sdk").ScriptFunctionArgumentTypes> | import("@aptos-labs/ts-sdk").Serialized | null | undefined;
36
36
  byteCode: (import("@aptos-labs/ts-sdk").EntryFunctionArgumentTypes | import("@aptos-labs/ts-sdk").SimpleEntryFunctionArgumentTypes)[];
37
37
  };
38
38
  export declare function convertNetwork(networkInfo: NetworkInfo | null): Network;
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const WALLET_ADAPTER_CORE_VERSION = "5.4.1";
1
+ export declare const WALLET_ADAPTER_CORE_VERSION = "5.4.2";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptos-labs/wallet-adapter-core",
3
- "version": "5.4.1",
3
+ "version": "5.4.2",
4
4
  "description": "Aptos Wallet Adapter Core",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -50,7 +50,7 @@
50
50
  "tweetnacl": "^1.0.3"
51
51
  },
52
52
  "peerDependencies": {
53
- "@aptos-labs/ts-sdk": "^1.38.0"
53
+ "@aptos-labs/ts-sdk": "^1.38.0 || ^2.0.0"
54
54
  },
55
55
  "files": [
56
56
  "dist",
package/src/WalletCore.ts CHANGED
@@ -177,7 +177,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
177
177
  constructor(
178
178
  optInWallets?: ReadonlyArray<AvailableWallets>,
179
179
  dappConfig?: DappConfig,
180
- disableTelemetry?: boolean
180
+ disableTelemetry?: boolean,
181
181
  ) {
182
182
  super();
183
183
  this._optInWallets = optInWallets || [];
@@ -224,7 +224,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
224
224
  * @param extensionwWallets
225
225
  */
226
226
  private setExtensionAIP62Wallets(
227
- extensionwWallets: readonly AptosWallet[]
227
+ extensionwWallets: readonly AptosWallet[],
228
228
  ): void {
229
229
  extensionwWallets.map((wallet: AdapterWallet) => {
230
230
  if (this.excludeWallet(wallet)) {
@@ -233,14 +233,14 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
233
233
 
234
234
  // Remove optional duplications in the _all_wallets array
235
235
  this._standard_wallets = this._standard_wallets.filter(
236
- (item) => item.name !== wallet.name
236
+ (item) => item.name !== wallet.name,
237
237
  );
238
238
 
239
239
  const isValid = isWalletWithRequiredFeatureSet(wallet);
240
240
  if (isValid) {
241
241
  // check if we already have this wallet as a not detected wallet
242
242
  const index = this._standard_not_detected_wallets.findIndex(
243
- (notDetctedWallet) => notDetctedWallet.name == wallet.name
243
+ (notDetctedWallet) => notDetctedWallet.name == wallet.name,
244
244
  );
245
245
  // if we do, remove it from the not detected wallets array as it is now become detected
246
246
  if (index !== -1) {
@@ -280,7 +280,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
280
280
  aptosStandardSupportedWalletList.map((supportedWallet) => {
281
281
  // Check if we already have this wallet as a detected AIP-62 wallet standard
282
282
  const existingStandardWallet = this._standard_wallets.find(
283
- (wallet) => wallet.name == supportedWallet.name
283
+ (wallet) => wallet.name == supportedWallet.name,
284
284
  );
285
285
  // If it is detected, it means the user has the wallet installed, so dont add it to the wallets array
286
286
  if (existingStandardWallet) {
@@ -334,7 +334,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
334
334
  * @param wallet A wallet
335
335
  */
336
336
  private ensureWalletExists(
337
- wallet: AdapterWallet | null
337
+ wallet: AdapterWallet | null,
338
338
  ): asserts wallet is AdapterWallet {
339
339
  if (!wallet) {
340
340
  throw new WalletNotConnectedError().name;
@@ -349,7 +349,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
349
349
  * @param account An account
350
350
  */
351
351
  private ensureAccountExists(
352
- account: AccountInfo | null
352
+ account: AccountInfo | null,
353
353
  ): asserts account is AccountInfo {
354
354
  if (!account) {
355
355
  throw new WalletAccountError("Account is not set").name;
@@ -500,7 +500,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
500
500
  // Check if we are in a redirectable view (i.e on mobile AND not in an in-app browser)
501
501
  if (isRedirectable()) {
502
502
  const selectedWallet = this._standard_not_detected_wallets.find(
503
- (wallet: AdapterNotDetectedWallet) => wallet.name === walletName
503
+ (wallet: AdapterNotDetectedWallet) => wallet.name === walletName,
504
504
  );
505
505
 
506
506
  if (selectedWallet) {
@@ -520,7 +520,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
520
520
  const allDetectedWallets = this._standard_wallets;
521
521
 
522
522
  const selectedWallet = allDetectedWallets.find(
523
- (wallet: AdapterWallet) => wallet.name === walletName
523
+ (wallet: AdapterWallet) => wallet.name === walletName,
524
524
  );
525
525
 
526
526
  if (!selectedWallet) return;
@@ -530,7 +530,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
530
530
  // if the selected wallet is already connected, we don't need to connect again
531
531
  if (this._wallet?.name === walletName)
532
532
  throw new WalletConnectionError(
533
- `${walletName} wallet is already connected`
533
+ `${walletName} wallet is already connected`,
534
534
  ).message;
535
535
  }
536
536
 
@@ -563,7 +563,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
563
563
 
564
564
  const allDetectedWallets = this._standard_wallets;
565
565
  const selectedWallet = allDetectedWallets.find(
566
- (wallet: AdapterWallet) => wallet.name === walletName
566
+ (wallet: AdapterWallet) => wallet.name === walletName,
567
567
  );
568
568
 
569
569
  if (!selectedWallet) {
@@ -572,14 +572,14 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
572
572
 
573
573
  if (!selectedWallet.features["aptos:signIn"]) {
574
574
  throw new WalletNotSupportedMethod(
575
- `aptos:signIn is not supported by ${walletName}`
575
+ `aptos:signIn is not supported by ${walletName}`,
576
576
  ).message;
577
577
  }
578
578
 
579
579
  return await this.connectWallet(selectedWallet, async () => {
580
580
  if (!selectedWallet.features["aptos:signIn"]) {
581
581
  throw new WalletNotSupportedMethod(
582
- `aptos:signIn is not supported by ${selectedWallet.name}`
582
+ `aptos:signIn is not supported by ${selectedWallet.name}`,
583
583
  ).message;
584
584
  }
585
585
 
@@ -605,7 +605,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
605
605
  */
606
606
  private async connectWallet<T>(
607
607
  selectedWallet: AdapterWallet,
608
- onConnect: () => Promise<{ account: AccountInfo; output: T }>
608
+ onConnect: () => Promise<{ account: AccountInfo; output: T }>,
609
609
  ): Promise<T> {
610
610
  try {
611
611
  this._connecting = true;
@@ -656,7 +656,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
656
656
  * @returns AptosSignAndSubmitTransactionOutput
657
657
  */
658
658
  async signAndSubmitTransaction(
659
- transactionInput: InputTransactionData
659
+ transactionInput: InputTransactionData,
660
660
  ): Promise<AptosSignAndSubmitTransactionOutput> {
661
661
  try {
662
662
  if ("function" in transactionInput.data) {
@@ -698,7 +698,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
698
698
  });
699
699
 
700
700
  type AptosSignAndSubmitTransactionV1Method = (
701
- transaction: AnyRawTransaction
701
+ transaction: AnyRawTransaction,
702
702
  ) => Promise<UserResponse<AptosSignAndSubmitTransactionOutput>>;
703
703
 
704
704
  const signAndSubmitTransactionMethod = this._wallet.features[
@@ -707,7 +707,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
707
707
  .signAndSubmitTransaction as unknown as AptosSignAndSubmitTransactionV1Method;
708
708
 
709
709
  const response = (await signAndSubmitTransactionMethod(
710
- transaction
710
+ transaction,
711
711
  )) as UserResponse<AptosSignAndSubmitTransactionOutput>;
712
712
 
713
713
  if (response.status === UserResponseStatus.REJECTED) {
@@ -800,7 +800,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
800
800
  "aptos:signTransaction"
801
801
  ].signTransaction(
802
802
  transactionOrPayload,
803
- asFeePayer
803
+ asFeePayer,
804
804
  )) as UserResponse<AccountAuthenticator>;
805
805
  if (response.status === UserResponseStatus.REJECTED) {
806
806
  throw new WalletConnectionError("User has rejected the request")
@@ -836,7 +836,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
836
836
  AptosSignTransactionMethodV1_1;
837
837
 
838
838
  const response = (await walletSignTransactionMethod(
839
- signTransactionV1_1StandardInput
839
+ signTransactionV1_1StandardInput,
840
840
  )) as UserResponse<AptosSignTransactionOutputV1_1>;
841
841
  if (response.status === UserResponseStatus.REJECTED) {
842
842
  throw new WalletConnectionError("User has rejected the request")
@@ -862,7 +862,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
862
862
  "aptos:signTransaction"
863
863
  ].signTransaction(
864
864
  transaction,
865
- asFeePayer
865
+ asFeePayer,
866
866
  )) as UserResponse<AccountAuthenticator>;
867
867
  if (response.status === UserResponseStatus.REJECTED) {
868
868
  throw new WalletConnectionError("User has rejected the request")
@@ -889,7 +889,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
889
889
  * @throws WalletSignMessageError
890
890
  */
891
891
  async signMessage(
892
- message: AptosSignMessageInput
892
+ message: AptosSignMessageInput,
893
893
  ): Promise<AptosSignMessageOutput> {
894
894
  try {
895
895
  this.ensureWalletExists(this._wallet);
@@ -915,7 +915,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
915
915
  * @returns PendingTransactionResponse
916
916
  */
917
917
  async submitTransaction(
918
- transaction: InputSubmitTransactionData
918
+ transaction: InputSubmitTransactionData,
919
919
  ): Promise<PendingTransactionResponse> {
920
920
  // The standard does not support submitTransaction, so we use the adapter to submit the transaction
921
921
  try {
@@ -961,7 +961,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
961
961
  await this.setAnsName();
962
962
  this.recordEvent("account_change");
963
963
  this.emit("accountChange", this._account);
964
- }
964
+ },
965
965
  );
966
966
  } catch (error: any) {
967
967
  const errMsg = generalizedErrorMessage(error);
@@ -982,7 +982,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
982
982
  this.setNetwork(data);
983
983
  await this.setAnsName();
984
984
  this.emit("networkChange", this._network);
985
- }
985
+ },
986
986
  );
987
987
  } catch (error: any) {
988
988
  const errMsg = generalizedErrorMessage(error);
@@ -1016,7 +1016,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
1016
1016
  if (this._wallet.features["aptos:changeNetwork"]) {
1017
1017
  const response =
1018
1018
  await this._wallet.features["aptos:changeNetwork"].changeNetwork(
1019
- networkInfo
1019
+ networkInfo,
1020
1020
  );
1021
1021
  if (response.status === UserResponseStatus.REJECTED) {
1022
1022
  throw new WalletConnectionError("User has rejected the request")
@@ -1026,7 +1026,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
1026
1026
  }
1027
1027
 
1028
1028
  throw new WalletChangeNetworkError(
1029
- `${this._wallet.name} does not support changing network request`
1029
+ `${this._wallet.name} does not support changing network request`,
1030
1030
  ).message;
1031
1031
  } catch (error: any) {
1032
1032
  const errMsg = generalizedErrorMessage(error);
@@ -1056,7 +1056,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
1056
1056
 
1057
1057
  const aptosConfig = getAptosConfig(this._network, this._dappConfig);
1058
1058
  const signingMessage = new TextEncoder().encode(
1059
- response.args.fullMessage
1059
+ response.args.fullMessage,
1060
1060
  );
1061
1061
  if ("verifySignatureAsync" in (this._account.publicKey as Object)) {
1062
1062
  return await this._account.publicKey.verifySignatureAsync({
package/src/sdkWallets.ts CHANGED
@@ -37,7 +37,7 @@ export function getSDKWallets(dappConfig?: DappConfig) {
37
37
  network: dappConfig.network as Network.MAINNET | Network.TESTNET,
38
38
  manifestURL: dappConfig.mizuwallet.manifestURL,
39
39
  appId: dappConfig.mizuwallet.appId,
40
- })
40
+ }) as any // TODO: fix type mismatch
41
41
  );
42
42
  }
43
43
  }
@@ -16,17 +16,17 @@ import { InputTransactionData } from "./types";
16
16
 
17
17
  export function isMobile(): boolean {
18
18
  return /Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/i.test(
19
- navigator.userAgent
19
+ navigator.userAgent,
20
20
  );
21
21
  }
22
22
 
23
23
  export function isInAppBrowser(): boolean {
24
24
  const isIphone = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(
25
- navigator.userAgent
25
+ navigator.userAgent,
26
26
  );
27
27
 
28
28
  const isAndroid = /(Android).*Version\/[\d.]+.*Chrome\/[^\s]+ Mobile/i.test(
29
- navigator.userAgent
29
+ navigator.userAgent,
30
30
  );
31
31
 
32
32
  return isIphone || isAndroid;
@@ -56,7 +56,7 @@ export function generalizedErrorMessage(error: any): string {
56
56
  */
57
57
  export const getAptosConfig = (
58
58
  networkInfo: NetworkInfo | null,
59
- dappConfig: DappConfig | undefined
59
+ dappConfig: DappConfig | undefined,
60
60
  ): AptosConfig => {
61
61
  if (!networkInfo) {
62
62
  throw new Error("Undefined network");
@@ -84,7 +84,7 @@ export const getAptosConfig = (
84
84
 
85
85
  if (networkInfo.url) {
86
86
  const isKnownNetwork = Object.values(knownNetworks).includes(
87
- networkInfo.url
87
+ networkInfo.url,
88
88
  );
89
89
 
90
90
  if (isKnownNetwork) {
@@ -97,7 +97,7 @@ export const getAptosConfig = (
97
97
 
98
98
  // Custom networks are not supported, please ensure that the wallet is returning the appropriate network Mainnet, Testnet, Devnet, Local
99
99
  throw new Error(
100
- `Invalid network, network ${networkInfo.name} not supported with Aptos wallet adapter to prevent user from using an unexpected network.`
100
+ `Invalid network, network ${networkInfo.name} not supported with Aptos wallet adapter to prevent user from using an unexpected network.`,
101
101
  );
102
102
  };
103
103
 
@@ -108,7 +108,7 @@ export const getAptosConfig = (
108
108
  * @returns boolean
109
109
  */
110
110
  export const isAptosNetwork = (
111
- networkInfo: NetworkInfo | StandardNetworkInfo | null
111
+ networkInfo: NetworkInfo | StandardNetworkInfo | null,
112
112
  ): boolean => {
113
113
  if (!networkInfo) {
114
114
  throw new Error("Undefined network");
@@ -138,7 +138,7 @@ export const fetchDevnetChainId = async (): Promise<number> => {
138
138
  * as a string, this function converts the string to Uint8Array.
139
139
  */
140
140
  export const handlePublishPackageTransaction = (
141
- transactionInput: InputTransactionData
141
+ transactionInput: InputTransactionData,
142
142
  ) => {
143
143
  // convert the first argument, metadataBytes, to uint8array if is a string
144
144
  let metadataBytes = transactionInput.data.functionArguments[0];
@@ -157,7 +157,7 @@ export const handlePublishPackageTransaction = (
157
157
  });
158
158
  } else {
159
159
  throw new WalletSignAndSubmitMessageError(
160
- "The bytecode argument must be an array."
160
+ "The bytecode argument must be an array.",
161
161
  ).message;
162
162
  }
163
163
 
@@ -11,8 +11,8 @@ import { isRedirectable } from "./helpers";
11
11
  export function partitionWallets(
12
12
  wallets: ReadonlyArray<AdapterWallet | AdapterNotDetectedWallet>,
13
13
  partitionFunction: (
14
- wallet: AdapterWallet | AdapterNotDetectedWallet
15
- ) => boolean = isInstalledOrLoadable
14
+ wallet: AdapterWallet | AdapterNotDetectedWallet,
15
+ ) => boolean = isInstalledOrLoadable,
16
16
  ) {
17
17
  const defaultWallets: Array<AdapterWallet> = [];
18
18
  const moreWallets: Array<AdapterNotDetectedWallet> = [];
@@ -27,7 +27,7 @@ export function partitionWallets(
27
27
 
28
28
  /** Returns true if the wallet is installed or loadable. */
29
29
  export function isInstalledOrLoadable(
30
- wallet: AdapterWallet | AdapterNotDetectedWallet
30
+ wallet: AdapterWallet | AdapterNotDetectedWallet,
31
31
  ) {
32
32
  return wallet.readyState === WalletReadyState.Installed;
33
33
  }
@@ -37,7 +37,7 @@ export function isInstalledOrLoadable(
37
37
  * This can be used to decide whether to show a "Connect" button or "Install" link in the UI.
38
38
  */
39
39
  export function isInstallRequired(
40
- wallet: AdapterWallet | AdapterNotDetectedWallet
40
+ wallet: AdapterWallet | AdapterNotDetectedWallet,
41
41
  ) {
42
42
  const isWalletReady = isInstalledOrLoadable(wallet);
43
43
  const isMobile = !isWalletReady && isRedirectable();
@@ -62,11 +62,11 @@ export function isAptosConnectWallet(wallet: WalletInfo | AdapterWallet) {
62
62
  * Aptos Connect is a web wallet that uses social login to create accounts on the blockchain.
63
63
  */
64
64
  export function getAptosConnectWallets(
65
- wallets: ReadonlyArray<AdapterWallet | AdapterNotDetectedWallet>
65
+ wallets: ReadonlyArray<AdapterWallet | AdapterNotDetectedWallet>,
66
66
  ) {
67
67
  const { defaultWallets, moreWallets } = partitionWallets(
68
68
  wallets,
69
- isAptosConnectWallet
69
+ isAptosConnectWallet,
70
70
  );
71
71
  return { aptosConnectWallets: defaultWallets, otherWallets: moreWallets };
72
72
  }
@@ -77,12 +77,12 @@ export interface WalletSortingOptions {
77
77
  /** An optional function for sorting wallets that are currently installed or loadable. */
78
78
  sortAvailableWallets?: (
79
79
  a: AdapterWallet | AdapterNotDetectedWallet,
80
- b: AdapterWallet | AdapterNotDetectedWallet
80
+ b: AdapterWallet | AdapterNotDetectedWallet,
81
81
  ) => number;
82
82
  /** An optional function for sorting wallets that are NOT currently installed or loadable. */
83
83
  sortInstallableWallets?: (
84
84
  a: AdapterWallet | AdapterNotDetectedWallet,
85
- b: AdapterWallet | AdapterNotDetectedWallet
85
+ b: AdapterWallet | AdapterNotDetectedWallet,
86
86
  ) => number;
87
87
  }
88
88
 
@@ -101,7 +101,7 @@ export interface WalletSortingOptions {
101
101
  */
102
102
  export function groupAndSortWallets(
103
103
  wallets: ReadonlyArray<AdapterWallet | AdapterNotDetectedWallet>,
104
- options?: WalletSortingOptions
104
+ options?: WalletSortingOptions,
105
105
  ) {
106
106
  const { aptosConnectWallets, otherWallets } = getAptosConnectWallets(wallets);
107
107
  const { defaultWallets, moreWallets } = partitionWallets(otherWallets);
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const WALLET_ADAPTER_CORE_VERSION = "5.4.1";
1
+ export const WALLET_ADAPTER_CORE_VERSION = "5.4.2";