Skip to content

docs(indexer): correct stale vendor-import comments - #87

Open
randomblocker wants to merge 1 commit into
mainfrom
agent/indexer-verifybundlecore-subpath
Open

docs(indexer): correct stale vendor-import comments#87
randomblocker wants to merge 1 commit into
mainfrom
agent/indexer-verifybundlecore-subpath

Conversation

@randomblocker

Copy link
Copy Markdown
Contributor

Summary

  • Corrects a stale comment on verifyBundleCore's deep vendor-file import. It cited dacs-sdk#14 (now closed) as if the SDK simply lacked a subpath export — it now has one — but importing from the agent barrel drags in createAgent/Agent.js and the full substrate/bridge chain (rubic-sdkcetus-sui-clmm-sdk → a broken @mysten/bcs import), which breaks the production webpack build. Confirmed by trying the barrel import locally: npm run build fails with Attempted import error: 'fromB64' is not exported from '@mysten/bcs'. Documented the real constraint instead of switching the import.
  • sessionAnchorName is still not exported from any public SDK barrel, despite dacs-sdk#14 listing it explicitly in scope and being closed as completed by dacs-sdk#48 (which only shipped runSessionCore/SessionDeps). Filed dacs-sdk#178 to track it and updated the comment to point there instead of the closed fix(dacs-directory): detect #224 phase-index divergence in two-copy reconciliation #14.

No functional change — comments only.

Validation

  • tsc --noEmit: pass
  • npm test: 201/201 pass
  • npm run build: pass

verifyBundleCore's deep vendor-file import isn't blocked by a missing
subpath export (dacs-sdk#14, closed) — it's exported from the agent
barrel today, but that barrel also drags in createAgent/Agent.js and
the substrate/bridge dependency chain, which breaks the production
webpack build (confirmed: rubic-sdk -> cetus-sui-clmm-sdk -> a broken
@mysten/bcs import). Document the real constraint instead.

sessionAnchorName still isn't exported from any public barrel despite
#14 listing it in scope and being closed as completed — filed
dacs-sdk#178 to track it specifically and updated the comment to
point there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant