Skip to content

fix(js-sdk): isows import issues (FIR-1586) (FIR-1536)#1411

Merged
mogery merged 4 commits intomainfrom
mog/js-sdk-isows-fix
Apr 4, 2025
Merged

fix(js-sdk): isows import issues (FIR-1586) (FIR-1536)#1411
mogery merged 4 commits intomainfrom
mog/js-sdk-isows-fix

Conversation

@mogery
Copy link
Member

@mogery mogery commented Apr 4, 2025

No description provided.

@mogery
Copy link
Member Author

mogery commented Apr 4, 2025

still needs manual testing

@mogery mogery requested a review from Copilot April 4, 2025 10:20
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • apps/js-sdk/firecrawl/package.json: Language not supported
Comments suppressed due to low confidence (2)

apps/js-sdk/firecrawl/src/index.ts:1883

  • WebSocket initialization is now handled asynchronously which may lead to race conditions if instance methods attempt to use 'ws' before it is set. Consider ensuring the WebSocket is fully initialized before any dependent calls.
(async () => {

apps/js-sdk/firecrawl/src/index.ts:1886

  • The updated WebSocket URL now appends '/watch'. Please confirm that this change is consistent with the intended API design.
this.ws = new isows.WebSocket(`${app.apiUrl.replace("http", "ws")}/v1/crawl/${id}/watch`);

@mogery mogery merged commit 7128f83 into main Apr 4, 2025
1 check failed
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