FuelLabs / fuels-ts

Fuel Network Typescript SDK
https://docs.fuel.network/docs/fuels-ts/
Apache License 2.0
44.4k stars 1.32k forks source link

Upgrade `tsup` from 6.7.0 to 8.1.0 #2666

Open petertonysmith94 opened 1 day ago

petertonysmith94 commented 1 day ago

Summary

The following dependabot upgrade PR was closed due to a failing CI for a single test file (json.test.ts).

This is due to using the following logic in the normalizeJson function: https://github.com/FuelLabs/fuels-ts/blob/0c63dc0ac64add632f04a89fe78614d2be5e26d4/packages/account/src/providers/utils/json.ts#L13

The upgrade has caused the constructor name to change, therefore breaking the logic of detection for these entities.

We need to