remult 0.16.0-exp.2 → 0.16.0-exp.3
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.
|
@@ -169,7 +169,7 @@ class RemultServerImplementation {
|
|
|
169
169
|
if (this.options.initRequest) {
|
|
170
170
|
await this.options.initRequest(remult, req);
|
|
171
171
|
}
|
|
172
|
-
what(remult, myReq, myRes, req);
|
|
172
|
+
await what(remult, myReq, myRes, req);
|
|
173
173
|
});
|
|
174
174
|
};
|
|
175
175
|
}
|
|
@@ -177,6 +177,7 @@ class RemultServerImplementation {
|
|
|
177
177
|
async getRemult(req) {
|
|
178
178
|
let remult;
|
|
179
179
|
await this.process(async (c) => {
|
|
180
|
+
console.log("DEBUG ", c);
|
|
180
181
|
remult = c;
|
|
181
182
|
})(req, undefined);
|
|
182
183
|
return remult;
|
package/package.json
CHANGED
package/server/expressBridge.js
CHANGED
|
@@ -261,8 +261,9 @@ var RemultServerImplementation = /** @class */ (function () {
|
|
|
261
261
|
case 5:
|
|
262
262
|
_a.sent();
|
|
263
263
|
_a.label = 6;
|
|
264
|
-
case 6:
|
|
265
|
-
|
|
264
|
+
case 6: return [4 /*yield*/, what(remult, myReq, myRes, req)];
|
|
265
|
+
case 7:
|
|
266
|
+
_a.sent();
|
|
266
267
|
return [2 /*return*/];
|
|
267
268
|
}
|
|
268
269
|
});
|
|
@@ -281,6 +282,7 @@ var RemultServerImplementation = /** @class */ (function () {
|
|
|
281
282
|
switch (_a.label) {
|
|
282
283
|
case 0: return [4 /*yield*/, this.process(function (c) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
283
284
|
return tslib_1.__generator(this, function (_a) {
|
|
285
|
+
console.log("DEBUG ", c);
|
|
284
286
|
remult = c;
|
|
285
287
|
return [2 /*return*/];
|
|
286
288
|
});
|