@vtex/order-manager
Advanced tools
Comparing version 0.0.3-14 to 0.0.3-15
/*! | ||
* @vtex/order-manager v0.0.3-14 | ||
* @vtex/order-manager v0.0.3-15 | ||
* (c) VTEX | ||
@@ -571,3 +571,3 @@ * Released under the MIT License. | ||
case 0: return [4 /*yield*/, clearOrderFormMessages({ | ||
variables: { orderFormId: orderForm.id }, | ||
orderFormId: orderForm.id, | ||
})]; | ||
@@ -574,0 +574,0 @@ case 1: |
/*! | ||
* @vtex/order-manager v0.0.3-14 | ||
* @vtex/order-manager v0.0.3-15 | ||
* (c) VTEX | ||
@@ -579,3 +579,3 @@ * Released under the MIT License. | ||
case 0: return [4 /*yield*/, clearOrderFormMessages({ | ||
variables: { orderFormId: orderForm.id }, | ||
orderFormId: orderForm.id, | ||
})]; | ||
@@ -582,0 +582,0 @@ case 1: |
{ | ||
"name": "@vtex/order-manager", | ||
"version": "0.0.3-14", | ||
"version": "0.0.3-15", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "cdn": "dist/index.umd.js", |
import type { Dispatch } from 'react'; | ||
import type { OrderForm, OrderFormUpdate } from '../typings'; | ||
interface MutationInput<T> { | ||
variables: T; | ||
} | ||
export interface ToastContext { | ||
@@ -14,8 +11,7 @@ showToast: (message: string) => void; | ||
useToast: () => ToastContext; | ||
useClearOrderFormMessages: () => (options: MutationInput<{ | ||
useClearOrderFormMessages: () => (options: { | ||
orderFormId: string; | ||
}>) => Promise<any>; | ||
}) => Promise<any>; | ||
} | ||
export declare const createUseMessages: ({ useClearOrderFormMessages, useToast, }: CreateUseMessagesParams) => (orderForm: OrderForm, setOrderForm: Dispatch<OrderFormUpdate<OrderForm>>) => void; | ||
export {}; | ||
//# sourceMappingURL=createUseMessages.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181346
1818