New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

posthog-node

Package Overview
Dependencies
Maintainers
6
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthog-node - npm Package Compare versions

Comparing version 2.0.0-alpha2 to 2.0.0-alpha3

12

lib/index.cjs.js

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

var version = "2.0.0-alpha2";
var version = "2.0.0-alpha3";

@@ -172,3 +172,3 @@ var PostHogPersistedProperty;

case 0:
_a = props.retryCount, retryCount = _a === void 0 ? 3 : _a, _b = props.retryDelay, retryDelay = _b === void 0 ? 1000 : _b, _c = props.retryCheck, retryCheck = _c === void 0 ? function () { return true; } : _c;
_a = props.retryCount, retryCount = _a === void 0 ? 3 : _a, _b = props.retryDelay, retryDelay = _b === void 0 ? 5000 : _b, _c = props.retryCheck, retryCheck = _c === void 0 ? function () { return true; } : _c;
lastError = null;

@@ -1203,2 +1203,10 @@ i = 0;

PostHogGlobal.prototype.enable = function () {
return this._sharedClient.optIn();
};
PostHogGlobal.prototype.disable = function () {
return this._sharedClient.optOut();
};
PostHogGlobal.prototype.capture = function (_a) {

@@ -1205,0 +1213,0 @@ var distinctId = _a.distinctId,

@@ -104,2 +104,4 @@ declare type PosthogCoreOptions = {

private reInit;
enable(): void;
disable(): void;
capture({ distinctId, event, properties, groups }: EventMessageV1): void;

@@ -106,0 +108,0 @@ identify({ distinctId, properties }: IdentifyMessageV1): void;

@@ -134,3 +134,3 @@ import undici from 'undici';

var version = "2.0.0-alpha2";
var version = "2.0.0-alpha3";

@@ -164,3 +164,3 @@ var PostHogPersistedProperty;

case 0:
_a = props.retryCount, retryCount = _a === void 0 ? 3 : _a, _b = props.retryDelay, retryDelay = _b === void 0 ? 1000 : _b, _c = props.retryCheck, retryCheck = _c === void 0 ? function () { return true; } : _c;
_a = props.retryCount, retryCount = _a === void 0 ? 3 : _a, _b = props.retryDelay, retryDelay = _b === void 0 ? 5000 : _b, _c = props.retryCheck, retryCheck = _c === void 0 ? function () { return true; } : _c;
lastError = null;

@@ -1195,2 +1195,10 @@ i = 0;

PostHogGlobal.prototype.enable = function () {
return this._sharedClient.optIn();
};
PostHogGlobal.prototype.disable = function () {
return this._sharedClient.optOut();
};
PostHogGlobal.prototype.capture = function (_a) {

@@ -1197,0 +1205,0 @@ var distinctId = _a.distinctId,

@@ -8,2 +8,4 @@ import { PosthogCoreOptions } from '../../posthog-core/src';

private reInit;
enable(): void;
disable(): void;
capture({ distinctId, event, properties, groups }: EventMessageV1): void;

@@ -10,0 +12,0 @@ identify({ distinctId, properties }: IdentifyMessageV1): void;

2

package.json
{
"name": "posthog-node",
"version": "2.0.0-alpha2",
"version": "2.0.0-alpha3",
"description": "PostHog Node.js integration",

@@ -5,0 +5,0 @@ "repository": "PostHog/posthog-node",

@@ -69,2 +69,10 @@ import { version } from '../package.json'

enable(): void {
return this._sharedClient.optIn()
}
disable(): void {
return this._sharedClient.optOut()
}
capture({ distinctId, event, properties, groups }: EventMessageV1): void {

@@ -71,0 +79,0 @@ this.reInit(distinctId)

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