WICG / webmonetization

Proposed Web Monetization standard
https://webmonetization.org
Other
466 stars 152 forks source link

BREAKING CHANGE: consolidate events #209

Closed marcoscaceres closed 2 years ago

marcoscaceres commented 3 years ago

Closes #23 Closes #216 Closes #27

marcoscaceres commented 3 years ago

closing and reopening...

sublimator commented 3 years ago

@marcoscaceres

Sorry I've been unwell and just gotten around to looking at this. Am I reading this correctly when I summarize it as there will only be what was the progress event? Will the navigator.monetization object still have state ?

AlexLakatos commented 3 years ago

@sublimator . That's correct. We're aiming for a single event, "progress". The navigator.monetization object will hold state, and can fire "statechanged". The format of the state is being discussed separately in #220 , and can be used to determine when monetization has started, stopped, or is being active and progressing.

marcoscaceres commented 2 years ago

part of #193