Split a composite id on its first :. Everything after it belongs to the provider.
:
A composite id produced by namespaceId.
The two halves, or undefined when id has no provider prefix.
undefined
id
splitId('private:direct:ab,cd'); // { providerId: 'private', innerId: 'direct:ab,cd' }splitId('orphan'); // undefined Copy
splitId('private:direct:ab,cd'); // { providerId: 'private', innerId: 'direct:ab,cd' }splitId('orphan'); // undefined
Split a composite id on its first
:. Everything after it belongs to the provider.