@beworke/pixel 0.1.0-rc.6 → 0.1.0-rc.8
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 +20 -0
- package/README.md +71 -56
- package/RELEASE_CANDIDATE.md +47 -75
- package/dist/Pixel-CCgGk43j.d.ts +797 -0
- package/dist/Pixel-CqbgC_72.d.mts +797 -0
- package/dist/{StorageFactory-tjfzk57c.d.ts → StorageFactory-BRBsnnH7.d.ts} +2 -2
- package/dist/{StorageFactory-CPghDPBj.d.mts → StorageFactory-Dp19Wecr.d.mts} +2 -2
- package/dist/browser/index.cjs.js +3 -0
- package/dist/browser/index.cjs.js.map +1 -0
- package/dist/browser/index.d.mts +55 -0
- package/dist/browser/index.d.ts +55 -0
- package/dist/browser/index.esm.js +3 -0
- package/dist/browser/index.esm.js.map +1 -0
- package/dist/browser/pixel.global.js +4 -0
- package/dist/browser/pixel.global.js.map +1 -0
- package/dist/config/index.cjs.js +1 -1
- package/dist/config/index.cjs.js.map +1 -1
- package/dist/config/index.d.mts +16 -6
- package/dist/config/index.d.ts +16 -6
- package/dist/config/index.esm.js +1 -1
- package/dist/config/index.esm.js.map +1 -1
- package/dist/events/index.cjs.js.map +1 -1
- package/dist/events/index.d.mts +2 -2
- package/dist/events/index.d.ts +2 -2
- package/dist/events/index.esm.js.map +1 -1
- package/dist/examples/html-script/README.md +20 -76
- package/dist/examples/html-script/RELEASE_CANDIDATE.md +20 -21
- package/dist/examples/html-script/add-payment-info/example-add-payment-info-card-autocomplete.html +41 -48
- package/dist/examples/html-script/add-payment-info/example-add-payment-info-card-disabled.html +41 -48
- package/dist/examples/html-script/add-payment-info/example-add-payment-info-card-fields.html +41 -48
- package/dist/examples/html-script/add-payment-info/example-add-payment-info-data-track.html +41 -48
- package/dist/examples/html-script/add-payment-info/example-add-payment-info-dedupe.html +41 -48
- package/dist/examples/html-script/add-payment-info/example-add-payment-info-manual.html +41 -48
- package/dist/examples/html-script/add-payment-info/example-add-payment-info-rules-card.html +41 -48
- package/dist/examples/html-script/add-payment-info/example-add-payment-info-security.html +41 -48
- package/dist/examples/html-script/add-to-cart/README.md +6 -3
- package/dist/examples/html-script/add-to-cart/example-add-to-cart-attribute.html +43 -49
- package/dist/examples/html-script/add-to-cart/example-add-to-cart-auto.html +43 -49
- package/dist/examples/html-script/add-to-cart/example-add-to-cart-click.html +43 -49
- package/dist/examples/html-script/add-to-cart/example-add-to-cart-dedupe.html +43 -49
- package/dist/examples/html-script/add-to-cart/example-add-to-cart-link.html +590 -0
- package/dist/examples/html-script/add-to-cart/example-add-to-cart-manual.html +43 -49
- package/dist/examples/html-script/add-to-cart/example-add-to-cart-order-bump.html +43 -49
- package/dist/examples/html-script/add-to-cart/example-add-to-cart-text.html +43 -49
- package/dist/examples/html-script/behavior/example-behavior-engagement.html +5 -5
- package/dist/examples/html-script/behavior/example-behavior-heartbeat.html +5 -5
- package/dist/examples/html-script/behavior/example-behavior-runtime-intelligence.html +5 -5
- package/dist/examples/html-script/behavior/example-behavior-viewport.html +5 -5
- package/dist/examples/html-script/behavior/example-behavior.html +1 -1
- package/dist/examples/html-script/buygoods/example-buygoods-checkout.html +83 -0
- package/dist/examples/html-script/example-basic.html +1 -1
- package/dist/examples/html-script/example-checkout-commerce.html +32 -31
- package/dist/examples/html-script/example-conversion.html +42 -49
- package/dist/examples/html-script/example-global-factory-classic.html +45 -0
- package/dist/examples/html-script/example-global-factory.html +40 -0
- package/dist/examples/html-script/example-integration.html +40 -46
- package/dist/examples/html-script/example-landing-commerce.html +45 -9
- package/dist/examples/html-script/example-runtime-diagnostics.html +5 -5
- package/dist/examples/html-script/example-transport.html +65 -58
- package/dist/examples/html-script/full-funnel/README.md +1 -1
- package/dist/examples/html-script/full-funnel/checkout.html +4 -2
- package/dist/examples/html-script/full-funnel/downsell.html +4 -2
- package/dist/examples/html-script/full-funnel/landing.html +57 -3
- package/dist/examples/html-script/full-funnel/thank-you.html +4 -2
- package/dist/examples/html-script/full-funnel/upsell.html +4 -2
- package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-attribute.html +41 -48
- package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-auto.html +41 -48
- package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-click.html +41 -48
- package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-manual.html +41 -48
- package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-snapshot.html +41 -48
- package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-submit.html +41 -48
- package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-text.html +41 -48
- package/dist/examples/html-script/lead/example-lead-trigger-attribute.html +41 -48
- package/dist/examples/html-script/lead/example-lead-trigger-auto.html +41 -48
- package/dist/examples/html-script/lead/example-lead-trigger-click.html +41 -48
- package/dist/examples/html-script/release-candidate.html +32 -31
- package/dist/examples/html-script/remove-from-cart/README.md +3 -3
- package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-attribute.html +41 -48
- package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-css.html +41 -48
- package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-dedupe.html +48 -55
- package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-manual.html +41 -48
- package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-multi.html +41 -48
- package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-state.html +41 -48
- package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-text.html +41 -48
- package/dist/examples/html-script/search/example-search-attribute.html +41 -48
- package/dist/examples/html-script/search/example-search-button-sync.html +41 -48
- package/dist/examples/html-script/search/example-search-dedupe.html +41 -48
- package/dist/examples/html-script/search/example-search-input.html +41 -48
- package/dist/examples/html-script/search/example-search-manual.html +41 -48
- package/dist/examples/html-script/search/example-search-submit.html +41 -48
- package/dist/examples/html-script/search/example-search-text.html +41 -48
- package/dist/examples/html-script/url-context/example-url-context-allowed-domains.html +38 -9
- package/dist/examples/html-script/url-context/example-url-context-landing.html +53 -13
- package/dist/examples/html-script/url-context/example-url-context-upsell.html +48 -10
- package/dist/examples/html-script/url-context/example-url-context.html +55 -21
- package/dist/examples/html-script/view-content/example-view-content-attribute.html +41 -48
- package/dist/examples/html-script/view-content/example-view-content-css.html +41 -48
- package/dist/examples/html-script/view-content/example-view-content-dedupe.html +41 -48
- package/dist/examples/html-script/view-content/example-view-content-empty.html +41 -48
- package/dist/examples/html-script/view-content/example-view-content-manual.html +41 -48
- package/dist/examples/html-script/view-content/example-view-content-product-card.html +41 -48
- package/dist/examples/html-script/view-content/example-view-content-text.html +41 -48
- package/dist/examples/release-candidate/README.md +2 -1
- package/dist/examples/v2/README.md +15 -15
- package/dist/{index-CQAyT5Od.d.ts → index-B8u_3PGG.d.ts} +21 -2
- package/dist/{index-JlKPz4pp.d.mts → index-BxT2d-TK.d.mts} +21 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +21 -782
- package/dist/index.d.ts +21 -782
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/{pixel-CKc4OQUx.d.mts → pixel-C93c-0M2.d.mts} +234 -101
- package/dist/{pixel-BxZZx8l5.d.ts → pixel-DVy4rzj8.d.ts} +234 -101
- package/dist/pixel-default-config-BkAjriVH.d.mts +21 -0
- package/dist/pixel-default-config-Co69vDP3.d.ts +21 -0
- package/dist/pixel-settings-BhfJqA92.d.mts +40 -0
- package/dist/pixel-settings-C0qPFTii.d.ts +40 -0
- package/dist/runtime/index.cjs.js +1 -1
- package/dist/runtime/index.cjs.js.map +1 -1
- package/dist/runtime/index.d.mts +6 -6
- package/dist/runtime/index.d.ts +6 -6
- 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 +7 -7
- package/dist/services/index.d.ts +7 -7
- package/dist/services/index.esm.js +1 -1
- package/dist/services/index.esm.js.map +1 -1
- package/dist/{types-C75pQP31.d.ts → types-B2aUNHb3.d.ts} +2 -2
- package/dist/{types-BP8dz1gP.d.mts → types-C0J9KUQg.d.mts} +2 -2
- package/dist/{types-DMhzHSVC.d.mts → types-C2dsBog1.d.mts} +2 -2
- package/dist/{types-D_SsCur9.d.ts → types-DcaBYgVI.d.ts} +2 -2
- package/dist/{url-context-BjAsQoVl.d.mts → url-context-Ck2LK18V.d.mts} +4 -2
- package/dist/{url-context-BjAsQoVl.d.ts → url-context-Ck2LK18V.d.ts} +4 -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 +26 -8
- package/dist/v2/index.d.ts +26 -8
- package/dist/v2/index.esm.js +1 -1
- package/dist/v2/index.esm.js.map +1 -1
- package/docs/public/README.md +20 -15
- package/docs/public/api/exports.md +12 -8
- package/docs/public/api/pixel.md +28 -7
- package/docs/public/configuration/commerce.md +3 -3
- package/docs/public/configuration/modules.md +11 -14
- package/docs/public/configuration/overview.md +41 -25
- package/docs/public/configuration/transport.md +127 -0
- package/docs/public/events/catalog.md +3 -1
- package/docs/public/getting-started/installation.md +20 -15
- package/docs/public/getting-started/quick-start.md +95 -30
- package/docs/public/getting-started/react-nextjs.md +57 -34
- package/docs/public/getting-started/script-tag.md +55 -32
- package/docs/public/guides/funnel-checkout.md +2 -2
- package/docs/public/guides/funnel-full.md +3 -3
- package/docs/public/guides/funnel-landing.md +10 -8
- package/docs/public/limitations.md +6 -5
- package/docs/public/privacy/limitations.md +6 -6
- package/docs/public/release-candidate/validation.md +24 -19
- package/docs/public/troubleshooting.md +7 -6
- package/package.json +15 -14
- package/dist/pixel-default-config-CJl-eypl.d.mts +0 -5
- package/dist/pixel-default-config-aAOujzwp.d.ts +0 -5
package/dist/v2/index.d.mts
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { P as Pixel } from '../Pixel-CqbgC_72.mjs';
|
|
2
|
+
export { a as PixelDebugSnapshot } from '../Pixel-CqbgC_72.mjs';
|
|
3
|
+
import { P as PixelSettings } from '../pixel-settings-BhfJqA92.mjs';
|
|
4
|
+
export { D as DeepPartial, a as PixelTransportSettings } from '../pixel-settings-BhfJqA92.mjs';
|
|
5
|
+
export { P as PixelConfig } from '../pixel-C93c-0M2.mjs';
|
|
6
|
+
export { D as DEFAULT_PIXEL_CONFIG, P as PixelConfigurationError, a as PixelConfigurationErrorCode, r as resolvePixelConfig } from '../pixel-default-config-BkAjriVH.mjs';
|
|
7
|
+
export { r as resolveStorageAdapterName } from '../StorageFactory-Dp19Wecr.mjs';
|
|
8
|
+
import '../index-BxT2d-TK.mjs';
|
|
9
|
+
import '../url-context-Ck2LK18V.mjs';
|
|
7
10
|
import '../PixelLogger-B21lEjep.mjs';
|
|
8
|
-
import '../types-
|
|
9
|
-
import '../types-
|
|
11
|
+
import '../types-C2dsBog1.mjs';
|
|
12
|
+
import '../types-C0J9KUQg.mjs';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Factory pública: cria uma instância independente, inicializa e só então devolve.
|
|
16
|
+
* Não é singleton — cada chamada produz um Pixel novo.
|
|
17
|
+
* O merge de `PixelSettings` acontece no construtor de `Pixel`.
|
|
18
|
+
*/
|
|
19
|
+
declare function createPixel(settings: PixelSettings): Promise<Pixel>;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Versão runtime do SDK. Fonte de verdade: `packages/pixel/package.json`.
|
|
23
|
+
* Não importe `package.json` neste módulo (bundle browser).
|
|
24
|
+
*/
|
|
25
|
+
declare const SDK_VERSION = "0.1.0-rc.8";
|
|
26
|
+
|
|
27
|
+
export { Pixel, PixelSettings, SDK_VERSION, createPixel };
|
package/dist/v2/index.d.ts
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { P as Pixel } from '../Pixel-CCgGk43j.js';
|
|
2
|
+
export { a as PixelDebugSnapshot } from '../Pixel-CCgGk43j.js';
|
|
3
|
+
import { P as PixelSettings } from '../pixel-settings-C0qPFTii.js';
|
|
4
|
+
export { D as DeepPartial, a as PixelTransportSettings } from '../pixel-settings-C0qPFTii.js';
|
|
5
|
+
export { P as PixelConfig } from '../pixel-DVy4rzj8.js';
|
|
6
|
+
export { D as DEFAULT_PIXEL_CONFIG, P as PixelConfigurationError, a as PixelConfigurationErrorCode, r as resolvePixelConfig } from '../pixel-default-config-Co69vDP3.js';
|
|
7
|
+
export { r as resolveStorageAdapterName } from '../StorageFactory-BRBsnnH7.js';
|
|
8
|
+
import '../index-B8u_3PGG.js';
|
|
9
|
+
import '../url-context-Ck2LK18V.js';
|
|
7
10
|
import '../PixelLogger-B21lEjep.js';
|
|
8
|
-
import '../types-
|
|
9
|
-
import '../types-
|
|
11
|
+
import '../types-DcaBYgVI.js';
|
|
12
|
+
import '../types-B2aUNHb3.js';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Factory pública: cria uma instância independente, inicializa e só então devolve.
|
|
16
|
+
* Não é singleton — cada chamada produz um Pixel novo.
|
|
17
|
+
* O merge de `PixelSettings` acontece no construtor de `Pixel`.
|
|
18
|
+
*/
|
|
19
|
+
declare function createPixel(settings: PixelSettings): Promise<Pixel>;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Versão runtime do SDK. Fonte de verdade: `packages/pixel/package.json`.
|
|
23
|
+
* Não importe `package.json` neste módulo (bundle browser).
|
|
24
|
+
*/
|
|
25
|
+
declare const SDK_VERSION = "0.1.0-rc.8";
|
|
26
|
+
|
|
27
|
+
export { Pixel, PixelSettings, SDK_VERSION, createPixel };
|