@blotoutio/edgetag-sdk-browser 0.10.2-beta.0 → 0.10.2
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
}
|
|
478
478
|
const data = getDataPerKey('local', tagStorage, backupCookieKey);
|
|
479
479
|
if (!data || data.length < 10) {
|
|
480
|
-
return getCookieValue(
|
|
480
|
+
return getCookieValue(cookieKey);
|
|
481
481
|
}
|
|
482
482
|
return data;
|
|
483
483
|
};
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
});
|
|
573
573
|
});
|
|
574
574
|
const getStandardPayload = (payload) => {
|
|
575
|
-
const data = Object.assign({ pageUrl: getPageUrl(), pageTitle: getPageTitle(), userAgent: getUserAgent(), referrer: getReferrer(), search: getSearch(), sdkVersion: "0.10.
|
|
575
|
+
const data = Object.assign({ pageUrl: getPageUrl(), pageTitle: getPageTitle(), userAgent: getUserAgent(), referrer: getReferrer(), search: getSearch(), sdkVersion: "0.10.2" }, (payload || {}));
|
|
576
576
|
let storage = {};
|
|
577
577
|
const session = getData$1('session');
|
|
578
578
|
if (session) {
|