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

@openfin/cloud-interop-core-api

Package Overview
Dependencies
Maintainers
0
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openfin/cloud-interop-core-api - npm Package Compare versions

Comparing version 0.0.1-alpha.e6793f0 to 0.0.1-alpha.ec59187

11

dist/api.d.ts

@@ -14,3 +14,3 @@ import mqtt from 'mqtt';

type EventMap = {
connected: () => void;
reconnected: () => void;
disconnected: () => void;

@@ -20,2 +20,3 @@ context: (event: ContextEvent) => void;

error: (error: Error) => void;
'session-expired': () => void;
};

@@ -31,10 +32,2 @@ /**

#private;
private cloudInteropSettings;
private _sessionDetails?;
private _mqttClient?;
private reconnectRetryLimit;
private logger;
private reconnectRetries;
private connectionParams?;
private eventListeners;
constructor(cloudInteropSettings: CloudInteropSettings);

@@ -41,0 +34,0 @@ get sessionDetails(): CreateSessionResponse | undefined;

23

dist/interfaces.d.ts

@@ -12,2 +12,3 @@ export type LogLevel = 'log' | 'debug' | 'info' | 'warn' | 'error';

* ID for a group of shared applications.
* This acts as a namespace for the interop messages that allows separation of messages between different groups of applications for the same user
*/

@@ -18,3 +19,3 @@ platformId: string;

*/
sourceId?: string;
sourceId: string;
/**

@@ -25,8 +26,2 @@ * A display name for the source environment e.g. Andys Mobile

/**
* Specifies an optional extra divider to use that allows separation of interop messages for the
* same user
* defaults to "default"
*/
realm?: string;
/**
* The maximum number of times to retry connecting to the cloud interop service when the connection is dropped

@@ -37,2 +32,7 @@ * defaults to 30

/**
* Specifies how often keep alive messages should be sent to the cloud interop service in seconds
* defaults to 30
*/
keepAliveIntervalSeconds?: number;
/**
* Optional function to call with any logging messages to allow integration with the host application's logging

@@ -134,5 +134,14 @@ *

export type ContextEvent = {
/**
* The context group
*/
contextGroup: string;
/**
* The context object
*/
context: object;
/**
* The source of the context
*/
source: Source;
};
{
"name": "@openfin/cloud-interop-core-api",
"version": "0.0.1-alpha.e6793f0",
"version": "0.0.1-alpha.ec59187",
"type": "module",

@@ -5,0 +5,0 @@ "description": "",

Sorry, the diff of this file is not supported yet

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