Skip to content

Conversation

@jonathannorris
Copy link
Member

@jonathannorris jonathannorris commented Sep 26, 2023

  • pull out the common request logic between the JS Cloud Server SDK and NodeJS SDK into its own library.

@vercel
Copy link

vercel bot commented Sep 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
js-sdks-next-js ❌ Failed (Inspect) Oct 24, 2023 8:02pm
js-sdks-web-elements ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2023 8:02pm
js-sdks-with-provider ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2023 8:02pm

@jonathannorris jonathannorris changed the title feat: remove core server request logic to new lib feat: DVC9059 move core server request logic to new lib Sep 26, 2023
)
}

async function getWithTimeout(
Copy link
Member Author

Choose a reason for hiding this comment

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

move to common request lib

status: number
}

const exponentialBackoff: RequestInitWithRetry['retryDelay'] = (attempt) => {
Copy link
Member Author

Choose a reason for hiding this comment

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

Moved all common request helper functions here used by various server SDKs.

@jonathannorris jonathannorris force-pushed the DVC-9059-add-bundled-libraries branch from adc5edf to 3ec54d0 Compare October 24, 2023 17:51
@jonathannorris jonathannorris force-pushed the DVC-9059-add-bundled-libraries branch from 3ec54d0 to d2cf865 Compare October 24, 2023 19:12
Base automatically changed from DVC-9059-add-bundled-libraries to main October 24, 2023 19:55
@jonathannorris jonathannorris merged commit 840adb3 into main Oct 24, 2023
@jonathannorris jonathannorris deleted the DVC-9059-request-lib branch October 24, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants