@amplitude/analytics-node
Advanced tools
Comparing version 0.5.4 to 0.5.5
import { AmplitudeCore } from '@amplitude/analytics-core'; | ||
import { NodeClient, NodeConfig, NodeOptions } from '@amplitude/analytics-types'; | ||
export declare class AmplitudeNode extends AmplitudeCore<NodeConfig> { | ||
init(apiKey: string, options?: NodeOptions): Promise<void>; | ||
init(apiKey?: string, options?: NodeOptions): Promise<void>; | ||
} | ||
@@ -6,0 +6,0 @@ export declare const createInstance: () => NodeClient; |
@@ -13,2 +13,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
AmplitudeNode.prototype.init = function (apiKey, options) { | ||
if (apiKey === void 0) { apiKey = ''; } | ||
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () { | ||
@@ -15,0 +16,0 @@ var nodeOptions; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.5.4"; | ||
export declare const VERSION = "0.5.5"; | ||
//# sourceMappingURL=version.d.ts.map |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '0.5.4'; | ||
exports.VERSION = '0.5.5'; | ||
//# sourceMappingURL=version.js.map |
import { AmplitudeCore } from '@amplitude/analytics-core'; | ||
import { NodeClient, NodeConfig, NodeOptions } from '@amplitude/analytics-types'; | ||
export declare class AmplitudeNode extends AmplitudeCore<NodeConfig> { | ||
init(apiKey: string, options?: NodeOptions): Promise<void>; | ||
init(apiKey?: string, options?: NodeOptions): Promise<void>; | ||
} | ||
@@ -6,0 +6,0 @@ export declare const createInstance: () => NodeClient; |
@@ -11,2 +11,3 @@ import { __assign, __awaiter, __extends, __generator } from "tslib"; | ||
AmplitudeNode.prototype.init = function (apiKey, options) { | ||
if (apiKey === void 0) { apiKey = ''; } | ||
return __awaiter(this, void 0, void 0, function () { | ||
@@ -13,0 +14,0 @@ var nodeOptions; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.5.4"; | ||
export declare const VERSION = "0.5.5"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export var VERSION = '0.5.4'; | ||
export var VERSION = '0.5.5'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@amplitude/analytics-node", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "Official Amplitude SDK for NodeJS", | ||
@@ -46,3 +46,3 @@ "author": "Amplitude Inc", | ||
], | ||
"gitHead": "66ea9159b61cc2f234b2978116025e5b55af21d2" | ||
"gitHead": "29ab81e0ee1d42c4e5729f920683b47289f4b5fb" | ||
} |
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
62219
470