@vouchfor/embeds 0.0.0-experiment.f4df018 → 0.0.0-experiment.f97b5b2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/es/components/Embed/index.d.ts +2 -0
- package/dist/es/embeds.js +204 -191
- package/dist/es/embeds.js.map +1 -1
- package/dist/iife/embeds.iife.js +65 -65
- package/dist/iife/embeds.iife.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Embed/controllers/fetcher.ts +39 -19
- package/src/components/Embed/controllers/tracking.ts +39 -29
- package/src/components/Embed/index.ts +2 -0
@@ -5,6 +5,7 @@ import type { Environment } from '../../utils/env';
|
|
5
5
|
type EmbedProps = Pick<MediaPlayerProps, 'data' | 'aspectRatio' | 'preload' | 'autoplay' | 'controls'> & {
|
6
6
|
env: Environment;
|
7
7
|
apiKey: string;
|
8
|
+
enableTracking?: boolean;
|
8
9
|
trackingSource?: string;
|
9
10
|
vouchId?: string;
|
10
11
|
templateId?: string;
|
@@ -16,6 +17,7 @@ declare class Embed extends LitElement {
|
|
16
17
|
templateId: EmbedProps['templateId'];
|
17
18
|
env: EmbedProps['env'];
|
18
19
|
apiKey: EmbedProps['apiKey'];
|
20
|
+
enableTracking: EmbedProps['enableTracking'];
|
19
21
|
trackingSource: EmbedProps['trackingSource'];
|
20
22
|
controls: EmbedProps['controls'];
|
21
23
|
preload: EmbedProps['preload'];
|