🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@types/openfin

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/openfin - npm Package Compare versions

Comparing version
16.0.2
to
16.0.3
+21
openfin v16/LICENSE
MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
+8
-17

@@ -503,5 +503,2 @@ // Type definitions for OpenFin API 16.0

interface OpenFinSystem {
/**
*
*/
Clipboard: OpenFinClipboard;

@@ -710,5 +707,2 @@ /**

cpus: NodeCpuInfo[];
/**
*
*/
gpu: {

@@ -933,5 +927,5 @@ /**

* A basic window that wraps a native HTML window. Provides more fine-grained control over the window state such as the ability to minimize, maximize, restore, etc. By default a window does not show upon instantiation; instead the window's show() method must be invoked manually. The new window appears in the same process as the parent window.
* @param {any} options - The options of the window
* @param {Function} [callback] - Called if the window creation was successful
* @param {number} [callback.successObj] - httpResponseCode
* @param options - The options of the window
* @param [callback] - Called if the window creation was successful
* @param [callback.successObj] - httpResponseCode
*/

@@ -941,3 +935,3 @@ new (options: WindowOptions, callback?: (successObj: { httpResponseCode: number }) => void, errorCallback?: (reason: string, errorObj: NetworkErrorInfo) => void): OpenFinWindow;

* Returns an instance of the current window.
* @returns {OpenFinWindow} Current window
* @returns Current window
*/

@@ -962,3 +956,3 @@ getCurrent(): OpenFinWindow;

* Returns the native JavaScript "window" object for the window. This method can only be used by the parent application or the window itself, otherwise it will return undefined. The same Single-Origin-Policy (SOP) rules apply for child windows created by window.open(url) in that the contents of the window object are only accessible if the URL has the same origin as the invoking window. See example below. Also, will not work with fin.desktop.Window objects created with fin.desktop.Window.wrap().
* @returns {Window} Native window
* @returns Native window
*/

@@ -968,3 +962,3 @@ getNativeWindow(): Window;

* Gets the parent application.
* @returns {OpenFinApplication} Parent application
* @returns Parent application
*/

@@ -998,3 +992,3 @@ getParentApplication(): OpenFinApplication;

* Closes the window.
* @param {force} Close will be prevented from closing when force is false and 'close-requested' has been subscribed to for application's main window.
* @param Close will be prevented from closing when force is false and 'close-requested' has been subscribed to for application's main window.
*/

@@ -1116,3 +1110,3 @@ close(force?: boolean, callback?: () => void, errorCallback?: (reason: string) => void): void;

* Shows the window if it is hidden.
* @param {force} Show will be prevented from closing when force is false and 'show-requested' has been subscribed to for application's main window.
* @param Show will be prevented from closing when force is false and 'show-requested' has been subscribed to for application's main window.
*/

@@ -1305,5 +1299,2 @@ show(force?: boolean, callback?: () => void, errorCallback?: (reason: string) => void): void;

top: number;
/**
*
*/
type: "bounds-changed" | "bounds-changing" | "disabled-frame-bounds-changed" | "disabled-frame-bounds-changing";

@@ -1310,0 +1301,0 @@ /**

{
"name": "@types/openfin",
"version": "16.0.2",
"version": "16.0.3",
"description": "TypeScript definitions for OpenFin API",

@@ -19,5 +19,4 @@ "license": "MIT",

"dependencies": {},
"peerDependencies": {},
"typesPublisherContentHash": "15384bcee8b9f5481f669ae5423bcd744d8ec403d49c0b45f9d4668c9f2bb4a4",
"typesPublisherContentHash": "cffd681e350a986ea34ae6420dde57f08e5af483527e14d6a83c4124a4546c99",
"typeScriptVersion": "2.0"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/openfin/v16
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/openfin/v16
Additional Details
* Last updated: Wed, 22 Mar 2017 00:12:27 GMT
* Last updated: Wed, 25 Oct 2017 01:21:35 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: fin