@cutos/core 4.0.9 → 4.1.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/cutos.cjs.js +2 -2
- package/dist/cutos.esm.js +2 -2
- package/package.json +1 -1
package/dist/cutos.cjs.js
CHANGED
|
@@ -398,7 +398,7 @@ const cutosAPI$2 = {
|
|
|
398
398
|
var cutosApi = cutosAPI$2;
|
|
399
399
|
|
|
400
400
|
var name = "@cutos/core";
|
|
401
|
-
var version = "4.0
|
|
401
|
+
var version = "4.1.0";
|
|
402
402
|
var description = "The CUTOS (CUT Operating System) Core API is a JavaScript library that provides essential functionalities for LWA (Local Web Application) edge computing and communication in the CUTOS ecosystem. ";
|
|
403
403
|
var main = "dist/cutos.cjs.js";
|
|
404
404
|
var module$1 = "dist/cutos.esm.js";
|
|
@@ -838,7 +838,7 @@ Database$1.Table = class {
|
|
|
838
838
|
opts = {limit: 100};
|
|
839
839
|
}
|
|
840
840
|
if (!opts) opts = {};
|
|
841
|
-
if (opts.limit <= 0) opts.limit = 100;
|
|
841
|
+
if (!Number.isFinite(opts.limit) || opts.limit <= 0) opts.limit = 100;
|
|
842
842
|
|
|
843
843
|
let body = {
|
|
844
844
|
db: this.db, cmd: "db.table.queryUnsynced", name: this.name, limit: opts.limit
|
package/dist/cutos.esm.js
CHANGED
|
@@ -690,7 +690,7 @@ const cutosAPI$2 = {
|
|
|
690
690
|
var cutosApi = cutosAPI$2;
|
|
691
691
|
|
|
692
692
|
var name = "@cutos/core";
|
|
693
|
-
var version = "4.0
|
|
693
|
+
var version = "4.1.0";
|
|
694
694
|
var description = "The CUTOS (CUT Operating System) Core API is a JavaScript library that provides essential functionalities for LWA (Local Web Application) edge computing and communication in the CUTOS ecosystem. ";
|
|
695
695
|
var main = "dist/cutos.cjs.js";
|
|
696
696
|
var module = "dist/cutos.esm.js";
|
|
@@ -1130,7 +1130,7 @@ Database$1.Table = class {
|
|
|
1130
1130
|
opts = {limit: 100};
|
|
1131
1131
|
}
|
|
1132
1132
|
if (!opts) opts = {};
|
|
1133
|
-
if (opts.limit <= 0) opts.limit = 100;
|
|
1133
|
+
if (!Number.isFinite(opts.limit) || opts.limit <= 0) opts.limit = 100;
|
|
1134
1134
|
|
|
1135
1135
|
let body = {
|
|
1136
1136
|
db: this.db, cmd: "db.table.queryUnsynced", name: this.name, limit: opts.limit
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cutos/core",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "The CUTOS (CUT Operating System) Core API is a JavaScript library that provides essential functionalities for LWA (Local Web Application) edge computing and communication in the CUTOS ecosystem. ",
|
|
5
5
|
"main": "dist/cutos.cjs.js",
|
|
6
6
|
"module": "dist/cutos.esm.js",
|