zumito-framework 1.2.10 → 1.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,13 +131,13 @@ export class ZumitoFramework {
131
131
  this.settings = settings;
132
132
  // Register this class instance to service container
133
133
  ServiceContainer.addService(ZumitoFramework, [], true, this);
134
- ServiceContainer.addService(TranslationManager, [], true, this.translations);
135
134
  this.modules = new ModuleManager(this);
136
135
  this.commands = new CommandManager(this);
137
136
  this.events = new Map();
138
137
  this.translations = new TranslationManager();
139
138
  this.models = [];
140
139
  this.eventManager = new EventManager();
140
+ ServiceContainer.addService(TranslationManager, [], true, this.translations);
141
141
  if (settings.logLevel) {
142
142
  console.logLevel = settings.logLevel;
143
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zumito-framework",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "Discord.js bot framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",