Building some projects with newer versions (v0.4.0-0.6.0) fail
What's wrong?
The build process of some projects (e.g. minimal-connector) fail with the @openstapps/core versions 0.4.0 to 0.6.0 with the following error Message:
src/cli.ts:35:18 - error TS2344: Type 'SCMessage' does not satisfy the constraint 'SCThings'.
Type 'import("/home/mjsm24/Dokumente/StApps/minimal-connector/node_modules/@openstapps/core/lib/index").SCMessage' is not assignable to type 'import("/home/mjsm24/Dokumente/StApps/minimal-connector/node_modules/@openstapps/api/node_modules/@openstapps/core/lib/index").SCMessage'.
Types of property 'type' are incompatible.
Type 'import("/home/mjsm24/Dokumente/StApps/minimal-connector/node_modules/@openstapps/core/lib/index").SCThingType.Message' is not assignable to type 'import("/home/mjsm24/Dokumente/StApps/minimal-connector/node_modules/@openstapps/api/node_modules/@openstapps/core/lib/index").SCThingType.Message'.
Property 'ToDo' is missing in type 'import("/home/mjsm24/Dokumente/StApps/minimal-connector/node_modules/@openstapps/api/node_modules/@openstapps/core/lib/index").SCThingType'.
35 let bulk: Bulk<SCMessage>;
~~~~~~~~~
src/cli.ts:38:27 - error TS2344: Type 'SCMessage' does not satisfy the constraint 'SCThings'.
Type 'import("/home/mjsm24/Dokumente/StApps/minimal-connector/node_modules/@openstapps/core/lib/index").SCMessage' is not assignable to type 'import("/home/mjsm24/Dokumente/StApps/minimal-connector/node_modules/@openstapps/api/node_modules/@openstapps/core/lib/index").SCMessage'.
38 bulk = await api.bulk<SCMessage>(SCThingType.Message, 'minimal-connector');