biz-slide-core 1.2.20 → 1.2.21
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -63,7 +63,7 @@ function callWithRetries(retryCount, failedMessage, functionRef) {
|
|
63
63
|
error_1 = _a.sent();
|
64
64
|
if (retryCount <= 0)
|
65
65
|
throw error_1;
|
66
|
-
console.log(
|
66
|
+
console.log("callWithRetries", error_1 === null || error_1 === void 0 ? void 0 : error_1.message);
|
67
67
|
return [2 /*return*/, callWithRetries.apply(void 0, __spreadArray([retryCount - 1, failedMessage, functionRef], args, false))];
|
68
68
|
case 3: return [2 /*return*/];
|
69
69
|
}
|
@@ -48,7 +48,6 @@ function createFolder(folderPath) {
|
|
48
48
|
if (!fs_1.default.existsSync(folderPath)) {
|
49
49
|
fs_1.default.mkdirSync(folderPath);
|
50
50
|
}
|
51
|
-
console.log("Folder \"".concat(folderPath, "\" is ready."));
|
52
51
|
}
|
53
52
|
catch (error) {
|
54
53
|
console.error("Error: ".concat(error.message));
|
@@ -53,7 +53,6 @@ var verifyUid = function (token) { return __awaiter(void 0, void 0, void 0, func
|
|
53
53
|
var jwtToken = token.split(" ")[1] || token;
|
54
54
|
jsonwebtoken_1.default.verify(jwtToken, process.env.JWTSECRET || 'secret', function (err, decoded) {
|
55
55
|
if (err) {
|
56
|
-
console.log(err);
|
57
56
|
resolve(null);
|
58
57
|
}
|
59
58
|
else {
|