sr-npm 1.2.38 → 1.2.40

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": "sr-npm",
3
- "version": "1.2.38",
3
+ "version": "1.2.40",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -126,9 +126,8 @@ async function handleUrlParams(_$w,urlParams) {
126
126
  items.push(...data.items);
127
127
 
128
128
  while (_$w("#jobsDataset").hasNextPage()) {
129
- await _$w("#jobsDataset").nextPage();
130
- const nextItems = await _$w("#jobsDataset").getItems(0, 1000);
131
- items.push(...nextItems.items);
129
+ const nextItems = await _$w("#jobsDataset").nextPage();
130
+ items.push(...nextItems);
132
131
  }
133
132
 
134
133
  currentJobs = items;