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
209
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.1.14 to 5.1.15-ls-1

2

package.json
{
"name": "@enplug/sdk-dashboard",
"version": "5.1.14",
"version": "5.1.15-ls-1",
"description": "Enplug Dashboard SDK",

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

@@ -256,2 +256,15 @@ import {

/**
* Marks asset as recently viewed
*/
getAssetNeedsApproval(id: string) {
validateString(id, 'You must provide an id string to getAssetNeedsApproval call');
return this.bridge.sendMessage({
namespace: MessageNamespaces.App,
name: MessageNames.GetAssetNeedsApproval,
params: { id },
});
}
/**
* Loads an array of default assets for the current instance's app definition.

@@ -409,2 +422,16 @@ * Data is passed as the first param to the success callback.

}
/**
* Updates dashboard window url without reloading the page
*/
appUrlChanged(appPath: string): Promise<any> {
validateString(appPath, 'You must provide the appPath (string).');
return this.bridge.sendMessage({
namespace: MessageNamespaces.App,
name: MessageNames.AppUrlChanged,
params: {
appPath,
},
});
}
}

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

UpdateAssetOrder = 'app.updateAssetOrder',
DeleteAsset = 'app.deleteAsset',
TouchAsset = 'app.touchAsset',
DeleteAsset = 'app.deleteAsset',
TouchAsset = 'app.touchAsset',
GetAssetNeedsApproval = 'app.getAssetNeedsApproval',
GetDefaultAssets = 'app.getDefaultAssets',

@@ -116,5 +117,6 @@ GetFonts = 'app.getFonts',

HasFeatureFlag = 'app.hasFeatureFlag',
AppUrlChanged = 'app.appUrlChanged',
Click = 'dashboard.click',
ConfirmUnsavedChanges = 'dashboard.unsavedChanges',
ErrorIndicator = 'dashboard.indicator.error',
ErrorIndicator = 'dashboard.indicator.error',
LoadingIndicator = 'dashboard.indicator.loading',

@@ -153,3 +155,3 @@ Navigate = 'dashboard.navigate',

SaveFeed = 'social.saveFeed',
DeleteFeed = 'social.deleteFeed',
DeleteFeed = 'social.deleteFeed',
OpenPreapprovalDialog = 'social.openPreapprovalDialog',

@@ -156,0 +158,0 @@ LoadAllItems = 'social.loadAllItems',

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