Skip to content

Commit 89bf2b6

Browse files
Yara MatkovaYaraMatkova
authored andcommitted
Version 5.2.1
1 parent 29a4766 commit 89bf2b6

File tree

9 files changed

+37
-31
lines changed

9 files changed

+37
-31
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### Version 5.2.1 (16th September 2021)
2+
#### Fixed
3+
- Fixed top-level Typescript declarations.
4+
5+
---
6+
17
### Version 5.2.0 (3rd August 2021)
28
#### Added
39
- [beta] Smart banners.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To lazy <a id="loading-snippet">load the Adjust Web SDK through CDN</a> paste th
3737

3838
The Adjust Web SDK should be loaded only once per page and it should be initiated once per page load.
3939

40-
When loading the sdk through CDN we suggest using minified version. You can target specific version like `https://cdn.adjust.com/adjust-5.2.0.min.js`, or you can target latest version `https://cdn.adjust.com/adjust-latest.min.js` if you want automatic updates without need to change the target file. The sdk files are cached so they are served as fast as possible, and the cache is refreshed every half an hour. If you want updates immediately make sure to target specific version.
40+
When loading the sdk through CDN we suggest using minified version. You can target specific version like `https://cdn.adjust.com/adjust-5.2.1.min.js`, or you can target latest version `https://cdn.adjust.com/adjust-latest.min.js` if you want automatic updates without need to change the target file. The sdk files are cached so they are served as fast as possible, and the cache is refreshed every half an hour. If you want updates immediately make sure to target specific version.
4141

4242
It's also possible to install our sdk through NPM:
4343

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.2.0
1+
5.2.1

dist/adjust-latest.js

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,17 +1246,17 @@ var Promise$1 = function () {
12461246
/**
12471247
`finally` will be invoked regardless of the promise's fate just as native
12481248
try/catch/finally behaves
1249-
1249+
12501250
Synchronous example:
1251-
1251+
12521252
```js
12531253
findAuthor() {
12541254
if (Math.random() > 0.5) {
12551255
throw new Error();
12561256
}
12571257
return new Author();
12581258
}
1259-
1259+
12601260
try {
12611261
return findAuthor(); // succeed or fail
12621262
} catch(error) {
@@ -1266,17 +1266,17 @@ var Promise$1 = function () {
12661266
// doesn't affect the return value
12671267
}
12681268
```
1269-
1269+
12701270
Asynchronous example:
1271-
1271+
12721272
```js
12731273
findAuthor().catch(function(reason){
12741274
return findOtherAuther();
12751275
}).finally(function(){
12761276
// author was either found, or not
12771277
});
12781278
```
1279-
1279+
12801280
@method finally
12811281
@param {Function} callback
12821282
@return {Promise}
@@ -2233,7 +2233,7 @@ function addStyle (obj, options) {
22332233
// If a transform function was defined, run it on the css
22342234
if (options.transform && obj.css) {
22352235
result = typeof options.transform === 'function'
2236-
? options.transform(obj.css)
2236+
? options.transform(obj.css)
22372237
: options.transform.default(obj.css);
22382238

22392239
if (result) {
@@ -2774,7 +2774,7 @@ function isEmptyEntry(value
27742774
|}*/
27752775
var Globals = {
27762776
namespace: "adjust-sdk" || false,
2777-
version: "5.2.0" || false,
2777+
version: "5.2.1" || false,
27782778
env: "production"
27792779
};
27802780
/* harmony default export */ var globals = (Globals);
@@ -2967,7 +2967,7 @@ var Logger = {
29672967

29682968

29692969

2970-
/*:: //
2970+
/*:: //
29712971
import { type BaseParamsT, type CustomConfigT, type InitOptionsT, type BaseParamsListT, type BaseParamsMandatoryListT, type CustomConfigListT } from './types';*/
29722972

29732973

@@ -4043,7 +4043,7 @@ function timePassed(d1
40434043
// CONCATENATED MODULE: ./src/sdk/activity-state.js
40444044

40454045

4046-
/*:: //
4046+
/*:: //
40474047
import { type UrlT, type ActivityStateMapT, type CommonRequestParams } from './types';*/
40484048

40494049

@@ -7151,7 +7151,7 @@ function storage_init(dbName
71517151

71527152

71537153
var default_params_Promise = typeof Promise === 'undefined' ? __webpack_require__(3).Promise : Promise;
7154-
/*:: //
7154+
/*:: //
71557155
import { type NavigatorT, type CreatedAtT, type SentAtT, type WebUuidT, type TrackEnabledT, type PlatformT, type LanguageT, type MachineTypeT, type QueueSizeT, type DefaultParamsT } from './types';*/
71567156

71577157

@@ -7430,7 +7430,7 @@ function urlStrategyRetries
74307430

74317431

74327432
var http_Promise = typeof Promise === 'undefined' ? __webpack_require__(3).Promise : Promise;
7433-
/*:: //
7433+
/*:: //
74347434
import { type UrlT, type DefaultParamsT, type HttpSuccessResponseT, type HttpErrorResponseT, type HttpRequestParamsT, type ErrorCodeT } from './types';*/
74357435

74367436

@@ -7856,7 +7856,7 @@ function http(options
78567856
});
78577857
}
78587858
// CONCATENATED MODULE: ./src/sdk/backoff.js
7859-
/*:: //
7859+
/*:: //
78607860
import { type BackOffStrategyT } from './types';*/
78617861

78627862
/**
@@ -7925,7 +7925,7 @@ function backOff(attempts
79257925
// CONCATENATED MODULE: ./src/sdk/listeners.js
79267926

79277927

7928-
/*:: //
7928+
/*:: //
79297929
import { type DocumentT } from './types';*/
79307930

79317931
/*:: type EventCbT = (e: Event) => void*/
@@ -8096,7 +8096,7 @@ function listeners_destroy()
80968096

80978097

80988098
var request_Promise = typeof Promise === 'undefined' ? __webpack_require__(3).Promise : Promise;
8099-
/*:: //
8099+
/*:: //
81008100
import { type HttpSuccessResponseT, type HttpErrorResponseT, type HttpContinueCbT, type BackOffStrategyT, type WaitT, type UrlT, type MethodT, type RequestParamsT, type HttpRequestParamsT } from './types';*/
81018101

81028102

@@ -8845,7 +8845,7 @@ function disable_status()
88458845

88468846

88478847
var identity_Promise = typeof Promise === 'undefined' ? __webpack_require__(3).Promise : Promise;
8848-
/*:: //
8848+
/*:: //
88498849
import { type ActivityStateMapT } from './types';*/
88508850

88518851

@@ -9068,7 +9068,7 @@ function identity_destroy()
90689068

90699069

90709070
var queue_Promise = typeof Promise === 'undefined' ? __webpack_require__(3).Promise : Promise;
9071-
/*:: //
9071+
/*:: //
90729072
import { type HttpSuccessResponseT, type HttpErrorResponseT, type HttpFinishCbT, type WaitT, type UrlT, type MethodT, type RequestParamsT, type ActivityStateMapT } from './types';*/
90739073

90749074

@@ -9443,7 +9443,7 @@ function queue_destroy()
94439443

94449444

94459445
var global_params_Promise = typeof Promise === 'undefined' ? __webpack_require__(3).Promise : Promise;
9446-
/*:: //
9446+
/*:: //
94479447
import { type GlobalParamsT, type GlobalParamsMapT } from './types';*/
94489448

94499449

@@ -9639,7 +9639,7 @@ function global_params_clear()
96399639

96409640
// CONCATENATED MODULE: ./src/sdk/session.js
96419641
var session_Promise = typeof Promise === 'undefined' ? __webpack_require__(3).Promise : Promise;
9642-
/*:: //
9642+
/*:: //
96439643
import { type DocumentT, type HttpSuccessResponseT, type HttpErrorResponseT, type GlobalParamsMapT, type SessionRequestParamsT } from './types';*/
96449644

96459645

@@ -9948,7 +9948,7 @@ function _checkSession()
99489948

99499949

99509950
var attribution_Promise = typeof Promise === 'undefined' ? __webpack_require__(3).Promise : Promise;
9951-
/*:: //
9951+
/*:: //
99529952
import { type HttpSuccessResponseT, type HttpErrorResponseT, type HttpFinishCbT, type HttpRetryCbT, type AttributionStateT, type AttributionWhiteListT, type ActivityStateMapT, type AttributionMapT } from './types';*/
99539953

99549954

@@ -10468,7 +10468,7 @@ function scheduler_destroy()
1046810468

1046910469

1047010470
var event_Promise = typeof Promise === 'undefined' ? __webpack_require__(3).Promise : Promise;
10471-
/*:: //
10471+
/*:: //
1047210472
import { type EventParamsT, type EventRequestParamsT, type GlobalParamsMapT, type GlobalKeyValueParamsT } from './types';*/
1047310473

1047410474

@@ -10682,7 +10682,7 @@ function event_event(params
1068210682
});
1068310683
}
1068410684
// CONCATENATED MODULE: ./src/sdk/sdk-click.js
10685-
/*:: //
10685+
/*:: //
1068610686
import { type SdkClickRequestParamsT } from './types';*/
1068710687

1068810688

@@ -11531,7 +11531,7 @@ var smartBanner = new smart_banner_SmartBanner();
1153111531
var _excluded = ["logLevel", "logOutput"];
1153211532

1153311533
var main_Promise = typeof Promise === 'undefined' ? __webpack_require__(3).Promise : Promise;
11534-
/*:: //
11534+
/*:: //
1153511535
import { type InitOptionsT, type LogOptionsT, type EventParamsT, type GlobalParamsT, type CustomErrorT, type ActivityStateMapT, type SmartBannerOptionsT } from './types';*/
1153611536

1153711537

@@ -12167,4 +12167,4 @@ var Adjust = {
1216712167

1216812168
/***/ })
1216912169
/******/ ])["default"];
12170-
});
12170+
});

dist/adjust-latest.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/chinese/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Read this in other languages: [English][en-readme], [中文][zh-readme], [日本
3838

3939
Adjust Web SDK 在每个页面应当仅加载一次,每次页面加载应当初始化一次。
4040

41-
在通过 CDN 加载 SDK 时,我们建议您使用精简版本。您可以定向特定版本,如 `https://cdn.adjust.com/adjust-5.2.0.min.js`;如果您需要自动更新,不想变更目标文件,也可以定向最新版本:`https://cdn.adjust.com/adjust-latest.min.js` 。SDK 文件均有缓存,因此能以最快速度获取,缓存每半小时刷新一次。如果您想立即获得更新,请务必定向特定版本。
41+
在通过 CDN 加载 SDK 时,我们建议您使用精简版本。您可以定向特定版本,如 `https://cdn.adjust.com/adjust-5.2.1.min.js`;如果您需要自动更新,不想变更目标文件,也可以定向最新版本:`https://cdn.adjust.com/adjust-latest.min.js` 。SDK 文件均有缓存,因此能以最快速度获取,缓存每半小时刷新一次。如果您想立即获得更新,请务必定向特定版本。
4242

4343
您也可以通过 NPM 安装我们的 SDK:
4444

docs/japanese/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ CDNでAdjustSDKを遅延ロードするためには、以下のコードを`<hea
3838

3939
Adjust Web SDKはページごとに1回だけ読み込まれ、ページの読み込みごとに1回起動される必要があります。
4040

41-
CDNを利用してSDKをロードするときは、縮小バージョンを使用することを推奨します。そうすることで、 `https://cdn.adjust.com/adjust-5.2.0.min.js` のような特定のバージョンをターゲットにしたり、あるいは ターゲットファイルを変更せずに自動更新する場合は、最新バージョン `https://adjust.com/adjust-latest.min.js` をターゲットにすることが可能です。 SDKファイルはキャッシュされるため即時に提供され、更新は30分ごとに行われます。すぐに更新する必要がある場合は、必ず特定のバージョンをターゲットにしてください。
41+
CDNを利用してSDKをロードするときは、縮小バージョンを使用することを推奨します。そうすることで、 `https://cdn.adjust.com/adjust-5.2.1.min.js` のような特定のバージョンをターゲットにしたり、あるいは ターゲットファイルを変更せずに自動更新する場合は、最新バージョン `https://adjust.com/adjust-latest.min.js` をターゲットにすることが可能です。 SDKファイルはキャッシュされるため即時に提供され、更新は30分ごとに行われます。すぐに更新する必要がある場合は、必ず特定のバージョンをターゲットにしてください。
4242

4343
また、NPMを利用してSDKをインストールすることも可能です:
4444

docs/korean/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Adjust SDK는 CommonJS와 AMD 환경에서 작동하고 CDN을 통해 로딩될
3838

3939
Adjust 웹 SDK는 페이지당 한 번만 로딩되어야 하며 페이지 로딩당 한번만 초기화되어야 합니다.
4040

41-
CDN을 통해 SDK를 로딩할 때 축소 버전을 사용하는 것이 좋습니다. `https://cdn.adjust.com/adjust-5.2.0.min.js`와 같은 특정 버전을 타깃팅하거나 대상 파일을 변경할 필요 없이 자동 업데이트를 원하는 경우 최신 버전`https://cdn.adjust.com/adjust-latest.min.js`을 타깃팅 합니다. sdk 파일은 캐싱되어 최대한 빠르게 제공되며 30분 마다 캐시가 새로고침됩니다. 즉시 업데이트를 원하는 경우에는 특정 버전을 타깃팅해야 합니다.
41+
CDN을 통해 SDK를 로딩할 때 축소 버전을 사용하는 것이 좋습니다. `https://cdn.adjust.com/adjust-5.2.1.min.js`와 같은 특정 버전을 타깃팅하거나 대상 파일을 변경할 필요 없이 자동 업데이트를 원하는 경우 최신 버전`https://cdn.adjust.com/adjust-latest.min.js`을 타깃팅 합니다. sdk 파일은 캐싱되어 최대한 빠르게 제공되며 30분 마다 캐시가 새로고침됩니다. 즉시 업데이트를 원하는 경우에는 특정 버전을 타깃팅해야 합니다.
4242

4343
NPM을 통한 SDK 설치 역시 가능합니다:
4444

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adjustcom/adjust-web-sdk",
3-
"version": "5.2.0",
3+
"version": "5.2.1",
44
"description": "This is the guide to the Javascript SDK of Adjust™ for web sites or web apps. You can read more about Adjust™ at [adjust.com].",
55
"scripts": {
66
"build:demo": "webpack --mode production --config webpack.demo.config.js",

0 commit comments

Comments
 (0)