@walkeros/web-destination-plausible 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
@@ -49,7 +49,7 @@ interface Env extends DestinationWeb.Env {
49
49
  };
50
50
  }
51
51
 
52
- declare const init: Env | undefined;
52
+ declare const init$1: Env | undefined;
53
53
  declare const push: Env;
54
54
  /**
55
55
  * Simulation tracking paths
@@ -57,20 +57,26 @@ declare const push: Env;
57
57
  */
58
58
  declare const simulation: string[];
59
59
 
60
- declare const env_init: typeof init;
61
60
  declare const env_push: typeof push;
62
61
  declare const env_simulation: typeof simulation;
63
62
  declare namespace env {
64
- export { env_init as init, env_push as push, env_simulation as simulation };
63
+ export { init$1 as init, env_push as push, env_simulation as simulation };
65
64
  }
66
65
 
66
+ /**
67
+ * Destination bootstrap.
68
+ * Given the canonical settings, init loads the Plausible script tag
69
+ * with the configured domain and installs the global `plausible` queue.
70
+ */
71
+ declare const init: Flow.StepExample;
67
72
  declare const purchase: Flow.StepExample;
68
73
  declare const customEvent: Flow.StepExample;
69
74
 
70
75
  declare const step_customEvent: typeof customEvent;
76
+ declare const step_init: typeof init;
71
77
  declare const step_purchase: typeof purchase;
72
78
  declare namespace step {
73
- export { step_customEvent as customEvent, step_purchase as purchase };
79
+ export { step_customEvent as customEvent, step_init as init, step_purchase as purchase };
74
80
  }
75
81
 
76
82
  declare const index_env: typeof env;
package/dist/dev.d.ts CHANGED
@@ -49,7 +49,7 @@ interface Env extends DestinationWeb.Env {
49
49
  };
50
50
  }
51
51
 
52
- declare const init: Env | undefined;
52
+ declare const init$1: Env | undefined;
53
53
  declare const push: Env;
54
54
  /**
55
55
  * Simulation tracking paths
@@ -57,20 +57,26 @@ declare const push: Env;
57
57
  */
58
58
  declare const simulation: string[];
59
59
 
60
- declare const env_init: typeof init;
61
60
  declare const env_push: typeof push;
62
61
  declare const env_simulation: typeof simulation;
63
62
  declare namespace env {
64
- export { env_init as init, env_push as push, env_simulation as simulation };
63
+ export { init$1 as init, env_push as push, env_simulation as simulation };
65
64
  }
66
65
 
66
+ /**
67
+ * Destination bootstrap.
68
+ * Given the canonical settings, init loads the Plausible script tag
69
+ * with the configured domain and installs the global `plausible` queue.
70
+ */
71
+ declare const init: Flow.StepExample;
67
72
  declare const purchase: Flow.StepExample;
68
73
  declare const customEvent: Flow.StepExample;
69
74
 
70
75
  declare const step_customEvent: typeof customEvent;
76
+ declare const step_init: typeof init;
71
77
  declare const step_purchase: typeof purchase;
72
78
  declare namespace step {
73
- export { step_customEvent as customEvent, step_purchase as purchase };
79
+ export { step_customEvent as customEvent, step_init as init, step_purchase as purchase };
74
80
  }
75
81
 
76
82
  declare const index_env: typeof env;