@molecule/api-wearable-oura 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/README.md +8 -5
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-10-16T23:32:18.845Z
6
+ Generated: 2026-10-26T04:24:21.910Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-wearable-oura
@@ -495,7 +495,7 @@ type SleepStage = 'awake' | 'light' | 'deep' | 'rem' | 'restless' | 'asleep' | '
495
495
  Base64url-encodes the bytes (RFC 4648 §5 with `=` padding stripped).
496
496
 
497
497
  ```typescript
498
- function base64UrlEncode(bytes: Uint8Array<ArrayBufferLike>): string
498
+ function base64UrlEncode(bytes: Uint8Array): string
499
499
  ```
500
500
 
501
501
  - `bytes` — The bytes to encode.
@@ -509,7 +509,10 @@ normalized {@link DailyActivity} shape. Missing fields are
509
509
  zero-defaulted so handlers can sum across days without null guards.
510
510
 
511
511
  ```typescript
512
- function fromOuraActivity(date: string, entry: OuraDailyActivityEntry | undefined): DailyActivity
512
+ function fromOuraActivity(
513
+ date: WearableDate,
514
+ entry: OuraDailyActivityEntry | undefined,
515
+ ): DailyActivity
513
516
  ```
514
517
 
515
518
  - `date` — The calendar day requested.
@@ -562,7 +565,7 @@ sleep — the bond marks any matching session as `isMainSleep: true`,
562
565
  with naps and short sessions as `false`.
563
566
 
564
567
  ```typescript
565
- function fromOuraSleep(date: string, raw: OuraSleepResponse): SleepSession[]
568
+ function fromOuraSleep(date: WearableDate, raw: OuraSleepResponse): SleepSession[]
566
569
  ```
567
570
 
568
571
  - `date` — Calendar day requested.
@@ -581,7 +584,7 @@ from the minimum sample of the day. Zone data is not reported by this
581
584
  endpoint, so `zones` is left undefined.
582
585
 
583
586
  ```typescript
584
- function fromOuraHeartRate(date: string, raw: OuraHeartRateResponse): HeartRateSummary
587
+ function fromOuraHeartRate(date: WearableDate, raw: OuraHeartRateResponse): HeartRateSummary
585
588
  ```
586
589
 
587
590
  - `date` — Calendar day the response was requested for.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-wearable-oura",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Oura Ring Cloud API v2 bond for molecule.dev — daily activity, sleep (REM/deep/light), and heart-rate ingestion via OAuth 2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -38,8 +38,8 @@
38
38
  "@molecule/api-wearable": "^1.0.1"
39
39
  },
40
40
  "devDependencies": {
41
- "@molecule/api-bond": "1.0.3",
42
- "@molecule/api-http": "1.0.3",
41
+ "@molecule/api-bond": "1.0.4",
42
+ "@molecule/api-http": "1.0.4",
43
43
  "@molecule/api-wearable": "1.0.3",
44
44
  "@types/node": "26.6.5",
45
45
  "typescript": "6.0.3",