Skip to content

feat: implement full SDK with REST API and WebSocket support#1

Merged
mustafa-poly merged 3 commits intomainfrom
feat/sdk-implementation
Jan 21, 2026
Merged

feat: implement full SDK with REST API and WebSocket support#1
mustafa-poly merged 3 commits intomainfrom
feat/sdk-implementation

Conversation

@harley-poly
Copy link
Member

  • Add client with public/authenticated endpoint routing
  • Add Ed25519 signature authentication
  • Add all REST resources: events, markets, orders, portfolio, account, search, series, sports
  • Add typed error classes with HTTP status mapping
  • Add private and markets WebSocket clients with typed events
  • Add dual CJS/ESM build with tsup
  • Add comprehensive test suite (131 tests)
  • Add CI workflow, issue templates, PR template
  • Add runtime fetch guard for Node <18

- Add client with public/authenticated endpoint routing
- Add Ed25519 signature authentication
- Add all REST resources: events, markets, orders, portfolio, account, search, series, sports
- Add typed error classes with HTTP status mapping
- Add private and markets WebSocket clients with typed events
- Add dual CJS/ESM build with tsup
- Add comprehensive test suite (131 tests)
- Add CI workflow, issue templates, PR template
- Add runtime fetch guard for Node <18
@harley-poly harley-poly force-pushed the feat/sdk-implementation branch from e4671df to 17097f3 Compare January 21, 2026 01:37
- Add permissions block to CI workflow
- Set noExplicitAny to warn in biome config
- Fix biome-ignore comment placement in emitter
- Format long conditionals in private.ts
- Move ws from peerDependencies to dependencies
- Add browser detection that throws clear error
- WebSocket requires header auth which browsers cannot send
Copy link
Collaborator

@mustafa-poly mustafa-poly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mustafa-poly mustafa-poly merged commit dbf52d2 into main Jan 21, 2026
7 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.

2 participants