@@ -605,7 +605,7 @@ Amplitude.prototype._saveReferrer = function _saveReferrer(referrer) {
605605/**
606606 * Saves unsent events and identifies to localStorage. JSON stringifies event queues before saving.
607607 * Note: this is called automatically every time events are logged, unless you explicitly set option saveEvents to false.
608- * @public
608+ * @private
609609 */
610610Amplitude . prototype . saveEvents = function saveEvents ( ) {
611611 if ( ! this . _apiKeySet ( 'saveEvents()' ) ) {
@@ -746,7 +746,7 @@ Amplitude.prototype.clearUserProperties = function clearUserProperties(){
746746 * Send an identify call containing user property operations to Amplitude servers.
747747 * See [Readme]{@link https://github.com/amplitude/Amplitude-Javascript#user-properties-and-user-property-operations}
748748 * for more information on the Identify API and user property operations.
749- * @param {Identify_object } identify_obj - the Identify object containing the user property operations to send.
749+ * @param {Identify } identify_obj - the Identify object containing the user property operations to send.
750750 * @param {function } opt_callback - (optional) callback function to run when the identify event has been sent.
751751 * Note: the server response code and response body from the identify event upload are passed to the callback function.
752752 * @example
@@ -894,7 +894,7 @@ Amplitude.prototype._limitEventsQueued = function _limitEventsQueued(queue) {
894894 * @param {string } eventType - name of event
895895 * @param {object } eventProperties - (optional) an object with string keys and values for the event properties.
896896 * @param {function } opt_callback - (optional) a callback function to run after the event is logged.
897- * Note: the server response code and response body from the identify event upload are passed to the callback function.
897+ * Note: the server response code and response body from the event upload are passed to the callback function.
898898 * @example amplitude.logEvent('Clicked Homepage Button', {'finished_flow': false, 'clicks': 15});
899899 */
900900Amplitude . prototype . logEvent = function logEvent ( eventType , eventProperties , opt_callback ) {
@@ -970,7 +970,7 @@ var _removeEvents = function _removeEvents(scope, eventQueue, maxId) {
970970/**
971971 * Send unsent events. Note: this is called automatically after events are logged if option batchEvents is false.
972972 * If batchEvents is true, then events are only sent when batch criterias are met.
973- * @public
973+ * @private
974974 * @param {function } callback - (optional) callback to run after events are sent.
975975 * Note the server response code and response body are passed to the callback as input arguments.
976976 */
0 commit comments