@blotoutio/providers-live-intent-sdk 0.62.0 → 0.62.1

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.cjs.js CHANGED
@@ -19,7 +19,8 @@ const parseCookies = (cookie) => {
19
19
  return Object.fromEntries(cookie
20
20
  .split(/;\s+/)
21
21
  .map((r) => r.split('=').map((str) => str.trim()))
22
- .map(([cookieKey, cookieValue]) => {
22
+ .map(([cookieKey, ...cookieValues]) => {
23
+ const cookieValue = cookieValues.join('=');
23
24
  if (!cookieKey) {
24
25
  return [];
25
26
  }
@@ -41,7 +42,7 @@ const tag = () => {
41
42
  const isLoaded = window && window.LI && !!getCookieValue('lidid');
42
43
  return {
43
44
  loaded: isLoaded,
44
- sdkVersion: "0.62.0" ,
45
+ sdkVersion: "0.62.1" ,
45
46
  };
46
47
  };
47
48
 
package/index.js CHANGED
@@ -20,7 +20,8 @@ var ProvidersLiveIntentSdk = (function () {
20
20
  return Object.fromEntries(cookie
21
21
  .split(/;\s+/)
22
22
  .map((r) => r.split('=').map((str) => str.trim()))
23
- .map(([cookieKey, cookieValue]) => {
23
+ .map(([cookieKey, ...cookieValues]) => {
24
+ const cookieValue = cookieValues.join('=');
24
25
  if (!cookieKey) {
25
26
  return [];
26
27
  }
@@ -42,7 +43,7 @@ var ProvidersLiveIntentSdk = (function () {
42
43
  const isLoaded = window && window.LI && !!getCookieValue('lidid');
43
44
  return {
44
45
  loaded: isLoaded,
45
- sdkVersion: "0.62.0" ,
46
+ sdkVersion: "0.62.1" ,
46
47
  };
47
48
  };
48
49
 
package/index.mjs CHANGED
@@ -17,7 +17,8 @@ const parseCookies = (cookie) => {
17
17
  return Object.fromEntries(cookie
18
18
  .split(/;\s+/)
19
19
  .map((r) => r.split('=').map((str) => str.trim()))
20
- .map(([cookieKey, cookieValue]) => {
20
+ .map(([cookieKey, ...cookieValues]) => {
21
+ const cookieValue = cookieValues.join('=');
21
22
  if (!cookieKey) {
22
23
  return [];
23
24
  }
@@ -39,7 +40,7 @@ const tag = () => {
39
40
  const isLoaded = window && window.LI && !!getCookieValue('lidid');
40
41
  return {
41
42
  loaded: isLoaded,
42
- sdkVersion: "0.62.0" ,
43
+ sdkVersion: "0.62.1" ,
43
44
  };
44
45
  };
45
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/providers-live-intent-sdk",
3
- "version": "0.62.0",
3
+ "version": "0.62.1",
4
4
  "description": "LiveIntent Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",