@enplug/sdk-dashboard
Advanced tools
Comparing version 5.0.4 to 5.0.5
{ | ||
"name": "@enplug/sdk-dashboard", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"description": "Enplug Dashboard SDK", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.ts", |
@@ -220,2 +220,15 @@ import { | ||
/** | ||
* Marks asset as recently viewed | ||
*/ | ||
touchAsset(id: string) { | ||
validateString(id, 'You must provide an id string to touchAsset call'); | ||
return this.bridge.sendMessage({ | ||
namespace: MessageNamespaces.App, | ||
name: MessageNames.TouchAsset, | ||
params: { id }, | ||
}); | ||
} | ||
/** | ||
* Loads an array of default assets for the current instance's app definition. | ||
@@ -222,0 +235,0 @@ * Data is passed as the first param to the success callback. |
@@ -105,2 +105,3 @@ /** | ||
DeleteAsset = 'app.deleteAsset', | ||
TouchAsset = 'app.touchAsset', | ||
GetDefaultAssets = 'app.getDefaultAssets', | ||
@@ -107,0 +108,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
188583
2931