@oddington/sdk 0.1.17 → 0.1.19

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/README.md CHANGED
@@ -12,6 +12,16 @@ same key and content returns the original result; changed content conflicts.
12
12
  Existing Inbox-retained files remain separate from shared Files, with their
13
13
  original identities, bytes and audience. The SDK exposes no raw-credential API.
14
14
 
15
+ Focused apps use `inbox.questions.list()` for `AnswerableQuestion[]`, with relevance
16
+ bound by the trusted host to the canonical routines in the app declaration.
17
+ The same list, answer and Record-search methods work in hosted and local apps.
18
+ `InboxItem` remains the complete first-party Inbox value. Record refs are placement
19
+ hints only: match them against independently authorized Data, and omit ambiguous
20
+ detail placement. Keep drafts on failed or uncertain acceptance, prevent duplicate
21
+ interaction while submitting, and dismiss a Question only after acknowledged
22
+ acceptance. Refresh after a conflict; later effects remain Inbox work. These
23
+ interaction duties belong to the consuming app's interface.
24
+
15
25
  ```sh
16
26
  npm install @oddington/sdk
17
27
  ```
@@ -302,12 +312,13 @@ both shipped SDK inputs and every emitted helper, rejects unexpected inputs and
302
312
  imports, and retains the full credential/server/customer leak scan. Node retains
303
313
  the complete package-root exports; provider classes are never public.
304
314
 
305
- Current auth measurement is **149,045 minified bytes**, including **5,177 fixture
306
- bytes** and **143,868 SDK bytes**, with **38,870 total gzip bytes**. Current
307
- unchanged Data/Files fixture measures **46,164 total / 5,893 fixture / 40,271 SDK
308
- bytes**, with **14,316 total gzip bytes**.
309
- Both fit their explicitly reviewed ceilings: **41,000 SDK bytes** for the pinned
310
- Data/Files fixture and **150,000 SDK bytes** for the separately pinned auth fixture.
315
+ Current auth measurement is **171,346 minified bytes**, including **6,322 fixture
316
+ bytes** and **165,024 SDK bytes**, with **45,466 total gzip bytes**. Current
317
+ Data/Files fixture measures **47,254 total / 5,893 fixture / 41,361 SDK
318
+ bytes**, with **14,906 total gzip bytes**. The shipped runtime now also carries
319
+ the local Questions transport and transparent Local Host renewal.
320
+ Both fit their explicitly reviewed ceilings: **42,000 SDK bytes** for the pinned
321
+ Data/Files fixture and **166,000 SDK bytes** for the separately pinned auth fixture.
311
322
  Those ceilings are fixed review decisions, not values regenerated from later
312
323
  measurements. The installed auth realm/host-handoff proof passes alongside the
313
324
  Node exports, declarations, tarball leak scan and browser compatibility audits.
@@ -321,17 +332,17 @@ bytes; generated helpers count toward the SDK. Gzip is diagnostic only.
321
332
 
322
333
  | Same named-import fixture | Legacy diagnostic | Current strict proof |
323
334
  | --- | ---: | ---: |
324
- | Total minified JavaScript bytes | 488,539 | 46,164 |
335
+ | Total minified JavaScript bytes | 488,539 | 47,254 |
325
336
  | Fixture-attributed bytes | 5,954 | 5,893 |
326
- | SDK bytes | 482,585 | 40,271 |
327
- | Total gzip bytes | 198,612 | 14,316 |
337
+ | SDK bytes | 482,585 | 41,361 |
338
+ | Total gzip bytes | 198,612 | 14,906 |
328
339
 
329
340
  The legacy diagnostic externalized three unresolved Node built-ins and failed
330
341
  browser compatibility. The current strict proof has no imports, shims or warnings
331
- and reduces SDK bytes by 91.7%. Its literal ceiling is **41,000 SDK bytes**:
332
- 729 bytes of deliberately limited headroom. The reviewed measurement includes
333
- the Local Host bootstrap and opaque browser-auth handoff that `os.init` must
334
- select at runtime. The verifier pins the fixture
342
+ and reduces SDK bytes by 91.4%. Its literal ceiling is **42,000 SDK bytes**:
343
+ 639 bytes of deliberately limited headroom. The reviewed measurement includes
344
+ the Local Host bootstrap, local Questions transport, transparent renewal and
345
+ opaque browser-auth handoff that `os.init` must select at runtime. The verifier pins the fixture
335
346
  hash and bundler version; changing either requires a reviewed measurement
336
347
  comparison. Future ceiling increases require explicit review of added browser
337
348
  capability and must never be automatically regenerated from an oversized output.