contentoh-components-library 21.2.43 → 21.2.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -130,13 +130,13 @@ var Dashboard = function Dashboard(_ref) {
130
130
  switch (_context.prev = _context.next) {
131
131
  case 0:
132
132
  byStatus = _args.length > 1 && _args[1] !== undefined ? _args[1] : false;
133
+ console.log(jwt, user);
133
134
  keys = Object.keys(queryObject);
134
135
  string = [];
135
136
  keys.forEach(function (key) {
136
137
  return string.push("".concat(key, "=").concat(queryObject[key]));
137
138
  });
138
139
  query = string.join("&");
139
- console.log(query);
140
140
  endpoint = byStatus ? process.env.REACT_APP_READ_ORDERS_BY_STATUS : process.env.REACT_APP_READ_REQUIRED_ORDERS;
141
141
  _context.prev = 7;
142
142
  _context.next = 10;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.2.43",
3
+ "version": "21.2.44",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -35,11 +35,11 @@ export const Dashboard = ({ jwt, user }) => {
35
35
  const [dateOptions, setDateOptions] = useState([]);
36
36
 
37
37
  const loadProductVersions = async (queryObject, byStatus = false) => {
38
+ console.log(jwt, user);
38
39
  const keys = Object.keys(queryObject);
39
40
  let string = [];
40
41
  keys.forEach((key) => string.push(`${key}=${queryObject[key]}`));
41
42
  const query = string.join("&");
42
- console.log(query);
43
43
  const endpoint = byStatus
44
44
  ? process.env.REACT_APP_READ_ORDERS_BY_STATUS
45
45
  : process.env.REACT_APP_READ_REQUIRED_ORDERS;