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

analytics-client

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analytics-client - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2-build-klutchell-patch-1-e125e54e758b1778190ca6b832acb41a33e6b42e-1

6

dist/package.json
{
"name": "analytics-client",
"version": "2.0.1",
"version": "2.0.2",
"description": "Convenient builders to compose analytics tools",

@@ -43,3 +43,3 @@ "repository": {

"ts-loader": "^9.3.0",
"typescript": "^4.7.2",
"typescript": "^4.9.5",
"webpack": "^5.72.1",

@@ -63,4 +63,4 @@ "webpack-cli": "^4.9.2"

"versionist": {
"publishedAt": "2022-11-10T18:00:30.022Z"
"publishedAt": "2023-07-14T07:11:46.631Z"
}
}
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -16,3 +27,3 @@ exports.createMarketingClient = void 0;

this.amplitudeInstance = (0, marketing_analytics_browser_1.createInstance)();
var amplConfig = Object.assign({}, config.amplitude);
var amplConfig = __assign({}, config.amplitude);
if (config.endpoint) {

@@ -19,0 +30,0 @@ amplConfig.serverUrl = (0, common_1.getAmplitudeEndpoint)(config.endpoint);

{
"name": "analytics-client",
"version": "2.0.1",
"version": "2.0.2-build-klutchell-patch-1-e125e54e758b1778190ca6b832acb41a33e6b42e-1",
"description": "Convenient builders to compose analytics tools",

@@ -43,3 +43,3 @@ "repository": {

"ts-loader": "^9.3.0",
"typescript": "^4.7.2",
"typescript": "^4.9.5",
"webpack": "^5.72.1",

@@ -63,4 +63,4 @@ "webpack-cli": "^4.9.2"

"versionist": {
"publishedAt": "2022-11-10T18:00:30.022Z"
"publishedAt": "2023-07-14T07:11:46.631Z"
}
}

@@ -6,2 +6,3 @@ import {

} from '@amplitude/marketing-analytics-browser';
import type * as analyticsBrowser from '@amplitude/analytics-browser';

@@ -29,6 +30,5 @@ import { version } from '../package.json';

const amplConfig: Types.BrowserOptions = Object.assign(
{},
config.amplitude,
);
const amplConfig = {
...config.amplitude,
} as Types.BrowserOptions;

@@ -107,3 +107,3 @@ if (config.endpoint) {

identify(identify: Identify): void {
identify(identify: analyticsBrowser.Identify): void {
this.amplitudeInstance.identify(identify);

@@ -110,0 +110,0 @@ }

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

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