This approach remains backward compatible because if you just pass a string as the ApiKey it will use it as it did before.
Having the option to pass in an array config leaves the flexibility for more configurable params to be passed in later on.
FYI: running composer lint changes like 40 files. It seem that hasn't been used as a part of the workflow so far so I opted not to run it to keep the PR simple.
closes #29
This approach remains backward compatible because if you just pass a string as the ApiKey it will use it as it did before.
Having the option to pass in an array config leaves the flexibility for more configurable params to be passed in later on.
FYI: running
composer lint
changes like 40 files. It seem that hasn't been used as a part of the workflow so far so I opted not to run it to keep the PR simple.