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

@openfin/core

Package Overview
Dependencies
Maintainers
41
Versions
759
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openfin/core - npm Package Compare versions

Comparing version 27.70.12 to 27.70.13

2

package.json
{
"name": "@openfin/core",
"version": "27.70.12",
"version": "27.70.13",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "./src/mock.js",

@@ -97,6 +97,6 @@ "use strict";

console.warn('addContextListener(handler) has been deprecated. Please use addContextListener(null, handler)');
listener = window.fin.me.interop.addContextHandler(contextType);
listener = this.fin.me.interop.addContextHandler(contextType);
}
else {
listener = window.fin.me.interop.addContextHandler(handler, contextType === null ? undefined : contextType);
listener = this.fin.me.interop.addContextHandler(handler, contextType === null ? undefined : contextType);
}

@@ -119,3 +119,3 @@ return {

});
window.fin.me.interop.setContext(context);
this.fin.me.interop.setContext(context);
}

@@ -132,3 +132,3 @@ /**

});
const channels = await window.fin.me.interop.getContextGroups();
const channels = await this.fin.me.interop.getContextGroups();
const unsupportedChannelApis = {

@@ -166,3 +166,3 @@ addContextListener: () => {

});
window.fin.me.interop.joinContextGroup(channelId);
this.fin.me.interop.joinContextGroup(channelId);
}

@@ -180,3 +180,3 @@ /**

});
window.fin.me.interop.removeFromContextGroup();
this.fin.me.interop.removeFromContextGroup();
}

@@ -198,3 +198,3 @@ /**

};
const listener = window.fin.me.interop.registerIntentHandler(contextHandler, intent);
const listener = this.fin.me.interop.registerIntentHandler(contextHandler, intent);
return {

@@ -222,3 +222,3 @@ ...listener,

try {
return await window.fin.me.interop.fireIntent(intentObj);
return await this.fin.me.interop.fireIntent(intentObj);
}

@@ -257,3 +257,3 @@ catch (error) {

try {
return await window.fin.me.interop.getInfoForIntent({ name: intent, context });
return await this.fin.me.interop.getInfoForIntent({ name: intent, context });
}

@@ -276,3 +276,3 @@ catch (error) {

try {
return await window.fin.me.interop.getInfoForIntentsByContext(context);
return await this.fin.me.interop.getInfoForIntentsByContext(context);
}

@@ -296,3 +296,3 @@ catch (error) {

try {
return await window.fin.me.interop.fireIntentForContext({ ...context, metadata: { target: app } });
return await this.fin.me.interop.fireIntentForContext({ ...context, metadata: { target: app } });
}

@@ -314,3 +314,3 @@ catch (error) {

});
const sessionContextGroup = await window.fin.me.interop.joinSessionContextGroup(channelId);
const sessionContextGroup = await this.fin.me.interop.joinSessionContextGroup(channelId);
return this.buildAppChannelObject(sessionContextGroup);

@@ -344,5 +344,5 @@ }

async getCurrentContextGroupInfo() {
const contextGroups = await window.fin.me.interop.getContextGroups();
const contextGroups = await this.fin.me.interop.getContextGroups();
const clientsInCtxGroupsPromise = contextGroups.map(async (ctxGroup) => {
return window.fin.me.interop.getAllClientsInContextGroup(ctxGroup.id);
return this.fin.me.interop.getAllClientsInContextGroup(ctxGroup.id);
});

@@ -353,3 +353,3 @@ const clientsInCtxGroups = await Promise.all(clientsInCtxGroupsPromise);

const { uuid, name } = clientIdentity;
return window.fin.me.identity.uuid === uuid && window.fin.me.identity.name === name;
return this.fin.me.uuid === uuid && this.fin.me.name === name;
});

@@ -366,3 +366,3 @@ });

getCurrentContext: async (contextType) => {
const context = await window.fin.me.interop.getCurrentContext(contextType);
const context = await this.fin.me.interop.getCurrentContext(contextType);
return context === undefined ? null : context;

@@ -369,0 +369,0 @@ }

@@ -211,3 +211,3 @@ import Transport from '../../transport/transport';

*/
fireIntent(intent: OpenFin.Intent): Promise<unknown>;
fireIntent<T = unknown>(intent: OpenFin.Intent): Promise<T>;
/**

@@ -240,3 +240,3 @@ * Adds an intent handler for incoming intents. The last intent sent of the name subscribed to will be received.

*/
getInfoForIntent(options: OpenFin.InfoForIntentOptions): Promise<unknown>;
getInfoForIntent<T = unknown>(options: OpenFin.InfoForIntentOptions): Promise<T>;
/**

@@ -249,3 +249,3 @@ * Get information from the Interop Broker on all Intents that are meant to handle a particular context.

*/
getInfoForIntentsByContext(context: OpenFin.Context): Promise<unknown>;
getInfoForIntentsByContext<T = unknown>(context: OpenFin.Context): Promise<T>;
/**

@@ -259,3 +259,3 @@ * Sends a Context that will be resolved to an Intent by the Interop Broker.

*/
fireIntentForContext(context: OpenFin.ContextForIntent): Promise<unknown>;
fireIntentForContext<T = unknown>(context: OpenFin.ContextForIntent): Promise<T>;
/**

@@ -262,0 +262,0 @@ * Join the current entity to session context group `sessionContextGroupId` and return a sessionContextGroup instance.

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