kinvey-js-sdk
Advanced tools
Comparing version 3.13.0-next.8 to 3.13.0-next.9
{ | ||
"name": "kinvey-js-sdk", | ||
"description": "Kinvey JavaScript SDK for JavaScript applications.", | ||
"version": "3.13.0-next.8", | ||
"version": "3.13.0-next.9", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/Kinvey/js-sdk/tree/master/packages/js-sdk", |
@@ -408,3 +408,3 @@ import isArray from 'lodash/isArray'; | ||
const pageCounts = await Promise.all(pagePromises); | ||
const totalPageCount = pageCounts.reduce((totalCount, pageCount) => totalCount + pageCount, 0); | ||
const totalPageCount = pageCounts.reduce((totalCount: number, pageCount: number) => totalCount + pageCount, 0); | ||
@@ -411,0 +411,0 @@ // Update the query cache |
import isString from 'lodash/isString'; | ||
import PQueue from 'p-queue'; | ||
import { Base64 } from 'js-base64'; | ||
import { ConfigKey, getConfig } from '../config'; | ||
@@ -4,0 +5,0 @@ import { InvalidCredentialsError } from '../errors/invalidCredentials'; |
@@ -99,9 +99,3 @@ import isNumber from 'lodash/isNumber'; | ||
set limit(limit) { | ||
let _limit = limit; | ||
if (isString(_limit)) { | ||
_limit = parseFloat(_limit); | ||
} | ||
if (limit && !isNumber(_limit)) { | ||
if (limit && !isNumber(limit)) { | ||
throw new QueryError('limit must be a number'); | ||
@@ -111,5 +105,5 @@ } | ||
if (this._parent) { | ||
this._parent.limit = _limit; | ||
this._parent.limit = limit; | ||
} else { | ||
this._limit = _limit; | ||
this._limit = limit; | ||
} | ||
@@ -123,9 +117,3 @@ } | ||
set skip(skip) { | ||
let _skip = skip; | ||
if (isString(_skip)) { | ||
_skip = parseFloat(_skip); | ||
} | ||
if (!isNumber(_skip)) { | ||
if (!isNumber(skip)) { | ||
throw new QueryError('skip must be a number'); | ||
@@ -135,5 +123,5 @@ } | ||
if (this._parent) { | ||
this._parent.skip = _skip; | ||
this._parent.skip = skip; | ||
} else { | ||
this._skip = _skip; | ||
this._skip = skip; | ||
} | ||
@@ -140,0 +128,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
220984
5353