Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@enplug/sdk-dashboard

Package Overview
Dependencies
Maintainers
7
Versions
204
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.2 to 5.1.3-17998-1

0

index.d.ts

@@ -0,0 +0,0 @@ import { EnplugDashboardSDK } from './src';

2

package.json
{
"name": "@enplug/sdk-dashboard",
"version": "5.1.2",
"version": "5.1.3-17998-1",
"description": "Enplug Dashboard SDK",

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

@@ -103,2 +103,22 @@ import {

/**
* Loads an content-approval asset revision.
* Data is passed as the first param to the success callback.
* @param {string} assetId An id of an asset.
* @param {string} version A version of an asset.
*/
getAssetRevision<T>(assetId: string, version: string): Promise<Array<Asset<T>>> {
validateString(assetId, 'You must provide assetId string to getAssetRevision call');
validateString(version, 'You must provide version string to getAssetRevision call');
return this.bridge.sendMessage({
namespace: MessageNamespaces.App,
name: MessageNames.GetAssetRevision,
params: {
assetId,
version,
},
});
}
/**
* Creates an asset under the current app instance.

@@ -105,0 +125,0 @@ * @param {Asset<T>[]} assets An array of asset object to create.

@@ -0,0 +0,0 @@ import { InboundMessage, OutboundMessage, PendingCallInfo } from '../internal-types';

@@ -0,0 +0,0 @@ import { BridgeBase } from './bridge-base';

@@ -0,0 +0,0 @@ import {

@@ -179,2 +179,3 @@ /** These are meant to avaialable to client apps */

crop?: {
aspectRatio?: number;
force?: boolean;

@@ -181,0 +182,0 @@ };

@@ -0,0 +0,0 @@ import { Account } from './account';

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

GetAssetsForApp = 'app.getAssetsForApp',
GetAssetRevision = 'app.getAssetRevision',
BulkCreateAssets = 'app.bulkCreateAssets',

@@ -102,0 +103,0 @@ BulkDeployAssets = 'app.bulkDeployAssets',

@@ -0,0 +0,0 @@ import { BridgeBase } from './bridge/bridge-base';

@@ -0,0 +0,0 @@ const TAG = '[Dashboard SDK]';

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