Skip to content

Commit

Permalink
Merge pull request #122 from adjust/v570
Browse files Browse the repository at this point in the history
Bump version to 5.7.0
  • Loading branch information
YaraMatkova authored Aug 16, 2024
2 parents 1ddda6b + 441e80a commit 56b99d1
Show file tree
Hide file tree
Showing 12 changed files with 489 additions and 457 deletions.
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
### Version 5.7.0 ( DATE )
### Version 5.7.0 (16th August 2024)
#### Added


#### Fixed

- Added asynchronous function `waitForWebUUID`, returning a Promise which resolves when `web_uuid` becomes available.
- Added asynchronous function `waitForAttribution`, returning a Promise which resolves when attribution data received from Adjust Backend.

#### Changed
- [UrlStrategy reworked](https://dev.adjust.com/en/sdk/web/features/privacy#url-strategy).
- [Third Party Sharing reworked](https://dev.adjust.com/en/sdk/web/features/privacy).
- Outdated Smart Banners removed.

---
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.6.0
5.7.0
2 changes: 1 addition & 1 deletion dist/INTEGRITY
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sha384-6ypaiRbayulK9Pc5tI+DbtfndaV381c5P1cjXBG9Z37D4lCW87Oxb/d81aXLKGiK
sha384-WE6fJqvcE0mjcC/fPYooIQAOhsHpTDVYjC52i6Asn3LECEpjHyI5zUwD8/5esthg
19 changes: 18 additions & 1 deletion dist/adjust-latest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,17 @@ declare namespace Adjust {
isDataResidency?: boolean;
}

interface ThirdPartySharingOptions {
isEnabled: boolean;
granularOptions: Record<string, Record<string, string>>;
partnerSharingSettings: Record<string, Record<string, boolean>>;
}

class ThirdPartySharing implements ThirdPartySharingOptions {
public addGranularOption(partnerName: string, key: string, value: string)
public addPartnerSharingSetting(partnerName: string, key: string, value: boolean)
}

interface InitOptions {

/** Required to initialise SDK instance, please make sure to provide valid app token. */
Expand Down Expand Up @@ -155,7 +166,6 @@ declare namespace Adjust {
/** Optional. The URL strategy feature allows you to set either:
* - The country in which Adjust stores your data (data residency).
* - The endpoint to which the Adjust SDK sends traffic (URL strategy).*/
// TODO: place a link to updated docs in this warning, see https://adjustcom.atlassian.net/browse/DSM-3071
urlStrategy?: UrlStartegyLiterals | UrlStrategyConfig;

/** Optional. A custom namespace for SDK data storage. If not set then default one is used.
Expand Down Expand Up @@ -406,8 +416,15 @@ declare namespace Adjust {
*
* Marketing Opt-out, which is disabling third-party sharing ability. This method will notify our backed in the same
* manner as it does for GDPR Forget me.
*
* @deprecated Use {@link trackThirdPartySharing} instead
*/
function disableThirdPartySharing(): void

/**
* Track third party sharing
*/
function trackThirdPartySharing(adjustThirdPartySharing: ThirdPartySharingOptions): void
}

export default Adjust
Loading

0 comments on commit 56b99d1

Please sign in to comment.