Releases: Anut-py/dime
Releases · Anut-py/dime
v0.0.1-alpha.6
Changelog
Created documentation page 🚀
The documentation page is live! You can view it here
Package size improvement 📦
Removed dependency on rxjs, reducing unpacked size by 4mb
Bug fixes 🐛
Using @Inject without setting up Dime now shows a warning message
v0.0.1-alpha.5
v0.0.1-alpha.4
Added support for factory providers through the provideFactory
field of ProviderWithData
.
Example:
// ...
const appPackage = new Package({
token: "appService",
provideFactory: () => new AppService()
});
// ...
Also added Injector
for non-class based injection.
Example:
// ...
const service: AppService = Dime.injector.get("appService");
// ...
v0.0.1-alpha.3
Added support for string tokens