Skip to content

Conversation

@abcxff
Copy link
Contributor

@abcxff abcxff commented Jul 3, 2024

Regarding #982

Changes

Get rid of support for environments that don't provide fetch; this means the SDK will not install / import node-fetch or other fetch polyfills ourselves.

Given the fact Node (along with most other) JS runtimes provide fetch api by default, this should have little to no impact (?). Users with abnormal js environments should probably have to install fetch by themselves and not through the rivet lib

@linear
Copy link

linear bot commented Jul 3, 2024

@graphite-app
Copy link
Contributor

graphite-app bot commented Jul 3, 2024

Your org requires the Graphite merge queue for merging into main

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

You can enable merging using labels in your Graphite merge queue settings.

@abcxff abcxff changed the title fix(sdks/runtime): RVT-3805 / #982 Get rid of require() call in sdks/typescript/ ... /Fetcher.ts Jul 3, 2024
@abcxff abcxff marked this pull request as ready for review July 3, 2024 19:34
@abcxff abcxff requested a review from MasterPtato July 3, 2024 19:35
@abcxff abcxff merged commit b293113 into main Jul 4, 2024
@abcxff abcxff deleted the abc/fix-fetch-in-typescript-sdk branch July 4, 2024 03:15
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