Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR bumps the version of `@topsort/sdk` from 0.2.0 to 0.3.1 | File | Before (gzip) | After (gzip) | |:-------|:-------|:-------| | dist/ts.mjs | 10.77 kB (3.76 kB) | 11.15 kB (3.91 kB) | | dist/ts.js | 7.93 kB (3.33 kB) | 8.17 kB (3.46 kB) | The difference comes from: - Now the [TopsortClient](https://github.com/Topsort/topsort.js/blob/main/src/functions/topsort-client.ts#L8) class handles the function calls after receiving the config; - The APIClient now handles the [URL sanitization](https://github.com/Topsort/topsort.js/blob/main/src/lib/api-client.ts#L57); - We have improved the [error handling and response](https://github.com/Topsort/topsort.js/blob/main/src/lib/api-client.ts#L10), as most of our calls return status code 204 (No Content). Therefore, we wouldn't need to parse any response. Please feel free to check the diff [here](https://gist.github.com/barbmarcio/0af1f85b634522f0168cea6ad7f472bd) as well
- Loading branch information