We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa0c44f commit 3c3d950Copy full SHA for 3c3d950
src/amplitude-client.js
@@ -1849,7 +1849,7 @@ AmplitudeClient.prototype.__VERSION__ = function getVersion() {
1849
* @param {string} version - Custom library version
1850
*/
1851
AmplitudeClient.prototype.setLibrary = function setLibrary(name, version) {
1852
- return (this.options.library = { name, version });
+ this.options.library = { name: name, version: version };
1853
};
1854
1855
/**
0 commit comments