diff --git a/CHANGELOG.md b/CHANGELOG.md index e2c9d34d..2076d2f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +### Version 5.0.1 (10th September 2024) +#### Fixed +- Added missing `AdjustDeeplink` class export to `index.d.ts` (https://github.com/adjust/react_native_sdk/pull/246). +- Renamed `AdjustDeeplink` interface to `AdjustDeferredDeeplink` to avoid naming collision with as of now the class named `AdjustDeeplink`. + +#### Native SDKs +- [iOS@v5.0.0][ios_sdk_v5.0.0] +- [Android@v5.0.0][android_sdk_v5.0.0] + +--- + ### Version 5.0.0 (6th September 2024) We're excited to release our major new SDK version (v5). Among many internal improvements, our spoofing protection solution is now included out of the box, reinforcing our commitment to accurate, actionable, and fraud-free data. diff --git a/VERSION b/VERSION index 28cbf7c0..6b244dcd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.0.0 \ No newline at end of file +5.0.1 diff --git a/index.d.ts b/index.d.ts index e77ecc5d..fa330a29 100644 --- a/index.d.ts +++ b/index.d.ts @@ -50,7 +50,7 @@ declare module 'react-native-adjust' { jsonResponse: string } - interface AdjustDeeplink { + interface AdjustDeferredDeeplink { deeplink: string } @@ -113,7 +113,7 @@ declare module 'react-native-adjust' { ): void public setDeferredDeeplinkCallback( - callback: (deeplink: AdjustDeeplink) => void + callback: (deeplink: AdjustDeferredDeeplink) => void ): void public setSkanUpdatedCallback( @@ -189,6 +189,10 @@ declare module 'react-native-adjust' { constructor(productId: string, purchaseToken: string) } + export class AdjustDeeplink { + constructor(deeplink: string) + } + export const Adjust: { componentWillUnmount: () => void initSdk: (adjustConfig: AdjustConfig) => void diff --git a/index.js b/index.js index 2d479a91..4d734c60 100644 --- a/index.js +++ b/index.js @@ -152,7 +152,7 @@ Adjust.getAmazonAdId = function(callback) { }; Adjust.getSdkVersion = function(callback) { - module_adjust.getSdkVersion("react-native5.0.0", callback); + module_adjust.getSdkVersion("react-native5.0.1", callback); }; Adjust.requestAppTrackingAuthorization = function(callback) { @@ -294,7 +294,7 @@ Adjust.onPause = function(testParam) { // AdjustConfig var AdjustConfig = function(appToken, environment) { - this.sdkPrefix = "react-native5.0.0"; + this.sdkPrefix = "react-native5.0.1"; this.appToken = appToken; this.environment = environment; this.logLevel = null; diff --git a/package.json b/package.json index 8ba5b532..b0cfd447 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-adjust", "description": "Adjust React Native SDK", - "version": "5.0.0", + "version": "5.0.1", "main": "index.js", "author": "Adjust", "license": "MIT", diff --git a/plugins/oaid/package.json b/plugins/oaid/package.json index c3e186d2..63d680a7 100644 --- a/plugins/oaid/package.json +++ b/plugins/oaid/package.json @@ -1,7 +1,7 @@ { "name": "react-native-adjust-oaid", "description": "Adjust React Native OAID plugin", - "version": "5.0.0", + "version": "5.0.1", "main": "index.js", "author": "Adjust", "license": "MIT", diff --git a/test/lib/package.json b/test/lib/package.json index 31b7d8ad..306987a4 100644 --- a/test/lib/package.json +++ b/test/lib/package.json @@ -1,7 +1,7 @@ { "name": "react-native-adjust-test", "description": "Adjust Test Plugin For React Native SDK", - "version": "5.0.0", + "version": "5.0.1", "author": "Adjust", "license": "MIT", "keywords": [