EXAMPLE:

ext.point('...').extend({
id: 'default',
index: 100,
// only primitives here
enabled: cap.has('my-capability')
});

HINT:
core extensions for point 'io.ox/realtime/transport' were adapted accordingly. Please note that other registered extensions for this point have to ensure they use a primitive 'enabled' now.

In cases non-primitive 'enabled' properties are used a console.warning is triggered and the extension doesn't get registered.

RELATED COMMITS:
56632e3c62539e6dfc532933e6afda0768672985
e9a809cc4e0b3aa8f6b2994fe6629b214d196444