You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(pos): move addEventListener to window via WindowEventMap augmentation
Remove addEventListener/removeEventListener from DataTargetApi. POS events
are received via the standard window.addEventListener() Web API. PosEventMap
augments WindowEventMap for type-safe event listening.
* API surface for non-rendering data extension targets.
66
+
* API surface for non-rendering data extension targets. Provides access to POS APIs (cart, storage, session, etc.) without rendering UI. POS host events are received via the standard `window.addEventListener()` Web API.
81
67
*/
82
68
exporttypeDataTargetApi<T>={
83
69
extensionPoint: T;
84
70
i18n: I18n;
85
-
/** Register a listener for discrete POS events. */
86
-
addEventListener: AddEventListener<PosEventMap>;
87
-
/** Remove a previously registered event listener. */
0 commit comments