Skip to content

Commit

Permalink
Merge branch 'main' into MWPW-133802
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheridan Sunier authored and Sheridan Sunier committed Jul 27, 2023
2 parents 4902283 + e94d801 commit 3a52b53
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@


## [0.6.38](https://github.com/adobecom/caas/compare/0.6.37...0.6.38) (2023-07-27)

## [0.6.37](https://github.com/adobecom/caas/compare/0.6.36...0.6.37) (2023-07-27)

## [0.6.36](https://github.com/adobecom/caas/compare/0.6.35...0.6.36) (2023-07-24)


Expand Down
4 changes: 4 additions & 0 deletions dist/app.css

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions dist/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/*!
<<<<<<< HEAD
* Chimera UI Libraries - Build 7/27/2023, 10:48:00
=======
* Chimera UI Libraries - Build 7/27/2023, 14:35:29
>>>>>>> main
*
*/
/******/ (function(modules) { // webpackBootstrap
Expand Down Expand Up @@ -1632,7 +1636,8 @@ var DEFAULT_CONFIG = exports.DEFAULT_CONFIG = {
noResultsDescription: 'We couldn\u2019t find any results for your {query}.{break}\n Check your spelling or try broadening your search.'
}
},
language: 'en'
language: 'en',
headers: []
};

/**
Expand Down Expand Up @@ -6432,6 +6437,7 @@ var Container = function Container(props) {
var sortEnabled = getConfig('sort', 'enabled');
var cardStyle = getConfig('collection', 'cardStyle');
var title = getConfig('collection', 'i18n.title');
var headers = getConfig('headers', '');

/**
**** Constants ****
Expand Down Expand Up @@ -7205,7 +7211,8 @@ var Container = function Container(props) {
var endPoint = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : collectionEndpoint;

return window.fetch(endPoint, {
credentials: 'include'
credentials: 'include',
headers: headers
}).then(function (resp) {
var ok = resp.ok,
status = resp.status,
Expand Down
20 changes: 20 additions & 0 deletions dist/main.min.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions dist/main.source.js

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CaaS",
"version": "0.6.36",
"version": "0.6.38",
"private": false,
"description": "",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions react/src/js/components/Consonant/Container/Container.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ const Container = (props) => {
const sortEnabled = getConfig('sort', 'enabled');
const cardStyle = getConfig('collection', 'cardStyle');
const title = getConfig('collection', 'i18n.title');
const headers = getConfig('headers', '');

/**
**** Constants ****
Expand Down Expand Up @@ -756,6 +757,7 @@ const Container = (props) => {
function getCards(endPoint = collectionEndpoint) {
return window.fetch(endPoint, {
credentials: 'include',
headers,
})
.then((resp) => {
const {
Expand Down
1 change: 1 addition & 0 deletions react/src/js/components/Consonant/Helpers/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export const DEFAULT_CONFIG = {
},
},
language: 'en',
headers: [],
};

/**
Expand Down

0 comments on commit 3a52b53

Please sign in to comment.