Is your feature request related to a problem? Please describe.
pollForProcessingImage now returns an object instead of a simple boolean. This would be considered a breaking change as the error handling may rely on that falsy response.
export interface PollForProcessingImageResponse {
status: number;
success: boolean;
error?: string;
}
https://github.com/cloudinary-community/cloudinary-util/pull/213/files#diff-77ed4ecc8d07c6f02f55f6988e3c43916f9bbeea319039f9594b01820ce844f4R163-R167
the goal of that work is to provide additional context of an error, so for instance, you can log the error in development context, like this:
cloudinary-community/next-cloudinary#553
Is your feature request related to a problem? Please describe.
pollForProcessingImage now returns an object instead of a simple boolean. This would be considered a breaking change as the error handling may rely on that falsy response.
https://github.com/cloudinary-community/cloudinary-util/pull/213/files#diff-77ed4ecc8d07c6f02f55f6988e3c43916f9bbeea319039f9594b01820ce844f4R163-R167
the goal of that work is to provide additional context of an error, so for instance, you can log the error in development context, like this:
cloudinary-community/next-cloudinary#553