Back to Publisher API Reference

pbjs.aliasRegistry

Exposes the aliasRegistry. It can be used to fetch the entire aliasRegistry object or an individual adapter code by alias name.

pbjs.aliasRegistry; or pbjs.aliasRegistry[aliasName];

Note that by default, the alias registry will be made public. If you would like the registry to be private, you can utilize the setConfig option below:

pbjs.setConfig({aliasRegistry: 'private'})

Back to Publisher API Reference