@walkeros/web-destination-snowplow 3.3.1 → 3.4.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/dev.d.mts CHANGED
@@ -163,17 +163,23 @@ interface Env extends DestinationWeb.Env {
163
163
  };
164
164
  }
165
165
 
166
- declare const init: Env | undefined;
166
+ declare const init$1: Env | undefined;
167
167
  declare const push: Env;
168
168
  declare const simulation: string[];
169
169
 
170
- declare const env_init: typeof init;
171
170
  declare const env_push: typeof push;
172
171
  declare const env_simulation: typeof simulation;
173
172
  declare namespace env {
174
- export { env_init as init, env_push as push, env_simulation as simulation };
173
+ export { init$1 as init, env_push as push, env_simulation as simulation };
175
174
  }
176
175
 
176
+ /**
177
+ * Destination bootstrap.
178
+ * Given the canonical settings, init sets up the Snowplow queue and creates
179
+ * a tracker pointed at the collector URL. Reproduce by passing the same
180
+ * settings to `startFlow` as the destination config.
181
+ */
182
+ declare const init: Flow.StepExample;
177
183
  declare const productView: Flow.StepExample;
178
184
  declare const addToCart: Flow.StepExample;
179
185
  declare const transaction: Flow.StepExample;
@@ -186,13 +192,14 @@ declare const contextLoop: Flow.StepExample;
186
192
  declare const step_addToCart: typeof addToCart;
187
193
  declare const step_checkoutStep: typeof checkoutStep;
188
194
  declare const step_contextLoop: typeof contextLoop;
195
+ declare const step_init: typeof init;
189
196
  declare const step_pageView: typeof pageView;
190
197
  declare const step_productView: typeof productView;
191
198
  declare const step_promoView: typeof promoView;
192
199
  declare const step_structuredEvent: typeof structuredEvent;
193
200
  declare const step_transaction: typeof transaction;
194
201
  declare namespace step {
195
- export { step_addToCart as addToCart, step_checkoutStep as checkoutStep, step_contextLoop as contextLoop, step_pageView as pageView, step_productView as productView, step_promoView as promoView, step_structuredEvent as structuredEvent, step_transaction as transaction };
202
+ export { step_addToCart as addToCart, step_checkoutStep as checkoutStep, step_contextLoop as contextLoop, step_init as init, step_pageView as pageView, step_productView as productView, step_promoView as promoView, step_structuredEvent as structuredEvent, step_transaction as transaction };
196
203
  }
197
204
 
198
205
  declare const index_env: typeof env;
package/dist/dev.d.ts CHANGED
@@ -163,17 +163,23 @@ interface Env extends DestinationWeb.Env {
163
163
  };
164
164
  }
165
165
 
166
- declare const init: Env | undefined;
166
+ declare const init$1: Env | undefined;
167
167
  declare const push: Env;
168
168
  declare const simulation: string[];
169
169
 
170
- declare const env_init: typeof init;
171
170
  declare const env_push: typeof push;
172
171
  declare const env_simulation: typeof simulation;
173
172
  declare namespace env {
174
- export { env_init as init, env_push as push, env_simulation as simulation };
173
+ export { init$1 as init, env_push as push, env_simulation as simulation };
175
174
  }
176
175
 
176
+ /**
177
+ * Destination bootstrap.
178
+ * Given the canonical settings, init sets up the Snowplow queue and creates
179
+ * a tracker pointed at the collector URL. Reproduce by passing the same
180
+ * settings to `startFlow` as the destination config.
181
+ */
182
+ declare const init: Flow.StepExample;
177
183
  declare const productView: Flow.StepExample;
178
184
  declare const addToCart: Flow.StepExample;
179
185
  declare const transaction: Flow.StepExample;
@@ -186,13 +192,14 @@ declare const contextLoop: Flow.StepExample;
186
192
  declare const step_addToCart: typeof addToCart;
187
193
  declare const step_checkoutStep: typeof checkoutStep;
188
194
  declare const step_contextLoop: typeof contextLoop;
195
+ declare const step_init: typeof init;
189
196
  declare const step_pageView: typeof pageView;
190
197
  declare const step_productView: typeof productView;
191
198
  declare const step_promoView: typeof promoView;
192
199
  declare const step_structuredEvent: typeof structuredEvent;
193
200
  declare const step_transaction: typeof transaction;
194
201
  declare namespace step {
195
- export { step_addToCart as addToCart, step_checkoutStep as checkoutStep, step_contextLoop as contextLoop, step_pageView as pageView, step_productView as productView, step_promoView as promoView, step_structuredEvent as structuredEvent, step_transaction as transaction };
202
+ export { step_addToCart as addToCart, step_checkoutStep as checkoutStep, step_contextLoop as contextLoop, step_init as init, step_pageView as pageView, step_productView as productView, step_promoView as promoView, step_structuredEvent as structuredEvent, step_transaction as transaction };
196
203
  }
197
204
 
198
205
  declare const index_env: typeof env;