sr-npm 1.7.3 → 1.7.5

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/backend/consts.js CHANGED
@@ -1,4 +1,4 @@
1
- import {saveDataJobsToCMS,saveJobsDescriptionsToCMS,aggregateJobsByFieldToCMS,referenceJobsToField} from './data';
1
+ const {saveDataJobsToCMS,saveJobsDescriptionsToCMS,aggregateJobsByFieldToCMS,referenceJobsToField} = require('./data');
2
2
  const { createCollectionIfMissing } = require('@hisense-staging/velo-npm/backend');
3
3
  const TASKS_NAMES = {
4
4
  SYNC_JOBS: 'syncJobsFromSRAPIToCMS',
package/backend/data.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const { items: wixData } = require('@wix/data');
2
- import { fetchPositionsFromSRAPI, fetchJobDescription } from './fetchPositionsFromSRAPI';
3
- import { chunkedBulkOperation } from './utils';
2
+ const { fetchPositionsFromSRAPI, fetchJobDescription } = require('./fetchPositionsFromSRAPI');
3
+ const { chunkedBulkOperation } = require('./utils');
4
4
 
5
5
  // Utility function to normalize city names
6
6
  function normalizeCityName(city) {
@@ -1,4 +1,4 @@
1
- import { fetch } from 'wix-fetch';
1
+ const { fetch } = require('wix-fetch');
2
2
 
3
3
  async function makeSmartRecruitersRequest(path) {
4
4
  // const baseUrl = 'https://api.smartrecruiters.com'; // PROD
@@ -110,7 +110,6 @@ async function fetchJobDescription(jobId) {
110
110
 
111
111
 
112
112
  module.exports = {
113
-
114
113
  fetchPositionsFromSRAPI,
115
114
  fetchJobDescription,
116
115
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {