Skip to content

Commit 5447f40

Browse files
committed
change naming
1 parent f4b5eb9 commit 5447f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/amplitude-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1848,7 +1848,7 @@ AmplitudeClient.prototype.__VERSION__ = function getVersion() {
18481848
* @param {string} name - Custom library name
18491849
* @param {string} version - Custom library version
18501850
*/
1851-
AmplitudeClient.prototype.setVersion = function setVersion(name, version) {
1851+
AmplitudeClient.prototype.setLibrary = function setLibrary(name, version) {
18521852
return (this.options.library = { name, version });
18531853
};
18541854

0 commit comments

Comments
 (0)