@kompasid/lit-web-components 0.9.37 → 0.9.39

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.
@@ -89,3 +89,9 @@ export type PaywallType =
89
89
  | 'reguler'
90
90
  | 'audio'
91
91
  | 'custom'
92
+
93
+ export interface Contextual {
94
+ variant: string
95
+ tags: string[]
96
+ articleAgeTreshold: number
97
+ }
@@ -92,6 +92,9 @@ export class KompasIdPaywallBody extends LitElement {
92
92
  @property({ type: String }) tracker_content_title = ''
93
93
  @property({ type: String }) tracker_content_categories = ''
94
94
  @property({ type: String }) tracker_content_type = ''
95
+ @property({ type: String }) tracker_content_tags = ''
96
+ @property({ type: String }) tracker_content_published_date = ''
97
+ @property({ type: String }) tracker_content_variant = ''
95
98
  @property({ type: String }) tracker_user_type = ''
96
99
  @property({ type: String }) tracker_subscription_status = ''
97
100
  @property({ type: String }) tracker_page_domain = ''
@@ -480,6 +483,9 @@ export class KompasIdPaywallBody extends LitElement {
480
483
  page_domain: this.tracker_page_domain || 'Kompas.id',
481
484
  metered_wall_type: this.tracker_metered_wall_type || 'HP',
482
485
  metered_wall_balance: this.tracker_metered_wall_balance,
486
+ content_tags: this.tracker_content_tags || '',
487
+ content_published_date: this.tracker_content_published_date || '',
488
+ content_variant: this.tracker_content_variant || '',
483
489
  ...(this.type === 'epaper' || this.type === 'proMiningOutlook'
484
490
  ? { epaper_edition: this.tracker_epaper_edition }
485
491
  : {