New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@frontapp/plugin-sdk

Package Overview
Dependencies
Maintainers
6
Versions
17
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.4.0 to 1.5.0

CHANGELOG.md

13

dist/index.es.js

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

});
return messages.pipe(filter(isFunctionResultMessage), filter(function (m) { return m.id === callId; }), map(function (m) {
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) {
switch (m.type) {
case WebViewMessageTypesEnum.FUNCTION_RESULT:
case WebViewMessageTypesEnum.FUNCTION_RESULT: {
console.log("receiving port message");
console.log(m);
return m.value;
}
case WebViewMessageTypesEnum.FUNCTION_ERROR:

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

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

});
return messages.pipe(operators.filter(isFunctionResultMessage), operators.filter(function (m) { return m.id === callId; }), operators.map(function (m) {
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) {
switch (m.type) {
case WebViewMessageTypesEnum.FUNCTION_RESULT:
case WebViewMessageTypesEnum.FUNCTION_RESULT: {
console.log("receiving port message");
console.log(m);
return m.value;
}
case WebViewMessageTypesEnum.FUNCTION_ERROR:

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

10

dist/webViewSdkTypes.d.ts

@@ -1,12 +0,10 @@

import { ApplicationCancelTokenSource, ApplicationContext, MessageContext, MultiConversationsContext, NoConversationContext, NoConversationPopoverContext, SingleConversationContext, SingleConversationPopoverContext } from '@frontapp/ui-bridge';
import { Observable } from 'rxjs';
import {ApplicationCancelTokenSource, ApplicationContext, SingleConversationContext, NoConversationContext, MultiConversationsContext, MessageContext} 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 | WebViewNoConversationPopoverContext | WebViewSingleConversationPopoverContext | WebViewNoConversationContext | WebViewMultipleConversationsContext | WebViewMessageContext;
export declare type WebViewContext = WebViewSingleConversationContext | WebViewNoConversationContext | WebViewMultipleConversationsContext | WebViewMessageContext;
export declare type WebViewBaseBridge = {

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

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

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

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

@@ -27,2 +27,2 @@ "cuid": "^2.1.8"

]
}
}

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