ASFAIK adapterConstants isn't exported by index.ts, so it's use is only internal.
Since the code is currently in the module scope, it will run on load, which means the module has "side-effects".
This doesn't smell well and should be refactored somehow.