Socket
Socket
Sign inDemoInstall

@schibsted/niche-ads

Package Overview
Dependencies
Maintainers
7
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schibsted/niche-ads - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

4

dist/AdContext.js

@@ -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 @@ ];

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc