@amplitude/types
Advanced tools
Comparing version 1.7.0 to 1.8.0
import { LogLevel } from './logger'; | ||
import { Transport } from './transport'; | ||
import { Retry } from './retry'; | ||
import { Response } from './response'; | ||
/** | ||
@@ -55,3 +56,11 @@ * Options that you can choose to configure against the client. | ||
minIdLength?: number | null; | ||
/** | ||
* Lifecycle callback that is executed after a retry attempt. Called in {@link Retry.sendEventsWithRetry} | ||
* | ||
* @param response Response from the given retry attempt | ||
* @param attemptNumber Index in retryTimeouts for how long Amplitude waited before this retry attempt. Starts at 0. | ||
* @param isLastRetry True if attemptNumber === retryTimeouts.length - 1 | ||
*/ | ||
onRetry: ((response: Response, attemptNumber: number, isLastRetry: boolean) => boolean) | null; | ||
} | ||
//# sourceMappingURL=options.d.ts.map |
import { LogLevel } from './logger'; | ||
import { Transport } from './transport'; | ||
import { Retry } from './retry'; | ||
import { Response } from './response'; | ||
/** | ||
@@ -55,3 +56,11 @@ * Options that you can choose to configure against the client. | ||
minIdLength?: number | null; | ||
/** | ||
* Lifecycle callback that is executed after a retry attempt. Called in {@link Retry.sendEventsWithRetry} | ||
* | ||
* @param response Response from the given retry attempt | ||
* @param attemptNumber Index in retryTimeouts for how long Amplitude waited before this retry attempt. Starts at 0. | ||
* @param isLastRetry True if attemptNumber === retryTimeouts.length - 1 | ||
*/ | ||
onRetry: ((response: Response, attemptNumber: number, isLastRetry: boolean) => boolean) | null; | ||
} | ||
//# sourceMappingURL=options.d.ts.map |
{ | ||
"name": "@amplitude/types", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "Types for all Amplitude JavaScript SDKs", | ||
@@ -44,3 +44,3 @@ "repository": "git://github.com/amplitude/Amplitude-Node.git", | ||
"sideEffects": false, | ||
"gitHead": "6d1eb8cdb145c1ebf185b1bb75fa95266bb3a31d" | ||
"gitHead": "a6d353de0fb262b8cd9ff4d74e46a99c3c4b1a9e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93181
958