@lookiero/checkout 12.2.0 → 12.3.0
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/src/domain/checkoutItem/model/price.d.ts +1 -1
- package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.js +1 -1
- package/dist/src/infrastructure/projection/pricing/pricing.mock.js +1 -1
- package/dist/src/infrastructure/tracking/tracking.d.ts +1 -1
- package/dist/src/projection/price/price.d.ts +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/package.json +5 -5
- package/src/domain/checkoutItem/model/price.ts +1 -1
- package/src/infrastructure/projection/checkoutItem/checkoutItem.mock.ts +1 -1
- package/src/infrastructure/projection/pricing/pricing.mock.ts +1 -1
- package/src/infrastructure/tracking/tracking.ts +1 -1
- package/src/infrastructure/tracking/useTrackCheckout.test.tsx +1 -2
- package/src/infrastructure/tracking/useTrackCheckout.ts +1 -2
- package/src/infrastructure/ui/components/atoms/price/Price.test.tsx +1 -1
- package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.test.tsx +1 -2
- package/src/infrastructure/ui/views/return/components/price/Price.test.tsx +1 -1
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.test.tsx +1 -2
- package/src/projection/price/price.ts +1 -1
- package/dist/src/domain/checkoutItem/model/currency.d.ts +0 -6
- package/dist/src/domain/checkoutItem/model/currency.js +0 -7
- package/src/domain/checkoutItem/model/currency.ts +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Currency } from "
|
|
1
|
+
import { Currency } from "@lookiero/sty-psp-locale";
|
|
2
2
|
import { MediaPerspective, } from "../../../projection/checkoutItem/checkoutItem";
|
|
3
3
|
const checkoutItem = ({ id = "7b389d69-f157-4234-8531-c1a1eb17dccb", status, feedbacks = {}, replacedFor = null, }) => ({
|
|
4
4
|
id,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Currency } from "@lookiero/sty-psp-locale";
|
|
1
2
|
import { BaseTrackingEvent, TrackingEventCategory } from "@lookiero/sty-psp-tracking";
|
|
2
3
|
import { CheckoutItemStatus } from "../../domain/checkoutItem/model/checkoutItem";
|
|
3
|
-
import { Currency } from "../../domain/checkoutItem/model/currency";
|
|
4
4
|
import { MediaPerspective } from "../../projection/checkoutItem/checkoutItem";
|
|
5
5
|
import { SubscriptionProjection } from "../../projection/subscription/subscription";
|
|
6
6
|
declare const PROJECT = "checkout";
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "12.
|
|
1
|
+
export declare const VERSION = "12.3.0";
|
package/dist/src/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "12.
|
|
1
|
+
export const VERSION = "12.3.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lookiero/checkout",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.3.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"sideEffects": "false",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@lookiero/sty-psp-expo-config": "^1.0",
|
|
26
26
|
"@lookiero/sty-psp-http": "^2.0",
|
|
27
27
|
"@lookiero/sty-psp-i18n": "^1.0",
|
|
28
|
-
"@lookiero/sty-psp-locale": "^0
|
|
28
|
+
"@lookiero/sty-psp-locale": "^1.0",
|
|
29
29
|
"@lookiero/sty-psp-logging": "^1.0",
|
|
30
|
-
"@lookiero/sty-psp-notifications": "^2.
|
|
30
|
+
"@lookiero/sty-psp-notifications": "^2.1",
|
|
31
31
|
"@lookiero/sty-psp-react-native": "^1.0",
|
|
32
32
|
"@lookiero/sty-psp-segment": "^0.1",
|
|
33
33
|
"@lookiero/sty-psp-storage": "^0.2",
|
|
34
|
-
"@lookiero/sty-psp-tracking": "^2.
|
|
34
|
+
"@lookiero/sty-psp-tracking": "^2.1",
|
|
35
35
|
"@lookiero/sty-psp-ui-settings": "^1.0",
|
|
36
|
-
"@lookiero/sty-psp-ui": "^2.
|
|
36
|
+
"@lookiero/sty-psp-ui": "^2.1",
|
|
37
37
|
"@lookiero/sty-psp-units": "^0.1",
|
|
38
38
|
"@lookiero/sty-psp-uuid": "^0.2",
|
|
39
39
|
"@lookiero/sty-sp-tradename": "^1.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Currency } from "@lookiero/sty-psp-locale";
|
|
1
2
|
import { CheckoutItemStatus } from "../../../domain/checkoutItem/model/checkoutItem";
|
|
2
|
-
import { Currency } from "../../../domain/checkoutItem/model/currency";
|
|
3
3
|
import {
|
|
4
4
|
CheckoutItemProductVariantProjection,
|
|
5
5
|
CheckoutItemProjection,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Currency } from "@lookiero/sty-psp-locale";
|
|
1
2
|
import { BaseTrackingEvent, TrackingEventCategory } from "@lookiero/sty-psp-tracking";
|
|
2
3
|
import { CheckoutItemStatus } from "../../domain/checkoutItem/model/checkoutItem";
|
|
3
|
-
import { Currency } from "../../domain/checkoutItem/model/currency";
|
|
4
4
|
import { MediaPerspective } from "../../projection/checkoutItem/checkoutItem";
|
|
5
5
|
import { SubscriptionProjection } from "../../projection/subscription/subscription";
|
|
6
6
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { renderHook } from "@testing-library/react-native";
|
|
2
|
-
import { Country } from "@lookiero/sty-psp-locale";
|
|
2
|
+
import { Country, Currency } from "@lookiero/sty-psp-locale";
|
|
3
3
|
import { Segment } from "@lookiero/sty-psp-segment";
|
|
4
4
|
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
5
5
|
import { Tradename } from "@lookiero/sty-sp-tradename";
|
|
6
6
|
import { CheckoutStatus } from "../../domain/checkout/model/checkout";
|
|
7
7
|
import { CheckoutItemStatus } from "../../domain/checkoutItem/model/checkoutItem";
|
|
8
|
-
import { Currency } from "../../domain/checkoutItem/model/currency";
|
|
9
8
|
import { CheckoutProjection } from "../../projection/checkout/checkout";
|
|
10
9
|
import { OrderProjection } from "../../projection/order/order";
|
|
11
10
|
import { PricingProjection } from "../../projection/pricing/pricing";
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { useCallback } from "react";
|
|
2
2
|
import invariant from "tiny-invariant";
|
|
3
|
-
import { Country } from "@lookiero/sty-psp-locale";
|
|
3
|
+
import { Country, Currency } from "@lookiero/sty-psp-locale";
|
|
4
4
|
import { Segment } from "@lookiero/sty-psp-segment";
|
|
5
5
|
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
6
6
|
import { Tradename } from "@lookiero/sty-sp-tradename";
|
|
7
7
|
import { CheckoutItemStatus } from "../../domain/checkoutItem/model/checkoutItem";
|
|
8
|
-
import { Currency } from "../../domain/checkoutItem/model/currency";
|
|
9
8
|
import { CheckoutProjection } from "../../projection/checkout/checkout";
|
|
10
9
|
import { OrderProjection } from "../../projection/order/order";
|
|
11
10
|
import { PricingProjection } from "../../projection/pricing/pricing";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Currency } from "
|
|
2
|
+
import { Currency } from "@lookiero/sty-psp-locale";
|
|
3
3
|
import { PriceProjection } from "../../../../../projection/price/price";
|
|
4
4
|
import { render } from "../../../test/render";
|
|
5
5
|
import { Price } from "./Price";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Country } from "@lookiero/sty-psp-locale";
|
|
3
|
-
import { Currency } from "../../../../../../domain/checkoutItem/model/currency";
|
|
2
|
+
import { Country, Currency } from "@lookiero/sty-psp-locale";
|
|
4
3
|
import { I18nMessages } from "../../../../i18n/i18n";
|
|
5
4
|
import { render } from "../../../../test/render";
|
|
6
5
|
import { ProductVariantDescription } from "./ProductVariantDescription";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Currency } from "
|
|
2
|
+
import { Currency } from "@lookiero/sty-psp-locale";
|
|
3
3
|
import { PriceProjection } from "../../../../../../projection/price/price";
|
|
4
4
|
import { render } from "../../../../test/render";
|
|
5
5
|
import { Price } from "./Price";
|
package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.test.tsx
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { fireEvent } from "@testing-library/react-native";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { Country } from "@lookiero/sty-psp-locale";
|
|
3
|
+
import { Country, Currency } from "@lookiero/sty-psp-locale";
|
|
4
4
|
import { CheckoutItemStatus } from "../../../../../../domain/checkoutItem/model/checkoutItem";
|
|
5
|
-
import { Currency } from "../../../../../../domain/checkoutItem/model/currency";
|
|
6
5
|
import { ColorProjection, MediaPerspective } from "../../../../../../projection/checkoutItem/checkoutItem";
|
|
7
6
|
import { COLOR_I18N_PREFIX, I18nMessages } from "../../../../i18n/i18n";
|
|
8
7
|
import { render } from "../../../../test/render";
|