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

@frontapp/plugin-sdk

Package Overview
Dependencies
Maintainers
6
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontapp/plugin-sdk - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

13

dist/index.es.js

@@ -115,15 +115,6 @@ import { ApplicationCancelError, buildApplicationCancelTokenSource } from '@frontapp/ui-bridge';

});
console.log("in the function call");
console.log(name);
console.log(args);
return messages.pipe(filter(isFunctionResultMessage), filter(function (m) {
console.log(m);
return m.id === callId;
}), map(function (m) {
return messages.pipe(filter(isFunctionResultMessage), filter(function (m) { return m.id === callId; }), map(function (m) {
switch (m.type) {
case WebViewMessageTypesEnum.FUNCTION_RESULT: {
console.log("receiving port message");
console.log(m);
case WebViewMessageTypesEnum.FUNCTION_RESULT:
return m.value;
}
case WebViewMessageTypesEnum.FUNCTION_ERROR:

@@ -130,0 +121,0 @@ default:

@@ -120,15 +120,6 @@ 'use strict';

});
console.log("in the function call");
console.log(name);
console.log(args);
return messages.pipe(operators.filter(isFunctionResultMessage), operators.filter(function (m) {
console.log(m);
return m.id === callId;
}), operators.map(function (m) {
return messages.pipe(operators.filter(isFunctionResultMessage), operators.filter(function (m) { return m.id === callId; }), operators.map(function (m) {
switch (m.type) {
case WebViewMessageTypesEnum.FUNCTION_RESULT: {
console.log("receiving port message");
console.log(m);
case WebViewMessageTypesEnum.FUNCTION_RESULT:
return m.value;
}
case WebViewMessageTypesEnum.FUNCTION_ERROR:

@@ -135,0 +126,0 @@ default:

11

dist/webViewSdkTypes.d.ts

@@ -1,10 +0,13 @@

import {ApplicationCancelTokenSource, ApplicationContext, SingleConversationContext, NoConversationContext, MultiConversationsContext, MessageContext} from '@frontapp/ui-bridge';
import {Observable} from 'rxjs';
import { ApplicationCancelTokenSource, ApplicationContext, MessageContext, MultiConversationsContext, NoConversationContext, NoConversationPopoverContext, SingleConversationContext, SingleConversationPopoverContext, MessageComposerContext } from '@frontapp/ui-bridge';
import { Observable } from 'rxjs';
declare type InternalContextProperties = 'hostId' | 'entryPointId';
declare type WebViewContextFunctions = Pick<ApplicationContext, FunctionPropertyNames<ApplicationContext>>;
declare type WebViewSingleConversationContext = Omit<SingleConversationContext, InternalContextProperties>;
declare type WebViewSingleConversationPopoverContext = Omit<SingleConversationPopoverContext, InternalContextProperties>;
declare type WebViewNoConversationContext = Omit<NoConversationContext, InternalContextProperties>;
declare type WebViewNoConversationPopoverContext = Omit<NoConversationPopoverContext, InternalContextProperties>;
declare type WebViewMultipleConversationsContext = Omit<MultiConversationsContext, InternalContextProperties>;
declare type WebViewMessageContext = Omit<MessageContext, InternalContextProperties>;
export declare type WebViewContext = WebViewSingleConversationContext | WebViewNoConversationContext | WebViewMultipleConversationsContext | WebViewMessageContext;
declare type WebViewMessageComposerContext = Omit<MessageComposerContext, InternalContextProperties>;
export declare type WebViewContext = WebViewSingleConversationContext | WebViewNoConversationPopoverContext | WebViewSingleConversationPopoverContext | WebViewNoConversationContext | WebViewMultipleConversationsContext | WebViewMessageContext | WebViewMessageComposerContext;
export declare type WebViewBaseBridge = {

@@ -63,2 +66,2 @@ buildCancelTokenSource(): ApplicationCancelTokenSource;

}[keyof T];
export { };
export {};
{
"name": "@frontapp/plugin-sdk",
"version": "1.5.0",
"version": "1.6.0",
"description": "",

@@ -12,3 +12,3 @@ "main": "dist/index.js",

"dependencies": {
"@frontapp/ui-bridge": "^2.0.0-beta11",
"@frontapp/ui-bridge": "^2.0.0-beta13",
"rxjs": "^6.5.4",

@@ -20,6 +20,2 @@ "cuid": "^2.1.8"

"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/frontapp/front-ui-sdk"
},
"keywords": [

@@ -26,0 +22,0 @@ "frontapp"

Sorry, the diff of this file is too big to display

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