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

posthog-js

Package Overview
Dependencies
Maintainers
3
Versions
664
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthog-js - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 1.9.1 - 2021-03-08
- Add posthog.debug() to types, remove bad docstring (#201)
- Remove a bad docstring (#201)
- Fix ".identify" docstrings (#200)
## 1.9.0 - 2021-03-03

@@ -2,0 +8,0 @@

4

dist/module.d.ts

@@ -124,2 +124,3 @@ // Type definitions for exported methods

* posthog.identify('[user unique id]', { email: 'john@example.com' })
* posthog.identify('[user unique id]', {}, { referral_code: '12345' })
*

@@ -147,2 +148,3 @@ * ### Notes:

* @param {Object} [userProperties] Optional: An associative array of properties to store about the user
* @param {Object} [userPropertiesToSetOnce] Optional: An associative array of properties to store about the user. If property is previously set, this does not override that value.
*/

@@ -455,2 +457,4 @@ static identify(

static toString(): string
static debug(): void
}

@@ -457,0 +461,0 @@

2

package.json
{
"name": "posthog-js",
"version": "1.9.0",
"version": "1.9.1",
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.",

@@ -5,0 +5,0 @@ "repository": "https://github.com/PostHog/posthog-js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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