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

NFT-1310: fix address checksum + introduce findSingleDeploymentOrThrow #17

Merged
merged 8 commits into from
Apr 19, 2023

Conversation

bauti-defi
Copy link
Contributor

@bauti-defi bauti-defi commented Apr 17, 2023

Changes included:

  • All reNFT deployment addresses are now in checksummed address format.
  • findSingleDeploymentOrThrow() method has been introduced
  • isValidDeployment() method has been introduced. -> Uses zod schema to verify deployments are valid.

Testing:

Replaced all @renft/sdk package.json dependencies with this version locally.

@bauti-defi bauti-defi changed the title fix address checksum + introduce findSingleDeploymentOrThrow NFT-1310: fix address checksum + introduce findSingleDeploymentOrThrow Apr 17, 2023
@github-actions
Copy link

github-actions bot commented Apr 17, 2023

size-limit report 📦

Path Size
dist/sdk.cjs.production.min.js 136.01 KB (+35.85% 🔺)
dist/sdk.esm.js 71.75 KB (+58.55% 🔺)

test/index.test.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@cawfree cawfree left a comment

Choose a reason for hiding this comment

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

@cawfree cawfree merged commit 59350cb into main Apr 19, 2023
@cawfree cawfree deleted the bauti/nft-1310-add-findsingledeploymentorthrow-and-fix branch April 19, 2023 09:06
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.

2 participants