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
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.16-account.2 to 5.1.16

0

index.d.ts

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

2

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

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

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

@@ -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 {

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

export interface EncodingStatusResult {
State: 'Error' | 'Uploaded' | 'Encoded' | 'Ready';
State: 'Error' | 'Uploading' | 'Uploaded' | 'Processing' | 'Encoded' | 'Ready';
ProgressPct: number;

@@ -290,0 +290,0 @@ Filename: string;

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

@@ -0,0 +0,0 @@ /**

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

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

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

accessToken,
accountId,
},

@@ -33,6 +31,5 @@ });

authSlack(verificationCode: string, redirectUrl: string, accountId: string): Promise<any> {
authSlack(verificationCode: string, redirectUrl: string): Promise<any> {
validateString(verificationCode, 'No Slack auth token provided');
validateString(redirectUrl, 'No redirect url provided');
validateString(accountId, 'No accountId provided');

@@ -45,3 +42,2 @@ return this.bridge.sendMessage({

redirectUrl,
accountId,
},

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

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

@@ -61,3 +56,2 @@ return this.bridge.sendMessage({

userId,
accountId,
},

@@ -84,17 +78,11 @@ });

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

@@ -104,6 +92,3 @@ return this.bridge.sendMessage({

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

@@ -110,0 +95,0 @@ }

@@ -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