@leatcom/portal-sessions 0.0.36 → 0.0.38
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.
- package/dist/portal-sessions.es.d.ts +3 -2
- package/dist/portal-sessions.es.js +10274 -7512
- package/dist/portal-sessions.umd.js +34 -129
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/qr-scanner-worker.min-DpjUkzFK.js +0 -101
|
@@ -109,9 +109,10 @@ export declare type DefaultSessionProps = {
|
|
|
109
109
|
|
|
110
110
|
declare type Event_2 = {
|
|
111
111
|
data: {
|
|
112
|
-
[p: string]:
|
|
112
|
+
[p: string]: any;
|
|
113
113
|
};
|
|
114
114
|
type: string;
|
|
115
|
+
created_at: string;
|
|
115
116
|
};
|
|
116
117
|
export { Event_2 as Event }
|
|
117
118
|
|
|
@@ -244,7 +245,7 @@ export declare type PortalSessionProps = {
|
|
|
244
245
|
allowMultipleGiftcards?: boolean;
|
|
245
246
|
amountInCents?: number;
|
|
246
247
|
onContactLink?: (contact: ContactResource) => void;
|
|
247
|
-
onClaimReward?: (reward: RewardResource) => void;
|
|
248
|
+
onClaimReward?: (reward: RewardResource, transactionUuid?: string) => void;
|
|
248
249
|
onRedeemVoucher?: (voucher: VoucherResource) => void;
|
|
249
250
|
onUseGiftcard?: (giftcardTransaction: GiftcardTransactionResource) => void;
|
|
250
251
|
onCreateTransaction?: (creditReceptionId: number) => void;
|