5 Commits

Author SHA1 Message Date
b472823f25 fix: make di compat property non-enumerable 2022-08-18 10:57:23 +00:00
597c417dce chore: throw error when accessing DI from business object
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
c40ebf558a chore(util/CompatibilityUtil): correct spacing and simplify warning 2020-05-18 08:10:32 +00:00
04ca31fac9 feat(lib): Promisify public APIs
This commit promisifies following APIs:

   BaseViewer#importXML
   BaseViewer#importDefinitions
   BaseViewer#open
   BaseViewer#saveXML
   BaseViewer#saveSVG
   Modeler#createDiagram

Related to https://github.com/bpmn-io/bpmn-js/issues/812

BREAKING CHANGES:

* Users are now expected to have Promises either by default or
polyfilled as the APIs return a Promise now.
2020-04-29 11:12:23 +02:00
7c8abfb497 chore(util): add wrapForCompatibility utility 2020-04-29 11:12:23 +02:00