@ttoss/logger 0.7.0 → 0.7.2

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/dist/index.d.mts CHANGED
@@ -34,7 +34,7 @@ type CustomEndpoint = {
34
34
  /**
35
35
  * Function to format the notification message for this specific endpoint.
36
36
  * Receives the notification and project name, returns a plain object to be JSON serialized as the request body.
37
- * Must return a value of type Record<string, unknown>.
37
+ * Must return a value of type `Record<string, unknown>`.
38
38
  */
39
39
  formatBody: (params: {
40
40
  notification: NotificationMessage;
@@ -42,7 +42,7 @@ type CustomEndpoint = {
42
42
  }) => Record<string, unknown>;
43
43
  /**
44
44
  * Optional custom headers for the request.
45
- * Defaults to { 'Content-Type': 'application/json' }
45
+ * Defaults to `{ 'Content-Type': 'application/json' }`
46
46
  */
47
47
  headers?: Record<string, string>;
48
48
  /**
package/dist/index.d.ts CHANGED
@@ -34,7 +34,7 @@ type CustomEndpoint = {
34
34
  /**
35
35
  * Function to format the notification message for this specific endpoint.
36
36
  * Receives the notification and project name, returns a plain object to be JSON serialized as the request body.
37
- * Must return a value of type Record<string, unknown>.
37
+ * Must return a value of type `Record<string, unknown>`.
38
38
  */
39
39
  formatBody: (params: {
40
40
  notification: NotificationMessage;
@@ -42,7 +42,7 @@ type CustomEndpoint = {
42
42
  }) => Record<string, unknown>;
43
43
  /**
44
44
  * Optional custom headers for the request.
45
- * Defaults to { 'Content-Type': 'application/json' }
45
+ * Defaults to `{ 'Content-Type': 'application/json' }`
46
46
  */
47
47
  headers?: Record<string, string>;
48
48
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/logger",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "A simple module to configure and send notifications to services like Discord from your applications.",
5
5
  "license": "MIT",
6
6
  "contributors": [],
@@ -23,7 +23,7 @@
23
23
  "devDependencies": {
24
24
  "jest": "^30.2.0",
25
25
  "tsup": "^8.5.1",
26
- "@ttoss/test-utils": "^4.0.1",
26
+ "@ttoss/test-utils": "^4.0.3",
27
27
  "@ttoss/config": "^1.35.12"
28
28
  },
29
29
  "keywords": [],