New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@personaxyz/ad-sdk

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@personaxyz/ad-sdk - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

4

dist/src/constants.d.ts

@@ -10,5 +10,3 @@ export type EnvironmentVariables = "AD_SERVER_URL" | "AD_EVENT_SERVER_URL";

};
export declare const SENTRY_TRANSACTION_NAMES: {
SHOW_BANNER_AD: string;
};
export declare const PERSONA_ID = "prsna_id";
export declare const ERRORS_TO_IGNORE: string[];

@@ -7,3 +7,2 @@ import { AdEventServerController } from "../../../apis/adEventServer/AdEventServerController";

import { BannerAdHelper } from "./BannerAdHelper";
import { Transaction } from "@sentry/types/types";
export declare class BannerAd extends BannerAdHelper {

@@ -17,3 +16,2 @@ private _containerId;

private _environment;
private _classTransaction?;
private _errorCallback?;

@@ -26,3 +24,3 @@ constructor(adEventServerController: AdEventServerController, adServerController: AdServerController, placementId: string, containerId: string, environment: ENVIRONMENT, adConfig?: BannerAdConfig, cb?: (error: string) => void);

private _registerAdImpressionAndLoad;
private _registerAdImpression;
private _registerInstantAdImpression;
private _registerAdChargeableImpression;

@@ -32,3 +30,2 @@ private _initRequest;

showAd(adSlot: HTMLElement, clientIdentity: ClientIdentity): Promise<void>;
setClassTransaction(transaction: Transaction): void;
}

@@ -13,3 +13,3 @@ import { ENVIRONMENT } from "../../../types";

height: string;
}, mediaUrl: string, environment: ENVIRONMENT, creativeId: string, ctaUrl?: string, requestId?: string): HTMLImageElement;
}, mediaUrl: string, environment: ENVIRONMENT, creativeId: string, placementId: string, ctaUrl?: string, requestId?: string): HTMLImageElement;
protected _generateFallbackCreative(creativePlaceholderDiv: HTMLElement, dimensions: {

@@ -16,0 +16,0 @@ width: string;

@@ -1,18 +0,8 @@

import { SENTRY_TRANSACTION_NAMES } from "../constants";
import { SDKInitConfig } from "../types";
import { ClientIdentity } from "../modules/ClientIdentity/ClientIdentity";
import "@sentry/tracing";
export declare class Profiler {
private _sdkConfig;
constructor(sdkConfig: SDKInitConfig);
private _initProfiler;
static startTransactionProfiling({ op, key, data }: {
op?: string;
key: keyof typeof SENTRY_TRANSACTION_NAMES;
data?: {
[key: string]: any;
};
}): import("@sentry/types").Transaction;
static init(sdkConfig: SDKInitConfig): void;
private static _initProfiler;
static captureException(capturedError: any, tags?: Map<string, any>): void;
static setClientIdentity(clientIdentity: ClientIdentity): void;
}
{
"name": "@personaxyz/ad-sdk",
"version": "0.0.24",
"version": "0.0.25",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

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