sr-npm 1.7.26 → 1.7.27

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.
Files changed (2) hide show
  1. package/backend/data.js +3 -4
  2. package/package.json +1 -1
package/backend/data.js CHANGED
@@ -4,8 +4,7 @@ const { chunkedBulkOperation } = require('./utils');
4
4
  const { createCollectionIfMissing } = require('@hisense-staging/velo-npm/backend');
5
5
  const { COLLECTIONS, COLLECTIONS_FIELDS } = require('./collectionConsts');
6
6
  const { secrets } = require("@wix/secrets");
7
- //const { elevate } = require("wix-auth");
8
-
7
+ const { elevate } = require("wix-auth");
9
8
 
10
9
  // Utility function to normalize city names
11
10
  function normalizeCityName(city) {
@@ -321,8 +320,8 @@ function fetchJobLocation(jobDetails) {
321
320
 
322
321
 
323
322
  function getSmartToken() {
324
- // const elevatedGetSecretValue = elevate(secrets.getSecretValue);
325
- return secrets.getSecretValue("x-smarttoken")
323
+ const elevatedGetSecretValue = elevate(secrets.getSecretValue);
324
+ return elevatedGetSecretValue("x-smarttoken")
326
325
  .then((secret) => {
327
326
  return secret;
328
327
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.26",
3
+ "version": "1.7.27",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {