An object for dependency injection, to allow different clients
to provide different methods for logging, translation, network
requests, etc.
NOTE: You should avoid adding new dependencies here as this type was added
as a quick fix to get around the fact that some of the dependencies Perseus
needs are used in places where neither APIOptions nor a React Context
could be used. Aim to shrink the footprint of PerseusDependencies and try to
use alternative methods where possible.
An object for dependency injection, to allow different clients to provide different methods for logging, translation, network requests, etc.
NOTE: You should avoid adding new dependencies here as this type was added as a quick fix to get around the fact that some of the dependencies Perseus needs are used in places where neither
APIOptionsnor a React Context could be used. Aim to shrink the footprint of PerseusDependencies and try to use alternative methods where possible.