ts-telegraf-decorators
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -14,2 +14,1 @@ "use strict"; | ||
}).startPolling(); | ||
console.log(src_1.MetadataArgsStorage.composerMetadata); |
@@ -27,3 +27,2 @@ "use strict"; | ||
.filter(function (value) { return value.target.prototype == controller.target.prototype; }).map(function (value) { return container_1.getFromContainer(value.middleware); }); | ||
console.log('middlewareInstances', middlewareInstances); | ||
if (controller.options.type == "controller") | ||
@@ -30,0 +29,0 @@ buildController(bot, controller, controllerInstance, middlewareInstances); |
{ | ||
"name": "ts-telegraf-decorators", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"author": "Ivan Surkov <panarama360@gmail.com>", | ||
@@ -25,13 +25,13 @@ "main": "build/src/index.js", | ||
"dependencies": { | ||
"glob": "^7.1.4", | ||
"glob": "^7.1.5", | ||
"reflect-metadata": "^0.1.13", | ||
"telegraf": "^3.32.0", | ||
"telegraf": "^3.33.3", | ||
"typedi": "^0.8.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^24.0.18", | ||
"@types/jest": "^24.0.21", | ||
"jest": "^24.9.0", | ||
"ts-jest": "^24.0.2", | ||
"typescript": "^3.5.3" | ||
"ts-jest": "^24.1.0", | ||
"typescript": "^3.6.4" | ||
} | ||
} |
@@ -14,3 +14,1 @@ import 'reflect-metadata' | ||
}).startPolling() | ||
console.log(MetadataArgsStorage.composerMetadata); |
@@ -29,3 +29,2 @@ import {IBotOptions} from "./interfaces/IBotOptions"; | ||
.filter(value => value.target.prototype == controller.target.prototype).map(value => getFromContainer<TFIMiddleware>(value.middleware)); | ||
console.log('middlewareInstances', middlewareInstances); | ||
if (controller.options.type == "controller") | ||
@@ -32,0 +31,0 @@ buildController(bot, controller, controllerInstance, middlewareInstances); |
78759
71
1779
Updatedglob@^7.1.5
Updatedtelegraf@^3.33.3