Expand my Community achievements bar.

Join our product experts for a live Ask Me Anything on November 12th at 8 AM PT about Experiences & Efficiency with AEP Agent Orchestrator & How Agentic AI is Fueling Smarter Testing and Growth!

_satellite.cookie.set: update signature to allow setting the third parameter as an integer rather than object

Avatar

Level 1

7/14/21

Description - the cookie set function's third argument is an object. Please allow it to be an integer for those who used to old syntax.

Why is this feature important to you - seeing too many developers supplying an integer there and failing.

How would you like the feature to work - check the type of the third argument and if it's an int, just use it for days as you do with the object

Current Behaviour - supplying int does nothing.