Skip to content

Commit

Permalink
Change to Massa Wallet naming
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant committed Jan 2, 2025
1 parent d3c713c commit 55a3ccf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/massaStation/MassaStationAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ import bs58check from 'bs58check';
*
*/
export class MassaStationAccount implements Provider {
private _providerName = WalletName.MassaStation;
private _providerName = WalletName.MassaWallet;

constructor(
public address: string,
Expand Down
2 changes: 1 addition & 1 deletion src/massaStation/MassaStationWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const MASSA_STATION_NETWORK_CHANGED = 'MASSA_STATION_NETWORK_CHANGED';
* This class is used as a proxy to the MassaStation server for exchanging message over https calls.
*/
export class MassaStationWallet implements Wallet {
private walletName = WalletName.MassaStation;
private walletName = WalletName.MassaWallet;

private eventsListener = new EventEmitter();
private currentNetwork: Network;
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export type ListenerCtrl = {

export enum WalletName {
Bearby = 'BEARBY',
MassaStation = 'MASSASTATION',
MassaWallet = 'MASSA WALLET',
Metamask = 'METAMASK',
}
2 changes: 1 addition & 1 deletion test-e2e/massaStation/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { MassaStationWallet } from '../../../src/massaStation/MassaStationWallet
import { getWallet } from '../../../src/walletsManager/walletList';

export async function getMassaStationWallet(): Promise<MassaStationWallet> {
const massaStationWallet = await getWallet(WalletName.MassaStation);
const massaStationWallet = await getWallet(WalletName.MassaWallet);

// stop the test if the wallet is not available
if (!massaStationWallet) throw new Error('Massa Station wallet not found');
Expand Down

0 comments on commit 55a3ccf

Please sign in to comment.