opensea-js icon indicating copy to clipboard operation
opensea-js copied to clipboard

url_1.URLSearchParams is not a constructor

Open MaximusDecimus opened this issue 3 years ago • 4 comments

Looks like a bad import in api.ts in version 5.0.3

import { URLSearchParams } from "url";

MaximusDecimus avatar May 31 '23 14:05 MaximusDecimus

@MaximusDecimus What version of node are you using?

JoshuaSchmidt-OpenSea avatar May 31 '23 17:05 JoshuaSchmidt-OpenSea

Same problem here...

node version: v16.19.0

wizardlabsxyz avatar May 31 '23 23:05 wizardlabsxyz

Yes, thats what I use as well. Thanks

MaximusDecimus avatar Jun 01 '23 07:06 MaximusDecimus

This should be fixed in v6.0.2

JoshuaSchmidt-OpenSea avatar Jun 01 '23 14:06 JoshuaSchmidt-OpenSea