UNPKG

@interopio/desktop

Version:

JavaScript library for io.Connect Desktop clients.

395 lines (394 loc) 17 kB
6.16.0 - feat: layouts - restoreWorkspacesByReference option added - chore: increase the timeout for streams in io.CD from 30 to 90 seconds - chore: reconnect logic improvement 6.15.0 - fix: channels - creation inconsistency - G4E-9871 - chore: intents - add excludeList in handlerFilter - G4E-9881 - chore: latest core version 6.14.0 - feat: windows - add dragMove method - feat: windows - add clearPlacement method - feat: windows - configure method now accepts a new option - showInTaskbar - feat: layouts - add onDefaultGlobalChanged event - feat: layouts - onRenamed event now receives the old name as a second argument - feat: layouts - add new options to the save method - ignoreContexts - bugfix: appManager - fix hangs on initialization with appManager: "full" outside platform 6.13.1 - fix: windows - group.onClosing throws an unhandledrejection error when the group is closed before the event is subscribed 6.13.0 - feat: windows - group.reload method added 6.12.0 - feat: channels - works outside from the platform - feat: channels - add clearChannelData method - bugfix: windows - focus and active methods always resolve 6.11.0 - fix: increase the timeout for the interop methods to 90 seconds - fix: appManager: fix the issue with the appManager.start - race condition - chore: add validations for various methods - chore: update core - chore: update fdc3 6.10.0 - feat: channels - add support for multi channels - fix: windows - navigate method accepts timeout as a parameter 6.9.0 - feat: Enable executeJavaScript Method Access through External API - feat: Bulk update Notifications from Notification Panel - feat: Added the pinned tabs methods and properties - feat: Interception API - feat: Added fdc3 parsing options to the channels API 6.8.4 - chore: bump due to workspaces api release 6.8.3 - fix: Added missing fdc3 dependency 6.8.2 - chore: Update ChannelContext's data type 6.8.1 - fix: ignore peerID when invocation target has instance 6.8.0 - feat: introduces onChannelRestrictionsChanged, isPinned, pin, unpin, executeCode, clearMany, setStates, snoozeMany 6.7.0 - feat: Extend channels methods with fdc3 options 6.6.0 - feat: layouts - add new methods - reset, getRestoredLayoutsInfo - feat: layouts - resume/restore methods now returns the restored instances 6.5.1 - chore: unified repo bump 6.5.0 - feat: contexts - add new methods - setPath,setPaths - fix: windows - activate/focus never resolves in certain cases - fix: appManager - when an is started, allow the timeout to be overridden 6.4.1 - fix: channels - listen to event for channel restrictions - chore: windows: messageTitle should be optional in the windows - chore: fix types for the resolver 6.4.0 - feat: channels - add support for channel restrictions - chore: update types - chore: update schemas to 9.3.0 (was 9.2.0) 6.3.1 - chore: update core to 6.2.1 (was 6.1.0) 6.3.0 - feat: notifications - add support for snooze - feat: windows - add showPopup method to the group object - feat: windows - two new methods - create and close group - feat: appManager - introduce new method - instance.startedBy - feat: channels - introduce new methods - restrict, restrictAll, getRestrictions - chore: prefs - fix typings - getAll 6.2.2 - feat: notifications - click method now accepts a third optional argument - options 6.2.1 - fix: appManger - myApplication returns undefined in webGroups and workspaces 6.2.0 - feat: notifications - allow user to change the notification panel and toasts position - feat: windows: add new method - clone - feat: intents - filterIntents method added - chore: notifications - fix typings - onDataChanged - chore: notifications - fix typings - onclose - chore: prefs - fix typings - lastUpdate - chore: remove shortid dependency - chore: update core to 6.1.0 6.1.0 - feat: layouts - when saving a layout, setAsCurrent option is added - feat: intens - pass caller as a second arg to io.intents.register handler - feat: windows - introduce dock method and onDockingChanged - feat: windows - introduce autoArrange method - feat: notifications - add support for updating notification data field and listening for updates - fix: windows - fix isHibernated to return the correct value - fix: windows - memory leak - chore: notifications - add prefix to the logger 6.0.1 - fix: version 6 should work with Glue42 3.X 6.0.0 - chore: Rebranding to interop.io - fix: layouts - check for old methods for calling the new ones - fix: notifications - click interop method doesn't work if the raiser is closed 5.23.1 - fix: windows - update types for DialogResult - fix: windows - autoSave is optional in ExitOpts interface - fix: channels - subscribe throws error in particular case - fix: notifications - click action is working even if the raiser of the notification is closed - fix: notifications - expose toasts option in the configure method 5.23.0 - fix: intents - fix for intents resolver to work from a hidden window - fix: notifications - add validation when raising a notification - severity, panelExpiry and toastExpiry - feat: notifications - more advanced API for notifications - feat: windows - new dialog type - SingleInputDialog - fix: windows - new dialog options - timerDuration and showTimer - fix: windows - onClosing, onRefreshing, onNavigating should check if the window is type of Electron - chore: update documentation - chore: migrate from tslint to eslint 5.22.1 - fix: channels - contexts subscribe callback is not invoked when joined to a channel and refreshing the page - chore: update: latest core@5.11.0 - use lodash for deep clone of context objects 5.22.0 - feat: windows - new methods in groups - hibernate, resume, isHibernated, onHibernated, onResumed - feat: windows - new methods in groups - show, hide, isVisible - fix: windows - frameButtons property returns sorted buttons - fix: windows - sometimes window if not fully populated when listening for onWindowGotFocus/onWindowLostFocus events - feat: layouts - new method - forceRefresh - bug: layouts - onAdded called when the layout is already added after a machine resumes - fix: layouts - timeouts increased for layout operations - bug: appManager - instances collections was wrong after a machine resumes - bug: contexts - subscribe update is missed in the case of set(),get(),set() - bug: config - passing channels: false in config does not disable channels - chore: update: latest core@5.10.3 - chore: update: latest schemas@3.20.0 5.21.1 - fix: intents - add optional 'timeout' and 'waitUserResponseIndefinitely' props in IntentRequest 5.21.0 - feat: windows - extended placement options - fix: notifications - glue desktop notifications panel is visible check doesn't work - fix: applications and layouts are listed multiple times in vnext lp after going into 5.20.1 - fix: intents - context.data should not be required 5.20.0 - feat: appManager - new property - myApplication - feat: windows - new method - flashTab - bug: windows - agmInstance now returns fully qualified instance object - chore: config - activities is set to false when running in Node.Js - chore: update: latest core@5.9.0 - chore: update: latest schemas@3.19.0 5.19.1 - bug: windows - DialogMode and DialogType should be const enums - bug: windows - onTitleChanged triggers twice - bug: layouts - layout store should be cleared after receiving the snapshot - reconnection - bug: appManager - appManager.instances now returns a copy of the array 5.19.0 - feat: windows - new method showDialog - showing dialog - feat: windows - new method startDrag - native file and drop - feat: windows - prevent closing - onClosing - feat: windows - add new option in snap method - autoAlign - feat: windows - add new option in setOnTop method - "always" - bug: windows - glue.window.open triggers onTitleChanged twice - bug: windows - fix center method - bug: channels - fix initialization race - feat: channels - add new method remove - removes a channel - chore: types - update typings around layouts - feat: notifications - events work - bug: notifications - fix when raising multiple notification at same time - feat: intents - extend start context passed to intents resolver - bug: intents - fix handler type returned from raise method of Intents API - bug: intents - remove window focusing when a handler is chosen 5.18.2 - chore: types - update typings around intent resolver 5.18.1 - chore: types - update typings around intent resolver 5.18.0 - feat: appManager - application.getConfiguration and appManager.getConfigurations methods added 5.17.0 - feat: windows - new methods around groups (onGroupAdded/onGroupRemoved and waitForGroup) 5.16.1 - fix: intents - add typings for resolver. Update resolver closing when it sends an invalid response 5.16.0 - feat: core - raise browser event when the initialization is complete - feat: intents extra features to support intent resolver - bugfix: windows - if a jump list category is removed for one instance it stops-working-for to v5 5.15.0 - feat: appManager - typings new property called keywords added - feat: windows - goBack, goForward methods added - feat: windows - added support for post data when loading url - bug: channels - replay channels data - bug: windows - window closing event not working inside a node app - bug: windows - center method is not working when on a different resolution 5.14.5 - fix: typings updates 5.14.4 - fix: windows - get window.application in NodeJS 5.14.3 - update: latest core@5.7.4 5.14.2 - fix: notifications - fix for subscribing to not. actions in node env - fix: notifications - support -1 for expiry - fix: intents - fix race condition in addIntentsListener method 5.14.1 - fix: notifications - fix for subscribing to not. actions in node env 5.14.0 - feat: notifications - add configure method 5.13.0 - feat: windows - added window.joinChannel and window.leaveChannel methods - feat: cookies - new API that allows cookies manipulation - fix: windows - autoSaveContext is not working when when you pass specific layout types - fix: channels - subscribe() does not invoke the callback when deselecting a channel 5.12.1 - fix: fixed a bug that prevents window.navigate in Node env 5.12.0 - feat: windows - add onNavigating event for each window - fix: fixed Glue.calls that tracks the calls to the factory function - update: core@5.7.2 5.11.2 - feat: windows - expose frameId on GDWindow - feat: windows - new window mode - "frameless" - feat: notifications - add panelExpiry property to notifications - fix: windows - frameButtons collection disappears after window refresh - fix: appManager - onAvailable/onUnavailable now works - fix: appManager - onInstanceStarted/onInstanceStopped returns unsubscribe function 5.10.2 - fix: displays - add x and y in the display object 5.10.1 - update: core@5.6.3 - fix: windows - ignoreFromLayouts can be passed when creating a window - fix: layouts - autoSaveWindowContext option 5.10.0 - update: core@5.6.2 - fix: preferences - clearFor - fix: windows - glue.windows.my().setContext was not replacing the context (G4E-4906) - feat: layouts - new options 5.9.0 - update: core@5.6.1 - preferences: subscribe & subscribeFor added (depends on Glue42 3.14) - appManager: onShuttingDown hook now allows preventing shut down (depends on Glue42 3.14) 5.8.0 - feat: windows - autoSaveContext to support layout types 5.7.6 - update: core@5.5.0 5.7.5 - fix: added autoSaveWindowContext to layouts config 5.7.4 - update: core@5.4.14 5.7.3 - chore: d.ts update around displays (added onDisplayChanged) 5.7.2 - update: core@5.4.12 5.7.1 - chore: d.ts update 5.7.0 - feat: notification API extensions - feat: added a new getWindow() async method to app instance; deprecated instance.window method 5.6.5 - chore: d.ts update wrt exit and restart methods 5.6.4 - fix: windows - extend place functionality (G4E-4392) - update: core@5.4.9 5.6.3 - update: core@5.4.8 5.6.2 - chore: update d.ts 5.6.1 - feat: window.configure method 5.6.0 - feat: application preferences API added 5.5.10 - fix: windows - after reconnect if the window object is already created, update its internal fields instead of re-creating it 5.5.9 - fix: channels - get initial channel from glue42gd object (G4E-4252) - fix: activities - activity peer navigation support 5.5.8 - chore: switch license to MIT 5.5.7 - improvements: windows (G4E-3908) - update: core@5.4.2 5.5.6 - fix: layouts - export layout name param fix - fix: intents -change internal formats (G4E-3781) - update: core@5.4.1 5.5.5 - fix: app manager - waitForAGMReady flag was flipped 5.5.4 - fix: app manager - do not default waitForAGMReady to true 5.5.3 - fix: typings update - themes API, layout restore splash 5.5.2 - fix: typings update - change layouts to be on par with core 5.5.1 - fix: typings update - change app definition type to string (core compatibility) 5.5.0 - feat: appManager: import/export apps to in-memory store (G4E-3802) - fix: windows: maximize/restore group methods (G4E-3893) - fix: windows: expose onNeighboursChanged event (G4E-3891) - update: core@5.4.0 5.4.2 - fix: improve logic around reusing glue, when factory function is called multiple times 5.4.1 - update: workspaces-api@1.3.0 5.4.0 - feat: appManager: provide shutdown hook - G4E-3679 - feat: windows: place method added - allows placing windows on pre-defined locations (e.g. topmost center) and optionally snap it there - feat: windows: ungroup method added - ungroups a window from a group - feat: windows: option to turn on/off stickiness globally (glue.windows.configure({sticky:false})) and per window (window.setSticky(false)) - feat: layouts: added get, getAll methods; added extra param to export method - fix: layouts: include displays in exported layouts; - update: core@5.2.7 5.3.2 - update: core@5.2.6 - update: callback-registry@2.7.1 5.3.1 - feat: windows - enable/disable sticky-ness globally and per window (G4E-3279) - feat: windows - add print and printToPDF methods to window object (G4E-210) - fix: windows - flash does not work if a glue app is focused (G4E-2939) - fix: appManager - glue.appManager API inconsistency - activity information(G4E-3242) - update: core@5.2.5 5.2.4 - fix: intents - failing with dynamic intents 5.2.3 - fix: intents - add applicationTitle and applicationDescription props to intent handler object 5.2.2 - fix: intents - add caption and icon to intent handler object 5.2.1 - update: core@5.2.3 5.2.0 - feat: intents API refactoring (G4E-3189) - feat: createStackedWindows support (G4E-1865) - feat: allow apps to store data in application default layout (G4E-3292) - feat: track instances and return the first instance on initialization when running in GD - fix: activityOwnerInstance throws Maximum call stack size exceeded (G4E-3045) - update: core@5.2.2 5.1.4 - fix: themes API is not available immediately after init (G4E-3090) - fix: windows lib should resolve after receiving the snapshot (G4E-3108) 5.1.3 - fix: channels.join now changes the channel selector (G4E-3051) - update: core@5.0.7 5.1.2 - npm: bump latest to 5.* 5.1.1 - bugfix: fetch application instance context from windows lib (if app-manager is not fully enabled) 5.1.0 - feat: new themes API - feat: getChildren & getParent methods added to window object in windows API - feat: getTitle & setTitle methods added to group object in windows API - update: core@5.0.6 - fix: tabtooltip property is not working 5.0.1 - update: core update to 5.0.1(was 5.0.0) 5.0.0 - BREAKING CHANGE: removed support for Glue42 v2 - feat: notification API (alpha state) 4.8.0 - fix: glue.d.ts - windowCreateOptions arguments should be optional - update: core@4.8.2 (was 4.7.1) - build: do audit before publishing 4.7.2 - feat: properly reconnecting when GW goes down (picking up latest core@4.7.1) - update: core@4.7.1 (was 4.6.0np) 4.7.1 - fix: G4E-2330 - bring back the old logic for collection ids when saving a global layout - fix: fix in glue.d.ts file - activities config modes 4.7.0 - feat: intents support (depends on Glue42 3.9) - feat: G4E-2043 added window & group capture (depends on Glue42 3.9) - feat: G4E-2214 extended with window.setOnTop (depends on Glue42 3.9) - feat: G4E-1057 added flash method to window (depends on Glue42 3.9) - feat: G4E-1060 added getMousePosition - fix: G4E-2249 && G4E-2250 - fix: fix for appManager in default mode (startOnly) - when starting an application promise now resolves with instance 4.6.3 - fix: fix in glue.d.ts file - expose Interop API from glue API object 4.6.2 (core) - fix: appManager API - starting activity application times out 4.6.1 - fix: flydown API 4.6.0 (core 4.5.0) - feat: windows API - zoom support - feat: windows API - flydown support - feat: windows API - popup support - feat: upgraded @glue42/core to 4.5.0 - fix: appManager API - fixed a rare case where appManager API can crash during processing snapshot 4.5.7 - fix: windows API - moveResize bugfix 4.5.6 - fix: windows API - get proper Interop instance for any window 4.5.5 - fix: package cleanup 4.5.4 (core 4.4.2) - npm package published