File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,7 @@ import { IterableAuthResponse } from './IterableAuthResponse';
66 *
77 * @example
88 * ```typescript
9- * const config = new IterableConfig();
10- * const logger = new IterableLogger(config);
11- * const authManager = new IterableAuthManager(logger);
9+ * const authManager = new IterableAuthManager();
1210 * ```
1311 */
1412export class IterableAuthManager {
@@ -31,6 +29,12 @@ export class IterableAuthManager {
3129 * Pass along an auth token to the SDK.
3230 *
3331 * @param authToken - The auth token to pass along
32+ *
33+ * @example
34+ * ```typescript
35+ * const authManager = new IterableAuthManager();
36+ * authManager.passAlongAuthToken(MY_AUTH_TOKEN);
37+ * ```
3438 */
3539 passAlongAuthToken (
3640 authToken : string | null | undefined
Original file line number Diff line number Diff line change @@ -133,7 +133,6 @@ export class IterableInAppMessage {
133133 *
134134 * @param viewToken - The `ViewToken` containing the in-app message data.
135135 * @returns A new instance of `IterableInAppMessage` populated with data from the `viewToken`.
136- * @throws Error if the viewToken or its item or inAppMessage is null/undefined.
137136 */
138137 static fromViewToken ( viewToken : ViewToken ) {
139138 const inAppMessage = viewToken ?. item ?. inAppMessage as IterableInAppMessage ;
You can’t perform that action at this time.
0 commit comments