refactor(sdk): resolve template config through a bound-opts class hook (#1721)