v2.0.0
What's Changed
⚠️ Breaking changes
- Removed
signedUrl(config, options). The HMAC signed-URL system has been retired on the server. - Added a
chartsnamespace as the replacement:charts.create(config, options)posts toPOST /api/chartsand returns{ url, id }. The URL points athttps://szum.io/c/<id>and resolves to a rendered chart image. Same auth/error semantics asrender().charts.delete(id, options)posts toDELETE /api/charts/<id>to revoke a single chart by id.
Migration
- const url = await szum.signedUrl(config);
+ const { url, id } = await szum.charts.create(config);
// Revoke later:
+ await szum.charts.delete(id);Full Changelog: v1.0.1...v2.0.0