@schibsted/niche-ads
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -116,3 +116,3 @@ import { jsx as _jsx } from "react/jsx-runtime"; | ||
}; | ||
if (ppids.current?.PPID1 && ppids.current?.PPID2) { | ||
if (ppids.current?.PPID1 || ppids.current?.PPID2) { | ||
pageOptions.user.userIds = [ | ||
@@ -130,3 +130,3 @@ { | ||
} | ||
] | ||
].filter((eid)=>eid.id) | ||
} | ||
@@ -133,0 +133,0 @@ ]; |
{ | ||
"name": "@schibsted/niche-ads", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Package containing ads logic reappearing across our projects", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -145,4 +145,3 @@ import { createContext, useMemo, useRef, useEffect, useCallback } from 'react'; | ||
}; | ||
if (ppids.current?.PPID1 && ppids.current?.PPID2) { | ||
if (ppids.current?.PPID1 || ppids.current?.PPID2) { | ||
pageOptions.user.userIds = [ | ||
@@ -154,3 +153,3 @@ { | ||
{ id: ppids.current.PPID2, source: `${eids.region}-EnvHash` }, | ||
], | ||
].filter((eid) => eid.id), | ||
}, | ||
@@ -157,0 +156,0 @@ ]; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60162