@timmo001/groundwork-mobile 0.20.1 → 0.20.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timmo001/groundwork-mobile",
3
- "version": "0.20.1",
3
+ "version": "0.20.2",
4
4
  "description": "The page side of Groundwork's Android shell: the app config, the typed bridge to the shell, and a fallback to the PWA outside it",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -33,8 +33,8 @@
33
33
  "format:check": "prettier --check ."
34
34
  },
35
35
  "dependencies": {
36
- "@timmo001/groundwork-pwa": "0.20.1",
37
- "@timmo001/groundwork-tokens": "0.20.1",
36
+ "@timmo001/groundwork-pwa": "0.20.2",
37
+ "@timmo001/groundwork-tokens": "0.20.2",
38
38
  "effect": "4.1.2"
39
39
  },
40
40
  "devDependencies": {
package/src/bridge.ts CHANGED
@@ -173,13 +173,13 @@ export const mobileRequests = {
173
173
  localNetwork: LocalNetworkState,
174
174
  /** Finds mDNS services of a type, such as `_http._tcp`. */
175
175
  discoverServices: Schema.Array(DiscoveredService),
176
- /** Scans a QR code with the camera: its text, or `null` when cancelled. */
176
+ /** Scans a QR code with the camera: its text, or `null` when canceled. */
177
177
  scanQr: Schema.NullOr(Schema.String),
178
178
  /** Replaces the dynamic shortcuts: how many the launcher took. */
179
179
  setShortcuts: Schema.Number,
180
180
  /** Asks the launcher to pin a shortcut: false where it can't. */
181
181
  pinShortcut: Schema.Boolean,
182
- /** Removes shortcuts, greying out pinned ones. */
182
+ /** Removes shortcuts, graying out pinned ones. */
183
183
  disableShortcuts: Schema.Boolean,
184
184
  /** Saves a file the page made to Downloads, from `{ name, type, data }` in base64. */
185
185
  saveFile: Schema.Boolean,
package/src/view.ts CHANGED
@@ -161,7 +161,7 @@ export interface Mobile {
161
161
  */
162
162
  readonly pinShortcut: (shortcut: Shortcut) => Promise<boolean>;
163
163
  /**
164
- * Removes the shortcuts with these ids. Pinned ones stay, greyed out,
164
+ * Removes the shortcuts with these ids. Pinned ones stay, grayed out,
165
165
  * showing `message` when tapped. Does nothing outside the shell.
166
166
  */
167
167
  readonly disableShortcuts: (