@logmint/sdk 1.1.4 → 1.1.6

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.
package/cloud/addLogs.js CHANGED
@@ -9,7 +9,7 @@ setInterval(() => {
9
9
  buffer.logs = [];
10
10
  addLogs({ logs: batch });
11
11
  }
12
- }, 1000 * 60 * 10); // every 10 minutes
12
+ }, 1000 * 60); // every 1 minute
13
13
 
14
14
 
15
15
  const addLogs = async (logs) => {
@@ -46,7 +46,7 @@ const addLogs = async (logs) => {
46
46
  },
47
47
  validateStatus: () => true,
48
48
  });
49
- console.log("logs added successfully! -", logs);
49
+ // console.log("logs added successfully! -", logs);
50
50
  } catch (err) {
51
51
  console.log(err);
52
52
  }
@@ -32,7 +32,7 @@ module.exports.addMetrics = async (metric) => {
32
32
  },
33
33
  validateStatus: () => true,
34
34
  });
35
- console.log("metric added successfully! -", metric);
35
+ // console.log("metric added successfully! -", metric);
36
36
  } catch (err) {
37
37
  console.log(err);
38
38
  }
@@ -33,7 +33,7 @@ module.exports.sendToCloud = async (log, isFlush) => {
33
33
  },
34
34
  validateStatus: () => true,
35
35
  });
36
- console.log("log added successfully! -", log);
36
+ // console.log("log added successfully! -", log);
37
37
 
38
38
  } catch (err) {
39
39
  console.log(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logmint/sdk",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "LogMint SDK for sending audit logs, metrics, application logs",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",