@amplitude/analytics-node
Advanced tools
Comparing version 0.5.8 to 0.6.0
@@ -49,13 +49,13 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
return { | ||
init: (0, analytics_core_1.returnWrapper)(client.init.bind(client)), | ||
add: (0, analytics_core_1.returnWrapper)(client.add.bind(client)), | ||
remove: (0, analytics_core_1.returnWrapper)(client.remove.bind(client)), | ||
track: (0, analytics_core_1.returnWrapper)(client.track.bind(client)), | ||
logEvent: (0, analytics_core_1.returnWrapper)(client.logEvent.bind(client)), | ||
identify: (0, analytics_core_1.returnWrapper)(client.identify.bind(client)), | ||
groupIdentify: (0, analytics_core_1.returnWrapper)(client.groupIdentify.bind(client)), | ||
setGroup: (0, analytics_core_1.returnWrapper)(client.setGroup.bind(client)), | ||
revenue: (0, analytics_core_1.returnWrapper)(client.revenue.bind(client)), | ||
flush: (0, analytics_core_1.returnWrapper)(client.flush.bind(client)), | ||
setOptOut: client.setOptOut.bind(client), | ||
init: (0, analytics_core_1.debugWrapper)((0, analytics_core_1.returnWrapper)(client.init.bind(client)), 'init', (0, analytics_core_1.getClientLogConfig)(client), (0, analytics_core_1.getClientStates)(client, ['config'])), | ||
add: (0, analytics_core_1.debugWrapper)((0, analytics_core_1.returnWrapper)(client.add.bind(client)), 'add', (0, analytics_core_1.getClientLogConfig)(client), (0, analytics_core_1.getClientStates)(client, ['config.apiKey', 'timeline.plugins'])), | ||
remove: (0, analytics_core_1.debugWrapper)((0, analytics_core_1.returnWrapper)(client.remove.bind(client)), 'remove', (0, analytics_core_1.getClientLogConfig)(client), (0, analytics_core_1.getClientStates)(client, ['config.apiKey', 'timeline.plugins'])), | ||
track: (0, analytics_core_1.debugWrapper)((0, analytics_core_1.returnWrapper)(client.track.bind(client)), 'track', (0, analytics_core_1.getClientLogConfig)(client), (0, analytics_core_1.getClientStates)(client, ['config.apiKey', 'timeline.queue.length'])), | ||
logEvent: (0, analytics_core_1.debugWrapper)((0, analytics_core_1.returnWrapper)(client.logEvent.bind(client)), 'logEvent', (0, analytics_core_1.getClientLogConfig)(client), (0, analytics_core_1.getClientStates)(client, ['config.apiKey', 'timeline.queue.length'])), | ||
identify: (0, analytics_core_1.debugWrapper)((0, analytics_core_1.returnWrapper)(client.identify.bind(client)), 'identify', (0, analytics_core_1.getClientLogConfig)(client), (0, analytics_core_1.getClientStates)(client, ['config.apiKey', 'timeline.queue.length'])), | ||
groupIdentify: (0, analytics_core_1.debugWrapper)((0, analytics_core_1.returnWrapper)(client.groupIdentify.bind(client)), 'groupIdentify', (0, analytics_core_1.getClientLogConfig)(client), (0, analytics_core_1.getClientStates)(client, ['config.apiKey', 'timeline.queue.length'])), | ||
setGroup: (0, analytics_core_1.debugWrapper)((0, analytics_core_1.returnWrapper)(client.setGroup.bind(client)), 'setGroup', (0, analytics_core_1.getClientLogConfig)(client), (0, analytics_core_1.getClientStates)(client, ['config.apiKey', 'timeline.queue.length'])), | ||
revenue: (0, analytics_core_1.debugWrapper)((0, analytics_core_1.returnWrapper)(client.revenue.bind(client)), 'revenue', (0, analytics_core_1.getClientLogConfig)(client), (0, analytics_core_1.getClientStates)(client, ['config.apiKey', 'timeline.queue.length'])), | ||
flush: (0, analytics_core_1.debugWrapper)((0, analytics_core_1.returnWrapper)(client.flush.bind(client)), 'flush', (0, analytics_core_1.getClientLogConfig)(client), (0, analytics_core_1.getClientStates)(client, ['config.apiKey', 'timeline.queue.length'])), | ||
setOptOut: (0, analytics_core_1.debugWrapper)(client.setOptOut.bind(client), 'setOptOut', (0, analytics_core_1.getClientLogConfig)(client), (0, analytics_core_1.getClientStates)(client, ['config'])), | ||
}; | ||
@@ -62,0 +62,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.5.8"; | ||
export declare const VERSION = "0.6.0"; | ||
//# sourceMappingURL=version.d.ts.map |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '0.5.8'; | ||
exports.VERSION = '0.6.0'; | ||
//# sourceMappingURL=version.js.map |
import { __assign, __awaiter, __extends, __generator } from "tslib"; | ||
import { AmplitudeCore, Destination, returnWrapper } from '@amplitude/analytics-core'; | ||
import { AmplitudeCore, Destination, returnWrapper, debugWrapper, getClientLogConfig, getClientStates, } from '@amplitude/analytics-core'; | ||
import { Context } from './plugins/context'; | ||
@@ -47,13 +47,13 @@ import { useNodeConfig } from './config'; | ||
return { | ||
init: returnWrapper(client.init.bind(client)), | ||
add: returnWrapper(client.add.bind(client)), | ||
remove: returnWrapper(client.remove.bind(client)), | ||
track: returnWrapper(client.track.bind(client)), | ||
logEvent: returnWrapper(client.logEvent.bind(client)), | ||
identify: returnWrapper(client.identify.bind(client)), | ||
groupIdentify: returnWrapper(client.groupIdentify.bind(client)), | ||
setGroup: returnWrapper(client.setGroup.bind(client)), | ||
revenue: returnWrapper(client.revenue.bind(client)), | ||
flush: returnWrapper(client.flush.bind(client)), | ||
setOptOut: client.setOptOut.bind(client), | ||
init: debugWrapper(returnWrapper(client.init.bind(client)), 'init', getClientLogConfig(client), getClientStates(client, ['config'])), | ||
add: debugWrapper(returnWrapper(client.add.bind(client)), 'add', getClientLogConfig(client), getClientStates(client, ['config.apiKey', 'timeline.plugins'])), | ||
remove: debugWrapper(returnWrapper(client.remove.bind(client)), 'remove', getClientLogConfig(client), getClientStates(client, ['config.apiKey', 'timeline.plugins'])), | ||
track: debugWrapper(returnWrapper(client.track.bind(client)), 'track', getClientLogConfig(client), getClientStates(client, ['config.apiKey', 'timeline.queue.length'])), | ||
logEvent: debugWrapper(returnWrapper(client.logEvent.bind(client)), 'logEvent', getClientLogConfig(client), getClientStates(client, ['config.apiKey', 'timeline.queue.length'])), | ||
identify: debugWrapper(returnWrapper(client.identify.bind(client)), 'identify', getClientLogConfig(client), getClientStates(client, ['config.apiKey', 'timeline.queue.length'])), | ||
groupIdentify: debugWrapper(returnWrapper(client.groupIdentify.bind(client)), 'groupIdentify', getClientLogConfig(client), getClientStates(client, ['config.apiKey', 'timeline.queue.length'])), | ||
setGroup: debugWrapper(returnWrapper(client.setGroup.bind(client)), 'setGroup', getClientLogConfig(client), getClientStates(client, ['config.apiKey', 'timeline.queue.length'])), | ||
revenue: debugWrapper(returnWrapper(client.revenue.bind(client)), 'revenue', getClientLogConfig(client), getClientStates(client, ['config.apiKey', 'timeline.queue.length'])), | ||
flush: debugWrapper(returnWrapper(client.flush.bind(client)), 'flush', getClientLogConfig(client), getClientStates(client, ['config.apiKey', 'timeline.queue.length'])), | ||
setOptOut: debugWrapper(client.setOptOut.bind(client), 'setOptOut', getClientLogConfig(client), getClientStates(client, ['config'])), | ||
}; | ||
@@ -60,0 +60,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.5.8"; | ||
export declare const VERSION = "0.6.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export var VERSION = '0.5.8'; | ||
export var VERSION = '0.6.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@amplitude/analytics-node", | ||
"version": "0.5.8", | ||
"version": "0.6.0", | ||
"description": "Official Amplitude SDK for NodeJS", | ||
@@ -39,4 +39,4 @@ "author": "Amplitude Inc", | ||
"dependencies": { | ||
"@amplitude/analytics-core": "^0.9.7", | ||
"@amplitude/analytics-types": "^0.11.0", | ||
"@amplitude/analytics-core": "^0.10.0", | ||
"@amplitude/analytics-types": "^0.12.0", | ||
"tslib": "^2.3.1" | ||
@@ -47,3 +47,3 @@ }, | ||
], | ||
"gitHead": "7e75f22a1d9a972f627d18ae2e09add8dac2c63f" | ||
"gitHead": "f5f195e30233dbd1a4c60f55d04c7d36b888080e" | ||
} |
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
70623
465
+ Added@amplitude/analytics-core@0.10.1(transitive)
+ Added@amplitude/analytics-types@0.12.00.13.0(transitive)
- Removed@amplitude/analytics-core@0.9.7(transitive)
- Removed@amplitude/analytics-types@0.11.0(transitive)