@nuskin/react-loyalty-elements 1.0.10 → 1.0.11-nge1-1242.1

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.
@@ -61,6 +61,8 @@ export type RewardProgressBarProps = {
61
61
  subscriptionData?: null | MonthlyData;
62
62
  handleOpenSubscriptionRewardPopup?: () => void;
63
63
  notQualifyForRewardThisMonth?: boolean;
64
+ isFrom?: string;
65
+ loyaltyData?: LoyaltyProps;
64
66
  translationConfig: TranslationConfig;
65
67
  learnMoreConfig: LearnMoreConfig;
66
68
  storeConfig: {
@@ -154,3 +156,16 @@ export type TotalButtonParams = {
154
156
  handleTooltipToggle: () => void;
155
157
  handleTooltipClose: () => void;
156
158
  };
159
+ export type LoyaltyVoucher = {
160
+ collectionId?: number;
161
+ userId?: string;
162
+ identifier?: string;
163
+ count?: number;
164
+ type?: string;
165
+ voucherName?: string;
166
+ voucherType?: string;
167
+ expiryTime?: number | string;
168
+ effectiveDate?: number | string;
169
+ properties?: unknown[];
170
+ };
171
+ export type LoyaltyProps = LoyaltyVoucher[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/react-loyalty-elements",
3
- "version": "1.0.10",
3
+ "version": "1.0.11-nge1-1242.1",
4
4
  "description": "A React based component library for reusable Nextgen Loyalty component",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",