@openfin/bloomberg
Advanced tools
Comparing version 2.0.0-beta.5 to 2.0.0-beta.6
{ | ||
"name": "@openfin/bloomberg", | ||
"description": "Connect apps running in OpenFin with the Bloomberg Terminal.", | ||
"version": "2.0.0-beta.5", | ||
"version": "2.0.0-beta.6", | ||
"author": "OpenFin Inc.", | ||
@@ -24,5 +24,4 @@ "homepage": "https://www.openfin.co/", | ||
"dependencies": { | ||
"@finos/fdc3": "^2.1.0-beta.6", | ||
"deepmerge-ts": "^5.1.0" | ||
"@finos/fdc3": "^2.1.0-beta.6" | ||
} | ||
} |
import { DispatchChannelClientMessage } from '../adapter/adapter.types'; | ||
import { Subscription } from '../bloomberg/bloomberg.types'; | ||
import { UsageFeatureName } from '../utils/utils.types'; | ||
import { BloombergConnection, BloombergConnectionConfig } from './connection.types'; | ||
@@ -16,1 +17,2 @@ /** | ||
export declare const disconnect: (dispatchAdapterMessage: DispatchChannelClientMessage, subscriptions?: Subscription[]) => () => Promise<void>; | ||
export declare const registerUsage: (featureName: UsageFeatureName) => Promise<void>; |
@@ -86,3 +86,2 @@ import { BloombergPanel, TerminalConnectService } from '../bloomberg/bloomberg.types'; | ||
export type ContextActionHandler = (context: unknown) => BloombergAction | Promise<BloombergAction>; | ||
export type ContextAction = ContextActionHandler; | ||
/** | ||
@@ -93,3 +92,3 @@ * Map associating context types with their corresponding actions. | ||
*/ | ||
export type ContextActionMap = [string, ContextAction][]; | ||
export type ContextActionMap = [string, ContextActionHandler][]; | ||
/** | ||
@@ -96,0 +95,0 @@ * Map associating intents with their corresponding context types and actions. |
export { BloombergPanel, TerminalConnectService } from './bloomberg/bloomberg.types'; | ||
export { connect } from './connection/connection'; | ||
export { BloombergAction, BloombergActionsConfig, BloombergConnection, BloombergConnectionConfig, BloombergTerminalCommand, ContextAction, ContextActionHandler, ContextActionMap, IntentActionMap, } from './connection/connection.types'; | ||
export { BloombergAction, BloombergActionsConfig, BloombergConnection, BloombergConnectionConfig, BloombergGroupUpdate, BloombergTerminalCommand, ContextActionHandler, ContextActionMap, IntentActionMap, } from './connection/connection.types'; | ||
export { ApiError, AppNotAuthorizedError, InteropError, TerminalCommandError, TerminalConnectionError, } from './errors/errors'; | ||
export { disableLogging, enableLogging } from './logger/logger'; | ||
export { TerminalConnectApiTypes } from './terminal-connect/terminal-connect.types'; | ||
export { isCusip, isEquity, isFigi, isIsin } from './utils/utils'; |
import * as fdc3 from '@finos/fdc3'; | ||
import { BloombergMarketSector } from '../bloomberg/bloomberg.types'; | ||
import { UsageFeatureName } from './utils.types'; | ||
export declare const ensureBloombergSecurityString: (security?: string) => string | undefined; | ||
export declare const getApiVersion: () => string; | ||
export declare const getSecurityFromInstrumentContext: (context: fdc3.Instrument) => string | undefined; | ||
export declare const getDateFromIsoString: (utcString: string) => Date | undefined; | ||
export declare const getInstrumentContextFromSecurity: (security: string) => fdc3.Instrument; | ||
export declare const getMarketSectorFromSecurity: (security: string) => BloombergMarketSector | undefined; | ||
export declare const getSecurityFromInstrumentContext: (context: fdc3.Instrument) => string | undefined; | ||
/** | ||
* Determines if the provided text is a {@link https://www.cusip.com/cusip/index.htm | CUSIP}. | ||
* | ||
* @param text - String to check. | ||
*/ | ||
export declare const isCusip: (text: string) => boolean; | ||
/** | ||
* Determines if a Bloomberg security is an equity. | ||
* | ||
* @param security - Bloomberg security to check. | ||
*/ | ||
export declare const isEquity: (security: string) => boolean; | ||
/** | ||
* Determines if the provided text is a {@link https://www.openfigi.com/about/figi | FIGI}. | ||
* | ||
* @param text - String to check. | ||
*/ | ||
export declare const isFigi: (text: string) => boolean; | ||
/** | ||
* Determines if the provided text is an {@link https://www.isin.org/isin/ | ISIN}. | ||
* | ||
* @param text - String to check. | ||
*/ | ||
export declare const isIsin: (text: string) => boolean; | ||
/** | ||
* Polyfills `crypto.randomUUID` if running in a non-secure context. | ||
*/ | ||
export declare const randomUUID: () => string; | ||
export declare const registerUsage: (featureName: UsageFeatureName) => Promise<void>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1
60386
414
- Removeddeepmerge-ts@^5.1.0
- Removeddeepmerge-ts@5.1.0(transitive)