adobe / target-nodejs-sdk

Adobe Target Node.js SDK
https://www.npmjs.com/package/@adobe/target-nodejs-sdk
Apache License 2.0
26 stars 21 forks source link

visitorState properties #94

Open nmoerror opened 2 years ago

nmoerror commented 2 years ago

Hi, I am not sure if this is the best place to ask this, hope someone can help me:

The visitorState returned by the node SDK does not contain the 'AppMeasurement:1' property under supplementalDataIDCurrentConsumed, this is set with a value of true once consumed in the front-end, but because the API does not provide this property at all or its default value, then it stays as true for the remaining of the session, we then need to manually set it on our end to false or delete the property on every SDK getOffers request for new sdid's to be consumed.

I was wondering if this was intended behaviour, as the scenarios I can think of, the current state in the client is usually merged with the response of the server