Skip to content

Commit 0587649

Browse files
authored
Merge branch 'jwt/MOB-10947-task-3-android-retrypolicy-config-at-android-br' into jwt/MOB-11032-task-4-ios-bridge-retrypolicy-and-authfailure
2 parents d95ae90 + b31ffd7 commit 0587649

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

src/core/classes/IterableAuthManager.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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
*/
1412
export 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

src/inApp/classes/IterableInAppMessage.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)