pirc-extension 0.3.14 → 0.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pirc-extension",
3
- "version": "0.3.14",
3
+ "version": "0.4.0-beta.1",
4
4
  "description": "PiRC: remote control for pi from your iPhone, Android phone or browser",
5
5
  "license": "MIT",
6
6
  "homepage": "https://pirc.dev",
@@ -2,12 +2,12 @@
2
2
  // cannot import of pi, left for it on globalThis (docs/design.md, section
3
3
  // 8). pi's loader resolves pi's packages for a file with a static import of
4
4
  // one, as here, but not for the bundle, which Node imports. These are pi-tui
5
- // and pi's conversion to PNG, the very modules pi draws with; whole modules,
5
+ // pi's conversion to PNG and its image resizing, the very modules pi draws with; whole modules,
6
6
  // so that a name one lacks fails nothing. Set in the factory, which pi runs
7
7
  // at every load, /reload included.
8
8
  import * as piCodingAgent from "@earendil-works/pi-coding-agent";
9
9
  import * as piTui from "@earendil-works/pi-tui";
10
10
 
11
11
  export default function () {
12
- globalThis[Symbol.for("pirc.piParts")] = { tui: piTui, convertToPng: piCodingAgent.convertToPng };
12
+ globalThis[Symbol.for("pirc.piParts")] = { tui: piTui, convertToPng: piCodingAgent.convertToPng, resizeImage: piCodingAgent.resizeImage };
13
13
  }