Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@segment/consent-manager

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@segment/consent-manager - npm Package Versions

cjradek
published 5.8.1 •

Changelog

Source

5.8.1 (May 30, 2023)

  • 333 Allows setting the initial value of preferences to N/A.
pooyaj
published 5.7.0 •

Changelog

Source

5.7.0 (Dec 13, 2022)

  • 288 Fix reload clicking inside banner
  • 283 Add shouldReload on ConsentManagerBuilder like optional attribute
  • 281 Replace lodash-es by lodash to fix error with nextJs
  • 277 docs: fix link to nextjs example in table of contents
  • 274 Allow passing additional cookie attributes
  • 272 Add src folder to files array on package.json
  • 271 Change enum closeBehavior to type
  • 269 Add nanoid like sufix to preferenceDialogForm
  • 268 Update type for bannerSubContent and subContent
  • 261 Fix acceptAll method on container
  • 258 Add param coockeName to method on loadPreference on Preference interface
  • 248 Remove validation to show deny button on modal
pooyaj
published 5.6.0 •

Changelog

Source

5.6.0 (July 8, 2022)

  • 237 Change emotion/core to emotion/react, and fix issue on dialog
  • 234 Update imports libraries of lodash to lodash-es
  • 232 Update library on eventsource
  • 228 Change tracking preference to save automatically the cookies
pooyaj
published 5.5.0 •

Changelog

Source

5.5.0 (May 25, 2022)

  • #216 Update emotion library
  • #220 Update isomorphic-fetch library to fix vulnerabilities
  • #222 Upgrade to react 18 library
  • #223 Replace container div with Fragment
  • #227 support FullStory (actions) as integration
  • #228 Fix Tracking Preferences cookie is saved automatically
pooyaj
published 5.4.0 •

Changelog

Source

5.4.0 (Nov 30, 2021)

  • #184 Fix the behavior of initialPreferences
  • #192 Fix linting, dependency upgrade
  • #188 Allow TS to generate code for enum
  • #180 Add id to preference dialog form
  • #179 Typescript improvement
  • #176 Allow customizing the texts of the preferences dialog
  • #173 Fix implyConsentOnInteraction behavior
  • #170 Dependency upgrades
pooyaj
published 5.3.0 •

Changelog

Source

5.3.0 (Sept 13, 2021)

  • #145 Introduce cookieName attribute to allow a custom cookie name
  • #126 Fixing types directory
  • #164 Fix On Standalone script closeBehavior: accept does not work
  • #164 A possibility to add default buttons to accept/deny cookies via bannerActionsBlock
  • #164 A possibility to add custom buttons block via bannerActionsBlock
  • #164 Hide Clone button via bannerHideCloseButton
  • #164 Fix the dialog on iPhone
  • #164 Add option to show banner as modal
  • #164 Use only loadsh-es and remove lodash package and include only used functions instead of the whole package (reduce the final bundle size)
  • #164 Update webpack CLI
pooyaj
published 5.2.0 •

Changelog

Source

5.2.0(May 11, 2021)

  • #152 Add configurable expirey date for the preferences cookie
  • Chore: Dependency upgrades
pooyaj
published 5.1.0 •

Changelog

Source

5.1.0(Nov 17, 2020)

  • #123 Fixed an issue where the react state wasn't being updated after the user updates the preferences via the .savePreferences API. This change also slightly changes how the Cancel confirmation modal is displayed.
pooyaj
published 5.0.2 •

Changelog

Source

5.0.2(Nov 9, 2020)

  • #111 Added missing TypeScript declarations in packaged output

Added

  • #110 Added cdnHost property to allow using non-default CDN host
dk1027
published 5.0.1 •

Changelog

Source

5.0.1(July 13, 2020)

Added

  • #110 Added cdnHost property to allow using non-default CDN host