@sazito/checkout 0.4.2 → 0.4.4

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.
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { Cart, Invoice, ApplicableShippingMethods, InvoiceItem, ShippingRate, PaymentMethod, Order } from '@sazito/client-sdk';
3
+ import { Cart, Invoice, ApplicableShippingMethods, InvoiceItem, ShippingRate, PaymentMethod, CheckoutOrder } from '@sazito/client-sdk';
4
4
 
5
5
  /**
6
6
  * Checkout domain types.
@@ -144,7 +144,7 @@ interface ShippingGroup {
144
144
  }
145
145
  interface CheckoutResult {
146
146
  status: CheckoutResultStatus;
147
- order?: Order;
147
+ order?: CheckoutOrder;
148
148
  message?: string;
149
149
  }
150
150
  interface CheckoutError {
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { Cart, Invoice, ApplicableShippingMethods, InvoiceItem, ShippingRate, PaymentMethod, Order } from '@sazito/client-sdk';
3
+ import { Cart, Invoice, ApplicableShippingMethods, InvoiceItem, ShippingRate, PaymentMethod, CheckoutOrder } from '@sazito/client-sdk';
4
4
 
5
5
  /**
6
6
  * Checkout domain types.
@@ -144,7 +144,7 @@ interface ShippingGroup {
144
144
  }
145
145
  interface CheckoutResult {
146
146
  status: CheckoutResultStatus;
147
- order?: Order;
147
+ order?: CheckoutOrder;
148
148
  message?: string;
149
149
  }
150
150
  interface CheckoutError {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sazito/checkout",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Headless checkout engine + React UI for the Sazito platform, powered by @sazito/client-sdk",
5
5
  "license": "MIT",
6
6
  "repository": {