@logmint/sdk 1.1.3 → 1.1.5

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/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
  ## Welcome to LogMint SDK
3
3
  Watch full demo <a href="https://www.youtube.com/watch?v=FHgbC97xbY0">here</a>
4
4
 
5
+ <a href="https://getlogmint.com">Visit site</a>
6
+
5
7
  This SDK will help you log events directly on our cloud or in your local database just with the help of a few lines of code.
6
8
  <br/>
7
9
  <img width="600" height="440" alt="674_1x_shots_so" src="https://github.com/user-attachments/assets/8bebac43-4438-4937-84fe-f1b107857a50" />
@@ -55,7 +57,7 @@ await log({
55
57
  metadata: { old_column: "old", new_column: "new" },
56
58
  });
57
59
  ```
58
- You can visualize the audit logs:
60
+ You can visualize the audit logs on the <a href="https://getlogmint.com">site</a>:
59
61
 
60
62
  <img width="660" height="440" alt="459_1x_shots_so" src="https://github.com/user-attachments/assets/eb00495d-17be-4466-a8dc-0a69372c4fa0" />
61
63
 
@@ -99,7 +101,7 @@ await addMetric({
99
101
  tags:{env:"prod"}
100
102
  })
101
103
  ```
102
- Once you have added the metrics, you can visualize them on the app and even create widgets:
104
+ Once you have added the metrics, you can visualize them on the <a href="https://getlogmint.com">app</a> and even create widgets:
103
105
  <img width="660" height="440" alt="320_1x_shots_so" src="https://github.com/user-attachments/assets/106e61ff-824e-486f-aeea-170c9ae0a427" />
104
106
  <br/>
105
107
  <img width="660" height="440" alt="732_1x_shots_so" src="https://github.com/user-attachments/assets/d1ae78a6-e50c-41f9-9271-d7b9de884286" />
@@ -109,5 +111,5 @@ Application logs are automatically captured!
109
111
 
110
112
  <img width="660" height="440" alt="725_1x_shots_so" src="https://github.com/user-attachments/assets/8c2a9254-fc17-4469-b160-c7614e889d6c" />
111
113
 
112
-
114
+ ### Visit site: https://getlogmint.com
113
115
  #### Contact us: support@getlogmint.com
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) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logmint/sdk",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "LogMint SDK for sending audit logs, metrics, application logs",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",