-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: DVC-9055 extract JS Cloud Bucketing SDK from NodeJS SDK #560
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
fetchRequestMock.mockResolvedValue( | ||
new Response('', { status: 200 }), | ||
) | ||
await post('https://test.com', {}, 'token') |
Check failure
Code scanning / CodeQL
Hard-coded credentials
expect.objectContaining({ | ||
method: 'POST', | ||
headers: { | ||
Authorization: 'token', |
Check failure
Code scanning / CodeQL
Hard-coded credentials
new Response('', { status: 500 }), | ||
) | ||
await expect( | ||
post('https://test.com', {}, 'token'), |
Check failure
Code scanning / CodeQL
Hard-coded credentials
expect.objectContaining({ | ||
method: 'POST', | ||
headers: { | ||
Authorization: 'token', |
Check failure
Code scanning / CodeQL
Hard-coded credentials
b598042
to
1ed12da
Compare
Extracting the JS Cloud Bucketing SDK from the NodeJS SDK, this will allow for the more generic JS Cloud Bucketing SDK to be used in places where the NodeJS SDK couldn't be (Cloudflare Workers / Edge Worker Runtimes / Electron Apps / etc). The NodeJS SDK will import this new SDK for its existing
DevCycleCloudClient
interface. To avoid duplication of code, most of the shared logic from the NodeJS SDK has been moved to the new JS Cloud Bucketing SDK and imported from there.