backendless 6.5.8 → 6.5.9

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.
@@ -258,7 +258,7 @@ var SortedSetStore = /*#__PURE__*/function (_HiveStore) {
258
258
  minBound = options.minBound,
259
259
  maxBound = options.maxBound,
260
260
  offset = options.offset,
261
- count = options.count,
261
+ pageSize = options.pageSize,
262
262
  withScores = options.withScores,
263
263
  reverse = options.reverse;
264
264
 
@@ -282,8 +282,8 @@ var SortedSetStore = /*#__PURE__*/function (_HiveStore) {
282
282
  throw new Error('Offset must be a number.');
283
283
  }
284
284
 
285
- if (count !== undefined && (typeof count !== 'number' || isNaN(count))) {
286
- throw new Error('Count must be a number.');
285
+ if (pageSize !== undefined && (typeof pageSize !== 'number' || isNaN(pageSize))) {
286
+ throw new Error('Page Size must be a number.');
287
287
  }
288
288
 
289
289
  if (withScores !== undefined && typeof withScores !== 'boolean') {
@@ -258,7 +258,7 @@ var SortedSetStore = /*#__PURE__*/function (_HiveStore) {
258
258
  minBound = options.minBound,
259
259
  maxBound = options.maxBound,
260
260
  offset = options.offset,
261
- count = options.count,
261
+ pageSize = options.pageSize,
262
262
  withScores = options.withScores,
263
263
  reverse = options.reverse;
264
264
 
@@ -282,8 +282,8 @@ var SortedSetStore = /*#__PURE__*/function (_HiveStore) {
282
282
  throw new Error('Offset must be a number.');
283
283
  }
284
284
 
285
- if (count !== undefined && (typeof count !== 'number' || isNaN(count))) {
286
- throw new Error('Count must be a number.');
285
+ if (pageSize !== undefined && (typeof pageSize !== 'number' || isNaN(pageSize))) {
286
+ throw new Error('Page Size must be a number.');
287
287
  }
288
288
 
289
289
  if (withScores !== undefined && typeof withScores !== 'boolean') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backendless",
3
- "version": "6.5.8",
3
+ "version": "6.5.9",
4
4
  "description": "Backendless JavaScript SDK for Node.js and the browser",
5
5
  "browser": "dist/backendless.js",
6
6
  "main": "lib/index.js",
@@ -228,7 +228,7 @@ export class SortedSetStore extends HiveStore {
228
228
  throw new Error('Options must be an object.')
229
229
  }
230
230
 
231
- const { minScore, maxScore, minBound, maxBound, offset, count, withScores, reverse } = options
231
+ const { minScore, maxScore, minBound, maxBound, offset, pageSize, withScores, reverse } = options
232
232
 
233
233
  if (minScore !== undefined && (isNaN(minScore) || typeof minScore !== 'number')) {
234
234
  throw new Error('Minimal Score must be a number.')
@@ -250,8 +250,8 @@ export class SortedSetStore extends HiveStore {
250
250
  throw new Error('Offset must be a number.')
251
251
  }
252
252
 
253
- if (count !== undefined && (typeof count !== 'number' || isNaN(count))) {
254
- throw new Error('Count must be a number.')
253
+ if (pageSize !== undefined && (typeof pageSize !== 'number' || isNaN(pageSize))) {
254
+ throw new Error('Page Size must be a number.')
255
255
  }
256
256
 
257
257
  if (withScores !== undefined && typeof withScores !== 'boolean') {