|
@@ -35,9 +35,12 @@ class Amplitude {
|
35
|
35
|
* Sets an identifier for the current user.
|
36
|
36
|
*
|
37
|
37
|
* @param {string} userId - The new user id.
|
|
38
|
+ * @param {string} opt_userId - Currently not used.
|
|
39
|
+ * @param {Object} opt_config - Currently not used.
|
|
40
|
+ * @param {Function} opt_callback - Currently not used.
|
38
|
41
|
* @returns {void}
|
39
|
42
|
*/
|
40
|
|
- setUserId(userId) {
|
|
43
|
+ setUserId(userId, opt_userId, opt_config, opt_callback) { // eslint-disable-line camelcase, no-unused-vars
|
41
|
44
|
AmplitudeNative.setUserId(this._instanceName, userId);
|
42
|
45
|
}
|
43
|
46
|
|