@walkeros/web-source-datalayer 0.3.1 → 0.4.0
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/dev.d.mts +36 -0
- package/dist/dev.d.ts +36 -0
- package/dist/dev.js +1 -0
- package/dist/dev.js.map +1 -0
- package/dist/dev.mjs +1 -0
- package/dist/dev.mjs.map +1 -0
- package/dist/index.browser.js +1 -1
- package/dist/index.d.mts +3 -25
- package/dist/index.d.ts +3 -25
- package/dist/index.es5.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { z
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* JavaScript variable name
|
|
6
|
-
* Used for dataLayer variable naming
|
|
7
|
-
*/
|
|
8
|
-
declare const JavaScriptVarName: z.ZodString;
|
|
9
|
-
/**
|
|
10
|
-
* Event prefix
|
|
11
|
-
* Used for filtering dataLayer events
|
|
12
|
-
*/
|
|
13
|
-
declare const EventPrefix: z.ZodString;
|
|
1
|
+
import { Source, WalkerOS, Elb, Mapping as Mapping$1 } from '@walkeros/core';
|
|
2
|
+
import { z } from '@walkeros/core/dev';
|
|
14
3
|
|
|
15
4
|
/**
|
|
16
5
|
* DataLayer source settings schema
|
|
@@ -20,17 +9,6 @@ declare const SettingsSchema: z.ZodObject<{
|
|
|
20
9
|
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
21
10
|
filter: z.ZodOptional<z.ZodAny>;
|
|
22
11
|
}, z.core.$strip>;
|
|
23
|
-
type Settings$1 = z.infer<typeof SettingsSchema>;
|
|
24
|
-
|
|
25
|
-
declare const settings: _walkeros_core.JSONSchema;
|
|
26
|
-
|
|
27
|
-
declare const index$1_EventPrefix: typeof EventPrefix;
|
|
28
|
-
declare const index$1_JavaScriptVarName: typeof JavaScriptVarName;
|
|
29
|
-
declare const index$1_SettingsSchema: typeof SettingsSchema;
|
|
30
|
-
declare const index$1_settings: typeof settings;
|
|
31
|
-
declare namespace index$1 {
|
|
32
|
-
export { index$1_EventPrefix as EventPrefix, index$1_JavaScriptVarName as JavaScriptVarName, type Settings$1 as Settings, index$1_SettingsSchema as SettingsSchema, index$1_settings as settings };
|
|
33
|
-
}
|
|
34
12
|
|
|
35
13
|
declare global {
|
|
36
14
|
interface Window {
|
|
@@ -184,4 +162,4 @@ declare namespace mapping {
|
|
|
184
162
|
*/
|
|
185
163
|
declare const sourceDataLayer: Source.Init<Types>;
|
|
186
164
|
|
|
187
|
-
export { events as Events, mapping as Mapping, index as SourceDataLayer, consentOnlyMapping, consentUpdate$1 as consentUpdateEvent, config as dataLayerExamples, sourceDataLayer as default, env,
|
|
165
|
+
export { events as Events, mapping as Mapping, index as SourceDataLayer, consentOnlyMapping, consentUpdate$1 as consentUpdateEvent, config as dataLayerExamples, sourceDataLayer as default, env, sourceDataLayer };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { z
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* JavaScript variable name
|
|
6
|
-
* Used for dataLayer variable naming
|
|
7
|
-
*/
|
|
8
|
-
declare const JavaScriptVarName: z.ZodString;
|
|
9
|
-
/**
|
|
10
|
-
* Event prefix
|
|
11
|
-
* Used for filtering dataLayer events
|
|
12
|
-
*/
|
|
13
|
-
declare const EventPrefix: z.ZodString;
|
|
1
|
+
import { Source, WalkerOS, Elb, Mapping as Mapping$1 } from '@walkeros/core';
|
|
2
|
+
import { z } from '@walkeros/core/dev';
|
|
14
3
|
|
|
15
4
|
/**
|
|
16
5
|
* DataLayer source settings schema
|
|
@@ -20,17 +9,6 @@ declare const SettingsSchema: z.ZodObject<{
|
|
|
20
9
|
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
21
10
|
filter: z.ZodOptional<z.ZodAny>;
|
|
22
11
|
}, z.core.$strip>;
|
|
23
|
-
type Settings$1 = z.infer<typeof SettingsSchema>;
|
|
24
|
-
|
|
25
|
-
declare const settings: _walkeros_core.JSONSchema;
|
|
26
|
-
|
|
27
|
-
declare const index$1_EventPrefix: typeof EventPrefix;
|
|
28
|
-
declare const index$1_JavaScriptVarName: typeof JavaScriptVarName;
|
|
29
|
-
declare const index$1_SettingsSchema: typeof SettingsSchema;
|
|
30
|
-
declare const index$1_settings: typeof settings;
|
|
31
|
-
declare namespace index$1 {
|
|
32
|
-
export { index$1_EventPrefix as EventPrefix, index$1_JavaScriptVarName as JavaScriptVarName, type Settings$1 as Settings, index$1_SettingsSchema as SettingsSchema, index$1_settings as settings };
|
|
33
|
-
}
|
|
34
12
|
|
|
35
13
|
declare global {
|
|
36
14
|
interface Window {
|
|
@@ -184,4 +162,4 @@ declare namespace mapping {
|
|
|
184
162
|
*/
|
|
185
163
|
declare const sourceDataLayer: Source.Init<Types>;
|
|
186
164
|
|
|
187
|
-
export { events as Events, mapping as Mapping, index as SourceDataLayer, consentOnlyMapping, consentUpdate$1 as consentUpdateEvent, config as dataLayerExamples, sourceDataLayer as default, env,
|
|
165
|
+
export { events as Events, mapping as Mapping, index as SourceDataLayer, consentOnlyMapping, consentUpdate$1 as consentUpdateEvent, config as dataLayerExamples, sourceDataLayer as default, env, sourceDataLayer };
|