@lookiero/checkout 0.2.12 → 0.2.14

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.
@@ -4,4 +4,4 @@ interface CheckoutsGetFunction<CheckoutsGetFunctionArgs extends RepositoryGetFun
4
4
  }
5
5
  interface CheckoutsSaveFunction<CheckoutsSaveFunctionArgs extends RepositorySaveFunctionArgs> extends RepositorySaveFunction<Checkout, CheckoutsSaveFunctionArgs> {
6
6
  }
7
- export { CheckoutsGetFunction, CheckoutsSaveFunction };
7
+ export type { CheckoutsGetFunction, CheckoutsSaveFunction };
@@ -13,4 +13,4 @@ interface HttpPostFunctionArgs {
13
13
  interface HttpPostFunction {
14
14
  (args: HttpPostFunctionArgs): Promise<Response>;
15
15
  }
16
- export { HttpGetFunction, HttpPostFunction };
16
+ export type { HttpGetFunction, HttpPostFunction };
@@ -4,4 +4,4 @@ interface ReadFunction<T> {
4
4
  interface WriteFunction<T> {
5
5
  (key: string, value: T): Promise<void>;
6
6
  }
7
- export { ReadFunction, WriteFunction };
7
+ export type { ReadFunction, WriteFunction };
@@ -3,4 +3,4 @@ interface UiSettingDto {
3
3
  readonly key: string;
4
4
  readonly value: unknown;
5
5
  }
6
- export { UiSettingDto };
6
+ export type { UiSettingDto };
@@ -33,4 +33,5 @@ interface HttpBookedSizeReplaceableProductVariantsForCheckoutItemViewFunction {
33
33
  (args: HttpBookedSizeReplaceableProductVariantsForCheckoutItemViewFunctionArgs): HttpBookedSizeReplaceableProductVariantsForCheckoutItemView;
34
34
  }
35
35
  declare const httpBookedSizeReplaceableProductVariantsForCheckoutItemView: HttpBookedSizeReplaceableProductVariantsForCheckoutItemViewFunction;
36
- export { BookedSizeReplaceableProductVariantsDto, toBookedSizeReplaceableProductVariants, httpBookedSizeReplaceableProductVariantsForCheckoutItemView, };
36
+ export type { BookedSizeReplaceableProductVariantsDto };
37
+ export { toBookedSizeReplaceableProductVariants, httpBookedSizeReplaceableProductVariantsForCheckoutItemView };
@@ -23,4 +23,4 @@ const httpBookedSizeReplaceableProductVariantsForCheckoutItemView = ({ httpPost
23
23
  ? undefined
24
24
  : toBookedSizeReplaceableProductVariants((await response.json()).result);
25
25
  };
26
- export { toBookedSizeReplaceableProductVariants, httpBookedSizeReplaceableProductVariantsForCheckoutItemView, };
26
+ export { toBookedSizeReplaceableProductVariants, httpBookedSizeReplaceableProductVariantsForCheckoutItemView };
@@ -15,4 +15,5 @@ interface RootProps {
15
15
  readonly onNotAccessible: () => void;
16
16
  }
17
17
  declare const root: RootFunction;
18
- export { RootProps, root };
18
+ export type { RootProps };
19
+ export { root };
@@ -40,4 +40,5 @@ interface ViewBookedSizeReplaceableProductVariantsForCheckoutItemHandlerFunction
40
40
  readonly view: BookedSizeReplaceableProductVariantsForCheckoutItemView;
41
41
  }
42
42
  declare const viewBookedSizeReplaceableProductVariantsForCheckoutItemHandler: QueryHandlerFunction<ViewBookedSizeReplaceableProductVariantsForCheckoutItem, ViewBookedSizeReplaceableProductVariantsForCheckoutItemResult, ViewBookedSizeReplaceableProductVariantsForCheckoutItemHandlerFunctionArgs>;
43
- export { Size, ProductVariant, BookedSizeReplaceableProductVariantsProjection, VIEW_BOOKED_SIZE_REPLACEABLE_PRODUCT_VARIANTS_FOR_CHECKOUT_ITEM, viewBookedSizeReplaceableProductVariantsForCheckoutItem, BookedSizeReplaceableProductVariantsForCheckoutItemView, viewBookedSizeReplaceableProductVariantsForCheckoutItemHandler, };
43
+ export type { Size, ProductVariant, BookedSizeReplaceableProductVariantsProjection, BookedSizeReplaceableProductVariantsForCheckoutItemView, };
44
+ export { VIEW_BOOKED_SIZE_REPLACEABLE_PRODUCT_VARIANTS_FOR_CHECKOUT_ITEM, viewBookedSizeReplaceableProductVariantsForCheckoutItem, viewBookedSizeReplaceableProductVariantsForCheckoutItemHandler, };
@@ -20,4 +20,5 @@ interface ViewFiveItemsDiscountByCustomerIdHandlerFunctionArgs extends QueryHand
20
20
  readonly view: FiveItemsDiscountByCustomerIdView;
21
21
  }
22
22
  declare const viewFiveItemsDiscountByCustomerIdHandler: QueryHandlerFunction<ViewFiveItemsDiscountByCustomerId, FiveItemsDiscountByCustomerIdProjection, ViewFiveItemsDiscountByCustomerIdHandlerFunctionArgs>;
23
- export { FiveItemsDiscountByCustomerIdProjection, VIEW_FIVE_ITEMS_DISCOUNT_BY_CUSTOMER_ID, viewFiveItemsDiscountByCustomerId, FiveItemsDiscountByCustomerIdView, viewFiveItemsDiscountByCustomerIdHandler, };
23
+ export type { FiveItemsDiscountByCustomerIdProjection, FiveItemsDiscountByCustomerIdView };
24
+ export { VIEW_FIVE_ITEMS_DISCOUNT_BY_CUSTOMER_ID, viewFiveItemsDiscountByCustomerId, viewFiveItemsDiscountByCustomerIdHandler, };
@@ -13,4 +13,5 @@ declare const viewIsCheckoutAccessibleByCustomerId: ViewIsCheckoutAccessibleByCu
13
13
  interface ViewIsCheckoutAccessibleByCustomerIdHandlerFunctionArgs extends QueryHandlerFunctionArgs {
14
14
  }
15
15
  declare const viewIsCheckoutAccessibleByCustomerIdHandler: QueryHandlerFunction<ViewIsCheckoutAccessibleByCustomerId, IsCheckoutAccessibleByCustomerIdProjection, ViewIsCheckoutAccessibleByCustomerIdHandlerFunctionArgs>;
16
- export { IsCheckoutAccessibleByCustomerIdProjection, VIEW_IS_CHECKOUT_ACCESSIBLE_BY_CUSTOMER_ID, viewIsCheckoutAccessibleByCustomerId, viewIsCheckoutAccessibleByCustomerIdHandler, };
16
+ export type { IsCheckoutAccessibleByCustomerIdProjection };
17
+ export { VIEW_IS_CHECKOUT_ACCESSIBLE_BY_CUSTOMER_ID, viewIsCheckoutAccessibleByCustomerId, viewIsCheckoutAccessibleByCustomerIdHandler, };
@@ -20,4 +20,5 @@ interface ViewIsCheckoutEnabledByCustomerIdHandlerFunctionArgs extends QueryHand
20
20
  readonly view: IsCheckoutEnabledByCustomerIdView;
21
21
  }
22
22
  declare const viewIsCheckoutEnabledByCustomerIdHandler: QueryHandlerFunction<ViewIsCheckoutEnabledByCustomerId, IsCheckoutEnabledByCustomerIdProjection, ViewIsCheckoutEnabledByCustomerIdHandlerFunctionArgs>;
23
- export { IsCheckoutEnabledByCustomerIdProjection, VIEW_IS_CHECKOUT_ENABLED_BY_CUSTOMER_ID, viewIsCheckoutEnabledByCustomerId, IsCheckoutEnabledByCustomerIdView, viewIsCheckoutEnabledByCustomerIdHandler, };
23
+ export type { IsCheckoutEnabledByCustomerIdProjection, IsCheckoutEnabledByCustomerIdView };
24
+ export { VIEW_IS_CHECKOUT_ENABLED_BY_CUSTOMER_ID, viewIsCheckoutEnabledByCustomerId, viewIsCheckoutEnabledByCustomerIdHandler, };
@@ -25,4 +25,5 @@ interface ViewUiSettingByKeyHandlerFunctionArgs extends QueryHandlerFunctionArgs
25
25
  readonly view: UiSettingByKeyView;
26
26
  }
27
27
  declare const viewUiSettingByKeyHandler: QueryHandlerFunction<ViewUiSettingByKey, ViewUiSettingByKeyResult, ViewUiSettingByKeyHandlerFunctionArgs>;
28
- export { UiSettingProjection, VIEW_UI_SETTING_BY_KEY, UiSettingByKeyView, viewUiSettingByKey, viewUiSettingByKeyHandler, };
28
+ export type { UiSettingProjection, UiSettingByKeyView };
29
+ export { VIEW_UI_SETTING_BY_KEY, viewUiSettingByKey, viewUiSettingByKeyHandler };
@@ -5,4 +5,4 @@ const viewUiSettingByKey = (payload) => ({
5
5
  ...payload,
6
6
  });
7
7
  const viewUiSettingByKeyHandler = ({ view }) => async ({ key }) => view({ key });
8
- export { VIEW_UI_SETTING_BY_KEY, viewUiSettingByKey, viewUiSettingByKeyHandler, };
8
+ export { VIEW_UI_SETTING_BY_KEY, viewUiSettingByKey, viewUiSettingByKeyHandler };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@lookiero/checkout",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
9
9
  "engines": {
10
- "node": "^14.20.0 | ^18.9.0"
10
+ "node": "^14.20.0 || ^18.9.0"
11
11
  },
12
12
  "scripts": {
13
13
  "start": "expo start",
@@ -38,10 +38,10 @@
38
38
  "react": "^18.0.0",
39
39
  "react-dom": "^18.0.0",
40
40
  "react-native": "^0.69.4",
41
- "react-native-web": "^0.18.7"
41
+ "react-native-web": "^0.18.9"
42
42
  },
43
43
  "devDependencies": {
44
- "@babel/core": "^7.12.9",
44
+ "@babel/core": "^7.19.1",
45
45
  "@expo/webpack-config": "^0.17.2",
46
46
  "@lookiero/aurora-fonts": "^1.0.6",
47
47
  "@lookiero/aurora-iconfont": "^2.0.37",
@@ -55,14 +55,14 @@
55
55
  "@types/react-dom": "~18.0.0",
56
56
  "@types/react-native": "~0.69.1",
57
57
  "@types/uuid": "^8.3.4",
58
- "eslint": "^8.22.0",
58
+ "eslint": "^8.24.0",
59
59
  "eslint-config-prettier": "^8.5.0",
60
60
  "eslint-config-react-app": "^7.0.1",
61
61
  "eslint-plugin-flowtype": "^8.0.3",
62
62
  "eslint-plugin-import": "^2.26.0",
63
63
  "eslint-plugin-jsx-a11y": "^6.6.1",
64
64
  "eslint-plugin-prettier": "^4.2.1",
65
- "eslint-plugin-react": "^7.30.1",
65
+ "eslint-plugin-react": "^7.31.8",
66
66
  "eslint-plugin-react-hooks": "^4.6.0",
67
67
  "expo": "~46.0.8",
68
68
  "expo-status-bar": "~1.4.0",
@@ -75,7 +75,7 @@
75
75
  "react": "^18.0.0",
76
76
  "react-dom": "^18.0.0",
77
77
  "react-native": "^0.69.4",
78
- "react-native-web": "^0.18.7",
78
+ "react-native-web": "^0.18.9",
79
79
  "react-test-renderer": "^18.0.0",
80
80
  "typescript": "^4.6.3",
81
81
  "webpack-bundle-analyzer": "^4.6.1"