Comparing version 1.0.7 to 1.0.8
@@ -62,30 +62,30 @@ export class Telogger { | ||
}; | ||
dump(...data: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
trace(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
debug(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
info(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
warn(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
error(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
fatal(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
silly(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
test(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
laconic(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
verbose(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
database(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
security(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
network(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
performance(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
request(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
response(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
success(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
failure(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
notice(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
warning(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
alert(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
crit(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
critical(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
emerg(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
emergency(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
send(name: any, ...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
dump(...data: any[]): Promise<any> | undefined; | ||
trace(...args: any[]): Promise<any> | undefined; | ||
debug(...args: any[]): Promise<any> | undefined; | ||
info(...args: any[]): Promise<any> | undefined; | ||
warn(...args: any[]): Promise<any> | undefined; | ||
error(...args: any[]): Promise<any> | undefined; | ||
fatal(...args: any[]): Promise<any> | undefined; | ||
silly(...args: any[]): Promise<any> | undefined; | ||
test(...args: any[]): Promise<any> | undefined; | ||
laconic(...args: any[]): Promise<any> | undefined; | ||
verbose(...args: any[]): Promise<any> | undefined; | ||
database(...args: any[]): Promise<any> | undefined; | ||
security(...args: any[]): Promise<any> | undefined; | ||
network(...args: any[]): Promise<any> | undefined; | ||
performance(...args: any[]): Promise<any> | undefined; | ||
request(...args: any[]): Promise<any> | undefined; | ||
response(...args: any[]): Promise<any> | undefined; | ||
success(...args: any[]): Promise<any> | undefined; | ||
failure(...args: any[]): Promise<any> | undefined; | ||
notice(...args: any[]): Promise<any> | undefined; | ||
warning(...args: any[]): Promise<any> | undefined; | ||
alert(...args: any[]): Promise<any> | undefined; | ||
crit(...args: any[]): Promise<any> | undefined; | ||
critical(...args: any[]): Promise<any> | undefined; | ||
emerg(...args: any[]): Promise<any> | undefined; | ||
emergency(...args: any[]): Promise<any> | undefined; | ||
send(name: any, ...args: any[]): Promise<any> | undefined; | ||
#private; | ||
} |
@@ -290,2 +290,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
try { | ||
@@ -295,5 +296,5 @@ return yield axios_1.default.post(__classPrivateFieldGet(this, _Telogger_apiUrl, "f") + this.botToken + '/' + method, params); | ||
catch (error) { | ||
console.error(error); | ||
return (_a = console.error(error)) !== null && _a !== void 0 ? _a : error; | ||
} | ||
}); | ||
}; |
@@ -62,30 +62,30 @@ export class Telogger { | ||
}; | ||
dump(...data: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
trace(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
debug(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
info(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
warn(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
error(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
fatal(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
silly(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
test(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
laconic(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
verbose(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
database(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
security(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
network(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
performance(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
request(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
response(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
success(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
failure(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
notice(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
warning(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
alert(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
crit(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
critical(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
emerg(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
emergency(...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
send(name: any, ...args: any[]): Promise<import("axios").AxiosResponse<any, any> | undefined> | undefined; | ||
dump(...data: any[]): Promise<any> | undefined; | ||
trace(...args: any[]): Promise<any> | undefined; | ||
debug(...args: any[]): Promise<any> | undefined; | ||
info(...args: any[]): Promise<any> | undefined; | ||
warn(...args: any[]): Promise<any> | undefined; | ||
error(...args: any[]): Promise<any> | undefined; | ||
fatal(...args: any[]): Promise<any> | undefined; | ||
silly(...args: any[]): Promise<any> | undefined; | ||
test(...args: any[]): Promise<any> | undefined; | ||
laconic(...args: any[]): Promise<any> | undefined; | ||
verbose(...args: any[]): Promise<any> | undefined; | ||
database(...args: any[]): Promise<any> | undefined; | ||
security(...args: any[]): Promise<any> | undefined; | ||
network(...args: any[]): Promise<any> | undefined; | ||
performance(...args: any[]): Promise<any> | undefined; | ||
request(...args: any[]): Promise<any> | undefined; | ||
response(...args: any[]): Promise<any> | undefined; | ||
success(...args: any[]): Promise<any> | undefined; | ||
failure(...args: any[]): Promise<any> | undefined; | ||
notice(...args: any[]): Promise<any> | undefined; | ||
warning(...args: any[]): Promise<any> | undefined; | ||
alert(...args: any[]): Promise<any> | undefined; | ||
crit(...args: any[]): Promise<any> | undefined; | ||
critical(...args: any[]): Promise<any> | undefined; | ||
emerg(...args: any[]): Promise<any> | undefined; | ||
emergency(...args: any[]): Promise<any> | undefined; | ||
send(name: any, ...args: any[]): Promise<any> | undefined; | ||
#private; | ||
} |
@@ -280,5 +280,5 @@ import axios from 'axios'; | ||
catch (error) { | ||
console.error(error); | ||
return console.error(error) ?? error; | ||
} | ||
} | ||
} |
{ | ||
"name": "telogger", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Log information to Telegram.", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/main.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
773
35345