@mahmulp/feedback-sdk 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -210,9 +210,14 @@ declare function createHttpTransport(options: HttpTransportOptions): FeedbackTra
210
210
  /**
211
211
  * Optional screenshot capture for new pins.
212
212
  *
213
- * `html2canvas` is **dynamically imported** so prototypes that never create
213
+ * `html2canvas-pro` is **dynamically imported** so prototypes that never create
214
214
  * a pin don't pay for it. Capture is best-effort: any failure logs and
215
215
  * resolves to null rather than blocking pin creation.
216
+ *
217
+ * We use `html2canvas-pro` (a maintained fork of `html2canvas`) instead of the
218
+ * original because it understands modern CSS color spaces (`oklch`, `lab`,
219
+ * `color-mix`, etc.) that ship with Tailwind v4 / shadcn / modern design
220
+ * systems. The original errors out on these and the capture silently fails.
216
221
  */
217
222
  interface CaptureOptions {
218
223
  /** Output mime type. Defaults to image/png. */
package/dist/index.d.ts CHANGED
@@ -210,9 +210,14 @@ declare function createHttpTransport(options: HttpTransportOptions): FeedbackTra
210
210
  /**
211
211
  * Optional screenshot capture for new pins.
212
212
  *
213
- * `html2canvas` is **dynamically imported** so prototypes that never create
213
+ * `html2canvas-pro` is **dynamically imported** so prototypes that never create
214
214
  * a pin don't pay for it. Capture is best-effort: any failure logs and
215
215
  * resolves to null rather than blocking pin creation.
216
+ *
217
+ * We use `html2canvas-pro` (a maintained fork of `html2canvas`) instead of the
218
+ * original because it understands modern CSS color spaces (`oklch`, `lab`,
219
+ * `color-mix`, etc.) that ship with Tailwind v4 / shadcn / modern design
220
+ * systems. The original errors out on these and the capture silently fails.
216
221
  */
217
222
  interface CaptureOptions {
218
223
  /** Output mime type. Defaults to image/png. */