Instead of passing request to each initializer, we pass the API instance directly and have those methods use api.request
Export a default uninitialized instance like before, but add a method to that instance create() in order to support creating multiple instances at once
request
to each initializer, we pass the API instance directly and have those methods useapi.request
create()
in order to support creating multiple instances at once