-
Notifications
You must be signed in to change notification settings - Fork 39
[MOB-12231] refactor-classes-to-reduce-circular-dependencies #731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: jwt/MOB-11032-task-4-ios-bridge-retrypolicy-and-authfailure
Are you sure you want to change the base?
Conversation
…SDK initialization and logging
…ions and usage examples
4 new issues
This is from Qlty Cloud, the successor to Code Climate Quality. Learn more. |
…lure' into MOB-12231-refactor-classes-to-reduce-circular-dependencies
…lure' into MOB-12231-refactor-classes-to-reduce-circular-dependencies
…rectly in relevant classes
Diff Coverage: The code coverage on the diff in this pull request is 83.1%. Total Coverage: This PR will increase coverage by 4.07%. File Coverage Changes
🛟 Help
This is from Qlty Cloud, the successor to Code Climate Quality. Learn more. |
static initialize2WithApiKey( | ||
apiKey: string, | ||
config: IterableConfig = new IterableConfig(), | ||
version: string, | ||
apiEndPoint: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static trackPushOpenWithCampaignId( | ||
campaignId: number, | ||
templateId: number, | ||
messageId: string | null | undefined, | ||
appAlreadyRunning: boolean, | ||
dataFields?: unknown |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static trackInAppClose( | ||
message: IterableInAppMessage, | ||
location: IterableInAppLocation, | ||
source: IterableInAppCloseSource, | ||
clickedUrl?: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static updateSubscriptions( | ||
emailListIds: number[] | null, | ||
unsubscribedChannelIds: number[] | null, | ||
unsubscribedMessageTypeIds: number[] | null, | ||
subscribedMessageTypeIds: number[] | null, | ||
campaignId: number, | ||
templateId: number |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partially reviewed
"prepare": "yarn build", | ||
"release": "release-it" | ||
"release": "release-it", | ||
"circ": "npx madge --circular --extensions ts ./" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a dedicated package to results circular dependency?
import type { IterableCommerceItem } from './IterableCommerceItem'; | ||
import { IterableConfig } from './IterableConfig'; | ||
import { IterableLogger } from './IterableLogger'; | ||
import type { IterableAuthFailure } from '../types/IterableAuthFailure'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Import 'type' is removed above. Is this one ok?
|
||
const RNEventEmitter = new NativeEventEmitter(RNIterableAPI); | ||
|
||
const defaultConfig = new IterableConfig(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how default implementation comes into play. Any possibility of regression?
🔹 JIRA Ticket(s) if any
✏️ Description