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-3 to 5.2.1-zoning-4

2

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

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

@@ -296,2 +296,5 @@ import {

/**
* Loads list of banner/ticker widget apps
*/
getZoningApps(): Promise<ZoningAppsResponse> {

@@ -304,2 +307,5 @@ return this.bridge.sendMessage({

/**
* Loads widget assets used in a given zoning asset layout
*/
getZoningLayoutAssets(assetId: string): Promise<Array<Asset<any>>> {

@@ -315,3 +321,6 @@ return this.bridge.sendMessage({

acquireZoningAsset(
/**
* Shows modal allowing to pick existing widget or create new
*/
acquireZoningWidget(
appId: string, zoningAssetId: string, zone: 'banner' | 'ticker',

@@ -325,3 +334,3 @@ zoneInfo: ZoningSlotInfo,

namespace: MessageNamespaces.App,
name: MessageNames.AcquireZoningAsset,
name: MessageNames.AcquireZoningWidget,
params: {

@@ -336,6 +345,19 @@ appId,

acquireZoningAssetData(): Promise<any> {
/**
* Fetches zoning data available after adding/editing a widget
*/
editZoningWidget(
appId: string, zoningAssetId: string, zone: 'banner' | 'ticker',
zoneInfo: ZoningSlotInfo, widgetAssetId: string,
): Promise<any> {
return this.bridge.sendMessage({
namespace: MessageNamespaces.App,
name: MessageNames.AcquireZoningAssetData,
name: MessageNames.EditZoningWidget,
params: {
appId,
zoningAssetId,
widgetAssetId,
zone,
zoneInfo,
},
});

@@ -345,2 +367,12 @@ }

/**
* Fetches zoning data available after adding/editing a widget
*/
getZoningData(): Promise<any> {
return this.bridge.sendMessage({
namespace: MessageNamespaces.App,
name: MessageNames.GetZoningData,
});
}
/**
* Loads available fonts for the current app or for specified appId.

@@ -347,0 +379,0 @@ * @param {string?} appId

@@ -110,4 +110,5 @@ /**

GetZoningApps = 'app.getZoningApps',
AcquireZoningAsset = 'app.acquireZoningAsset',
AcquireZoningAssetData = 'app.acquireZoningAssetData',
AcquireZoningWidget = 'app.acquireZoningWidget',
GetZoningData = 'app.getZoningData',
EditZoningWidget = 'app.editZoningWidget',
GetZoningLayoutAssets = 'app.getZoningLayoutAssets',

@@ -114,0 +115,0 @@ GetFonts = 'app.getFonts',

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