sr-npm 1.7.56 → 1.7.58
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.
|
@@ -35,7 +35,7 @@ async function fetchPositionsFromSRAPI() {
|
|
|
35
35
|
let allPositions = [];
|
|
36
36
|
let totalFound = 0;
|
|
37
37
|
let nextPageId = null; // Start with no page ID for the first request
|
|
38
|
-
let
|
|
38
|
+
let page = 0;
|
|
39
39
|
const MAX_PAGES = 30 // Safety limit to prevent infinite loops
|
|
40
40
|
const token = await getSmartTokenFromCMS();
|
|
41
41
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sr-npm",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.58",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"homepage": "https://github.com/psdevteamenterprise/sr-npm#readme",
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@hisense-staging/velo-npm": "1.7.249",
|
|
21
|
-
"@wix/data": "^1.0.211"
|
|
21
|
+
"@wix/data": "^1.0.211",
|
|
22
|
+
"@wix/essentials": "^0.1.24",
|
|
23
|
+
"@wix/secrets": "^1.0.53"
|
|
22
24
|
},
|
|
23
25
|
"devDependencies": {
|
|
24
26
|
"prettier": "^3.6.2"
|