Skip to content

fix: add fetch polyfill and missing dependencies - #8

Open
JackCheng030910 wants to merge 1 commit into
DripYCx26:mainfrom
JackCheng030910:fix/sdk-issues
Open

JackCheng030910 wants to merge 1 commit into
DripYCx26:mainfrom
JackCheng030910:fix/sdk-issues

Conversation

@JackCheng030910

Copy link
Copy Markdown
  • Add isomorphic-fetch for Node.js < 18 and browser compatibility
  • Import fetch polyfill in index.ts before other imports
  • Add basic test suite to verify SDK initialization

Fixes #1: SDK fails in environments without native fetch support

- Add isomorphic-fetch for Node.js < 18 and browser compatibility
- Import fetch polyfill in index.ts before other imports
- Add basic test suite to verify SDK initialization

Fixes DripYCx26#1: SDK fails in environments without native fetch support
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