--- id: BINECT-WP-0002 type: workplan title: "SDK publication and consumer validation" domain: communication repo: binect-js status: finished owner: codex topic_slug: communication created: "2026-06-22" updated: "2026-06-24" state_hub_workstream_id: "e98363de-fe52-43a3-82be-df0b1a213593" --- # SDK publication and consumer validation Prepare `@binect/js` for npm publication and validate the Explorer against live API flows. ## Publication readiness checklist ```task id: BINECT-WP-0002-T01 status: done priority: high state_hub_task_id: "6aa6e1f6-decb-46fa-900e-62519383e971" ``` Verify build output, types, e2e tests, and document npm publish + consumer install path in README. Result 2026-06-24: - Build: `npm run build` produces complete `dist/` (JS, `.d.ts`, source maps for all modules). - Types: `npm run typecheck` passes under strict TS config. - Unit tests: 62 passed. E2E: 4 credential-gated tests skip cleanly; run with `BINECT_USERNAME` / `BINECT_PASSWORD`. - Consumer install: validated via `npm pack` + `file:` tarball install; all public exports resolve. - Docs: README updated with npm install (consumer), local dev paths, and maintainer publish checklist. - Package: added `publishConfig.access: public` for scoped `@binect/js` first publish.