@exodus/analytics
Advanced tools
Comparing version 9.0.0 to 10.0.0
import analyticsApi from './api' | ||
import analyticsDefinition from './module' | ||
import analyticsTrackerDefinition from './client' | ||
import { setExperimentsPluginDefinition } from './plugins' | ||
import { setExperimentsPluginDefinition, analyticsLifecyclePluginDefinition } from './plugins' | ||
import { analyticsUserIdAtomDefinition, shareActivityAtomDefinition } from './atoms' | ||
@@ -18,2 +18,3 @@ | ||
{ definition: analyticsTrackerDefinition }, | ||
{ definition: analyticsLifecyclePluginDefinition }, | ||
{ definition: setExperimentsPluginDefinition }, | ||
@@ -20,0 +21,0 @@ { |
{ | ||
"name": "@exodus/analytics", | ||
"version": "9.0.0", | ||
"version": "10.0.0", | ||
"description": "Analytics-provider agnostic analytics reporter", | ||
@@ -13,2 +13,3 @@ "author": "Exodus Movement Inc.", | ||
"plugins", | ||
"redux", | ||
"schemasafe.config.js", | ||
@@ -41,6 +42,8 @@ "!**/__tests__/**" | ||
"devDependencies": { | ||
"@exodus/redux-dependency-injection": "^3.0.0", | ||
"@exodus/storage-memory": "^2.1.1", | ||
"delay": "^6.0.0", | ||
"eslint": "^8.44.0", | ||
"jest": "^29.1.2" | ||
"jest": "^29.1.2", | ||
"redux": "^4.2.1" | ||
}, | ||
@@ -50,3 +53,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "8ca961ba2693a61f0320411645214c0b634c5ffa" | ||
"gitHead": "7bff540bbd014091f60974bc944484e0ea0b1b93" | ||
} |
@@ -0,1 +1,2 @@ | ||
import createAnalyticsLifecyclePlugin from './lifecycle' | ||
import createSetExperimentsPlugin from './set-experiments' | ||
@@ -9,1 +10,8 @@ | ||
} | ||
export const analyticsLifecyclePluginDefinition = { | ||
id: 'analyticsLifecyclePlugin', | ||
type: 'plugin', | ||
factory: createAnalyticsLifecyclePlugin, | ||
dependencies: ['shareActivityAtom', 'port'], | ||
} |
17123
14
299
6