Compare commits

..

4 Commits

Author SHA1 Message Date
00e1b8d862 1.0.13 2018-11-04 15:25:27 +01:00
c5cedb027d fix(core): update 2018-11-04 15:25:27 +01:00
f075f7f23a 1.0.12 2018-11-04 14:56:25 +01:00
809df76043 fix(core): update 2018-11-04 14:56:25 +01:00
3 changed files with 6 additions and 6 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@mojoio/logdna",
"version": "1.0.11",
"version": "1.0.13",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@mojoio/logdna",
"version": "1.0.11",
"version": "1.0.13",
"private": false,
"description": "anunoffical package for the logdna api",
"main": "dist/index.js",

View File

@ -71,17 +71,17 @@ export class LogdnaAccount {
/**
* convenience function for smartlog
*/
async sendSmartlogPackage (smartlogPackageArg: ILogPackage) {
public async sendSmartlogPackage (smartlogPackageArg: ILogPackage) {
this.sendLogDnaMessage(LogdnaMessage.fromSmartLogPackage(smartlogPackageArg));
}
/**
* returns a smartlog compatible log destination
*/
async getSmartlogDestination(): Promise<ILogDestination> {
public get smartlogDestination (): ILogDestination {
return {
handleLog: (logPackageArg) => {
this.sendSmartlogPackage(logPackageArg)
this.sendSmartlogPackage(logPackageArg);
}
};
}