fix: extend config to params for the register method

Fixes #89