@playbasis-ai/qwikcard-sdk 2.3.19 → 2.3.22

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.
@@ -27,6 +27,8 @@ export const getWidgetHtml = () => {
27
27
  overflow-y: auto;
28
28
  -webkit-overflow-scrolling: touch;
29
29
  font-size: 14px;
30
+ text-size-adjust: 100%;
31
+ -webkit-text-size-adjust: 100%;
30
32
  }
31
33
  /* Widget root container - CRITICAL for init() */
32
34
  #pb-widget-root {
@@ -68,18 +68,20 @@ export interface WidgetNotification {
68
68
  read?: boolean;
69
69
  }
70
70
 
71
- export type WidgetGoalType = 'financial' | 'habit' | 'performance';
72
- export type WidgetGoalStatus = 'on_track' | 'at_risk' | 'completed';
71
+ export type WidgetQuestType = 'financial' | 'habit' | 'performance' | 'mission';
72
+ export type WidgetQuestStatus = 'active' | 'completed' | 'available' | 'joined';
73
73
 
74
- export interface WidgetGoal {
75
- goalId: string;
76
- type: WidgetGoalType;
74
+ export interface WidgetQuest {
75
+ questId: string;
76
+ type: WidgetQuestType;
77
+ title: string;
78
+ description?: string;
77
79
  target: number;
78
80
  current: number;
79
81
  progressPct: number;
80
- startDate: string;
81
- endDate: string;
82
- status: WidgetGoalStatus;
82
+ startDate?: string;
83
+ endDate?: string;
84
+ status: WidgetQuestStatus;
83
85
  rewards?: { xp?: number; badges?: string[] };
84
86
  }
85
87
 
@@ -134,7 +136,7 @@ export interface WidgetBootstrapData {
134
136
  tenantId: string;
135
137
  user: WidgetUserState;
136
138
  wallet: WidgetWallet | null;
137
- goals: WidgetGoal[];
139
+ quests: WidgetQuest[];
138
140
  activities: WidgetActivityDay[];
139
141
  transactions?: WidgetTransaction[];
140
142
  collections?: WidgetCollectionItem[];