Skip to content

feat: fc_ key websocket support — conditional apiKeyId#65

Merged
jbiskur merged 1 commit intomainfrom
feat/fc-key-websocket-support
Mar 30, 2026
Merged

feat: fc_ key websocket support — conditional apiKeyId#65
jbiskur merged 1 commit intomainfrom
feat/fc-key-websocket-support

Conversation

@jbiskur
Copy link
Copy Markdown
Contributor

@jbiskur jbiskur commented Mar 30, 2026

Summary

  • Pass apiKeyId conditionally in notifier.ts and flowcore-client.ts
  • Stop forcing as string cast — only include when present
  • fc_ format keys have apiKeyId parsed from prefix by FlowcoreClient

Depends On

Context

The tenant API /notifications endpoint already supports fc_ keys with just api_key param. The data-pump was forcing apiKeyId as string which passed undefined as a string for fc_ keys.

🤖 Generated with Claude Code

FlowcoreDataPump.create() parses apiKeyId from fc_ keys before
any code path reaches these files. The ! assertion is safe and
removes the unsafe `as string` cast while being type-correct.
@jbiskur jbiskur force-pushed the feat/fc-key-websocket-support branch from 2502b83 to 931f378 Compare March 30, 2026 11:18
@jbiskur jbiskur merged commit b01d1a3 into main Mar 30, 2026
2 checks passed
@jbiskur jbiskur deleted the feat/fc-key-websocket-support branch March 30, 2026 12:14
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