@stacksjs/defaults 0.75.164 → 0.75.165
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.
|
@@ -229,6 +229,12 @@ every reading natively, screen locked or app closed, until `stopRecording()`
|
|
|
229
229
|
hands them back. iOS only, behind `capabilities.heartRate` (which adds the
|
|
230
230
|
`bluetooth-central` background mode); Bluetooth needs no network.
|
|
231
231
|
|
|
232
|
+
`capabilities.backgroundAudio` (iOS) adds the `audio` background mode, so a
|
|
233
|
+
soundscape played with Web Audio keeps going with the screen locked: a sleep
|
|
234
|
+
timer built on stx's `useAmbientSound().fadeOut(seconds, after)` then fades it
|
|
235
|
+
out on the audio clock. App Review expects audible content from an app that
|
|
236
|
+
asks for it.
|
|
237
|
+
|
|
232
238
|
```ts
|
|
233
239
|
import { createRouteRecorder, heartRate, location } from '@stacksjs/mobile'
|
|
234
240
|
|
|
@@ -422,7 +428,10 @@ energy, distance, heart rate, resting heart rate, HRV, weight and sleep.
|
|
|
422
428
|
`health.getHeartRateSamples(range)` returns every heart-rate reading (bpm,
|
|
423
429
|
start/end, source and device) and `health.getSleepIntervals(range)` the night's
|
|
424
430
|
in-bed, awake and asleep stages; check `health.supports(method)` first, since an
|
|
425
|
-
app build that predates a read resolves `[]` for it.
|
|
431
|
+
app build that predates a read resolves `[]` for it. Mindful minutes go through
|
|
432
|
+
`health.saveMindfulSession({ id, startDate, endDate })` (the `mindful` grant;
|
|
433
|
+
the id is the sample's external UUID, so a repeat save keeps the first) and come
|
|
434
|
+
back from `health.getMindfulSessions(range)` with `ownApp` on this app's own. Completed
|
|
426
435
|
recordings can be written back with `health.saveWorkout(...)`; treat permission
|
|
427
436
|
revocation as a normal runtime state and never block saving the application's
|
|
428
437
|
own activity when a health write fails.
|
package/ide/vscode/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"publisher": "Stacks",
|
|
3
3
|
"name": "vscode-stacks",
|
|
4
4
|
"displayName": "Stacks",
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.165",
|
|
6
6
|
"description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.165",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@iconify-json/f7": "^1.2.2",
|
|
57
57
|
"@iconify-json/hugeicons": "^1.2.35",
|
|
58
|
-
"@stacksjs/mobile": "0.75.
|
|
58
|
+
"@stacksjs/mobile": "0.75.165",
|
|
59
59
|
"@stacksjs/sanitizer": "^0.2.483",
|
|
60
60
|
"@xterm/addon-fit": "^0.11.0",
|
|
61
61
|
"@xterm/xterm": "^6.0.0",
|