@vtex/checkout 0.8.0 → 0.9.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/surface/types.d.ts +1 -0
- package/dist/types.d.ts +1 -1
- package/package.json +2 -2
package/dist/surface/types.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export type UseCartItem = CartAvailableItem | CartUnavailableItem;
|
|
|
40
40
|
export type UseExtension = {
|
|
41
41
|
account: string;
|
|
42
42
|
extensionPoint: ExtensionPointsKeys;
|
|
43
|
+
orderFormId: string;
|
|
43
44
|
};
|
|
44
45
|
export type ExtensionPointApi = {
|
|
45
46
|
useExtension: () => UseExtension;
|
package/dist/types.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export * from './surface/types.js';
|
|
|
4
4
|
export type ExtensionPointComponent = (props: {
|
|
5
5
|
api: ExtensionPointApi;
|
|
6
6
|
}) => ReactNode;
|
|
7
|
-
export type ExtensionPointsKeys = 'cart.cart-list.after' | 'cart.order-summary.after' | 'cart.cart-item.after' | 'delivery.cart-item.after' | 'review.cart-item.after' | 'payment.cart-item.after' | 'order-placed.cart-item.after' | 'layout.footer';
|
|
7
|
+
export type ExtensionPointsKeys = 'cart.cart-list.after' | 'cart.order-summary.after' | 'cart.cart-item.after' | 'delivery.cart-item.after' | 'delivery.information-form.after' | 'review.cart-item.after' | 'payment.cart-item.after' | 'order-placed.cart-item.after' | 'layout.footer';
|
|
8
8
|
export type ExtensionPoints = Partial<Record<ExtensionPointsKeys, () => ReactNode>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtex/checkout",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"author": "VTEX",
|
|
5
5
|
"bin": {
|
|
6
6
|
"checkout": "./bin/run.js"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"ws": "^8.18.0",
|
|
26
26
|
"cors": "2.8.5",
|
|
27
27
|
"typescript": "^5.3.3",
|
|
28
|
-
"@vtex/checkout-ui-core": "0.0.
|
|
28
|
+
"@vtex/checkout-ui-core": "0.0.80",
|
|
29
29
|
"ora": "^8.1.0",
|
|
30
30
|
"chalk": "^5.3.0"
|
|
31
31
|
},
|