@walkeros/web-source-cmp-cookiepro 3.0.2 → 3.1.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/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { Source, Elb, WalkerOS, Logger, Flow } from '@walkeros/core';
1
+ import { Source, Elb, WalkerOS, Logger, Flow, Trigger } from '@walkeros/core';
2
2
 
3
3
  /**
4
4
  * OneTrust global API interface.
@@ -214,8 +214,9 @@ declare namespace step {
214
214
  export { step_categoryMapOverride as categoryMapOverride, step_fullConsent as fullConsent, step_minimalConsent as minimalConsent, step_sdkLoadedDetection as sdkLoadedDetection };
215
215
  }
216
216
 
217
+ declare const createTrigger: Trigger.CreateFn<string, void>;
217
218
  /** Sets OptanonActiveGroups and OneTrust globals before source init. */
218
- declare const setup: Source.SetupFn;
219
+ declare const trigger: (input: unknown, env: Record<string, unknown>) => void;
219
220
 
220
221
  /**
221
222
  * Default category mapping from CookiePro/OneTrust to walkerOS consent groups.
@@ -264,4 +265,4 @@ declare const DEFAULT_CATEGORY_MAP: Record<string, string>;
264
265
  */
265
266
  declare const sourceCookiePro: Source.Init<Types>;
266
267
 
267
- export { DEFAULT_CATEGORY_MAP, index as SourceCookiePro, analyticsOnlyConsent, analyticsOnlyMapped, createMockElbFn, createMockOneTrustAPI, customCategoryConsent, sourceCookiePro as default, emptyConsent, fullConsent$1 as fullConsent, fullConsentMapped, marketingOnlyConsent, marketingOnlyMapped, minimalConsent$1 as minimalConsent, minimalConsentMapped, noopLogger, partialConsent, partialConsentMapped, setup, sourceCookiePro, step };
268
+ export { DEFAULT_CATEGORY_MAP, index as SourceCookiePro, analyticsOnlyConsent, analyticsOnlyMapped, createMockElbFn, createMockOneTrustAPI, createTrigger, customCategoryConsent, sourceCookiePro as default, emptyConsent, fullConsent$1 as fullConsent, fullConsentMapped, marketingOnlyConsent, marketingOnlyMapped, minimalConsent$1 as minimalConsent, minimalConsentMapped, noopLogger, partialConsent, partialConsentMapped, sourceCookiePro, step, trigger };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Source, Elb, WalkerOS, Logger, Flow } from '@walkeros/core';
1
+ import { Source, Elb, WalkerOS, Logger, Flow, Trigger } from '@walkeros/core';
2
2
 
3
3
  /**
4
4
  * OneTrust global API interface.
@@ -214,8 +214,9 @@ declare namespace step {
214
214
  export { step_categoryMapOverride as categoryMapOverride, step_fullConsent as fullConsent, step_minimalConsent as minimalConsent, step_sdkLoadedDetection as sdkLoadedDetection };
215
215
  }
216
216
 
217
+ declare const createTrigger: Trigger.CreateFn<string, void>;
217
218
  /** Sets OptanonActiveGroups and OneTrust globals before source init. */
218
- declare const setup: Source.SetupFn;
219
+ declare const trigger: (input: unknown, env: Record<string, unknown>) => void;
219
220
 
220
221
  /**
221
222
  * Default category mapping from CookiePro/OneTrust to walkerOS consent groups.
@@ -264,4 +265,4 @@ declare const DEFAULT_CATEGORY_MAP: Record<string, string>;
264
265
  */
265
266
  declare const sourceCookiePro: Source.Init<Types>;
266
267
 
267
- export { DEFAULT_CATEGORY_MAP, index as SourceCookiePro, analyticsOnlyConsent, analyticsOnlyMapped, createMockElbFn, createMockOneTrustAPI, customCategoryConsent, sourceCookiePro as default, emptyConsent, fullConsent$1 as fullConsent, fullConsentMapped, marketingOnlyConsent, marketingOnlyMapped, minimalConsent$1 as minimalConsent, minimalConsentMapped, noopLogger, partialConsent, partialConsentMapped, setup, sourceCookiePro, step };
268
+ export { DEFAULT_CATEGORY_MAP, index as SourceCookiePro, analyticsOnlyConsent, analyticsOnlyMapped, createMockElbFn, createMockOneTrustAPI, createTrigger, customCategoryConsent, sourceCookiePro as default, emptyConsent, fullConsent$1 as fullConsent, fullConsentMapped, marketingOnlyConsent, marketingOnlyMapped, minimalConsent$1 as minimalConsent, minimalConsentMapped, noopLogger, partialConsent, partialConsentMapped, sourceCookiePro, step, trigger };