In the official docs is said
If your add-on functionality demands it, you can use a * character as wildcard in the whitelist.
I have tried multiple ways to define it with no luck. Could somebody show a simple example how it can be done?
Link to a problem I have related to this topic
You can't use wildcards.
You need a complete domain or don't use Whitelist at all (is not recommended).
This part of documentation explains:
The prefixes you add to the manifest must satisfy the following requirements:
Each prefix must have a full domain.