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

@eliumhq/elium-mixpanel

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eliumhq/elium-mixpanel - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="2.4.1"></a>
## [2.4.1](https://gitlab.com/elium/product/elium-mixpanel/compare/v2.4.0...v2.4.1) (2018-11-02)
### Bug Fixes
* Don't encode /decide payload ([476e0c8](https://gitlab.com/elium/product/elium-mixpanel/commit/476e0c8))
<a name="2.4.0"></a>

@@ -7,0 +17,0 @@ # [2.4.0](https://gitlab.com/elium/product/elium-mixpanel/compare/v2.3.4...v2.4.0) (2018-11-02)

6

lib/api.js

@@ -51,7 +51,3 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread";

export function decide(token, userId) {
var event = {
$token: token,
$distinct_id: userId
};
return axios.get("".concat(DECIDE_ENDPOINT, "?data=").concat(encodeEvent(event))).then(function (response) {
return axios.get("".concat(DECIDE_ENDPOINT, "?token=").concat(token, "&distinct_id=").concat(userId)).then(function (response) {
if (response.data === 0) {

@@ -58,0 +54,0 @@ throw new Error('Error sending mixpanel event');

{
"name": "@eliumhq/elium-mixpanel",
"version": "2.4.0",
"version": "2.4.1",
"description": "Mixpanel integration for elium projects",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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