rename lib/conversion to lib/capi; fix exports
This commit is contained in:
@@ -3,12 +3,11 @@
|
||||
import { dev } from '$app/environment';
|
||||
import log from 'loglevel';
|
||||
|
||||
export type * from './types/conversion.d.ts';
|
||||
export type * as fbq from './types/fbq.d.ts';
|
||||
export * from './metapixel/index.ts';
|
||||
export * from './tracking.svelte.ts';
|
||||
export { default as Umami } from './Umami.svelte';
|
||||
export * from './conversion/index.ts';
|
||||
export * from './capi/index.ts';
|
||||
|
||||
// set log level to debug if we're in dev mode
|
||||
if (dev) {
|
||||
|
||||
@@ -11,8 +11,8 @@ import { loadMetaPixel } from '../util/meta-pixel-loader.ts';
|
||||
import { resolveGetter, type MaybeGetter } from '../util/getter.ts';
|
||||
import log from 'loglevel';
|
||||
import { dev } from '$app/environment';
|
||||
import { CAPIClient } from '../conversion/client.ts';
|
||||
import { ActionSource, CAPIEvent, type CAPIStandardParams } from '../conversion/event.ts';
|
||||
import { CAPIClient } from '../capi/client.ts';
|
||||
import { ActionSource, CAPIEvent, type CAPIStandardParams } from '../capi/event.ts';
|
||||
|
||||
const pixelParamsToCustomData = (params: CommonParams & CustomParams): CAPIStandardParams => {
|
||||
const customData: CAPIStandardParams = {};
|
||||
|
||||
Reference in New Issue
Block a user