@extrahorizon/javascript-sdk 8.12.0-dev-173-29c2711 → 8.12.0-dev-174-523a199
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/build/index.cjs.js +8 -3
- package/build/index.mjs +8 -3
- package/build/types/version.d.ts +1 -1
- package/build/version.d.ts +1 -1
- package/package.json +1 -1
package/build/index.cjs.js
CHANGED
|
@@ -1592,8 +1592,13 @@ async function* findAllIterator(find, options) {
|
|
|
1592
1592
|
return {};
|
|
1593
1593
|
}
|
|
1594
1594
|
async function findAllGeneric(find, options, level = 1) {
|
|
1595
|
-
if (level === 1 && (options === null || options === void 0 ? void 0 : options.rql)
|
|
1596
|
-
|
|
1595
|
+
if (level === 1 && (options === null || options === void 0 ? void 0 : options.rql)) {
|
|
1596
|
+
if (options.rql.includes('limit(')) {
|
|
1597
|
+
throw new Error('Do not pass in limit operator with findAll');
|
|
1598
|
+
}
|
|
1599
|
+
if (options.rql.includes('skipCount(')) {
|
|
1600
|
+
throw new Error('Do not pass in skipCount operator with findAll');
|
|
1601
|
+
}
|
|
1597
1602
|
}
|
|
1598
1603
|
// return async options => {
|
|
1599
1604
|
// Extra check is needed because this function is call recursively with updated RQL
|
|
@@ -5659,7 +5664,7 @@ const templatesV2Service = (httpWithAuth) => {
|
|
|
5659
5664
|
};
|
|
5660
5665
|
};
|
|
5661
5666
|
|
|
5662
|
-
const version = '8.12.0-dev-
|
|
5667
|
+
const version = '8.12.0-dev-174-523a199';
|
|
5663
5668
|
|
|
5664
5669
|
/**
|
|
5665
5670
|
* Create ExtraHorizon client.
|
package/build/index.mjs
CHANGED
|
@@ -1562,8 +1562,13 @@ async function* findAllIterator(find, options) {
|
|
|
1562
1562
|
return {};
|
|
1563
1563
|
}
|
|
1564
1564
|
async function findAllGeneric(find, options, level = 1) {
|
|
1565
|
-
if (level === 1 && (options === null || options === void 0 ? void 0 : options.rql)
|
|
1566
|
-
|
|
1565
|
+
if (level === 1 && (options === null || options === void 0 ? void 0 : options.rql)) {
|
|
1566
|
+
if (options.rql.includes('limit(')) {
|
|
1567
|
+
throw new Error('Do not pass in limit operator with findAll');
|
|
1568
|
+
}
|
|
1569
|
+
if (options.rql.includes('skipCount(')) {
|
|
1570
|
+
throw new Error('Do not pass in skipCount operator with findAll');
|
|
1571
|
+
}
|
|
1567
1572
|
}
|
|
1568
1573
|
// return async options => {
|
|
1569
1574
|
// Extra check is needed because this function is call recursively with updated RQL
|
|
@@ -5629,7 +5634,7 @@ const templatesV2Service = (httpWithAuth) => {
|
|
|
5629
5634
|
};
|
|
5630
5635
|
};
|
|
5631
5636
|
|
|
5632
|
-
const version = '8.12.0-dev-
|
|
5637
|
+
const version = '8.12.0-dev-174-523a199';
|
|
5633
5638
|
|
|
5634
5639
|
/**
|
|
5635
5640
|
* Create ExtraHorizon client.
|
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.12.0-dev-
|
|
1
|
+
export declare const version = "8.12.0-dev-174-523a199";
|
package/build/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.12.0-dev-
|
|
1
|
+
export declare const version = "8.12.0-dev-174-523a199";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extrahorizon/javascript-sdk",
|
|
3
|
-
"version": "8.12.0-dev-
|
|
3
|
+
"version": "8.12.0-dev-174-523a199",
|
|
4
4
|
"description": "This package serves as a JavaScript wrapper around all Extra Horizon cloud services.",
|
|
5
5
|
"main": "build/index.cjs.js",
|
|
6
6
|
"types": "build/types/index.d.ts",
|