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

@sberdevices/ad-sdk-types

Package Overview
Dependencies
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sberdevices/ad-sdk-types - npm Package Compare versions

Comparing version 1.0.3-canary.19790.0694a7def59dabed4f3a4cf80bc85b49834da83f.0 to 1.0.3-canary.19790.0df5a9461bd5266f0653b44a590199027749943e.0

30

lib/index.d.ts

@@ -1,21 +0,4 @@

export declare enum DeviceType {
mobile = "2",
sberPortal = "3",
smartTv = "5",
wearable = "6",
embedded = "7"
}
export interface SSPParams {
device_type: DeviceType;
secure: '1';
winh: number;
winw: number;
url: string;
pad_id: number;
block_id: number;
jparams: string;
external_ids: string;
}
export interface SimpleInitParams {
test?: boolean;
cooldownTime?: number;
onSuccess?(): void;

@@ -49,5 +32,11 @@ onError?(err: Error): void;

onAdReady?(): void;
onEvent?(eventName: InlineVideoEventName): void;
}
export declare function runVideoAdInline(params: RunVideoAdInlineParams): void;
export declare function runVideoAd(params: RunVideoAdInlineParams): void;
export interface RunBannerEvents {
onSuccess?(): void;
onError?(err: Error): void;
onEmptyResponse?(): void;
onAdReady?(): void;
}
export declare function runBanner(events: RunBannerEvents): void;
export interface CreateInlineBannerParams {

@@ -59,5 +48,4 @@ container: HTMLElement;

onEmptyResponse?(): void;
onClick?(): void;
}
export declare function createInlineBanner(params: CreateInlineBannerParams): void;
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeviceType = void 0;
var DeviceType;
(function (DeviceType) {
DeviceType["mobile"] = "2";
DeviceType["sberPortal"] = "3";
DeviceType["smartTv"] = "5";
DeviceType["wearable"] = "6";
DeviceType["embedded"] = "7";
})(DeviceType = exports.DeviceType || (exports.DeviceType = {}));
//# sourceMappingURL=index.js.map
{
"name": "@sberdevices/ad-sdk-types",
"version": "1.0.3-canary.19790.0694a7def59dabed4f3a4cf80bc85b49834da83f.0",
"version": "1.0.3-canary.19790.0df5a9461bd5266f0653b44a590199027749943e.0",
"description": "SberDevices Ad SDK types",
"main": "src/index.ts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc",
"test": "jest",
"test:watch": "jest --watch"
"test:watch": "jest --watch",
"build:storybook": "tsc"
},

@@ -24,3 +26,6 @@ "author": "SberDevices Frontend Team <sberdevices.frontend@gmail.com>",

"typescript": "4.7.3"
},
"publishConfig": {
"access": "public"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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