@beworke/pixel 0.1.0-rc.11 → 0.1.0-rc.13
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/CHANGELOG.md +15 -0
- package/dist/{Pixel-BnN86r4X.d.ts → Pixel-BKTvqIwz.d.ts} +4 -4
- package/dist/{Pixel-BoUGqCbP.d.mts → Pixel-DgVo0j7D.d.mts} +4 -4
- package/dist/{StorageFactory-C0prtNR7.d.mts → StorageFactory-BRtmy983.d.mts} +2 -2
- package/dist/{StorageFactory-BfCArzMM.d.ts → StorageFactory-BcOX0fsg.d.ts} +2 -2
- package/dist/browser/index.cjs.js +1 -1
- package/dist/browser/index.cjs.js.map +1 -1
- package/dist/browser/index.d.mts +6 -6
- package/dist/browser/index.d.ts +6 -6
- package/dist/browser/index.esm.js +1 -1
- package/dist/browser/index.esm.js.map +1 -1
- package/dist/browser/pixel.buygoods-checkout.global.js +1 -1
- package/dist/browser/pixel.buygoods-checkout.global.js.map +1 -1
- package/dist/browser/pixel.buygoods-landing.global.js +1 -1
- package/dist/browser/pixel.buygoods-landing.global.js.map +1 -1
- package/dist/browser/pixel.global.js +1 -1
- package/dist/browser/pixel.global.js.map +1 -1
- package/dist/browser/pixel.internal-checkout.global.js +1 -1
- package/dist/browser/pixel.internal-checkout.global.js.map +1 -1
- package/dist/config/index.cjs.js +1 -1
- package/dist/config/index.cjs.js.map +1 -1
- package/dist/config/index.d.mts +4 -4
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.esm.js +1 -1
- package/dist/config/index.esm.js.map +1 -1
- package/dist/events/index.cjs.js +1 -1
- package/dist/events/index.cjs.js.map +1 -1
- package/dist/events/index.d.mts +1 -1
- package/dist/events/index.d.ts +1 -1
- package/dist/events/index.esm.js +1 -1
- package/dist/events/index.esm.js.map +1 -1
- package/dist/{index-BxT2d-TK.d.mts → index-CKZeennc.d.mts} +36 -2
- package/dist/{index-B8u_3PGG.d.ts → index-YlvQBRzR.d.ts} +36 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/{pixel-_BSDpx4M.d.mts → pixel-CCHv_ror.d.mts} +17 -1
- package/dist/{pixel-DNGbAN5C.d.ts → pixel-CgKoaWS3.d.ts} +17 -1
- package/dist/{pixel-default-config-DLRya1tl.d.mts → pixel-default-config-CTtkGKh1.d.mts} +2 -2
- package/dist/{pixel-default-config-BMYaqs7i.d.ts → pixel-default-config-D0NZVzDZ.d.ts} +2 -2
- package/dist/{pixel-settings-DGxl0MVm.d.mts → pixel-settings-BlhqPyAS.d.mts} +1 -1
- package/dist/{pixel-settings-D-t9zQb4.d.ts → pixel-settings-CHyZHDO6.d.ts} +1 -1
- package/dist/runtime/index.cjs.js +1 -1
- package/dist/runtime/index.cjs.js.map +1 -1
- package/dist/runtime/index.d.mts +7 -5
- package/dist/runtime/index.d.ts +7 -5
- package/dist/runtime/index.esm.js +1 -1
- package/dist/runtime/index.esm.js.map +1 -1
- package/dist/services/index.cjs.js +1 -1
- package/dist/services/index.cjs.js.map +1 -1
- package/dist/services/index.d.mts +46 -7
- package/dist/services/index.d.ts +46 -7
- package/dist/services/index.esm.js +1 -1
- package/dist/services/index.esm.js.map +1 -1
- package/dist/{types-B-Nzagpk.d.mts → types-9Uo3slwh.d.mts} +2 -2
- package/dist/{types-D3kJ9bfT.d.ts → types-CN1t3kwE.d.mts} +3 -2
- package/dist/{types-Dfi9C49l.d.ts → types-DaSPqzo_.d.ts} +2 -2
- package/dist/{types-D0KVsgzs.d.mts → types-DexAGG5B.d.ts} +3 -2
- package/dist/v2/global.global.js +1 -1
- package/dist/v2/global.global.js.map +1 -1
- package/dist/v2/index.cjs.js +1 -1
- package/dist/v2/index.cjs.js.map +1 -1
- package/dist/v2/index.d.mts +11 -11
- package/dist/v2/index.d.ts +11 -11
- package/dist/v2/index.esm.js +1 -1
- package/dist/v2/index.esm.js.map +1 -1
- package/docs/public/configuration/commerce.md +20 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PixelEvent, b as PixelItem, S as StorageService, B as BrowserMetadataService, c as BaseEventBuilder, A as AttributionService, U as UrlContextService } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { P as PixelEvent, b as PixelItem, S as StorageService, B as BrowserMetadataService, c as BaseEventBuilder, A as AttributionService, U as UrlContextService, C as CustomerIdentityService } from './index-CKZeennc.mjs';
|
|
2
|
+
import { ap as CommerceProduct, ai as CommerceCartItem, ag as CommerceCalculateValueFrom, am as CommerceEnrichmentSource, C as CommerceConfig, an as CommerceEventEnrichmentConfig, aA as normalizeCalculateValueFrom, ao as CommerceMappingsConfig } from './pixel-CCHv_ror.mjs';
|
|
3
3
|
|
|
4
4
|
interface DispatcherService {
|
|
5
5
|
dispatch(event: PixelEvent): void;
|
|
@@ -288,6 +288,7 @@ type PixelRuntimeServices = {
|
|
|
288
288
|
readonly attribution: AttributionService;
|
|
289
289
|
readonly commerce: CommerceService;
|
|
290
290
|
readonly urlContext: UrlContextService;
|
|
291
|
+
readonly customerIdentity?: CustomerIdentityService;
|
|
291
292
|
};
|
|
292
293
|
|
|
293
294
|
export { CommerceResolver as C, type DispatcherService as D, type EnsureSessionResult as E, type FingerprintService as F, OrderCalculator as O, type PixelRuntimeServices as P, type ResolvedCommerceItem as R, type SessionService as S, type VisitorService as V, type SessionData as a, CommerceService as b, CommerceState as c, ProductCatalog as d, type CommerceEnrichmentEvent as e, type CommerceEventType as f, type CommerceResolverInput as g, type CommerceResolverOptions as h, type CommerceResolverResult as i, type CommerceStateOptions as j, type CommerceStateSnapshot as k, type ExtractedProductInput as l, type OrderCalculationInput as m, type OrderCalculationResult as n, type PageViewCommercePayload as o, type ProductCatalogOptions as p, type ProductCatalogSnapshot as q };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as PixelConfig } from './pixel-
|
|
1
|
+
import { P as PixelConfig } from './pixel-CgKoaWS3.js';
|
|
2
2
|
import { P as PixelLogger } from './PixelLogger-B21lEjep.js';
|
|
3
|
-
import { P as PixelRuntimeServices } from './types-
|
|
3
|
+
import { P as PixelRuntimeServices } from './types-DexAGG5B.js';
|
|
4
4
|
|
|
5
5
|
type PixelRuntimeContext = {
|
|
6
6
|
readonly config: PixelConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PixelEvent, b as PixelItem, S as StorageService, B as BrowserMetadataService, c as BaseEventBuilder, A as AttributionService, U as UrlContextService } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { P as PixelEvent, b as PixelItem, S as StorageService, B as BrowserMetadataService, c as BaseEventBuilder, A as AttributionService, U as UrlContextService, C as CustomerIdentityService } from './index-YlvQBRzR.js';
|
|
2
|
+
import { ap as CommerceProduct, ai as CommerceCartItem, ag as CommerceCalculateValueFrom, am as CommerceEnrichmentSource, C as CommerceConfig, an as CommerceEventEnrichmentConfig, aA as normalizeCalculateValueFrom, ao as CommerceMappingsConfig } from './pixel-CgKoaWS3.js';
|
|
3
3
|
|
|
4
4
|
interface DispatcherService {
|
|
5
5
|
dispatch(event: PixelEvent): void;
|
|
@@ -288,6 +288,7 @@ type PixelRuntimeServices = {
|
|
|
288
288
|
readonly attribution: AttributionService;
|
|
289
289
|
readonly commerce: CommerceService;
|
|
290
290
|
readonly urlContext: UrlContextService;
|
|
291
|
+
readonly customerIdentity?: CustomerIdentityService;
|
|
291
292
|
};
|
|
292
293
|
|
|
293
294
|
export { CommerceResolver as C, type DispatcherService as D, type EnsureSessionResult as E, type FingerprintService as F, OrderCalculator as O, type PixelRuntimeServices as P, type ResolvedCommerceItem as R, type SessionService as S, type VisitorService as V, type SessionData as a, CommerceService as b, CommerceState as c, ProductCatalog as d, type CommerceEnrichmentEvent as e, type CommerceEventType as f, type CommerceResolverInput as g, type CommerceResolverOptions as h, type CommerceResolverResult as i, type CommerceStateOptions as j, type CommerceStateSnapshot as k, type ExtractedProductInput as l, type OrderCalculationInput as m, type OrderCalculationResult as n, type PageViewCommercePayload as o, type ProductCatalogOptions as p, type ProductCatalogSnapshot as q };
|