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

react-amplitude-hooks

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-amplitude-hooks - npm Package Compare versions

Comparing version 0.10.1 to 0.10.3

6

dist/components/Amplitude.js

@@ -74,3 +74,7 @@ "use strict";

}
return (React.createElement(AmplitudeProvider_1.AmplitudeContext.Provider, { value: { eventProperties: __assign(__assign({}, eventProperties), (props.eventProperties || {})), amplitudeInstance: amplitudeInstance } }, typeof props.children === "function" ? props.children({ logEvent: logEvent, instrument: instrument }) : props.children || null));
var value = React.useMemo(function () { return ({
eventProperties: __assign(__assign({}, eventProperties), (props.eventProperties || {})),
amplitudeInstance: amplitudeInstance,
}); }, [props.eventProperties, amplitudeInstance]);
return (React.createElement(AmplitudeProvider_1.AmplitudeContext.Provider, { value: value }, typeof props.children === "function" ? props.children({ logEvent: logEvent, instrument: instrument }) : props.children || null));
}

@@ -77,0 +81,0 @@ exports.Amplitude = Amplitude;

2

package.json

@@ -54,3 +54,3 @@ {

"types": "dist/index.d.ts",
"version": "0.10.1"
"version": "0.10.3"
}
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