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

@enplug/sdk-dashboard

Package Overview
Dependencies
Maintainers
8
Versions
207
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.15 to 5.1.16-account.1

2

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

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

@@ -17,4 +17,5 @@ import { BridgeBase } from './bridge/bridge-base';

authInstagram(accessToken: string): Promise<any> {
authInstagram(accessToken: string, accountId: string): Promise<any> {
validateString(accessToken, 'No authCode provided.');
validateString(accountId, 'No accountId provided.');

@@ -26,2 +27,3 @@ return this.bridge.sendMessage({

accessToken,
accountId,
},

@@ -45,4 +47,5 @@ });

getInstagramAccounts(userId: string): Promise<any> {
getInstagramAccounts(userId: string, accountId: string): Promise<any> {
validateString(userId, 'No Facebook User Id provided');
validateString(accountId, 'No AccountId Id provided');

@@ -54,2 +57,3 @@ return this.bridge.sendMessage({

userId,
accountId,
},

@@ -76,11 +80,17 @@ });

getSlackTeams(): Promise<any> {
getSlackTeams(accountId: string): Promise<any> {
validateString(accountId, 'No accountId provided');
return this.bridge.sendMessage({
namespace: MessageNamespaces.Social,
name: MessageNames.GetSlackTeams,
params: {
accountId,
},
});
}
getSlackChannels(teamId: string): Promise<any> {
getSlackChannels(teamId: string, accountId: string): Promise<any> {
validateString(teamId, 'No teamId provided');
validateString(accountId, 'No accountId provided');

@@ -90,3 +100,6 @@ return this.bridge.sendMessage({

name: MessageNames.GetSlackChannels,
params: teamId,
params: {
teamId,
accountId,
},
});

@@ -93,0 +106,0 @@ }

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