react-marketing-tools 0.3.3 → 0.3.5
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/{manifest.json → .vite/manifest.json} +2 -2
- package/dist/analytics/analyticsEventService.d.ts +1 -1
- package/dist/analytics/ga4GoogleAnalyticsEventTracking.d.ts +1 -1
- package/dist/analytics/handleDataLayerPush.d.ts +1 -1
- package/dist/analytics/helpers.d.ts +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/ipInfo/index.d.ts +1 -1
- package/dist/react-marketing-tools.es.js +117 -117
- package/dist/react-marketing-tools.umd.js +14 -14
- package/dist/{types.d.ts → types/index.d.ts} +37 -16
- package/package.json +9 -5
- package/dist/analytics/types.d.ts +0 -60
- package/dist/ipInfo/types.d.ts +0 -21
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Ga4GoogleAnalyticsEventTracking } from '
|
|
1
|
+
import { Ga4GoogleAnalyticsEventTracking } from '../types';
|
|
2
2
|
declare const ga4GoogleAnalyticsEventTracking: (options: Ga4GoogleAnalyticsEventTracking) => Promise<void>;
|
|
3
3
|
export default ga4GoogleAnalyticsEventTracking;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { ReactNode, Context } from 'react';
|
|
2
2
|
import type { ProviderStateProps, ProviderApiProps } from './types';
|
|
3
|
-
export * from './types';
|
|
4
3
|
export { config, analyticsPlatform, buildConfig, showMeBuildInAnalyticsPlatform, showMeBuildInGlobalEventActionList, showMeBuildInEventActionPrefixList, } from './buildConfig';
|
|
5
4
|
export { trackAnalyticsEvent } from './analytics/analyticsEventService';
|
|
6
5
|
export declare const ContextState: Context<ProviderStateProps>;
|
|
7
6
|
export declare const ContextApi: Context<ProviderApiProps>;
|
|
8
|
-
|
|
7
|
+
type ReactMarketingProviderProps = {
|
|
9
8
|
children: ReactNode;
|
|
10
9
|
};
|
|
11
|
-
export declare const ReactMarketingProvider: ({ children, }: ReactMarketingProviderProps) => JSX.Element;
|
|
10
|
+
export declare const ReactMarketingProvider: ({ children, }: ReactMarketingProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
/**
|
|
13
12
|
* @property {string} appName
|
|
14
13
|
* @property {string} appSessionCookieName
|
package/dist/ipInfo/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IpInfo, ServerLocationData } from '
|
|
1
|
+
import { IpInfo, ServerLocationData } from '../types';
|
|
2
2
|
export declare const buildServerLocationData: (withServerLocationInfo: boolean | undefined) => Promise<ServerLocationData | undefined>;
|
|
3
3
|
export declare const getIpInfo: (IP_INFO_TOKEN: string) => Promise<IpInfo>;
|