@fayz-ai/storefront 0.14.1 → 0.15.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/{chunk-LTAB2QMM.js → chunk-AEV2QRRH.js} +361 -67
- package/dist/chunk-AEV2QRRH.js.map +1 -0
- package/dist/components/checkout/CheckoutPayment.d.ts +16 -1
- package/dist/components/checkout/CheckoutPayment.d.ts.map +1 -1
- package/dist/components/product/ProductGallery.d.ts.map +1 -1
- package/dist/hooks/use-known-customer.d.ts +26 -0
- package/dist/hooks/use-known-customer.d.ts.map +1 -0
- package/dist/index.js +2 -2
- package/dist/lib/testids.d.ts +2 -0
- package/dist/lib/testids.d.ts.map +1 -1
- package/dist/render.js +1 -1
- package/dist/views/CheckoutPage.d.ts.map +1 -1
- package/dist/views/MyPurchasesPage.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/chunk-LTAB2QMM.js.map +0 -1
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { CheckoutSessionInput } from '@fayz-ai/shop/types';
|
|
3
|
+
/** O adquirente guardado para ESTA sessão, se for a mesma que voltou. */
|
|
4
|
+
export declare function recallSessionProvider(sessionId: string): string | null;
|
|
3
5
|
export interface CheckoutPaymentProps {
|
|
4
6
|
input: CheckoutSessionInput;
|
|
5
7
|
/** Chamado uma vez, com o pedido que o servidor criou. */
|
|
6
8
|
onPaid: (orderId: string) => void;
|
|
7
9
|
onBack: () => void;
|
|
8
10
|
money: (value: number) => string;
|
|
11
|
+
/**
|
|
12
|
+
* Uma sessão que JÁ existe, para retomar em vez de abrir outra.
|
|
13
|
+
*
|
|
14
|
+
* É o comprador voltando da página do adquirente depois de pagar com cartão:
|
|
15
|
+
* a página recarregou do zero, o formulário e o passo se perderam, e a única
|
|
16
|
+
* coisa que sobrevive é o id que veio na URL. Com ele a tela não abre cobrança
|
|
17
|
+
* nenhuma — só pergunta se o dinheiro entrou.
|
|
18
|
+
*/
|
|
19
|
+
resume?: {
|
|
20
|
+
sessionId: string;
|
|
21
|
+
provider?: string | null;
|
|
22
|
+
chargeToken?: string | null;
|
|
23
|
+
} | null;
|
|
9
24
|
/**
|
|
10
25
|
* A loja não tem adquirente — não é um erro do comprador, e ele não pode
|
|
11
26
|
* fazer nada a respeito. Quem sabe disso é o servidor, então em vez de pintar
|
|
@@ -13,5 +28,5 @@ export interface CheckoutPaymentProps {
|
|
|
13
28
|
*/
|
|
14
29
|
onUnavailable?: () => void;
|
|
15
30
|
}
|
|
16
|
-
export declare function CheckoutPayment({ input, onPaid, onBack, money, onUnavailable }: CheckoutPaymentProps): React.JSX.Element;
|
|
31
|
+
export declare function CheckoutPayment({ input, onPaid, onBack, money, onUnavailable, resume }: CheckoutPaymentProps): React.JSX.Element;
|
|
17
32
|
//# sourceMappingURL=CheckoutPayment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckoutPayment.d.ts","sourceRoot":"","sources":["../../../src/components/checkout/CheckoutPayment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"CheckoutPayment.d.ts","sourceRoot":"","sources":["../../../src/components/checkout/CheckoutPayment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;AAIvE,OAAO,KAAK,EAAE,oBAAoB,EAAiB,MAAM,qBAAqB,CAAA;AAkH9E,yEAAyE;AACzE,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAOtE;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,oBAAoB,CAAA;IAC3B,0DAA0D;IAC1D,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IAChC;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAA;IAC5F;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;CAC3B;AAID,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,oBAAoB,qBAob5G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGallery.d.ts","sourceRoot":"","sources":["../../../src/components/product/ProductGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAM3E;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,KAAiB,EAAE,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ProductGallery.d.ts","sourceRoot":"","sources":["../../../src/components/product/ProductGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAM3E;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,KAAiB,EAAE,EAAE,mBAAmB,qBAyHvG;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,YAAY,EAAE,EACtB,OAAO,CAAC,EAAE,YAAY,EACtB,KAAK,GAAE,WAAW,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAa,GAC3D,YAAY,EAAE,CAShB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ShippingAddressInput } from '@fayz-ai/shop/types';
|
|
2
|
+
/**
|
|
3
|
+
* What the store already knows about the person filling this checkout in.
|
|
4
|
+
*
|
|
5
|
+
* A signed-in buyer typed their CPF, their phone and their address the last time
|
|
6
|
+
* they bought something, and every one of those is stored: the document and the
|
|
7
|
+
* phone on their customer row, the address frozen on the order. Asking again is
|
|
8
|
+
* asking someone to prove twice that they are themselves — and the CPF is the
|
|
9
|
+
* field AbacatePay needs to create a client at all, so a blank one is also a
|
|
10
|
+
* charge with no customer attached to it.
|
|
11
|
+
*
|
|
12
|
+
* Two sources because they are two different facts. The document belongs to the
|
|
13
|
+
* PERSON and lives on the customer row; the address belongs to an ORDER and is
|
|
14
|
+
* whatever they last shipped to. Reading the customer row is allowed by the
|
|
15
|
+
* `plg_shop_customers_self_read` policy (`auth_user_id = auth.uid()`), so this
|
|
16
|
+
* needs no new endpoint and no new grant — a guest simply resolves to nothing.
|
|
17
|
+
*/
|
|
18
|
+
export interface KnownCustomer {
|
|
19
|
+
phone: string | null;
|
|
20
|
+
document: string | null;
|
|
21
|
+
address: ShippingAddressInput | null;
|
|
22
|
+
/** False until both lookups have settled, so a prefill never races typing. */
|
|
23
|
+
ready: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare function useKnownCustomer(): KnownCustomer;
|
|
26
|
+
//# sourceMappingURL=use-known-customer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-known-customer.d.ts","sourceRoot":"","sources":["../../src/hooks/use-known-customer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAS,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAItE;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,OAAO,EAAE,oBAAoB,GAAG,IAAI,CAAA;IACpC,8EAA8E;IAC9E,KAAK,EAAE,OAAO,CAAA;CACf;AAED,wBAAgB,gBAAgB,IAAI,aAAa,CAoChD"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { STORE_SECTION_NAMES, isRecord, STORE_SECTIONS, slugifyStoreName, exportStore, resolveConfig, initStorefrontRuntime, StorefrontConfigHost, StorefrontShell, validateStore, isJsonValue, registerStorefrontBlocks, registerStorefrontExtensionPoints, sectionToJsonSchema, STOREFRONT_PAGE_KINDS, STOREFRONT_COMPONENT_KEYS, STOREFRONT_SLOTS, useStorefrontConfig, useCatalogStore, formatMoney, useCartStore, useSessionStore, selectTotal, selectShipping, selectDiscountTotal, selectSubtotal, selectCount, placeStorefrontOrder, useDeliveryStore, selectRequiresShipping, isNestedBlockRef, BLOCK_STRUCTURAL_KEYS, StorefrontPage, hydrateStoreDocument, blockInstanceId } from './chunk-
|
|
2
|
-
export { BEFORE_PLACE_ORDER_VALVE, BenefitsRow, BlockDataError, CART_LINE_ANNOTATION_POINT, CATALOG_BODY_BLOCK, CHECKOUT_FIELD_POINT, CartDrawer, CatalogPage, CategoryShowcase, CheckoutPage, CollectionCta, CollectionHero, ContentPage, CountdownBand, EmailConfirmationRequiredError, EntityListBlock, FaqSection, FiltersPanel, FormBlock, HeroSection, ImageTiles, Link, ManifestoBlock, MediaCarousel, MotifStrip, MyPurchasesPage, NewsletterBand, ORDER_METADATA_POINT, OrderConfirmationPage, OrderTrackingTimeline, PAGE_DATA_SCRIPT_ID, PLACEHOLDER_ASPECTS, PRODUCT_BODY_BLOCK, PRODUCT_CARD_BADGE_POINT, PageDataScope, PaymentTerms, Price, ProductCard, ProductDetailPage, ProductEnquiryForm, ProductGallery, ProductGrid, ProductOptionSelector, ProductRail, ProductReviews, ProductSlider, ProductSpecs, ProductSpotlight, PromoBanner, QuantityInput, Reveal, STOREFRONT_COMPONENT_KEYS, STOREFRONT_PAGE_KINDS, STOREFRONT_SLOTS, STORE_BACKEND_PROVIDERS, STORE_COMMERCE_MODES, STORE_DOCUMENT_KIND, STORE_PAYMENT_METHOD_KINDS, STORE_PAYMENT_MODES, STORE_ROUTE_CHROMES, STORE_ROUTE_KINDS, STORE_SECTIONS, STORE_SECTION_NAMES, SealsBand, SearchOverlay, Slot, SmoothImage, StepsSection, StorefrontConfigHost, StorefrontConfigProvider, StorefrontFooter, StorefrontHeader, StorefrontPage, StorefrontRouterProvider, StorefrontShell, StorefrontThemeStyle, StoryQuote, THEME_SCALE_FIELDS, THEME_SCALE_VAR_PREFIX, TID, Testimonials, TierCards, applyStoreSettings, bannerPlaceholder, buildEnquiryFromForm, checkPageBlocks, collectDataNeeds, collectOrderMetadata, contentPagePath, createStorefront, createStorefrontApp, currentStaticRenderPass, defaultPageBlocks, entityListBlockMeta, establishCustomerSession, exportStore, formatMoney, formatProductOptionSelection, getCartLineAnnotations, getCheckoutFieldContributions, getCustomerAuthAdapter, getProductCardBadges, getProductOptionGroups, hydrateStoreDocument, hydratedEntriesFor, initStorefrontRuntime, isKnownPath, isPublicPath, listSlots, matchContentPage, matchPath, matchesFacets, mergeCollectionFacet, mergePageTheme, navigateTo, nextMilestone, normalizeProductOptionSelection, orderGalleryImages, overrideComponent, overrideProps, pageSeo, pageThemeSelector, pickProductCardImage, placeStorefrontOrder, prefersReducedMotion, primaryImageUrl, productCardComponentContract, productJsonLd, productOptionSelectionKey, productPlaceholder, productSeo, readHydratedPageData, registerStorefrontBlocks, registerStorefrontEntities, registerStorefrontExtensionPoints, registerStorefrontLoaders, resetPageDiagnostics, resetProductOptionsDeprecationWarnings, resetStorefrontExtensionPoints, resolveAuthAdapter, resolveConfig, resolveDataParams, resolveOverride, resolvePageData, resolvePageDataNeed, resolvePaymentTerms, resolveStorefrontProvider, resolveStorefrontRoute, resolveVariantForSelection, roundCents, routePathParams, runBeforePlaceOrderValve, sectionToJsonSchema, sectionsToBlocks, selectCount, selectDiscountTotal, selectShipping, selectSubtotal, selectTotal, selectionPrice, serializePageData, shellRouterAdapter, signInByEmail, signOutCustomer, signUpCustomer, slugifyStoreName, storefrontComponentContracts, storefrontPaths, themeToCss, toBlockNodes, toFacetMap, useBlockData, useCartStore, useCatalogStore, useCategories, useDiscountValidator, useEnquiry, useHashPath, useInView, useLoader, useMyOrders, useNavigate, usePopOnChange, useProduct, useProducts, useRoutePath, useRouterAdapter, useScrollToTopOnNavigate, useScrolled, useSessionStore, useSlotContext, useStorefrontActions, useStorefrontConfig, useStorefrontConfigOptional, useStorefrontHead, useStorefrontPage, useStorefrontPageOptional, usedSlots, validateStore, withFacet, withStaticRenderPass } from './chunk-
|
|
1
|
+
import { STORE_SECTION_NAMES, isRecord, STORE_SECTIONS, slugifyStoreName, exportStore, resolveConfig, initStorefrontRuntime, StorefrontConfigHost, StorefrontShell, validateStore, isJsonValue, registerStorefrontBlocks, registerStorefrontExtensionPoints, sectionToJsonSchema, STOREFRONT_PAGE_KINDS, STOREFRONT_COMPONENT_KEYS, STOREFRONT_SLOTS, useStorefrontConfig, useCatalogStore, formatMoney, useCartStore, useSessionStore, selectTotal, selectShipping, selectDiscountTotal, selectSubtotal, selectCount, placeStorefrontOrder, useDeliveryStore, selectRequiresShipping, isNestedBlockRef, BLOCK_STRUCTURAL_KEYS, StorefrontPage, hydrateStoreDocument, blockInstanceId } from './chunk-AEV2QRRH.js';
|
|
2
|
+
export { BEFORE_PLACE_ORDER_VALVE, BenefitsRow, BlockDataError, CART_LINE_ANNOTATION_POINT, CATALOG_BODY_BLOCK, CHECKOUT_FIELD_POINT, CartDrawer, CatalogPage, CategoryShowcase, CheckoutPage, CollectionCta, CollectionHero, ContentPage, CountdownBand, EmailConfirmationRequiredError, EntityListBlock, FaqSection, FiltersPanel, FormBlock, HeroSection, ImageTiles, Link, ManifestoBlock, MediaCarousel, MotifStrip, MyPurchasesPage, NewsletterBand, ORDER_METADATA_POINT, OrderConfirmationPage, OrderTrackingTimeline, PAGE_DATA_SCRIPT_ID, PLACEHOLDER_ASPECTS, PRODUCT_BODY_BLOCK, PRODUCT_CARD_BADGE_POINT, PageDataScope, PaymentTerms, Price, ProductCard, ProductDetailPage, ProductEnquiryForm, ProductGallery, ProductGrid, ProductOptionSelector, ProductRail, ProductReviews, ProductSlider, ProductSpecs, ProductSpotlight, PromoBanner, QuantityInput, Reveal, STOREFRONT_COMPONENT_KEYS, STOREFRONT_PAGE_KINDS, STOREFRONT_SLOTS, STORE_BACKEND_PROVIDERS, STORE_COMMERCE_MODES, STORE_DOCUMENT_KIND, STORE_PAYMENT_METHOD_KINDS, STORE_PAYMENT_MODES, STORE_ROUTE_CHROMES, STORE_ROUTE_KINDS, STORE_SECTIONS, STORE_SECTION_NAMES, SealsBand, SearchOverlay, Slot, SmoothImage, StepsSection, StorefrontConfigHost, StorefrontConfigProvider, StorefrontFooter, StorefrontHeader, StorefrontPage, StorefrontRouterProvider, StorefrontShell, StorefrontThemeStyle, StoryQuote, THEME_SCALE_FIELDS, THEME_SCALE_VAR_PREFIX, TID, Testimonials, TierCards, applyStoreSettings, bannerPlaceholder, buildEnquiryFromForm, checkPageBlocks, collectDataNeeds, collectOrderMetadata, contentPagePath, createStorefront, createStorefrontApp, currentStaticRenderPass, defaultPageBlocks, entityListBlockMeta, establishCustomerSession, exportStore, formatMoney, formatProductOptionSelection, getCartLineAnnotations, getCheckoutFieldContributions, getCustomerAuthAdapter, getProductCardBadges, getProductOptionGroups, hydrateStoreDocument, hydratedEntriesFor, initStorefrontRuntime, isKnownPath, isPublicPath, listSlots, matchContentPage, matchPath, matchesFacets, mergeCollectionFacet, mergePageTheme, navigateTo, nextMilestone, normalizeProductOptionSelection, orderGalleryImages, overrideComponent, overrideProps, pageSeo, pageThemeSelector, pickProductCardImage, placeStorefrontOrder, prefersReducedMotion, primaryImageUrl, productCardComponentContract, productJsonLd, productOptionSelectionKey, productPlaceholder, productSeo, readHydratedPageData, registerStorefrontBlocks, registerStorefrontEntities, registerStorefrontExtensionPoints, registerStorefrontLoaders, resetPageDiagnostics, resetProductOptionsDeprecationWarnings, resetStorefrontExtensionPoints, resolveAuthAdapter, resolveConfig, resolveDataParams, resolveOverride, resolvePageData, resolvePageDataNeed, resolvePaymentTerms, resolveStorefrontProvider, resolveStorefrontRoute, resolveVariantForSelection, roundCents, routePathParams, runBeforePlaceOrderValve, sectionToJsonSchema, sectionsToBlocks, selectCount, selectDiscountTotal, selectShipping, selectSubtotal, selectTotal, selectionPrice, serializePageData, shellRouterAdapter, signInByEmail, signOutCustomer, signUpCustomer, slugifyStoreName, storefrontComponentContracts, storefrontPaths, themeToCss, toBlockNodes, toFacetMap, useBlockData, useCartStore, useCatalogStore, useCategories, useDiscountValidator, useEnquiry, useHashPath, useInView, useLoader, useMyOrders, useNavigate, usePopOnChange, useProduct, useProducts, useRoutePath, useRouterAdapter, useScrollToTopOnNavigate, useScrolled, useSessionStore, useSlotContext, useStorefrontActions, useStorefrontConfig, useStorefrontConfigOptional, useStorefrontHead, useStorefrontPage, useStorefrontPageOptional, usedSlots, validateStore, withFacet, withStaticRenderPass } from './chunk-AEV2QRRH.js';
|
|
3
3
|
export { auditStorefrontSeo, collectSeoAuditInput } from './chunk-6IXTENLB.js';
|
|
4
4
|
import React3 from 'react';
|
|
5
5
|
import { defineApp, registerScaffold, describeExtensionPoints, handleRegistry, describeEntities, describeLoaders, describeBlocks, ENTITY_FIELD_TYPES, BLOCK_SETTING_TYPES, normalizePostalCode, lookupPostalCode, formatPostalCode, BLOCK_PATH_ATTRIBUTE, BLOCK_TYPE_ATTRIBUTE, setBlockEditorMode, renderApp as renderApp$1 } from '@fayz-ai/core';
|
package/dist/lib/testids.d.ts
CHANGED
|
@@ -146,10 +146,12 @@ export declare const TID: {
|
|
|
146
146
|
readonly authTabSignup: "auth-tab-signup";
|
|
147
147
|
readonly signinEmail: "signin-email";
|
|
148
148
|
readonly signinPassword: "signin-password";
|
|
149
|
+
readonly signinPasswordConfirm: "signin-password-confirm";
|
|
149
150
|
readonly signinName: "signin-name";
|
|
150
151
|
readonly signinSubmit: "signin-submit";
|
|
151
152
|
readonly authError: "auth-error";
|
|
152
153
|
readonly authNotice: "auth-notice";
|
|
154
|
+
readonly checkoutExpired: "checkout-expired";
|
|
153
155
|
readonly purchasesList: "purchases-list";
|
|
154
156
|
readonly purchaseItem: "purchase-item";
|
|
155
157
|
readonly purchasesEmpty: "purchases-empty";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testids.d.ts","sourceRoot":"","sources":["../../src/lib/testids.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG;;;;;;;;;;;;;8BAcG,MAAM;iCACH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;kCAyBL,MAAM;;;;;;;;;;;;;;;;;;oCAqBJ,MAAM;;;;;;;;;;sCAWJ,MAAM;sCACN,MAAM,SAAS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BA4D5B,MAAM;;;;;;;;;;;;;;;uCAiBE,MAAM
|
|
1
|
+
{"version":3,"file":"testids.d.ts","sourceRoot":"","sources":["../../src/lib/testids.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG;;;;;;;;;;;;;8BAcG,MAAM;iCACH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;kCAyBL,MAAM;;;;;;;;;;;;;;;;;;oCAqBJ,MAAM;;;;;;;;;;sCAWJ,MAAM;sCACN,MAAM,SAAS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BA4D5B,MAAM;;;;;;;;;;;;;;;uCAiBE,MAAM;;;;;;;;;;;;;;;;;;;;CAqBxB,CAAA"}
|
package/dist/render.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { validateStore, resolveConfig, registerStorefrontBlocks, registerStorefrontEntities, resetPageDiagnostics, withStaticRenderPass, StorefrontConfigProvider, StorefrontShell, resolvePageData, themeToCss, serializePageData, hydrateStoreDocument, storefrontPaths, isPublicPath, resolveStorefrontProvider } from './chunk-
|
|
1
|
+
import { validateStore, resolveConfig, registerStorefrontBlocks, registerStorefrontEntities, resetPageDiagnostics, withStaticRenderPass, StorefrontConfigProvider, StorefrontShell, resolvePageData, themeToCss, serializePageData, hydrateStoreDocument, storefrontPaths, isPublicPath, resolveStorefrontProvider } from './chunk-AEV2QRRH.js';
|
|
2
2
|
import { renderToStaticMarkup } from 'react-dom/server';
|
|
3
3
|
import { historyRouterAdapter, setBlockErrorVisibility, setBlockEditorMode, staticRouterAdapter, buildSeoTags } from '@fayz-ai/core';
|
|
4
4
|
import { createMockShopProvider } from '@fayz-ai/shop/mock';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/views/CheckoutPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/views/CheckoutPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAmHlD,wBAAgB,YAAY,sBA+pC3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MyPurchasesPage.d.ts","sourceRoot":"","sources":["../../src/views/MyPurchasesPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"MyPurchasesPage.d.ts","sourceRoot":"","sources":["../../src/views/MyPurchasesPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAkWvC,wBAAgB,eAAe,sBA0B9B"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"fayz": {
|
|
4
4
|
"status": "beta"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.15.0",
|
|
7
7
|
"description": "Fayz SDK storefront kit — Shopify-style customer-facing ecommerce template components",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"dist"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@fayz-ai/auth": "^0.
|
|
44
|
-
"@fayz-ai/core": "^0.
|
|
45
|
-
"@fayz-ai/plugin-auth": "^0.
|
|
46
|
-
"@fayz-ai/
|
|
47
|
-
"@fayz-ai/shop": "^0.
|
|
48
|
-
"@fayz-ai/
|
|
43
|
+
"@fayz-ai/auth": "^0.15.0",
|
|
44
|
+
"@fayz-ai/core": "^0.15.0",
|
|
45
|
+
"@fayz-ai/plugin-auth": "^0.11.0",
|
|
46
|
+
"@fayz-ai/sdk": "^0.15.0",
|
|
47
|
+
"@fayz-ai/shop": "^0.15.0",
|
|
48
|
+
"@fayz-ai/ui": "^0.15.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@supabase/supabase-js": "^2.45.0",
|