getUploadWidgetOptions, generateSignatureCallback, generateUploadWidgetResultCallback#165
Conversation
| */ | ||
|
|
||
| export interface GenerateSignatureCallback { | ||
| fetch: Function; |
There was a problem hiding this comment.
might be able to use typeof fetch here which should be globally available
There was a problem hiding this comment.
good point, though my original thinking was someone could pass in something that's not fetch. realistically its going to be fetch and the shape supports fetch "as is", so perhaps i just move forward with the suggestion and can look at other use cases should they ever come up
Baroshem
left a comment
There was a problem hiding this comment.
One small question, apart from that Approve :)
# [@cloudinary-util/url-loader-v5.4.0-beta.1](https://github.com/cloudinary-community/cloudinary-util/compare/@cloudinary-util/url-loader-v5.3.1...@cloudinary-util/url-loader-v5.4.0-beta.1) (2024-08-02) ### Features * getUploadWidgetOptions, generateSignatureCallback, generateUploadWidgetResultCallback ([#165](#165)) ([4e3adc4](4e3adc4)), closes [#164](#164)
# [@cloudinary-util/types-v1.2.0-beta.1](https://github.com/cloudinary-community/cloudinary-util/compare/@cloudinary-util/types-v1.1.0...@cloudinary-util/types-v1.2.0-beta.1) (2024-08-02) ### Features * getUploadWidgetOptions, generateSignatureCallback, generateUploadWidgetResultCallback ([#165](#165)) ([4e3adc4](4e3adc4)), closes [#164](#164)
|
🎉 This PR is included in version @cloudinary-util/types-v1.2.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@cloudinary-util/url-loader-v5.5.0-beta.1](https://github.com/cloudinary-community/cloudinary-util/compare/@cloudinary-util/url-loader-v5.4.0...@cloudinary-util/url-loader-v5.5.0-beta.1) (2024-08-02) ### Features * getUploadWidgetOptions, generateSignatureCallback, generateUploadWidgetResultCallback ([#165](#165)) ([4e3adc4](4e3adc4)), closes [#164](#164)
|
🎉 This PR is included in version @cloudinary-util/url-loader-v5.5.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@cloudinary-util/util-v3.2.0-beta.1](https://github.com/cloudinary-community/cloudinary-util/compare/@cloudinary-util/util-v3.1.0...@cloudinary-util/util-v3.2.0-beta.1) (2024-08-02) ### Features * getUploadWidgetOptions, generateSignatureCallback, generateUploadWidgetResultCallback ([#165](#165)) ([4e3adc4](4e3adc4)), closes [#164](#164)
|
🎉 This PR is included in version @cloudinary-util/util-v3.2.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@cloudinary-util/url-loader-v5.5.0-beta.1](https://github.com/cloudinary-community/cloudinary-util/compare/@cloudinary-util/url-loader-v5.4.0...@cloudinary-util/url-loader-v5.5.0-beta.1) (2024-08-02) ### Features * getUploadWidgetOptions, generateSignatureCallback, generateUploadWidgetResultCallback ([#165](#165)) ([4e3adc4](4e3adc4)), closes [#164](#164)
# [@cloudinary-util/util-v3.2.0-beta.1](https://github.com/cloudinary-community/cloudinary-util/compare/@cloudinary-util/util-v3.1.0...@cloudinary-util/util-v3.2.0-beta.1) (2024-08-02) ### Features * getUploadWidgetOptions, generateSignatureCallback, generateUploadWidgetResultCallback ([#165](#165)) ([4e3adc4](4e3adc4)), closes [#164](#164)
# [@cloudinary-util/types-v1.2.0-beta.1](https://github.com/cloudinary-community/cloudinary-util/compare/@cloudinary-util/types-v1.1.0...@cloudinary-util/types-v1.2.0-beta.1) (2024-08-02) ### Features * getUploadWidgetOptions, generateSignatureCallback, generateUploadWidgetResultCallback ([#165](#165)) ([4e3adc4](4e3adc4)), closes [#164](#164)
# [@cloudinary-util/url-loader-v5.6.0-beta.1](https://github.com/cloudinary-community/cloudinary-util/compare/@cloudinary-util/url-loader-v5.5.0...@cloudinary-util/url-loader-v5.6.0-beta.1) (2024-08-02) ### Features * force version ([cb63bff](cb63bff)) * getUploadWidgetOptions, generateSignatureCallback, generateUploadWidgetResultCallback ([#165](#165)) ([4e3adc4](4e3adc4)), closes [#164](#164)
|
🎉 This PR is included in version @cloudinary-util/url-loader-v5.6.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |

Description
This creates a new set of helpers that will help framework libraries reduce the boilerplate needed to instantiate new instances of the upload widget.
Issue Ticket Number
Fixes #164
Usage