sr-npm 1.7.389 → 1.7.391

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.
@@ -1,7 +1,6 @@
1
1
  const { fetch } = require('wix-fetch');
2
2
  const { items: wixData } = require('@wix/data');
3
3
  const { COLLECTIONS } = require('./collectionConsts');
4
- const secretsData = require('./secretsData');
5
4
  async function makeSmartRecruitersRequest(path) {
6
5
  const baseUrl = 'https://api.smartrecruiters.com';
7
6
  const fullUrl = `${baseUrl}${path}`;
@@ -116,5 +115,6 @@ async function getCompanyIdFromCMS() {
116
115
  module.exports = {
117
116
  fetchPositionsFromSRAPI,
118
117
  fetchJobDescription,
119
- getCompanyIdFromCMS
118
+ getCompanyIdFromCMS,
119
+ makeSmartRecruitersRequest
120
120
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.389",
3
+ "version": "1.7.391",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -45,7 +45,7 @@ describe('fetchPositionsFromSRAPI error handling', () => {
45
45
  response = await executeApiRequest(requestBody);
46
46
  console.log(response);
47
47
  expect(response.status).toBe(500);
48
-
48
+ });
49
49
 
50
50
 
51
51