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

Adding type and abis #122

Merged
merged 10 commits into from
Apr 3, 2024
Merged

Adding type and abis #122

merged 10 commits into from
Apr 3, 2024

Conversation

bengriffin1
Copy link
Contributor

πŸ“¦ Pull Request

βœ… Fixed Issues

🚨 Test instructions

⚠️ Don't forget to add a semver label!

didToken: string,
contractAddress: string,
contractType: 'ERC721' | 'ERC1155',
web3: Web3,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious, why web3 needs to be a param in this case?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a thought, maybe web3 can be a peer dependency, which can keep our admin sdk light-weight and thin

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made it a param to make the mocks more straightforward in the unit tests, and also to allow the users to pass in web3 instances that may have custom options.

I'm not familiar with peer dependencies, looking into it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved into peer dependencies @Ethella

@bengriffin1 bengriffin1 merged commit 75113c8 into master Apr 3, 2024
1 check passed
@bengriffin1 bengriffin1 deleted the bengriffin1-add-token-gating branch April 3, 2024 18:14
@bengriffin1 bengriffin1 added the minor Increment the minor version when merged label Apr 3, 2024
@Ethella
Copy link
Member

Ethella commented Apr 3, 2024

πŸš€ PR was released in v2.2.0 πŸš€

@Ethella Ethella added the released This issue/pull request has been released. label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants