ordering-ui-react-native 0.23.40 → 0.23.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.23.40",
3
+ "version": "0.23.41",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -203,6 +203,7 @@ const CheckoutUI = (props: any) => {
203
203
  const creditPointPlanOnBusiness = creditPointPlan?.businesses?.find((b: any) => b.business_id === cart?.business_id && b.accumulates)
204
204
  const methodsPay = ['google_pay', 'apple_pay']
205
205
 
206
+ const commentDelayTime = 1500
206
207
  const isPreOrder = configs?.preorder_status_enabled?.value === '1'
207
208
  const subtotalWithTaxes = cart?.taxes?.reduce((acc: any, item: any) => {
208
209
  if (item?.type === 1)
@@ -950,6 +951,7 @@ const CheckoutUI = (props: any) => {
950
951
  cart={cart}
951
952
  isCartPending={cart?.status === 2}
952
953
  onNavigationRedirect={onNavigationRedirect}
954
+ commentDelayTime={commentDelayTime}
953
955
  placeSpotTypes={placeSpotTypes}
954
956
  businessConfigs={businessConfigs}
955
957
  maxDate={maxDate}