Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@logtail/types

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logtail/types - npm Package Compare versions

Comparing version 0.4.14 to 0.4.19

8

dist/cjs/types.d.ts

@@ -14,2 +14,6 @@ /**

/**
* Size of logs (in KiB) to trigger sync to Better Stack (0 to disable)
*/
batchSizeKiB: number;
/**
* Max interval (in milliseconds) before a batch of logs proceeds to syncing

@@ -68,2 +72,6 @@ */

sendLogsToBetterStack: boolean;
/**
* Function to be used to calculate size of logs in bytes (to evaluate batchSizeKiB). JSON length by default.
**/
calculateLogSizeBytes: (logs: ILogtailLog) => number;
}

@@ -70,0 +78,0 @@ export interface ILogtailEdgeOptions extends ILogtailOptions {

@@ -14,2 +14,6 @@ /**

/**
* Size of logs (in KiB) to trigger sync to Better Stack (0 to disable)
*/
batchSizeKiB: number;
/**
* Max interval (in milliseconds) before a batch of logs proceeds to syncing

@@ -68,2 +72,6 @@ */

sendLogsToBetterStack: boolean;
/**
* Function to be used to calculate size of logs in bytes (to evaluate batchSizeKiB). JSON length by default.
**/
calculateLogSizeBytes: (logs: ILogtailLog) => number;
}

@@ -70,0 +78,0 @@ export interface ILogtailEdgeOptions extends ILogtailOptions {

4

package.json
{
"name": "@logtail/types",
"version": "0.4.14",
"version": "0.4.19",
"description": "Better Stack Typescript types (formerly Logtail)",

@@ -47,3 +47,3 @@ "keywords": [

},
"gitHead": "0eaf456a9bf7c2b0c62f0b1dd5015d8491865fff"
"gitHead": "92195b1bac039404aaf4a8101f5084c374407003"
}

@@ -17,2 +17,7 @@ /**

/**
* Size of logs (in KiB) to trigger sync to Better Stack (0 to disable)
*/
batchSizeKiB: number;
/**
* Max interval (in milliseconds) before a batch of logs proceeds to syncing

@@ -83,2 +88,7 @@ */

sendLogsToBetterStack: boolean;
/**
* Function to be used to calculate size of logs in bytes (to evaluate batchSizeKiB). JSON length by default.
**/
calculateLogSizeBytes: (logs: ILogtailLog) => number;
}

@@ -85,0 +95,0 @@ export interface ILogtailEdgeOptions extends ILogtailOptions {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc