javascript-sdk icon indicating copy to clipboard operation
javascript-sdk copied to clipboard

[BUG] Missing types for notificationCenter.addNotificationListener

Open rupesh-checkatrade opened this issue 11 months ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

SDK Version

5.3.4

Current Behavior

There are no types exported for the 'decisionPayload' that comes back from an notificationCenter.addNotificationListener

Expected Behavior

Precise types should be exported for the object returned to the callback

Steps To Reproduce

  1. setup the SDK in an TypeScript project
  2. add a notificationCenter.addNotificationListener
  3. try to set/infer the type of the parameters in the callback

SDK Type

Browser

Node Version

No response

Browsers impacted

No response

Link

No response

Logs

No response

Severity

No response

Workaround/Solution

No response

Recent Change

No response

Conflicts

No response

rupesh-checkatrade avatar Nov 18 '24 12:11 rupesh-checkatrade