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

libhoney

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libhoney - npm Package Compare versions

Comparing version 1.0.0-beta.5 to 1.0.0-beta.6

2

docs/package.json
{
"name": "libhoney",
"version": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"description": "Javascript library for sending data to Honeycomb",

@@ -5,0 +5,0 @@ "bugs": "https://github.com/honeycombio/libhoney-js/issues",

@@ -29,3 +29,3 @@ 'use strict';

var userAgent = "libhoney-js/1.0.0-beta.5";
var userAgent = "libhoney-js/1.0.0-beta.6";

@@ -79,3 +79,3 @@ var _global = typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : undefined;

if (typeof options.batchSizeTrigger == "number") {
this._batchSizeTrigger = options.batchSizeTrigger;
this._batchSizeTrigger = Math.max(options.batchSizeTrigger, 1);
}

@@ -103,3 +103,3 @@ if (typeof options.batchTimeTrigger == "number") {

this._eventQueue.push(ev);
if (this._eventQueue.length > this._batchSizeTrigger) {
if (this._eventQueue.length >= this._batchSizeTrigger) {
this._sendBatch();

@@ -132,3 +132,3 @@ } else {

if (queueLength > 0) {
if (queueLength > _this._batchSizeTrigger) {
if (queueLength >= _this._batchSizeTrigger) {
_this._sendBatch();

@@ -135,0 +135,0 @@ } else {

{
"name": "libhoney",
"version": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"description": "Javascript library for sending data to Honeycomb",

@@ -5,0 +5,0 @@ "bugs": "https://github.com/honeycombio/libhoney-js/issues",

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