@rabby-wallet/electron-chrome-extensions
Advanced tools
Comparing version 3.9.1 to 3.9.2
/// <reference types="chrome" /> | ||
import type { ExtensionEvent } from "./router"; | ||
/** App-specific implementation details for extensions. */ | ||
@@ -12,4 +13,11 @@ export interface ChromeExtensionImpl { | ||
assignTabDetails?(details: chrome.tabs.Tab, tab: Electron.WebContents): void; | ||
/** | ||
* @description get current window from where javascript is running | ||
*/ | ||
windowsGetCurrent?: (win: Electron.BrowserWindow | null, ctx: { | ||
event: ExtensionEvent; | ||
lastFocusedWindow: Electron.BrowserWindow | null; | ||
}) => Promise<Electron.BrowserWindow | null>; | ||
createWindow?(details: chrome.windows.CreateData): Promise<Electron.BrowserWindow>; | ||
removeWindow?(window: Electron.BrowserWindow): void; | ||
} |
@@ -29,2 +29,3 @@ /// <reference types="chrome" /> | ||
addWindow(window: Electron.BrowserWindow): void; | ||
windowsGetCurrent(event: ExtensionEvent): Promise<Electron.BrowserWindow | null>; | ||
createWindow(event: ExtensionEvent, details: chrome.windows.CreateData): Promise<Electron.BrowserWindow>; | ||
@@ -31,0 +32,0 @@ removeWindow(window: Electron.BrowserWindow): Promise<void>; |
{ | ||
"name": "@rabby-wallet/electron-chrome-extensions", | ||
"version": "3.9.1", | ||
"version": "3.9.2", | ||
"description": "Chrome extension support for Electron", | ||
@@ -82,3 +82,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "a98ddd9fcb78cff949de00775b6592fb5914415c" | ||
"gitHead": "940936a09256faa756f431dfe004d994125d93b3" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
475733
4930