@personaxyz/ad-sdk
Advanced tools
Comparing version 0.0.24 to 0.0.25
@@ -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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
1
131299
371