@walkeros/web-destination-segment 3.3.0 → 3.4.0-next-1776749829492

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
@@ -135,16 +135,15 @@ interface Env extends DestinationWeb.Env {
135
135
  analytics?: SegmentSDK;
136
136
  }
137
137
 
138
- declare const init: Env | undefined;
138
+ declare const init$1: Env | undefined;
139
139
  declare const push: Env;
140
140
  /** Simulation tracking paths for CLI --simulate. */
141
141
  declare const simulation: string[];
142
142
 
143
- declare const env_init: typeof init;
144
143
  declare const env_push: typeof push;
145
144
  declare const env_simulation: typeof simulation;
146
145
  declare namespace env {
147
- export { env_init as init, env_push as push, env_simulation as simulation };
146
+ export { init$1 as init, env_push as push, env_simulation as simulation };
148
147
  }
149
148
 
150
149
  /**
@@ -155,6 +154,13 @@ type SegmentStepExample = Flow.StepExample & {
155
154
  settings?: Partial<Settings>;
156
155
  configInclude?: string[];
157
156
  };
157
+ /**
158
+ * Destination bootstrap.
159
+ * Given the canonical apiKey setting, init calls analytics.load() with the
160
+ * Segment writeKey and the walkerOS defaults (initialPageview: false).
161
+ * Reproduce by passing the same settings as the destination config.
162
+ */
163
+ declare const init: Flow.StepExample;
158
164
  /**
159
165
  * Default event forwarding — every walkerOS event becomes
160
166
  * analytics.track(event.name, properties). With no mapping and no
@@ -256,6 +262,7 @@ declare const step_consentRevokeNoOp: typeof consentRevokeNoOp;
256
262
  declare const step_defaultEventForwarding: typeof defaultEventForwarding;
257
263
  declare const step_destinationLevelIdentify: typeof destinationLevelIdentify;
258
264
  declare const step_destinationLevelInclude: typeof destinationLevelInclude;
265
+ declare const step_init: typeof init;
259
266
  declare const step_orderCompletedEcommerce: typeof orderCompletedEcommerce;
260
267
  declare const step_pageViewAsPage: typeof pageViewAsPage;
261
268
  declare const step_pageViewMinimal: typeof pageViewMinimal;
@@ -265,7 +272,7 @@ declare const step_userLoginIdentify: typeof userLoginIdentify;
265
272
  declare const step_userLogoutReset: typeof userLogoutReset;
266
273
  declare const step_wildcardIgnored: typeof wildcardIgnored;
267
274
  declare namespace step {
268
- export { type step_SegmentStepExample as SegmentStepExample, step_companyUpdateGroup as companyUpdateGroup, step_consentContextForwarded as consentContextForwarded, step_consentGrantDeferredLoad as consentGrantDeferredLoad, step_consentRevokeNoOp as consentRevokeNoOp, step_defaultEventForwarding as defaultEventForwarding, step_destinationLevelIdentify as destinationLevelIdentify, step_destinationLevelInclude as destinationLevelInclude, step_orderCompletedEcommerce as orderCompletedEcommerce, step_pageViewAsPage as pageViewAsPage, step_pageViewMinimal as pageViewMinimal, step_profileUpdateTraitsOnly as profileUpdateTraitsOnly, step_ruleIncludeReplaces as ruleIncludeReplaces, step_userLoginIdentify as userLoginIdentify, step_userLogoutReset as userLogoutReset, step_wildcardIgnored as wildcardIgnored };
275
+ export { type step_SegmentStepExample as SegmentStepExample, step_companyUpdateGroup as companyUpdateGroup, step_consentContextForwarded as consentContextForwarded, step_consentGrantDeferredLoad as consentGrantDeferredLoad, step_consentRevokeNoOp as consentRevokeNoOp, step_defaultEventForwarding as defaultEventForwarding, step_destinationLevelIdentify as destinationLevelIdentify, step_destinationLevelInclude as destinationLevelInclude, step_init as init, step_orderCompletedEcommerce as orderCompletedEcommerce, step_pageViewAsPage as pageViewAsPage, step_pageViewMinimal as pageViewMinimal, step_profileUpdateTraitsOnly as profileUpdateTraitsOnly, step_ruleIncludeReplaces as ruleIncludeReplaces, step_userLoginIdentify as userLoginIdentify, step_userLogoutReset as userLogoutReset, step_wildcardIgnored as wildcardIgnored };
269
276
  }
270
277
 
271
278
  declare const index_env: typeof env;
package/dist/dev.d.ts CHANGED
@@ -135,16 +135,15 @@ interface Env extends DestinationWeb.Env {
135
135
  analytics?: SegmentSDK;
136
136
  }
137
137
 
138
- declare const init: Env | undefined;
138
+ declare const init$1: Env | undefined;
139
139
  declare const push: Env;
140
140
  /** Simulation tracking paths for CLI --simulate. */
141
141
  declare const simulation: string[];
142
142
 
143
- declare const env_init: typeof init;
144
143
  declare const env_push: typeof push;
145
144
  declare const env_simulation: typeof simulation;
146
145
  declare namespace env {
147
- export { env_init as init, env_push as push, env_simulation as simulation };
146
+ export { init$1 as init, env_push as push, env_simulation as simulation };
148
147
  }
149
148
 
150
149
  /**
@@ -155,6 +154,13 @@ type SegmentStepExample = Flow.StepExample & {
155
154
  settings?: Partial<Settings>;
156
155
  configInclude?: string[];
157
156
  };
157
+ /**
158
+ * Destination bootstrap.
159
+ * Given the canonical apiKey setting, init calls analytics.load() with the
160
+ * Segment writeKey and the walkerOS defaults (initialPageview: false).
161
+ * Reproduce by passing the same settings as the destination config.
162
+ */
163
+ declare const init: Flow.StepExample;
158
164
  /**
159
165
  * Default event forwarding — every walkerOS event becomes
160
166
  * analytics.track(event.name, properties). With no mapping and no
@@ -256,6 +262,7 @@ declare const step_consentRevokeNoOp: typeof consentRevokeNoOp;
256
262
  declare const step_defaultEventForwarding: typeof defaultEventForwarding;
257
263
  declare const step_destinationLevelIdentify: typeof destinationLevelIdentify;
258
264
  declare const step_destinationLevelInclude: typeof destinationLevelInclude;
265
+ declare const step_init: typeof init;
259
266
  declare const step_orderCompletedEcommerce: typeof orderCompletedEcommerce;
260
267
  declare const step_pageViewAsPage: typeof pageViewAsPage;
261
268
  declare const step_pageViewMinimal: typeof pageViewMinimal;
@@ -265,7 +272,7 @@ declare const step_userLoginIdentify: typeof userLoginIdentify;
265
272
  declare const step_userLogoutReset: typeof userLogoutReset;
266
273
  declare const step_wildcardIgnored: typeof wildcardIgnored;
267
274
  declare namespace step {
268
- export { type step_SegmentStepExample as SegmentStepExample, step_companyUpdateGroup as companyUpdateGroup, step_consentContextForwarded as consentContextForwarded, step_consentGrantDeferredLoad as consentGrantDeferredLoad, step_consentRevokeNoOp as consentRevokeNoOp, step_defaultEventForwarding as defaultEventForwarding, step_destinationLevelIdentify as destinationLevelIdentify, step_destinationLevelInclude as destinationLevelInclude, step_orderCompletedEcommerce as orderCompletedEcommerce, step_pageViewAsPage as pageViewAsPage, step_pageViewMinimal as pageViewMinimal, step_profileUpdateTraitsOnly as profileUpdateTraitsOnly, step_ruleIncludeReplaces as ruleIncludeReplaces, step_userLoginIdentify as userLoginIdentify, step_userLogoutReset as userLogoutReset, step_wildcardIgnored as wildcardIgnored };
275
+ export { type step_SegmentStepExample as SegmentStepExample, step_companyUpdateGroup as companyUpdateGroup, step_consentContextForwarded as consentContextForwarded, step_consentGrantDeferredLoad as consentGrantDeferredLoad, step_consentRevokeNoOp as consentRevokeNoOp, step_defaultEventForwarding as defaultEventForwarding, step_destinationLevelIdentify as destinationLevelIdentify, step_destinationLevelInclude as destinationLevelInclude, step_init as init, step_orderCompletedEcommerce as orderCompletedEcommerce, step_pageViewAsPage as pageViewAsPage, step_pageViewMinimal as pageViewMinimal, step_profileUpdateTraitsOnly as profileUpdateTraitsOnly, step_ruleIncludeReplaces as ruleIncludeReplaces, step_userLoginIdentify as userLoginIdentify, step_userLogoutReset as userLogoutReset, step_wildcardIgnored as wildcardIgnored };
269
276
  }
270
277
 
271
278
  declare const index_env: typeof env;