Closed rrthomas closed 5 months ago
For anyone else with this problem, I have published a bug-fix fork as @sc3d/pinata-sdk
on npmjs.com.
For anyone else with this problem, I have published a bug-fix fork as
@sc3d/pinata-sdk
on npmjs.com.
Thanks, You've saved my day :-)
Sorry for the delay here! We are currently rewriting the SDK so hopefully this will not be an issue going forward
With latest Pinata-SDK and TypeScript 5.3.3 I get:
Error:
I can't see why this should fail (since the default export is the
PinataClient
class), but it does. In any case, a simple fix/workaround is to export the class in its own right, so it can be imported as:Would you consider doing this? (Just need to add
export
to the class declaration.)