@lookiero/checkout 6.0.0-beta.0 → 6.0.0-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/index.d.ts CHANGED
@@ -1,12 +1,17 @@
1
1
  import { ComponentType } from "react";
2
2
  import { EndpointFunction } from "@lookiero/i18n";
3
+ import { Country } from "@lookiero/sty-psp-locale";
3
4
  import { SentryEnvironment, SentryLoggerFunctionArgs } from "@lookiero/sty-psp-logging";
5
+ import { Segment } from "@lookiero/sty-psp-segment";
4
6
  import { CheckoutStatus } from "./src/domain/checkout/model/checkout";
5
7
  import { KameleoonEnvironment } from "./src/infrastructure/ab-testing/kameleoonEnvironment";
6
8
  import { RootProps } from "./src/infrastructure/ui/Root";
7
9
  import { translationEndpoint, translationExternalEndpoint } from "./src/infrastructure/ui/i18n/translationEndpoint";
8
10
  import { CheckoutProjection } from "./src/projection/checkout/checkout";
9
11
  import { IsCheckoutAccessibleByCustomerIdProjection } from "./src/projection/checkout/viewIsCheckoutAccessibleByCustomerId";
12
+ import { Customer } from "./src/projection/shared/customer";
13
+ import { Order } from "./src/projection/shared/order";
14
+ import { Subscription } from "./src/projection/shared/subscription";
10
15
  interface IsCheckoutAccessibleFunctionArgs {
11
16
  readonly customerId: string | undefined;
12
17
  }
@@ -35,5 +40,5 @@ interface BootstrapFunction {
35
40
  (args: BootstrapFunctionArgs): BootstrapFunctionReturn;
36
41
  }
37
42
  declare const bootstrap: BootstrapFunction;
38
- export { bootstrap, translationEndpoint, translationExternalEndpoint, CheckoutStatus };
39
- export type { SentryEnvironment, KameleoonEnvironment };
43
+ export { bootstrap, translationEndpoint, translationExternalEndpoint, Country, Segment, CheckoutStatus };
44
+ export type { SentryEnvironment, KameleoonEnvironment, Customer, Subscription, Order };
package/dist/index.js CHANGED
@@ -1,4 +1,6 @@
1
1
  import { i18n } from "@lookiero/i18n-react";
2
+ import { Country } from "@lookiero/sty-psp-locale";
3
+ import { Segment } from "@lookiero/sty-psp-segment";
2
4
  import { CheckoutStatus } from "./src/domain/checkout/model/checkout";
3
5
  import { bootstrap as checkoutBootstrap } from "./src/infrastructure/delivery/bootstrap";
4
6
  import { root } from "./src/infrastructure/ui/Root";
@@ -20,4 +22,4 @@ const bootstrap = ({ apiUrl, getAuthToken, translations, sentry, kameleoon }) =>
20
22
  firstAvailableCheckoutByCustomerId,
21
23
  };
22
24
  };
23
- export { bootstrap, translationEndpoint, translationExternalEndpoint, CheckoutStatus };
25
+ export { bootstrap, translationEndpoint, translationExternalEndpoint, Country, Segment, CheckoutStatus };
@@ -1 +1 @@
1
- export declare const VERSION = "6.0.0-beta.0";
1
+ export declare const VERSION = "6.0.0-beta.2";
@@ -1 +1 @@
1
- export const VERSION = "6.0.0-beta.0";
1
+ export const VERSION = "6.0.0-beta.2";
package/index.ts CHANGED
@@ -1,7 +1,9 @@
1
1
  import { ComponentType } from "react";
2
2
  import { EndpointFunction } from "@lookiero/i18n";
3
3
  import { i18n } from "@lookiero/i18n-react";
4
+ import { Country } from "@lookiero/sty-psp-locale";
4
5
  import { SentryEnvironment, SentryLoggerFunctionArgs } from "@lookiero/sty-psp-logging";
6
+ import { Segment } from "@lookiero/sty-psp-segment";
5
7
  import { CheckoutStatus } from "./src/domain/checkout/model/checkout";
6
8
  import { KameleoonEnvironment } from "./src/infrastructure/ab-testing/kameleoonEnvironment";
7
9
  import { bootstrap as checkoutBootstrap } from "./src/infrastructure/delivery/bootstrap";
@@ -14,6 +16,9 @@ import {
14
16
  IsCheckoutAccessibleByCustomerIdProjection,
15
17
  viewIsCheckoutAccessibleByCustomerId,
16
18
  } from "./src/projection/checkout/viewIsCheckoutAccessibleByCustomerId";
19
+ import { Customer } from "./src/projection/shared/customer";
20
+ import { Order } from "./src/projection/shared/order";
21
+ import { Subscription } from "./src/projection/shared/subscription";
17
22
 
18
23
  interface IsCheckoutAccessibleFunctionArgs {
19
24
  readonly customerId: string | undefined;
@@ -69,5 +74,5 @@ const bootstrap: BootstrapFunction = ({ apiUrl, getAuthToken, translations, sent
69
74
  };
70
75
  };
71
76
 
72
- export { bootstrap, translationEndpoint, translationExternalEndpoint, CheckoutStatus };
73
- export type { SentryEnvironment, KameleoonEnvironment };
77
+ export { bootstrap, translationEndpoint, translationExternalEndpoint, Country, Segment, CheckoutStatus };
78
+ export type { SentryEnvironment, KameleoonEnvironment, Customer, Subscription, Order };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lookiero/checkout",
3
- "version": "6.0.0-beta.0",
3
+ "version": "6.0.0-beta.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": "false",