gtm-event-tracker
Advanced tools
Comparing version 1.7.0-beta.3 to 1.7.0-beta.4
@@ -5,7 +5,7 @@ /** | ||
*/ | ||
export declare type LoggerConfigurations = { | ||
export declare type LoggerConfigurations = Partial<{ | ||
debugAll: boolean; | ||
debugEvents: boolean; | ||
debugContext: boolean; | ||
}; | ||
}>; | ||
/** | ||
@@ -15,4 +15,4 @@ * All available configuration options. | ||
*/ | ||
export declare type Configurations = { | ||
export declare type Configurations = Partial<{ | ||
logger: LoggerConfigurations; | ||
}; | ||
}>; |
import type { Configurations } from './configuration-types'; | ||
export declare function createConfiguration(): { | ||
get: () => Configurations; | ||
get: () => Partial<{ | ||
logger: Partial<{ | ||
debugAll: boolean; | ||
debugEvents: boolean; | ||
debugContext: boolean; | ||
}>; | ||
}>; | ||
defaults: () => Configurations; | ||
configure: (customConfigs: Partial<Configurations>) => void; | ||
configure: (customConfigs: Configurations) => void; | ||
}; | ||
export declare const configuration: { | ||
get: () => Configurations; | ||
get: () => Partial<{ | ||
logger: Partial<{ | ||
debugAll: boolean; | ||
debugEvents: boolean; | ||
debugContext: boolean; | ||
}>; | ||
}>; | ||
defaults: () => Configurations; | ||
configure: (customConfigs: Partial<Configurations>) => void; | ||
configure: (customConfigs: Configurations) => void; | ||
}; | ||
@@ -16,2 +28,2 @@ /** | ||
*/ | ||
export declare const configure: (customConfigs: Partial<Configurations>) => void; | ||
export declare const configure: (customConfigs: Configurations) => void; |
@@ -5,5 +5,5 @@ /** | ||
*/ | ||
export declare type Configurations = { | ||
export declare type Configurations = Partial<{ | ||
logger: LoggerConfigurations; | ||
}; | ||
}>; | ||
@@ -14,3 +14,3 @@ /** | ||
*/ | ||
export declare const configure: (customConfigs: Partial<Configurations>) => void; | ||
export declare const configure: (customConfigs: Configurations) => void; | ||
@@ -71,7 +71,7 @@ /** | ||
*/ | ||
export declare type LoggerConfigurations = { | ||
export declare type LoggerConfigurations = Partial<{ | ||
debugAll: boolean; | ||
debugEvents: boolean; | ||
debugContext: boolean; | ||
}; | ||
}>; | ||
@@ -78,0 +78,0 @@ /** |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.7.0-beta.3", | ||
"version": "1.7.0-beta.4", | ||
"description": "A type-safe, reusable, and flexible way for triggering Google Tag Manager track events.", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
40401
768