@stacksjs/defaults 0.75.172 → 0.75.173
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.
|
@@ -476,7 +476,13 @@ in-bed, awake and asleep stages; check `health.supports(method)` first, since an
|
|
|
476
476
|
app build that predates a read resolves `[]` for it. Mindful minutes go through
|
|
477
477
|
`health.saveMindfulSession({ id, startDate, endDate })` (the `mindful` grant;
|
|
478
478
|
the id is the sample's external UUID, so a repeat save keeps the first) and come
|
|
479
|
-
back from `health.getMindfulSessions(range)` with `ownApp` on this app's own.
|
|
479
|
+
back from `health.getMindfulSessions(range)` with `ownApp` on this app's own.
|
|
480
|
+
`health.startHeartRateUpdates({ since })` streams Apple Health's heart rate as
|
|
481
|
+
the watch syncs it (Craft 0.0.166, HKAnchoredObjectQuery) to
|
|
482
|
+
`health.onHeartRate(samples => …)`; it resolves `false` on an older build, so
|
|
483
|
+
fall back to polling `getData('heartRate')`, and `stopHeartRateUpdates()` ends
|
|
484
|
+
it. Readings come every few seconds only while the watch runs a workout or a
|
|
485
|
+
Mindfulness session. Completed
|
|
480
486
|
recordings can be written back with `health.saveWorkout(...)`; treat permission
|
|
481
487
|
revocation as a normal runtime state and never block saving the application's
|
|
482
488
|
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.173",
|
|
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.173",
|
|
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.173",
|
|
59
59
|
"@stacksjs/sanitizer": "^0.2.483",
|
|
60
60
|
"@xterm/addon-fit": "^0.11.0",
|
|
61
61
|
"@xterm/xterm": "^6.0.0",
|