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

posthog-js

Package Overview
Dependencies
Maintainers
1
Versions
662
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.4.0 to 1.4.1

9

CHANGELOG.md

@@ -0,4 +1,9 @@

## 1.4.1 - 2020-08-10
- Remove unused parameter for `.reloadFeatureFlags()`
## 1.4.0 - 2020-08-10
- Add option `.reloadFeatureFlags()`. Pass it a callback to get the flags array upon reload. (See [#71](https://github.com/PostHog/posthog-js/pull/71))
- Add config option `sanitize_properties` that accepts a function which sanitizes your params (See [#75](https://github.com/PostHog/posthog-js/issues/75))
- Have `.onFeatureFlags(callback)` register multiple callbacks, which get called when feature flags are loaded or updated
- Update feature flags when `identify` is called.
- Add option `.reloadFeatureFlags()`. Call it to trigger a reload of feature flags. (See [#71](https://github.com/PostHog/posthog-js/pull/71))
- Add config option `sanitize_properties` that accepts a function which sanitizes parameters of events (See [#75](https://github.com/PostHog/posthog-js/issues/75))

@@ -5,0 +10,0 @@ ## 1.3.8 - 2020-08-07

@@ -685,3 +685,3 @@ // Type definitions for exported methods

static reloadFeatureFlags(callback: (flags: string[]) => any): void
static reloadFeatureFlags(): void

@@ -688,0 +688,0 @@ /*

{
"name": "posthog-js",
"version": "1.4.0",
"version": "1.4.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

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