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

@enplug/sdk-dashboard

Package Overview
Dependencies
Maintainers
8
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enplug/sdk-dashboard - npm Package Compare versions

Comparing version 5.2.1-zoning-4 to 5.2.1-zoning-5

2

package.json
{
"name": "@enplug/sdk-dashboard",
"version": "5.2.1-zoning-4",
"version": "5.2.1-zoning-5",
"description": "Enplug Dashboard SDK",

@@ -5,0 +5,0 @@ "main": "./src/index.ts",

@@ -323,7 +323,9 @@ import {

acquireZoningWidget(
appId: string, zoningAssetId: string, zone: 'banner' | 'ticker',
zoneInfo: ZoningSlotInfo,
zoningAssetId: string,
zone: 'banner' | 'ticker', zoneInfo: ZoningSlotInfo,
widgetAppId: string,
): Promise<Asset<any>> {
validateString(appId, 'You must provide an appId parameter');
validateString(widgetAppId, 'You must provide an widgetAppId parameter');
validateString(zone, 'You must provide an zone parameter');
validateObject(zoneInfo, 'You must provide a zoneInfo parameter');

@@ -334,3 +336,3 @@ return this.bridge.sendMessage({

params: {
appId,
widgetAppId,
zoningAssetId,

@@ -347,4 +349,5 @@ zone,

editZoningWidget(
appId: string, zoningAssetId: string, zone: 'banner' | 'ticker',
zoneInfo: ZoningSlotInfo, widgetAssetId: string,
zoningAssetId: string,
zone: 'banner' | 'ticker', zoneInfo: ZoningSlotInfo,
widgetAppId: string, widgetAssetId: string,
): Promise<any> {

@@ -355,3 +358,3 @@ return this.bridge.sendMessage({

params: {
appId,
widgetAppId,
zoningAssetId,

@@ -358,0 +361,0 @@ widgetAssetId,

@@ -133,2 +133,10 @@ import {

// TODO
navigateToZoning(): Promise<any> {
return this.bridge.sendMessage({
namespace: MessageNamespaces.Dashboard,
name: MessageNames.NavigateBack,
});
}
/**

@@ -135,0 +143,0 @@ * Opens a confirm window with Yes/No buttons and configurable messages.

@@ -128,2 +128,3 @@ /**

NavigateBack = 'dashboard.navigateBack',
NavigateToZoning = 'dashboard.navigateToZoning',
OpenConfirm = 'dashboard.confirm',

@@ -130,0 +131,0 @@ PageError = 'dashboard.page.error',

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

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