@orbit-software/sdk 1.93.9 → 1.94.0
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/dist/esm/gigapub-C9EHJdl4.mjs +25 -0
- package/dist/esm/lib/ads/ad-logger.d.ts +11 -4
- package/dist/esm/lib/ads/exchange/adapters/gigapub.d.ts +11 -0
- package/dist/esm/lib/ads/exchange/adapters/monetag.d.ts +15 -0
- package/dist/esm/lib/ads/exchange/adapters/own_video.d.ts +18 -0
- package/dist/esm/lib/ads/exchange/client.d.ts +21 -0
- package/dist/esm/lib/ads/exchange/dispatcher.d.ts +22 -0
- package/dist/esm/lib/ads/exchange/index.d.ts +4 -0
- package/dist/esm/lib/ads/exchange/loader.d.ts +4 -0
- package/dist/esm/lib/ads/exchange/telemetry.d.ts +27 -0
- package/dist/esm/lib/ads/exchange/types.d.ts +54 -0
- package/dist/esm/lib/ads/gigapub.d.ts +1 -1
- package/dist/esm/monetag-CtbuUifR.mjs +25 -0
- package/dist/esm/own_video-Byst0Lr6.mjs +19 -0
- package/dist/esm/sdk-CMdgqzfW.mjs +53127 -0
- package/dist/esm/sdk.mjs +5 -52893
- package/dist/esm/sdk.umd.js +35 -35
- package/dist/esm/types/sdk.d.ts +17 -0
- package/dist/stats-esm.html +1 -1
- package/dist/stats-umd-react.html +1 -1
- package/dist/stats-umd.html +1 -1
- package/dist/umd/sdk.umd.js +35 -35
- package/dist/umd_react/sdk_react.umd.js +45 -45
- package/package.json +1 -1
package/dist/esm/types/sdk.d.ts
CHANGED
|
@@ -243,6 +243,23 @@ export interface LaunchResponse {
|
|
|
243
243
|
monetag?: string;
|
|
244
244
|
adsgram?: string;
|
|
245
245
|
gigapub?: string;
|
|
246
|
+
/**
|
|
247
|
+
* When true the backend opts this user into the new ad exchange. The SDK
|
|
248
|
+
* routes `requestRewardAd` through `exchangeDispatch` (which selects the
|
|
249
|
+
* provider per request via the bandit's posterior). When false/missing the
|
|
250
|
+
* legacy hardcoded provider path is used.
|
|
251
|
+
*/
|
|
252
|
+
useExchange?: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Shadow mode (Wave 12, T41): when true the SDK additionally fires a
|
|
255
|
+
* fire-and-forget POST /api/v1/exchange/serve with `shadow:true` from the
|
|
256
|
+
* legacy `requestRewardAd` path so the ad-exchange bandit observes real
|
|
257
|
+
* traffic without affecting which provider actually shows the ad. The
|
|
258
|
+
* shadow request never blocks the legacy flow — failures are swallowed.
|
|
259
|
+
* Has no effect when `useExchange === true` (the legacy branch isn't
|
|
260
|
+
* reached, so there's nothing to shadow).
|
|
261
|
+
*/
|
|
262
|
+
shadowEnabled?: boolean;
|
|
246
263
|
};
|
|
247
264
|
ads_last_showed: string | Date;
|
|
248
265
|
is_ad_cooldown: boolean;
|