@vouchfor/embeds 0.0.0-experiment.88ebbc0 → 0.0.0-experiment.8b3403f
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 +206 -193
- package/dist/es/embeds.js.map +1 -1
- package/dist/iife/embeds.iife.js +161 -161
- package/dist/iife/embeds.iife.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Embed/controllers/fetcher.ts +32 -7
- package/src/components/Embed/controllers/tracking.ts +1 -1
- 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
|
+
trackingSource?: string;
|
8
9
|
vouchId?: string;
|
9
10
|
templateId?: string;
|
10
11
|
};
|
@@ -15,6 +16,7 @@ declare class Embed extends LitElement {
|
|
15
16
|
templateId: EmbedProps['templateId'];
|
16
17
|
env: EmbedProps['env'];
|
17
18
|
apiKey: EmbedProps['apiKey'];
|
19
|
+
trackingSource: EmbedProps['trackingSource'];
|
18
20
|
controls: EmbedProps['controls'];
|
19
21
|
preload: EmbedProps['preload'];
|
20
22
|
autoplay: EmbedProps['autoplay'];
|