contentoh-components-library 21.2.43 → 21.2.45

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.
@@ -136,31 +136,30 @@ var Dashboard = function Dashboard(_ref) {
136
136
  return string.push("".concat(key, "=").concat(queryObject[key]));
137
137
  });
138
138
  query = string.join("&");
139
- console.log(query);
140
139
  endpoint = byStatus ? process.env.REACT_APP_READ_ORDERS_BY_STATUS : process.env.REACT_APP_READ_REQUIRED_ORDERS;
141
- _context.prev = 7;
142
- _context.next = 10;
140
+ _context.prev = 6;
141
+ _context.next = 9;
143
142
  return _axios.default.get("".concat(endpoint, "?").concat(query), {
144
143
  headers: {
145
144
  Authorization: jwt
146
145
  }
147
146
  });
148
147
 
149
- case 10:
148
+ case 9:
150
149
  response = _context.sent;
151
150
  return _context.abrupt("return", JSON.parse(response.data.body));
152
151
 
153
- case 14:
154
- _context.prev = 14;
155
- _context.t0 = _context["catch"](7);
152
+ case 13:
153
+ _context.prev = 13;
154
+ _context.t0 = _context["catch"](6);
156
155
  console.log(_context.t0);
157
156
 
158
- case 17:
157
+ case 16:
159
158
  case "end":
160
159
  return _context.stop();
161
160
  }
162
161
  }
163
- }, _callee, null, [[7, 14]]);
162
+ }, _callee, null, [[6, 13]]);
164
163
  }));
165
164
 
166
165
  return function loadProductVersions(_x) {
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.45",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -39,7 +39,6 @@ export const Dashboard = ({ jwt, user }) => {
39
39
  let string = [];
40
40
  keys.forEach((key) => string.push(`${key}=${queryObject[key]}`));
41
41
  const query = string.join("&");
42
- console.log(query);
43
42
  const endpoint = byStatus
44
43
  ? process.env.REACT_APP_READ_ORDERS_BY_STATUS
45
44
  : process.env.REACT_APP_READ_REQUIRED_ORDERS;