Repository navigation
feat(bridge): add Effect Bridge SDK for Miso - #60
Draft
tamashi095 wants to merge 1 commit into
Draft
tamashi095 wants to merge 1 commit into
tamashi095 wants to merge 1 commit into
Conversation
Cover all 134 pinned Bridge operations with generated Effect schemas and a portable client, pagination, webhook verification, and Miso Worker examples. Add isolated consumer and workerd checks. Refs #59.
23 of 24 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@misofm/bridge, an Effect v4 SDK generated from a pinned Bridge OpenAPI snapshot: 134 operations across 100 paths and 263 component schemas, including hidden/deprecated endpoints.Verification
bun run --filter @misofm/bridge generate:checkbun run typecheck,bun run test,bun run buildbun run --filter @misofm/bridge test:consumerbun run --filter @misofm/bridge test:workerdbun run test:consumergit diff --cached --checkbefore commitThe Bridge package suite has 84 passing tests. Tests use fixtures, synthetic credentials, mocked Fetch, and local workerd; no live Bridge calls were made.
Before release / production use
This is deliberately a draft, not an npm release. The publish workflow recognizes
bridge-v*for validation but skipsnpm publish. The pinned Bridge schema disagrees with many published response examples; the specific conflicts are documented inpackages/bridge/docs/UPSTREAM.md. In particular, transfer responsecurrencyis required by the spec but omitted from all published examples. Type-erasedundefinedpassed to a method requiring path parameters can still send a request with unresolved placeholders; the README documents this as a pre-publication hardening item. Confirm wire behavior after KYC and resolve these gates before publication or production financial flows.Refs #59.