@walkeros/web-source-browser 3.1.1 → 3.2.0-next-1775064795590
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/dev.d.mts +9 -4
- package/dist/dev.d.ts +9 -4
- package/dist/dev.js +1 -1
- package/dist/dev.js.map +1 -1
- package/dist/dev.mjs +1 -1
- package/dist/dev.mjs.map +1 -1
- package/dist/index.browser.js +1 -1
- package/dist/index.d.mts +10 -5
- package/dist/index.d.ts +10 -5
- package/dist/index.es5.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/walkerOS.json +4 -4
- package/package.json +3 -3
package/dist/dev.d.mts
CHANGED
|
@@ -97,13 +97,18 @@ declare namespace step {
|
|
|
97
97
|
/**
|
|
98
98
|
* Browser source createTrigger.
|
|
99
99
|
*
|
|
100
|
-
* Injects HTML into the DOM, lazily starts the flow, then
|
|
101
|
-
*
|
|
102
|
-
*
|
|
100
|
+
* Injects HTML into the DOM, lazily starts the flow, then calls
|
|
101
|
+
* handleTrigger directly — the same convergence point as production.
|
|
102
|
+
* For load triggers, the source's DOM scan during startFlow handles
|
|
103
|
+
* event capture automatically.
|
|
103
104
|
*
|
|
104
105
|
* @example
|
|
105
106
|
* const { trigger } = await createTrigger(config);
|
|
106
|
-
* await trigger('click', 'button')('<button data-elb="cta">Click</button>');
|
|
107
|
+
* await trigger('click', 'button')('<button data-elb="cta" data-elbaction="click:cta click">Click</button>');
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* // Impression trigger — handleTrigger reads data-elbaction directly
|
|
111
|
+
* await trigger('impression', '[data-elb="promo"]')('<div data-elb="promo" data-elbaction="visible:promo seen">Ad</div>');
|
|
107
112
|
*/
|
|
108
113
|
declare const createTrigger: Trigger.CreateFn<string, void>;
|
|
109
114
|
/**
|
package/dist/dev.d.ts
CHANGED
|
@@ -97,13 +97,18 @@ declare namespace step {
|
|
|
97
97
|
/**
|
|
98
98
|
* Browser source createTrigger.
|
|
99
99
|
*
|
|
100
|
-
* Injects HTML into the DOM, lazily starts the flow, then
|
|
101
|
-
*
|
|
102
|
-
*
|
|
100
|
+
* Injects HTML into the DOM, lazily starts the flow, then calls
|
|
101
|
+
* handleTrigger directly — the same convergence point as production.
|
|
102
|
+
* For load triggers, the source's DOM scan during startFlow handles
|
|
103
|
+
* event capture automatically.
|
|
103
104
|
*
|
|
104
105
|
* @example
|
|
105
106
|
* const { trigger } = await createTrigger(config);
|
|
106
|
-
* await trigger('click', 'button')('<button data-elb="cta">Click</button>');
|
|
107
|
+
* await trigger('click', 'button')('<button data-elb="cta" data-elbaction="click:cta click">Click</button>');
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* // Impression trigger — handleTrigger reads data-elbaction directly
|
|
111
|
+
* await trigger('impression', '[data-elb="promo"]')('<div data-elb="promo" data-elbaction="visible:promo seen">Ad</div>');
|
|
107
112
|
*/
|
|
108
113
|
declare const createTrigger: Trigger.CreateFn<string, void>;
|
|
109
114
|
/**
|