Skip to content

fix(v1-endpoint): Host API calls were scoped by run - #94

Merged
cmath10 merged 2 commits into
masterfrom
task-106689-endpoint-host-api-scope
Aug 19, 2026
Merged

fix(v1-endpoint): Host API calls were scoped by run#94
cmath10 merged 2 commits into
masterfrom
task-106689-endpoint-host-api-scope

Conversation

@cmath10

@cmath10 cmath10 commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add an optional host API scope to each endpoint run
  • route Pinia context and Host API calls through run-scoped RPC method names
  • preserve the existing unscoped endpoint behavior for current consumers
  • cover simultaneous runs with different host locations

Checks

  • corepack yarn workspace @retailcrm/embed-ui-v1-endpoint test tests/endpoint.test.ts
  • corepack yarn test:typecheck
  • corepack yarn eslint packages/v1-endpoint/src/common.ts packages/v1-endpoint/src/common/extension.ts packages/v1-endpoint/src/remote/endpoint.ts packages/v1-endpoint/tests/endpoint.test.ts
  • corepack yarn workspaces foreach -A --topological-dev run build

@cmath10
cmath10 merged commit 1cd7986 into master Aug 19, 2026
5 checks passed
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