Skip to content

Conversation

@GabiGrin
Copy link
Collaborator

Summary

  • Fix import of ./common to ./common.js in axios-client.ts

Problem

The SDK was failing when consumed by other ES module projects because relative imports were missing the .js extension, which is required by ES module specification.

Solution

Added .js extension to the relative import as required by ES modules.

Test plan

  • Build passes
  • Tests pass
  • Verified ES module compliance

The import of './common' was missing the .js extension, which is required
in strict ES module environments. While TypeScript and development tools
handle this gracefully, the compiled output fails when consumed by other
ES module projects.

This fixes the import to use './common.js' as required by ES module spec.
@netanelgilad netanelgilad merged commit f5c1617 into main Sep 20, 2025
0 of 3 checks passed
@GabiGrin GabiGrin mentioned this pull request Sep 20, 2025
3 tasks
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.

3 participants