shopkit-analytics 1.0.15 → 1.0.16

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.
@@ -12,7 +12,6 @@ import {
12
12
  import "../chunk-C6F4QLQO.mjs";
13
13
  import "../chunk-4RDPDMGW.mjs";
14
14
  import "../chunk-BE3W2SD6.mjs";
15
- import "../chunk-NIL3JVRZ.mjs";
16
15
  export {
17
16
  BaseAdapter,
18
17
  GoogleAdapter,
@@ -35,7 +35,6 @@ import {
35
35
  useAutoCapture,
36
36
  useHasAffiliateData
37
37
  } from "../chunk-TNXTKEGS.mjs";
38
- import "../chunk-NIL3JVRZ.mjs";
39
38
  export {
40
39
  AFFILIATE_PARAMETERS,
41
40
  ALL_AFFILIATE_PARAMETERS,
@@ -8,7 +8,7 @@ import {
8
8
 
9
9
  // src/events/init.ts
10
10
  async function initializeEventTracking(adapters) {
11
- const { eventSubscriber: eventSubscriber2 } = await import("./subscriber-K6VCQXNV.mjs");
11
+ const { eventSubscriber: eventSubscriber2 } = await import("./subscriber-VF3IYUCU.mjs");
12
12
  for (const adapter of adapters) {
13
13
  eventSubscriber2.registerAdapter(adapter);
14
14
  }
@@ -54,4 +54,4 @@ export {
54
54
  initializeEventTracking,
55
55
  initTracking
56
56
  };
57
- //# sourceMappingURL=chunk-FTZLYNBN.mjs.map
57
+ //# sourceMappingURL=chunk-5676WUEC.mjs.map
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  initTracking,
4
4
  initializeEventTracking
5
- } from "../chunk-FTZLYNBN.mjs";
5
+ } from "../chunk-5676WUEC.mjs";
6
6
  import {
7
7
  eventPublisher,
8
8
  eventSubscriber,
@@ -17,7 +17,6 @@ import "../chunk-4RDPDMGW.mjs";
17
17
  import {
18
18
  EventType
19
19
  } from "../chunk-BE3W2SD6.mjs";
20
- import "../chunk-NIL3JVRZ.mjs";
21
20
  export {
22
21
  DEFAULT_CURRENCY,
23
22
  EventNames,
@@ -5,7 +5,6 @@ import {
5
5
  getExperimentParams,
6
6
  hasExperimentData
7
7
  } from "../chunk-C6F4QLQO.mjs";
8
- import "../chunk-NIL3JVRZ.mjs";
9
8
  export {
10
9
  PRIMA_EXPERIMENT_COOKIES,
11
10
  PRIMA_EXPERIMENT_COOKIE_NAMES,
package/dist/index.d.mts CHANGED
@@ -39,4 +39,13 @@ interface ShopkitAnalyticsProps {
39
39
  }
40
40
  declare const ShopkitAnalytics: React.FC<ShopkitAnalyticsProps>;
41
41
 
42
- export { AffiliateConfig, GoogleAdapterConfig, KwikCheckoutConfig, KwikPassConfig, LoggerConfig, MoengageAdapterConfig, PixelAdapterConfig, PostHogAdapterConfig, ShopifyAdapterConfig, ShopkitAnalytics, type ShopkitAnalyticsConfig, type ShopkitAnalyticsProps, TrackingAdapter, ShopkitAnalytics as default };
42
+ /**
43
+ * Component to initialize Shopify Analytics cookies
44
+ * This component handles the useShopifyCookies hook which must be used in a React component
45
+ */
46
+ interface ShopifyAnalyticsScriptProps {
47
+ domain: string;
48
+ }
49
+ declare function ShopifyAnalyticsScript({ domain, }: ShopifyAnalyticsScriptProps): null;
50
+
51
+ export { AffiliateConfig, GoogleAdapterConfig, KwikCheckoutConfig, KwikPassConfig, LoggerConfig, MoengageAdapterConfig, PixelAdapterConfig, PostHogAdapterConfig, ShopifyAdapterConfig, ShopifyAnalyticsScript, ShopkitAnalytics, type ShopkitAnalyticsConfig, type ShopkitAnalyticsProps, TrackingAdapter, ShopkitAnalytics as default };
package/dist/index.d.ts CHANGED
@@ -39,4 +39,13 @@ interface ShopkitAnalyticsProps {
39
39
  }
40
40
  declare const ShopkitAnalytics: React.FC<ShopkitAnalyticsProps>;
41
41
 
42
- export { AffiliateConfig, GoogleAdapterConfig, KwikCheckoutConfig, KwikPassConfig, LoggerConfig, MoengageAdapterConfig, PixelAdapterConfig, PostHogAdapterConfig, ShopifyAdapterConfig, ShopkitAnalytics, type ShopkitAnalyticsConfig, type ShopkitAnalyticsProps, TrackingAdapter, ShopkitAnalytics as default };
42
+ /**
43
+ * Component to initialize Shopify Analytics cookies
44
+ * This component handles the useShopifyCookies hook which must be used in a React component
45
+ */
46
+ interface ShopifyAnalyticsScriptProps {
47
+ domain: string;
48
+ }
49
+ declare function ShopifyAnalyticsScript({ domain, }: ShopifyAnalyticsScriptProps): null;
50
+
51
+ export { AffiliateConfig, GoogleAdapterConfig, KwikCheckoutConfig, KwikPassConfig, LoggerConfig, MoengageAdapterConfig, PixelAdapterConfig, PostHogAdapterConfig, ShopifyAdapterConfig, ShopifyAnalyticsScript, ShopkitAnalytics, type ShopkitAnalyticsConfig, type ShopkitAnalyticsProps, TrackingAdapter, ShopkitAnalytics as default };