Skip to content

Remove incorrect Signer type#460

Merged
ryanio merged 1 commit intoProjectOpenSea:mainfrom
KenLR:remove-custom-signer-type
Jan 4, 2024
Merged

Remove incorrect Signer type#460
ryanio merged 1 commit intoProjectOpenSea:mainfrom
KenLR:remove-custom-signer-type

Conversation

@KenLR
Copy link
Contributor

@KenLR KenLR commented Jan 4, 2024

Motivation

This pull request replaces the custom Signer type with the standard type from ethers. This update is due to changes in the ethers v6 library, specifically the deprecation and subsequent removal of the _signTypedData function. The existing custom Signer type, which extends ethers.Signer with _signTypedData, is now obsolete and incorrect.

Solution

  • Remove the custom type and related ones from types.ts.
  • Update the seaport.ts import to use the standard Signer definition.

@ryanio
Copy link
Collaborator

ryanio commented Jan 4, 2024

nice catch, thank you!

@ryanio ryanio merged commit 0c5ab56 into ProjectOpenSea:main Jan 4, 2024
@ryanio
Copy link
Collaborator

ryanio commented Jan 4, 2024

released in v3.0.2

@KenLR KenLR deleted the remove-custom-signer-type branch January 5, 2024 00:30
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