@bluepic/embed 0.4.0-next.85 → 0.4.0-next.87
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/bluepic-embed.iife.js +76 -76
- package/dist/bluepic-embed.umd.js +76 -76
- package/dist/components/TemplateEditor/ExportPopoup.vue.d.ts +7 -0
- package/dist/main.cjs +75 -75
- package/dist/main.mjs +11769 -11722
- package/dist/style.css +1 -1
- package/dist/util/export.d.ts +1 -1
- package/package.json +2 -2
|
@@ -22,6 +22,13 @@ type __VLS_Props = {
|
|
|
22
22
|
* so the whole action reads as one funnel in PostHog. No-op when absent.
|
|
23
23
|
*/
|
|
24
24
|
analytics?: ExportAnalytics;
|
|
25
|
+
/**
|
|
26
|
+
* Consume a credit for this export's data-state. Idempotent per session
|
|
27
|
+
* (once per data-state) — call on EVERY successful output (download / share
|
|
28
|
+
* / webhook / redirect). The new model bills on first output, not on render.
|
|
29
|
+
* No-op when absent or when the export shouldn't bill.
|
|
30
|
+
*/
|
|
31
|
+
consumeCredit?: () => Promise<void>;
|
|
25
32
|
};
|
|
26
33
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
27
34
|
mediaType: "image" | "video";
|