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
Copy file name to clipboardExpand all lines: MIGRATION.md
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ In v6, the SDK architecture has been modularized to give you more control over d
23
23
- The monolithic `createInstance` call is now split into multiple factory functions
24
24
- Core functionality (project configuration, event processing, ODP, VUID, logging, and error handling) is now configured through dedicated components created via factory functions, giving you greater flexibility and control in enabling/disabling certain components and allowing optimizing the bundle size for frontend projects.
25
25
- Event dispatcher interface has been updated to use Promises
The`EventDispatcher` interface has been updated so that the `dispatchEvent` method returns a Promise instead of calling a callback.
168
+
In both v5 and v6, custom event dispatchers must implement the `EventDispatcher` interface. In v5, the`EventDispatcher` interface has been updated so that the `dispatchEvent` method returns a Promise instead of calling a callback.
0 commit comments