Skip to content

Commit a9c19de

Browse files
committed
feat: update typescript index.d.ts typings
1 parent 1907680 commit a9c19de

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

index.d.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ declare module 'react-native-adjust' {
104104
public setLinkMeEnabled(linkMeEnabled: boolean): void
105105
public setFinalAndroidAttributionEnabled(finalAndroidAttributionEnabled: boolean): void
106106
public setAttConsentWaitingInterval(attConsentWaitingInterval: number): void
107+
public setReadDeviceInfoOnceEnabled(readDeviceInfoOnceEnabled: boolean): void
108+
public setFbAppId(fbAppId: string): void
107109

108110
public setAttributionCallbackListener(
109111
callback: (attribution: AdjustAttribution) => void
@@ -149,9 +151,18 @@ declare module 'react-native-adjust' {
149151
static UrlStrategyChina: UrlStrategy
150152
static UrlStrategyIndia: UrlStrategy
151153
static UrlStrategyCn: UrlStrategy
154+
static UrlStrategyCnOnly: UrlStrategy
152155
static DataResidencyEU: UrlStrategy
153156
static DataResidencyTR: UrlStrategy
154157
static DataResidencyUS: UrlStrategy
158+
static AdRevenueSourceAppLovinMAX: string
159+
static AdRevenueSourceMopub: string
160+
static AdRevenueSourceAdmob: string
161+
static AdRevenueSourceIronSource: string
162+
static AdRevenueSourceAdmost: string
163+
static AdRevenueSourcePublisher: string
164+
static AdRevenueSourceTopOn: string
165+
static AdRevenueSourceAdx: string
155166
}
156167

157168
export class AdjustEvent {
@@ -234,6 +245,7 @@ declare module 'react-native-adjust' {
234245
gdprForgetMe: () => void
235246
disableThirdPartySharing: () => void
236247
getIdfa: (callback: (idfa: string) => void) => void
248+
getIdfv: (callback: (idfv: string) => void) => void
237249
getGoogleAdId: (callback: (adid: string) => void) => void
238250
getAdid: (callback: (adid: string) => void) => void
239251
getAttribution: (callback: (attribution: AdjustAttribution) => void) => void
@@ -252,6 +264,6 @@ declare module 'react-native-adjust' {
252264
getLastDeeplink: (callback: (lastDeeplink: string) => void) => void
253265
verifyAppStorePurchase: (purchase: AdjustAppStorePurchase, callback: (verificationInfo: AdjustPurchaseVerificationInfo) => void) => void
254266
verifyPlayStorePurchase: (purchase: AdjustPlayStorePurchase, callback: (verificationInfo: AdjustPurchaseVerificationInfo) => void) => void
255-
267+
processDeeplink: (deeplink: string, callback: (resolvedLink: string) => void) => void
256268
}
257269
}

0 commit comments

Comments
 (0)