In core, StarknetChainId and Permission are enums.
Permission is exported as enum, but StarknetChainId is exported as type.
To be able to use correctly StarknetChainId, it's proposed to export it also as an enum.
During tests of Starknet.js WalletAccount class in a DAPP, it appeared that it's beneficial for DAPP devs to be able to import scanObjectForWallets & isWalletObj. It's proposed to add these 2 exports in core.
@dhruvkelawala (info : @ivpavici )
core
,StarknetChainId
andPermission
are enums.Permission
is exported as enum, butStarknetChainId
is exported as type. To be able to use correctlyStarknetChainId
, it's proposed to export it also as an enum.WalletAccount
class in a DAPP, it appeared that it's beneficial for DAPP devs to be able to importscanObjectForWallets
&isWalletObj
. It's proposed to add these 2 exports in core.