@lookiero/checkout 0.8.6-beta.0 → 0.8.6-beta.2
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/infrastructure/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.js +1 -1
- package/dist/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +1 -1
- package/dist/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js +1 -1
- package/dist/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +6 -1
- package/dist/infrastructure/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.js +1 -1
- package/dist/infrastructure/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js +1 -1
- package/dist/infrastructure/projection/pricing/react/useViewPricingByCheckoutId.js +6 -1
- package/dist/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.js +1 -1
- package/dist/infrastructure/projection/uiSetting/react/useViewUiSettingByKey.js +1 -1
- package/dist/shared/notifications/projection/notification/react/useListNotifications.js +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,6 @@ const useViewBookedProductsVariantsForCheckoutItem = ({ checkoutItemId, }) => us
|
|
|
7
7
|
query: viewBookedProductsVariantsForCheckoutItem({ checkoutItemId }),
|
|
8
8
|
contextId: MESSAGING_CONTEXT_ID,
|
|
9
9
|
invalidation: isCheckoutBookingBooked,
|
|
10
|
-
options: { staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
10
|
+
options: { refetchOnMount: "always", staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
11
11
|
});
|
|
12
12
|
export { useViewBookedProductsVariantsForCheckoutItem };
|
package/dist/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js
CHANGED
|
@@ -26,6 +26,6 @@ const useViewFirstAvailableCheckoutByCustomerId = ({ customerId }) => useQuery({
|
|
|
26
26
|
query: viewFirstAvailableCheckoutByCustomerId({ customerId }),
|
|
27
27
|
contextId: MESSAGING_CONTEXT_ID,
|
|
28
28
|
invalidation: shouldInvalidate,
|
|
29
|
-
options: { staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
29
|
+
options: { refetchOnMount: "always", staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
30
30
|
});
|
|
31
31
|
export { useViewFirstAvailableCheckoutByCustomerId };
|
package/dist/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js
CHANGED
|
@@ -4,6 +4,6 @@ import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
|
|
|
4
4
|
const useViewFiveItemsDiscountByCustomerId = ({ customerId }) => useQuery({
|
|
5
5
|
query: viewFiveItemsDiscountByCustomerId({ customerId }),
|
|
6
6
|
contextId: MESSAGING_CONTEXT_ID,
|
|
7
|
-
options: { staleTime: Infinity },
|
|
7
|
+
options: { refetchOnMount: "always", staleTime: Infinity },
|
|
8
8
|
});
|
|
9
9
|
export { useViewFiveItemsDiscountByCustomerId };
|
package/dist/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js
CHANGED
|
@@ -7,6 +7,11 @@ const useViewIsCheckoutAccessibleByCustomerId = ({ customerId }) => useQuery({
|
|
|
7
7
|
query: viewIsCheckoutAccessibleByCustomerId({ customerId }),
|
|
8
8
|
contextId: MESSAGING_CONTEXT_ID,
|
|
9
9
|
invalidation: isCheckoutFeedbackGiven,
|
|
10
|
-
options: {
|
|
10
|
+
options: {
|
|
11
|
+
refetchOnMount: "always",
|
|
12
|
+
staleTime: Infinity,
|
|
13
|
+
retry: false,
|
|
14
|
+
refetchOnWindowFocus: false,
|
|
15
|
+
},
|
|
11
16
|
});
|
|
12
17
|
export { useViewIsCheckoutAccessibleByCustomerId };
|
|
@@ -4,6 +4,6 @@ import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
|
|
|
4
4
|
const useListCheckoutQuestionsByCheckoutId = ({ checkoutId }) => useQuery({
|
|
5
5
|
query: listCheckoutQuestionsByCheckoutId({ checkoutId }),
|
|
6
6
|
contextId: MESSAGING_CONTEXT_ID,
|
|
7
|
-
options: { staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
7
|
+
options: { refetchOnMount: "always", staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
8
8
|
});
|
|
9
9
|
export { useListCheckoutQuestionsByCheckoutId };
|
package/dist/infrastructure/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js
CHANGED
|
@@ -12,6 +12,6 @@ const useViewPaymentFlowPayloadByCheckoutId = ({ checkoutId }) => useQuery({
|
|
|
12
12
|
query: viewPaymentFlowPayloadByCheckoutId({ checkoutId: checkoutId }),
|
|
13
13
|
contextId: MESSAGING_CONTEXT_ID,
|
|
14
14
|
invalidation: shouldInvalidate,
|
|
15
|
-
options: { enabled: Boolean(checkoutId) },
|
|
15
|
+
options: { refetchOnMount: "always", enabled: Boolean(checkoutId) },
|
|
16
16
|
});
|
|
17
17
|
export { useViewPaymentFlowPayloadByCheckoutId };
|
|
@@ -12,6 +12,11 @@ const useViewPricingByCheckoutId = ({ checkoutId }) => useQuery({
|
|
|
12
12
|
query: viewPricingByCheckoutId({ checkoutId }),
|
|
13
13
|
contextId: MESSAGING_CONTEXT_ID,
|
|
14
14
|
invalidation: shouldInvalidate,
|
|
15
|
-
options: {
|
|
15
|
+
options: {
|
|
16
|
+
refetchOnMount: "always",
|
|
17
|
+
staleTime: Infinity,
|
|
18
|
+
retry: false,
|
|
19
|
+
refetchOnWindowFocus: false,
|
|
20
|
+
},
|
|
16
21
|
});
|
|
17
22
|
export { useViewPricingByCheckoutId };
|
|
@@ -4,6 +4,6 @@ import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
|
|
|
4
4
|
const useListReturnQuestionsByCheckoutItemId = ({ checkoutItemId }) => useQuery({
|
|
5
5
|
query: listReturnQuestionsByCheckoutItemId({ checkoutItemId }),
|
|
6
6
|
contextId: MESSAGING_CONTEXT_ID,
|
|
7
|
-
options: { staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
7
|
+
options: { refetchOnMount: "always", staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
8
8
|
});
|
|
9
9
|
export { useListReturnQuestionsByCheckoutItemId };
|
|
@@ -7,6 +7,6 @@ const useViewUiSettingByKey = ({ key }) => useQuery({
|
|
|
7
7
|
query: viewUiSettingByKey({ key }),
|
|
8
8
|
contextId: MESSAGING_CONTEXT_ID,
|
|
9
9
|
invalidation: isUiSettingUpdated,
|
|
10
|
-
options: { staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
10
|
+
options: { refetchOnMount: "always", staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
11
11
|
});
|
|
12
12
|
export { useViewUiSettingByKey };
|
|
@@ -9,6 +9,6 @@ const useListNotifications = ({ contextId }) => useQuery({
|
|
|
9
9
|
query: listNotifications(),
|
|
10
10
|
contextId,
|
|
11
11
|
invalidation: shouldInvalidate,
|
|
12
|
-
options: { staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
12
|
+
options: { refetchOnMount: "always", staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
13
13
|
});
|
|
14
14
|
export { useListNotifications };
|