Comparing version 2.4.0-beta.2 to 2.4.0-beta.3
@@ -27,3 +27,3 @@ /// <reference types="node" /> | ||
run(): Promise<void>; | ||
initAe(): void; | ||
initAe(): Promise<void>; | ||
handleCtx(ctx: any): Promise<void>; | ||
@@ -30,0 +30,0 @@ protected init(): Promise<void>; |
@@ -40,3 +40,3 @@ "use strict"; | ||
} | ||
initAe() { | ||
async initAe() { | ||
this.app = new Koa(); | ||
@@ -53,2 +53,3 @@ this.app.env = this.options.NODE_ENV; | ||
}); | ||
await this.loader.load(); | ||
completeAssign(mockKoa_1.application, this.app); | ||
@@ -55,0 +56,0 @@ } |
{ | ||
"name": "astroboy", | ||
"version": "2.4.0-beta.2", | ||
"version": "2.4.0-beta.3", | ||
"description": "Astroboy(阿童木)is a Nodejs SFB(Separation of Front and Back ends) framework, built on koa2.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
153826
2866