Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements of core exports #223

Merged

Conversation

PhilippeR26
Copy link

@dhruvkelawala
(info : @ivpavici )

  1. 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.
  2. 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.

@avimak
Copy link
Collaborator

avimak commented Mar 27, 2024

lgtm, @dhruvkelawala if no objections pls merge 👍

@dhruvkelawala dhruvkelawala merged commit 5e8b2e5 into starknet-io:develop Apr 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants