rudder-sdk-js 2.22.3 → 2.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/index.d.ts +13 -0
- package/index.es.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/service-worker/index.es.js +2835 -5361
- package/service-worker/index.js +2835 -5361
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,27 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4
4
|
|
5
|
+
## [2.23.0](https://github.com/rudderlabs/rudder-sdk-js/compare/v2.22.3...v2.23.0) (2023-02-06)
|
6
|
+
|
7
|
+
|
8
|
+
### Features
|
9
|
+
|
10
|
+
* added support for both click event and dynamic remarketing events ([#854](https://github.com/rudderlabs/rudder-sdk-js/issues/854)) ([55e5297](https://github.com/rudderlabs/rudder-sdk-js/commit/55e5297aca36625cb3790ca0ac80fab323dad978))
|
11
|
+
* **bugbash:** adding bugbash tag condition ([#870](https://github.com/rudderlabs/rudder-sdk-js/issues/870)) ([6512eeb](https://github.com/rudderlabs/rudder-sdk-js/commit/6512eebb17ded5e63ac04bd50b53ac389b3405a7))
|
12
|
+
* data residency ([#718](https://github.com/rudderlabs/rudder-sdk-js/issues/718)) ([e00f9bb](https://github.com/rudderlabs/rudder-sdk-js/commit/e00f9bbd32ac707827f2cce0153849556c0d5ef3))
|
13
|
+
* **destination:** onboard lemnisk integration ([#864](https://github.com/rudderlabs/rudder-sdk-js/issues/864)) ([69f4f22](https://github.com/rudderlabs/rudder-sdk-js/commit/69f4f22ae82ff9df4fbe20c8d426c1cd7d489ba5)), closes [#806](https://github.com/rudderlabs/rudder-sdk-js/issues/806)
|
14
|
+
* option to opt out from loading polyfill ([#878](https://github.com/rudderlabs/rudder-sdk-js/issues/878)) ([18c2cb2](https://github.com/rudderlabs/rudder-sdk-js/commit/18c2cb29cc0cbac8409d93082fe27eb963a09b32))
|
15
|
+
* **test-suite:** adding test cases for hugely used util functions for device mode integrations ([#860](https://github.com/rudderlabs/rudder-sdk-js/issues/860)) ([2d18bc0](https://github.com/rudderlabs/rudder-sdk-js/commit/2d18bc05dd915113338b9c6907d745cde9bdc803))
|
16
|
+
|
17
|
+
|
18
|
+
### Bug Fixes
|
19
|
+
|
20
|
+
* add support for more method overloads for group api ([a34bb26](https://github.com/rudderlabs/rudder-sdk-js/commit/a34bb26d9a8bdf1ee55752d108e2c939d468c903))
|
21
|
+
* **launchDarkly:** ldClient Initialization ([#831](https://github.com/rudderlabs/rudder-sdk-js/issues/831)) ([39e24b3](https://github.com/rudderlabs/rudder-sdk-js/commit/39e24b394d878205534391f489c6ec52dda31578))
|
22
|
+
* library info override bug ([aef7b94](https://github.com/rudderlabs/rudder-sdk-js/commit/aef7b94a07dec04fb8439410fe5fe28c632f7ffb))
|
23
|
+
* replace node globals & build-ins rollup plugins with polyfill-node to allow optional chaining ([913613d](https://github.com/rudderlabs/rudder-sdk-js/commit/913613dcedcc8b341b5fac35ae7995954cc7729c))
|
24
|
+
* use uuid secure (using crypto) for supported browsers ([d6b81f6](https://github.com/rudderlabs/rudder-sdk-js/commit/d6b81f68183aa53c1bec49538a6b968055379658))
|
25
|
+
|
5
26
|
### 2.22.3 (2023-01-16)
|
6
27
|
|
7
28
|
|
package/index.d.ts
CHANGED
@@ -59,6 +59,14 @@ declare module 'rudder-sdk-js' {
|
|
59
59
|
};
|
60
60
|
}
|
61
61
|
|
62
|
+
/**
|
63
|
+
* Represents residency server input the options
|
64
|
+
*/
|
65
|
+
enum RESIDENCY_SERVER {
|
66
|
+
US = 'US',
|
67
|
+
EU = 'EU',
|
68
|
+
}
|
69
|
+
|
62
70
|
/**
|
63
71
|
* Represents the options parameter in the load API
|
64
72
|
*/
|
@@ -90,6 +98,10 @@ declare module 'rudder-sdk-js' {
|
|
90
98
|
autoTrack?: boolean; // Defaults to true
|
91
99
|
timeout?: number; // Defaults to 30 mins
|
92
100
|
};
|
101
|
+
residencyServer?: RESIDENCY_SERVER;
|
102
|
+
// Controls whether the SDK should polyfill unsupported browser API's if they are detected as missing
|
103
|
+
// Defaults to true
|
104
|
+
polyfillIfRequired?: boolean;
|
93
105
|
}
|
94
106
|
|
95
107
|
/**
|
@@ -447,6 +459,7 @@ declare module 'rudder-sdk-js' {
|
|
447
459
|
getGroupTraits,
|
448
460
|
startSession,
|
449
461
|
endSession,
|
462
|
+
RESIDENCY_SERVER,
|
450
463
|
getSessionId,
|
451
464
|
};
|
452
465
|
}
|