Skip to content

Releases

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 18 Nov 22:20
f42681c

The release train changes the range of @mark1russell7/files to a version outside the old range. The public types do not name @mark1russell7/files.

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 16:19
381af04
  • pageHandler serves the bytes of a reader that gives a view of a SharedArrayBuffer. Before, the Response refused that body, and the handler threw. Now the handler copies such a view. A view of an ArrayBuffer stays as it is.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 17:04
e8c88b7

The first version. The code comes from the app pairrank (packages/desktop/src/index.ts and packages/desktop/src/main.ts).

  • windowOptions, siteViewPreferences and captureWindowOptions give windows and views with a sandbox and context isolation.
  • showWhenReady shows a window at its first paint, or after a time limit.
  • CONTENT_SECURITY_POLICY, PAGE_SCHEME_PRIVILEGES, pageFile, pageHandler and pageUrlOf serve the page under app://page/.
  • allowsNavigation, allowsSiteNavigation, restrictNavigation, denyWindows and refuseWebviews are the rules of navigation.
  • refusePermissions and refuseDownloads are the rules of a session.
  • failureOf and NET_ERRORS give the reason of a failed load.
  • isMessage and allowsSender check an IPC message.
  • returnsKeys gives the keys back to the app from a view of a site.

Runtime dependencies: @mark1russell7/files. Peer dependency: electron, for its types only.