adobe / reactor-sdk-javascript

JavaScript SDK for the Reactor API
Apache License 2.0
12 stars 10 forks source link

Support for x-gw-ims-org-id header and custom headers #76

Closed celesterobinson closed 3 years ago

celesterobinson commented 3 years ago

Description

This PR adds support for the x-gw-ims-org-id header which is now required with reactor API requests. This also adds support for custom headers.

This PR also allows node integration tests to run by fixing parcel builds. It also fixes some failing tests.

There are still issues with the bundled integration tests that run in the browser. That will be addressed with this issue.

Related Issue

Closes https://github.com/adobe/reactor-sdk-javascript/issues/66

Motivation and Context

Allows users to fully use the SDK again, and forces use of the x-gw-ims-org-id header.

How Has This Been Tested?

Unit tests and integration tests all passing locally.

Screenshots (if appropriate):

Types of changes

Checklist:

celesterobinson commented 3 years ago

This isn't quite ready yet. Sorry for requesting reviews early.