@fire-spark/storefront 0.0.2 → 0.0.3
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 +3 -3
- package/dist/index.js +2 -2
- package/package.json +6 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AuthConfigureOptions, CreateOrderOptions, CreateSessionOptions, CustomizationPath, CustomizationSession, DEFAULT_RECOMMENDATION_TYPES, ExchangeOptions, FlatMenuCategory, GroupDisplayType, IdBuilder, ListMenusStreamOptions, Menu, MenuCategoryNode, MenuLookup, MilestoneSteps, MilestoneTrackItem, ModifierControlType, ModifierCtx, ModifierGroupCtx, NestedMenuCategory, Order, OrderCustomerSource, OrderDraft, OrderIssue, OrderIssueCode, OrderLineDiff, OrderLineIssue, OrderLineIssueCode, OrderScope, OrderSyncPendingError, OrderValidationError, OrderValidationResult, PricingModifier, Product, ProductCtx, QuantitiesByPath, RecommendationType, ReorderOrderOptions, ResetOptions, ScheduleWindow, SelectionStatus, ServiceHttpOptions, Snapshot, StorefrontAccessToken as AccessToken, StorefrontHttpError, TrackWorkflow, ValidateOptions, ValidateOrderAgainstMenuInput, VisitedState, addLines, auth, buildCustomerSnapshot, collectOrderLineDiffs, createSession, currentNodes, flattenMenuCategories, fromOrderLines, genId, genOrderId, getScheduleWindow, indexMenu, isDeviceNotLinked, isKioskUnauthorized, isMilestoneStepDone, isOnSchedule, isOrderValidationError, isStorefrontNotFound, listMenusStream, milestoneSteps, milestoneTrack, nestMenuCategories, paymentMatchesClientConditions, resolveCheckout, services, toOrderLines, validateOrderAgainstMenu, visitedStates } from "@fire-spark/core";
|
|
2
|
-
import { AddressInfo, BillingInfo, BillingProfile, CheckoutMode, CheckoutResolved, CmsBlock, CmsBlockItem, Customer, CustomerGender, CustomerIdentifyInput, CustomerRegisterInput, CustomerUpdateInput, DeliveryAddress, Fulfillment, FulfillmentListInput, KioskAdminGesture, KioskCommandPayload, KioskCommandType, KioskConfigChangedPayload, KioskDeviceConfig, KioskDeviceConfigPayment, KioskDeviceOverrides, KioskHealthBatchInput, KioskHealthBatchResult, KioskHealthSample, KioskHeartbeatHealth, KioskHeartbeatInput, KioskHeartbeatResult, KioskOrderPager, KioskPagerSide, KioskPagersOverrides, KioskPagersSettings, KioskRealtimeToken, MerchantPayment, OrderFulfillment, OrderInsertInput, OrderLine, OrderListInput, OrderReorderInput, OrderTotals, OrderUpdateInput, Payment, PaymentIntent, PaymentIntentInput, PaymentMethod, PaymentProvider, PlaceOrderResult, Store, StoreListInput, StoreNearbyInput, StorefrontAvailability, StorefrontAvailabilityRule, StorefrontMenu as ServerMenu, StorefrontMenuScope as MenuScope, StorefrontPaymentsListInput, StorefrontPreferences, StorefrontPreferencesInput } from "@fire-spark/types";
|
|
3
|
-
export { type AccessToken, type AddressInfo, type AuthConfigureOptions, type BillingInfo, type BillingProfile, type CheckoutMode, type CheckoutResolved, type CmsBlock, type CmsBlockItem, type CreateOrderOptions, type CreateSessionOptions, type Customer, type CustomerGender, type CustomerIdentifyInput, type CustomerRegisterInput, type CustomerUpdateInput, type CustomizationPath, type CustomizationSession, DEFAULT_RECOMMENDATION_TYPES, type DeliveryAddress, type ExchangeOptions, type FlatMenuCategory, type Fulfillment, type FulfillmentListInput, type GroupDisplayType, type IdBuilder, type KioskAdminGesture, type KioskCommandPayload, type KioskCommandType, type KioskConfigChangedPayload, type KioskDeviceConfig, type KioskDeviceConfigPayment, type KioskDeviceOverrides, type KioskHealthBatchInput, type KioskHealthBatchResult, type KioskHealthSample, type KioskHeartbeatHealth, type KioskHeartbeatInput, type KioskHeartbeatResult, type KioskOrderPager, type KioskPagerSide, type KioskPagersOverrides, type KioskPagersSettings, type KioskRealtimeToken, type ListMenusStreamOptions, type Menu, type MenuCategoryNode, type MenuLookup, type MenuScope, type MerchantPayment, type MilestoneSteps, type MilestoneTrackItem, type ModifierControlType, type ModifierCtx, type ModifierGroupCtx, type NestedMenuCategory, Order, type OrderCustomerSource, type OrderDraft, type OrderFulfillment, type OrderInsertInput, type OrderIssue, type OrderIssueCode, type OrderLine, type OrderLineDiff, type OrderLineIssue, type OrderLineIssueCode, type OrderListInput, type OrderReorderInput, type OrderScope, OrderSyncPendingError, type OrderTotals, type OrderUpdateInput, OrderValidationError, type OrderValidationResult, type Payment, type PaymentIntent, type PaymentIntentInput, type PaymentMethod, type PaymentProvider, type PlaceOrderResult, type PricingModifier, type Product, type ProductCtx, type QuantitiesByPath, type RecommendationType, type ReorderOrderOptions, type ResetOptions, type ScheduleWindow, type SelectionStatus, type ServerMenu, type ServiceHttpOptions, type Snapshot, type Store, type StoreListInput, type StoreNearbyInput, type StorefrontAvailability, type StorefrontAvailabilityRule, StorefrontHttpError, type StorefrontPaymentsListInput, type StorefrontPreferences, type StorefrontPreferencesInput, type TrackWorkflow, type ValidateOptions, type ValidateOrderAgainstMenuInput, type VisitedState, addLines, auth, buildCustomerSnapshot, collectOrderLineDiffs, createSession, currentNodes, flattenMenuCategories, fromOrderLines, genId, genOrderId, getScheduleWindow, indexMenu, isDeviceNotLinked, isKioskUnauthorized, isMilestoneStepDone, isOnSchedule, isOrderValidationError, isStorefrontNotFound, listMenusStream, milestoneSteps, milestoneTrack, nestMenuCategories, paymentMatchesClientConditions, resolveCheckout, services, toOrderLines, validateOrderAgainstMenu, visitedStates };
|
|
1
|
+
import { AuthConfigureOptions, CreateOrderOptions, CreateSessionOptions, CustomizationPath, CustomizationSession, DEFAULT_RECOMMENDATION_TYPES, ExchangeOptions, FlatMenuCategory, GroupDisplayType, IdBuilder, ListMenusStreamOptions, Menu, MenuCategoryNode, MenuLookup, MilestoneSteps, MilestoneTrackItem, ModifierControlType, ModifierCtx, ModifierGroupCtx, NestedMenuCategory, Order, OrderCustomerSource, OrderDraft, OrderIssue, OrderIssueCode, OrderLineDiff, OrderLineIssue, OrderLineIssueCode, OrderScope, OrderSyncPendingError, OrderValidationError, OrderValidationResult, PricingModifier, Product, ProductCtx, QuantitiesByPath, RecommendationType, ReorderOrderOptions, ResetOptions, ScheduleWindow, SelectionStatus, SelectionsByPath, ServiceHttpOptions, Snapshot, StorefrontAccessToken as AccessToken, StorefrontHttpError, TrackWorkflow, ValidateOptions, ValidateOrderAgainstMenuInput, VariantGroupCtx, VariantOptionCtx, VariantSelection, VisitedState, addLines, auth, buildCustomerSnapshot, collectOrderLineDiffs, createSession, currentNodes, flattenMenuCategories, fromOrderLines, genId, genOrderId, getScheduleWindow, indexMenu, isDeviceNotLinked, isKioskUnauthorized, isMilestoneStepDone, isOnSchedule, isOrderValidationError, isStorefrontNotFound, isVariantBase, listMenusStream, milestoneSteps, milestoneTrack, nestMenuCategories, paymentMatchesClientConditions, resolveCheckout, services, toOrderLines, validateOrderAgainstMenu, visitedStates } from "@fire-spark/core";
|
|
2
|
+
import { AddressInfo, BillingInfo, BillingProfile, CheckoutMode, CheckoutResolved, CmsBlock, CmsBlockItem, Customer, CustomerGender, CustomerIdentifyInput, CustomerRegisterInput, CustomerUpdateInput, DeliveryAddress, Fulfillment, FulfillmentListInput, KioskAdminGesture, KioskCommandPayload, KioskCommandType, KioskConfigChangedPayload, KioskDeviceConfig, KioskDeviceConfigPayment, KioskDeviceOverrides, KioskHealthBatchInput, KioskHealthBatchResult, KioskHealthSample, KioskHeartbeatHealth, KioskHeartbeatInput, KioskHeartbeatResult, KioskOrderPager, KioskPagerSide, KioskPagersOverrides, KioskPagersSettings, KioskRealtimeToken, MerchantPayment, OrderFulfillment, OrderInsertInput, OrderLine, OrderListInput, OrderReorderInput, OrderTotals, OrderUpdateInput, Payment, PaymentIntent, PaymentIntentInput, PaymentMethod, PaymentProvider, PlaceOrderResult, Store, StoreAvailabilityFilters, StoreGetInput, StoreListInput, StoreNearbyInput, StorefrontAvailability, StorefrontAvailabilityRule, StorefrontMenu as ServerMenu, StorefrontMenuScope as MenuScope, StorefrontPaymentsListInput, StorefrontPreferences, StorefrontPreferencesInput } from "@fire-spark/types";
|
|
3
|
+
export { type AccessToken, type AddressInfo, type AuthConfigureOptions, type BillingInfo, type BillingProfile, type CheckoutMode, type CheckoutResolved, type CmsBlock, type CmsBlockItem, type CreateOrderOptions, type CreateSessionOptions, type Customer, type CustomerGender, type CustomerIdentifyInput, type CustomerRegisterInput, type CustomerUpdateInput, type CustomizationPath, type CustomizationSession, DEFAULT_RECOMMENDATION_TYPES, type DeliveryAddress, type ExchangeOptions, type FlatMenuCategory, type Fulfillment, type FulfillmentListInput, type GroupDisplayType, type IdBuilder, type KioskAdminGesture, type KioskCommandPayload, type KioskCommandType, type KioskConfigChangedPayload, type KioskDeviceConfig, type KioskDeviceConfigPayment, type KioskDeviceOverrides, type KioskHealthBatchInput, type KioskHealthBatchResult, type KioskHealthSample, type KioskHeartbeatHealth, type KioskHeartbeatInput, type KioskHeartbeatResult, type KioskOrderPager, type KioskPagerSide, type KioskPagersOverrides, type KioskPagersSettings, type KioskRealtimeToken, type ListMenusStreamOptions, type Menu, type MenuCategoryNode, type MenuLookup, type MenuScope, type MerchantPayment, type MilestoneSteps, type MilestoneTrackItem, type ModifierControlType, type ModifierCtx, type ModifierGroupCtx, type NestedMenuCategory, Order, type OrderCustomerSource, type OrderDraft, type OrderFulfillment, type OrderInsertInput, type OrderIssue, type OrderIssueCode, type OrderLine, type OrderLineDiff, type OrderLineIssue, type OrderLineIssueCode, type OrderListInput, type OrderReorderInput, type OrderScope, OrderSyncPendingError, type OrderTotals, type OrderUpdateInput, OrderValidationError, type OrderValidationResult, type Payment, type PaymentIntent, type PaymentIntentInput, type PaymentMethod, type PaymentProvider, type PlaceOrderResult, type PricingModifier, type Product, type ProductCtx, type QuantitiesByPath, type RecommendationType, type ReorderOrderOptions, type ResetOptions, type ScheduleWindow, type SelectionStatus, type SelectionsByPath, type ServerMenu, type ServiceHttpOptions, type Snapshot, type Store, type StoreAvailabilityFilters, type StoreGetInput, type StoreListInput, type StoreNearbyInput, type StorefrontAvailability, type StorefrontAvailabilityRule, StorefrontHttpError, type StorefrontPaymentsListInput, type StorefrontPreferences, type StorefrontPreferencesInput, type TrackWorkflow, type ValidateOptions, type ValidateOrderAgainstMenuInput, type VariantGroupCtx, type VariantOptionCtx, type VariantSelection, type VisitedState, addLines, auth, buildCustomerSnapshot, collectOrderLineDiffs, createSession, currentNodes, flattenMenuCategories, fromOrderLines, genId, genOrderId, getScheduleWindow, indexMenu, isDeviceNotLinked, isKioskUnauthorized, isMilestoneStepDone, isOnSchedule, isOrderValidationError, isStorefrontNotFound, isVariantBase, listMenusStream, milestoneSteps, milestoneTrack, nestMenuCategories, paymentMatchesClientConditions, resolveCheckout, services, toOrderLines, validateOrderAgainstMenu, visitedStates };
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DEFAULT_RECOMMENDATION_TYPES, Order, OrderSyncPendingError, OrderValidationError, StorefrontHttpError, addLines, auth, buildCustomerSnapshot, collectOrderLineDiffs, createSession, currentNodes, flattenMenuCategories, fromOrderLines, genId, genOrderId, getScheduleWindow, indexMenu, isDeviceNotLinked, isKioskUnauthorized, isMilestoneStepDone, isOnSchedule, isOrderValidationError, isStorefrontNotFound, listMenusStream, milestoneSteps, milestoneTrack, nestMenuCategories, paymentMatchesClientConditions, resolveCheckout, services, toOrderLines, validateOrderAgainstMenu, visitedStates } from "@fire-spark/core";
|
|
2
|
-
export { DEFAULT_RECOMMENDATION_TYPES, Order, OrderSyncPendingError, OrderValidationError, StorefrontHttpError, addLines, auth, buildCustomerSnapshot, collectOrderLineDiffs, createSession, currentNodes, flattenMenuCategories, fromOrderLines, genId, genOrderId, getScheduleWindow, indexMenu, isDeviceNotLinked, isKioskUnauthorized, isMilestoneStepDone, isOnSchedule, isOrderValidationError, isStorefrontNotFound, listMenusStream, milestoneSteps, milestoneTrack, nestMenuCategories, paymentMatchesClientConditions, resolveCheckout, services, toOrderLines, validateOrderAgainstMenu, visitedStates };
|
|
1
|
+
import { DEFAULT_RECOMMENDATION_TYPES, Order, OrderSyncPendingError, OrderValidationError, StorefrontHttpError, addLines, auth, buildCustomerSnapshot, collectOrderLineDiffs, createSession, currentNodes, flattenMenuCategories, fromOrderLines, genId, genOrderId, getScheduleWindow, indexMenu, isDeviceNotLinked, isKioskUnauthorized, isMilestoneStepDone, isOnSchedule, isOrderValidationError, isStorefrontNotFound, isVariantBase, listMenusStream, milestoneSteps, milestoneTrack, nestMenuCategories, paymentMatchesClientConditions, resolveCheckout, services, toOrderLines, validateOrderAgainstMenu, visitedStates } from "@fire-spark/core";
|
|
2
|
+
export { DEFAULT_RECOMMENDATION_TYPES, Order, OrderSyncPendingError, OrderValidationError, StorefrontHttpError, addLines, auth, buildCustomerSnapshot, collectOrderLineDiffs, createSession, currentNodes, flattenMenuCategories, fromOrderLines, genId, genOrderId, getScheduleWindow, indexMenu, isDeviceNotLinked, isKioskUnauthorized, isMilestoneStepDone, isOnSchedule, isOrderValidationError, isStorefrontNotFound, isVariantBase, listMenusStream, milestoneSteps, milestoneTrack, nestMenuCategories, paymentMatchesClientConditions, resolveCheckout, services, toOrderLines, validateOrderAgainstMenu, visitedStates };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fire-spark/storefront",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Fire Spark storefront SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@fire-spark/core": "0.0.
|
|
21
|
-
"@fire-spark/types": "0.0.
|
|
20
|
+
"@fire-spark/core": "0.0.3",
|
|
21
|
+
"@fire-spark/types": "0.0.3"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"tsdown": "^0.22.14",
|
|
@@ -35,7 +35,9 @@
|
|
|
35
35
|
"esm"
|
|
36
36
|
],
|
|
37
37
|
"platform": "neutral",
|
|
38
|
-
"dts":
|
|
38
|
+
"dts": {
|
|
39
|
+
"tsconfig": "tsconfig.build.json"
|
|
40
|
+
},
|
|
39
41
|
"clean": true,
|
|
40
42
|
"deps": {
|
|
41
43
|
"neverBundle": [
|