@amplitude/analytics-core
Advanced tools
Comparing version 0.7.0 to 0.8.0
import { CoreClient, Config, Event, BaseEvent, EventOptions, Identify, Plugin, Revenue } from '@amplitude/analytics-types'; | ||
import { Timeline } from './timeline'; | ||
export declare class AmplitudeCore<T extends Config> implements CoreClient<T> { | ||
initializing: boolean; | ||
name: string; | ||
@@ -5,0 +6,0 @@ config: T; |
@@ -11,2 +11,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
if (name === void 0) { name = '$default'; } | ||
this.initializing = false; | ||
this.q = []; | ||
@@ -13,0 +14,0 @@ this.logEvent = this.track.bind(this); |
@@ -1,3 +0,4 @@ | ||
import { AmplitudeReturn } from '@amplitude/analytics-types'; | ||
export declare const returnWrapper: <T extends (...args: any) => any>(fn: T) => (...args: Parameters<T>) => AmplitudeReturn<ReturnType<T>>; | ||
export declare const returnWrapper: <T extends (...args: any) => any>(fn: T) => (...args: Parameters<T>) => { | ||
promise: ReturnType<T>; | ||
}; | ||
//# sourceMappingURL=return-wrapper.d.ts.map |
import { CoreClient, Config, Event, BaseEvent, EventOptions, Identify, Plugin, Revenue } from '@amplitude/analytics-types'; | ||
import { Timeline } from './timeline'; | ||
export declare class AmplitudeCore<T extends Config> implements CoreClient<T> { | ||
initializing: boolean; | ||
name: string; | ||
@@ -5,0 +6,0 @@ config: T; |
@@ -9,2 +9,3 @@ import { __awaiter, __generator, __values } from "tslib"; | ||
if (name === void 0) { name = '$default'; } | ||
this.initializing = false; | ||
this.q = []; | ||
@@ -11,0 +12,0 @@ this.logEvent = this.track.bind(this); |
@@ -1,3 +0,4 @@ | ||
import { AmplitudeReturn } from '@amplitude/analytics-types'; | ||
export declare const returnWrapper: <T extends (...args: any) => any>(fn: T) => (...args: Parameters<T>) => AmplitudeReturn<ReturnType<T>>; | ||
export declare const returnWrapper: <T extends (...args: any) => any>(fn: T) => (...args: Parameters<T>) => { | ||
promise: ReturnType<T>; | ||
}; | ||
//# sourceMappingURL=return-wrapper.d.ts.map |
{ | ||
"name": "@amplitude/analytics-core", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "", | ||
@@ -36,3 +36,3 @@ "author": "Amplitude Inc", | ||
"dependencies": { | ||
"@amplitude/analytics-types": "^0.7.0", | ||
"@amplitude/analytics-types": "^0.8.0", | ||
"tslib": "^2.3.1" | ||
@@ -43,3 +43,3 @@ }, | ||
], | ||
"gitHead": "d71a39cd63930ee604f0df293767692c09ab54f5" | ||
"gitHead": "c701a2b7ada6c8817bf28894f4d68cfa5dd0c403" | ||
} |
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3118
319807
+ Added@amplitude/analytics-types@0.8.1(transitive)
- Removed@amplitude/analytics-types@0.7.0(transitive)