Skip to content

Conversation

@jonathannorris
Copy link
Member

@jonathannorris jonathannorris commented Sep 20, 2023

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.

@vercel
Copy link

vercel bot commented Sep 20, 2023

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

Name Status Preview Comments Updated (UTC)
js-sdks-next-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2023 1:31am
js-sdks-web-elements ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2023 1:31am
js-sdks-with-provider ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2023 1:31am

fetchRequestMock.mockResolvedValue(
new Response('', { status: 200 }),
)
await post('https://test.com', {}, 'token')

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "token" is used as [authorization header](1).
expect.objectContaining({
method: 'POST',
headers: {
Authorization: 'token',

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "token" is used as [authorization header](1).
new Response('', { status: 500 }),
)
await expect(
post('https://test.com', {}, 'token'),

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "token" is used as [authorization header](1).
expect.objectContaining({
method: 'POST',
headers: {
Authorization: 'token',

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "token" is used as [authorization header](1).
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.

4 participants