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.
- package/dist/adapters/index.mjs +0 -1
- package/dist/affiliate/index.mjs +0 -1
- package/dist/{chunk-FTZLYNBN.mjs → chunk-5676WUEC.mjs} +2 -2
- package/dist/events/index.mjs +1 -2
- package/dist/experiment/index.mjs +0 -1
- package/dist/index.d.mts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +20 -712
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -715
- package/dist/index.mjs.map +1 -1
- package/dist/services/index.mjs +0 -1
- package/dist/{subscriber-K6VCQXNV.mjs → subscriber-VF3IYUCU.mjs} +1 -2
- package/dist/types.mjs +0 -1
- package/dist/utils/index.mjs +0 -1
- package/package.json +1 -1
- package/dist/chunk-NIL3JVRZ.mjs +0 -39
- package/dist/subscriber-K6VCQXNV.mjs.map +0 -1
- /package/dist/{chunk-FTZLYNBN.mjs.map → chunk-5676WUEC.mjs.map} +0 -0
- /package/dist/{chunk-NIL3JVRZ.mjs.map → subscriber-VF3IYUCU.mjs.map} +0 -0
package/dist/adapters/index.mjs
CHANGED
package/dist/affiliate/index.mjs
CHANGED
|
@@ -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-
|
|
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-
|
|
57
|
+
//# sourceMappingURL=chunk-5676WUEC.mjs.map
|
package/dist/events/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
initTracking,
|
|
4
4
|
initializeEventTracking
|
|
5
|
-
} from "../chunk-
|
|
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,
|
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
|
-
|
|
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
|
-
|
|
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 };
|