@pi-r/azure 0.10.4 → 0.10.6

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.
Files changed (2) hide show
  1. package/client/index.js +4 -1
  2. package/package.json +5 -5
package/client/index.js CHANGED
@@ -260,7 +260,10 @@ async function executeBatchQuery(credential, batch, sessionKey) {
260
260
  if (limit > 0) {
261
261
  options.maxItemCount = limit;
262
262
  }
263
- if (queryString) {
263
+ if (options.enableQueryControl && options.continuationToken) {
264
+ queryString = '';
265
+ }
266
+ else if (queryString) {
264
267
  queryString += (query ? Cloud.asString(query, true) : '') + Cloud.asString(options, true);
265
268
  if (!update && (rows = this.getCacheResult(service, credential, queryString, cacheValue, ignoreCache))) {
266
269
  result[i] = rows;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/azure",
3
- "version": "0.10.4",
3
+ "version": "0.10.6",
4
4
  "description": "Azure cloud functions for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "publishConfig": {
@@ -19,10 +19,10 @@
19
19
  "license": "MIT",
20
20
  "homepage": "https://github.com/anpham6/pi-r#readme",
21
21
  "dependencies": {
22
- "@e-mc/cloud": "^0.12.16",
23
- "@e-mc/module": "^0.12.16",
24
- "@e-mc/types": "^0.12.16",
25
- "@azure/cosmos": "^4.5.1",
22
+ "@e-mc/cloud": "^0.12.18",
23
+ "@e-mc/module": "^0.12.18",
24
+ "@e-mc/types": "^0.12.18",
25
+ "@azure/cosmos": "^4.9.0",
26
26
  "@azure/identity": "*",
27
27
  "@azure/storage-blob": "^12.28.0"
28
28
  }