@nuskin/ns-shop 7.0.5-cx1-13272.14 → 7.0.5-cx1-13272.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-shop",
3
- "version": "7.0.5-cx1-13272.14",
3
+ "version": "7.0.5-cx1-13272.15",
4
4
  "description": "The description that will amaze and astound your audience when they read it",
5
5
  "main": "src/shop.js",
6
6
  "scripts": {
@@ -658,7 +658,6 @@ function _getHeaders(noCache = false) {
658
658
  }
659
659
 
660
660
  async function _getActiveEvents() {
661
- myAlert(`headers, ${JSON.stringify(_getHeaders(true))}`)
662
661
  let response = await axios({
663
662
  method: 'GET',
664
663
  url: `${_getAwsUrl()}?activeWithin=${ACTIVE_EVENT_WITHIN}`,
@@ -836,7 +835,7 @@ async function _initializePolling() {
836
835
  if (window.location.pathname === '/static/checkout/checkout.html') {
837
836
  // check for missing tickets. Only perform on checkout s
838
837
  const activeEvents = await _getActiveEvents();
839
- myAlert(`Active Event check, ${JSON.stringify(activeEvents)}`);
838
+ myAlert(`Active Event check, ${JSON.stringify(activeEvents.map(ae => ae.eventName))}`);
840
839
 
841
840
  for (const eventInfo of activeEvents) {
842
841
  await _checkForMissingTicket(eventInfo.eventName);