@vtex/order-manager
Advanced tools
Comparing version 0.0.3-8 to 0.0.3-9
/*! | ||
* @vtex/order-manager v0.0.3-8 | ||
* @vtex/order-manager v0.0.3-9 | ||
* (c) VTEX | ||
@@ -727,3 +727,3 @@ * Released under the MIT License. | ||
export { DEFAULT_ORDER_FORM, OrderQueueProvider, createOrderFormProvider, useOrderQueue, useQueueStatus }; | ||
export { DEFAULT_ORDER_FORM, OrderQueueProvider, TASK_CANCELLED_CODE, createOrderFormProvider, useOrderQueue, useQueueStatus }; | ||
//# sourceMappingURL=index.esm.js.map |
/*! | ||
* @vtex/order-manager v0.0.3-8 | ||
* @vtex/order-manager v0.0.3-9 | ||
* (c) VTEX | ||
@@ -737,2 +737,3 @@ * Released under the MIT License. | ||
exports.OrderQueueProvider = OrderQueueProvider; | ||
exports.TASK_CANCELLED_CODE = TASK_CANCELLED_CODE; | ||
exports.createOrderFormProvider = createOrderFormProvider; | ||
@@ -739,0 +740,0 @@ exports.useOrderQueue = useOrderQueue; |
{ | ||
"name": "@vtex/order-manager", | ||
"version": "0.0.3-8", | ||
"version": "0.0.3-9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "cdn": "dist/index.umd.js", |
@@ -1,2 +0,1 @@ | ||
export declare type QueueStatus = 'Pending' | 'Fulfilled'; | ||
export declare const TASK_CANCELLED_CODE = "TASK_CANCELLED"; | ||
@@ -3,0 +2,0 @@ export declare const UNSYNC_ORDER_FORM_VALUE = -1; |
export { createOrderFormProvider } from './createOrderFormProvider'; | ||
export { OrderQueueProvider, useOrderQueue, useQueueStatus } from './OrderQueue'; | ||
export { DEFAULT_ORDER_FORM } from './constants'; | ||
export type { OrderForm } from './typings'; | ||
export { DEFAULT_ORDER_FORM, TASK_CANCELLED_CODE } from './constants'; | ||
export type { OrderForm, QueueStatus } from './typings'; | ||
//# sourceMappingURL=index.d.ts.map |
import type { CancellablePromiseLike } from './SequentialTaskQueue'; | ||
import type { QueueStatus } from '../constants'; | ||
import type { QueueStatus } from '../typings'; | ||
export declare class TaskQueue { | ||
@@ -4,0 +4,0 @@ private queue; |
import type { FC, ReactNode } from 'react'; | ||
import React from 'react'; | ||
import type { OrderForm } from './typings'; | ||
import type { QueueStatus } from './constants'; | ||
import type { OrderForm, QueueStatus } from './typings'; | ||
import type { CancellablePromiseLike } from './modules/SequentialTaskQueue'; | ||
@@ -6,0 +5,0 @@ declare type ListenFunction = (event: QueueStatus, callback: () => void) => () => void; |
@@ -38,3 +38,4 @@ declare type Maybe<T> = T | null; | ||
export declare type OrderFormUpdate<O> = Partial<O> | Partial<OrderForm> | ((prevOrderForm: O) => Partial<O> | Partial<OrderForm>); | ||
export declare type QueueStatus = 'Pending' | 'Fulfilled'; | ||
export {}; | ||
//# sourceMappingURL=index.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
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
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
182546