transmissions11/solmate

NPM package out of date

sarhaan77 opened this issue · 1 comments

  1. forge install https://github.com/Rari-Capital/solmate, give u the following function defs for supportsInterface():
    ERC1155: function supportsInterface(bytes4 interfaceId) public view virtual returns (bool)
    ERC721: function supportsInterface(bytes4 interfaceId) public view virtual returns (bool)

  2. npm install @rari-capital/solmate gives ya:
    ERC721: function supportsInterface(bytes4 interfaceId) public pure virtual returns (bool)
    ERC1155: function supportsInterface(bytes4 interfaceId) public pure virtual returns (bool)

the function state mutability changes from view to pure in the NPM package.

I can see that there was commit that changed this, so I'd assume the npm package is out of date

ik— next release will be v7