Closed juxton closed 6 years ago
I've noticed that supplying a callback to the init() method never fires. Diggin in further, I see src/index.js init calls:
amplitude.getInstance().init(apiKey, userId, config, cb);
However, looking at dist/index.js init call shows:
amplitude.getInstance().init(apiKey);
Is dist/index.js building correctly? Is it up to date?
Hi @juxton, sorry for taking so long to respond. I'm seeing the same thing locally with the build I sent to npm.
Thanks for reporting this, I'm not sure why it wasn't built properly.
Should be fixed in 0.1.6
I've noticed that supplying a callback to the init() method never fires. Diggin in further, I see src/index.js init calls:
amplitude.getInstance().init(apiKey, userId, config, cb);
However, looking at dist/index.js init call shows:
amplitude.getInstance().init(apiKey);
Is dist/index.js building correctly? Is it up to date?