@rudderstack/analytics-js 3.1.0 → 3.2.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/dist/npm/index.d.ts +4 -1
- package/dist/npm/legacy/cjs/index.js +225 -229
- package/dist/npm/legacy/esm/index.js +225 -229
- package/dist/npm/legacy/umd/index.js +225 -229
- package/dist/npm/modern/bundled/cjs/index.js +136 -140
- package/dist/npm/modern/bundled/esm/index.js +136 -140
- package/dist/npm/modern/bundled/umd/index.js +136 -140
- package/dist/npm/modern/cjs/index.js +135 -139
- package/dist/npm/modern/content-script/cjs/index.js +135 -139
- package/dist/npm/modern/content-script/esm/index.js +135 -139
- package/dist/npm/modern/content-script/umd/index.js +135 -139
- package/dist/npm/modern/esm/index.js +135 -139
- package/dist/npm/modern/umd/index.js +135 -139
- package/package.json +7 -5
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,27 @@
|
|
2
2
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
4
4
|
|
5
|
+
## [3.2.0](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.1.1...@rudderstack/analytics-js@3.2.0) (2024-05-24)
|
6
|
+
|
7
|
+
### Dependency Updates
|
8
|
+
|
9
|
+
* `@rudderstack/analytics-js-common` updated to version `3.1.1`
|
10
|
+
* `@rudderstack/analytics-js-plugins` updated to version `3.1.1`
|
11
|
+
|
12
|
+
### Features
|
13
|
+
|
14
|
+
* set server side cookies ([#1649](https://github.com/rudderlabs/rudder-sdk-js/issues/1649)) ([8b8ac8f](https://github.com/rudderlabs/rudder-sdk-js/commit/8b8ac8fb2b7fe0903fa383cfcd0388fe3022330c))
|
15
|
+
|
16
|
+
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
* user sessions behavior ([#1708](https://github.com/rudderlabs/rudder-sdk-js/issues/1708)) ([84e7174](https://github.com/rudderlabs/rudder-sdk-js/commit/84e71744612c8345dc22b8cb0c9362d104eb35e9))
|
20
|
+
|
21
|
+
## [3.1.1](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.1.0...@rudderstack/analytics-js@3.1.1) (2024-05-10)
|
22
|
+
|
23
|
+
### Dependency Updates
|
24
|
+
|
25
|
+
* `@rudderstack/analytics-js-plugins` updated to version `3.1.0`
|
5
26
|
## [3.1.0](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.0.4...@rudderstack/analytics-js@3.1.0) (2024-04-26)
|
6
27
|
|
7
28
|
### Dependency Updates
|
package/dist/npm/index.d.ts
CHANGED
@@ -269,6 +269,8 @@ type LoadOptions = {
|
|
269
269
|
consentManagement?: ConsentManagementOptions;
|
270
270
|
sameDomainCookiesOnly?: boolean;
|
271
271
|
externalAnonymousIdCookieName?: string;
|
272
|
+
useServerSideCookies?: boolean;
|
273
|
+
dataServiceEndpoint?: string;
|
272
274
|
};
|
273
275
|
type ConsentOptions = {
|
274
276
|
storage?: StorageOpts;
|
@@ -568,8 +570,9 @@ type ResponseDetails = {
|
|
568
570
|
xhr?: XMLHttpRequest;
|
569
571
|
options: IXHRRequestOptions;
|
570
572
|
};
|
573
|
+
type AsyncRequestCallback<T> = (data?: T | string | undefined, details?: ResponseDetails) => void;
|
571
574
|
interface IAsyncRequestConfig<T> extends IRequestConfig {
|
572
|
-
callback
|
575
|
+
callback?: AsyncRequestCallback<T>;
|
573
576
|
}
|
574
577
|
interface IXHRRequestOptions {
|
575
578
|
method: HTTPClientMethod;
|