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

@amplitude/analytics-core

Package Overview
Dependencies
Maintainers
20
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplitude/analytics-core - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

2

lib/cjs/config.d.ts

@@ -7,2 +7,3 @@ import { Event, Config as IConfig, Logger as ILogger, LogLevel, Storage, Transport, Plan, IngestionMetadata, ServerZone, Options } from '@amplitude/analytics-types';

flushIntervalMillis: number;
instanceName: string;
logLevel: LogLevel;

@@ -20,2 +21,3 @@ loggerProvider: Logger;

flushQueueSize: number;
instanceName?: string;
loggerProvider: ILogger;

@@ -22,0 +24,0 @@ logLevel: LogLevel;

@@ -10,2 +10,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

flushIntervalMillis: 10000,
instanceName: '$default_instance',
logLevel: analytics_types_1.LogLevel.Warn,

@@ -28,2 +29,3 @@ loggerProvider: new logger_1.Logger(),

this.flushQueueSize = options.flushQueueSize || defaultConfig.flushQueueSize;
this.instanceName = options.instanceName || defaultConfig.instanceName;
this.loggerProvider = options.loggerProvider || defaultConfig.loggerProvider;

@@ -30,0 +32,0 @@ this.logLevel = (_b = options.logLevel) !== null && _b !== void 0 ? _b : defaultConfig.logLevel;

@@ -7,2 +7,3 @@ import { Event, Config as IConfig, Logger as ILogger, LogLevel, Storage, Transport, Plan, IngestionMetadata, ServerZone, Options } from '@amplitude/analytics-types';

flushIntervalMillis: number;
instanceName: string;
logLevel: LogLevel;

@@ -20,2 +21,3 @@ loggerProvider: Logger;

flushQueueSize: number;
instanceName?: string;
loggerProvider: ILogger;

@@ -22,0 +24,0 @@ logLevel: LogLevel;

@@ -8,2 +8,3 @@ import { LogLevel, ServerZone, } from '@amplitude/analytics-types';

flushIntervalMillis: 10000,
instanceName: '$default_instance',
logLevel: LogLevel.Warn,

@@ -25,2 +26,3 @@ loggerProvider: new Logger(),

this.flushQueueSize = options.flushQueueSize || defaultConfig.flushQueueSize;
this.instanceName = options.instanceName || defaultConfig.instanceName;
this.loggerProvider = options.loggerProvider || defaultConfig.loggerProvider;

@@ -27,0 +29,0 @@ this.logLevel = (_b = options.logLevel) !== null && _b !== void 0 ? _b : defaultConfig.logLevel;

6

package.json
{
"name": "@amplitude/analytics-core",
"version": "1.1.2",
"version": "1.2.0",
"description": "",

@@ -38,3 +38,3 @@ "author": "Amplitude Inc",

"dependencies": {
"@amplitude/analytics-types": "^1.2.1",
"@amplitude/analytics-types": "^1.3.0",
"tslib": "^2.4.1"

@@ -45,3 +45,3 @@ },

],
"gitHead": "301ba1e94d67ead341bea225189d7794acdd6922"
"gitHead": "01c20d61e8c51b59dc7fdf83d4abd57391aecf71"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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