@blinkdotnew/sdk 0.11.2 → 0.12.0
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/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1410,8 +1410,7 @@ var BlinkTable = class {
|
|
|
1410
1410
|
const queryParams = buildQuery(options);
|
|
1411
1411
|
const searchParams = queryParams;
|
|
1412
1412
|
const response = await this.httpClient.dbGet(this.tableName, searchParams);
|
|
1413
|
-
|
|
1414
|
-
return records;
|
|
1413
|
+
return response.data;
|
|
1415
1414
|
}
|
|
1416
1415
|
/**
|
|
1417
1416
|
* Update a single record by ID
|
|
@@ -1486,7 +1485,8 @@ var BlinkTable = class {
|
|
|
1486
1485
|
return parseInt(match[1], 10);
|
|
1487
1486
|
}
|
|
1488
1487
|
}
|
|
1489
|
-
|
|
1488
|
+
const records = response.data;
|
|
1489
|
+
return records.length;
|
|
1490
1490
|
}
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Check if any records exist matching filter
|
package/dist/index.mjs
CHANGED
|
@@ -1408,8 +1408,7 @@ var BlinkTable = class {
|
|
|
1408
1408
|
const queryParams = buildQuery(options);
|
|
1409
1409
|
const searchParams = queryParams;
|
|
1410
1410
|
const response = await this.httpClient.dbGet(this.tableName, searchParams);
|
|
1411
|
-
|
|
1412
|
-
return records;
|
|
1411
|
+
return response.data;
|
|
1413
1412
|
}
|
|
1414
1413
|
/**
|
|
1415
1414
|
* Update a single record by ID
|
|
@@ -1484,7 +1483,8 @@ var BlinkTable = class {
|
|
|
1484
1483
|
return parseInt(match[1], 10);
|
|
1485
1484
|
}
|
|
1486
1485
|
}
|
|
1487
|
-
|
|
1486
|
+
const records = response.data;
|
|
1487
|
+
return records.length;
|
|
1488
1488
|
}
|
|
1489
1489
|
/**
|
|
1490
1490
|
* Check if any records exist matching filter
|
package/package.json
CHANGED