@vuu-ui/vuu-data-remote 3.5.3 → 3.5.5
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/package.json +7 -7
- package/src/VuuDataSource.js +4 -0
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.5.
|
|
2
|
+
"version": "3.5.5",
|
|
3
3
|
"main": "./src/index.js",
|
|
4
4
|
"author": "heswell",
|
|
5
5
|
"license": "Apache-2.0",
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
"type-defs": "node ../../scripts/build-type-defs.mjs"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@vuu-ui/vuu-data-types": "3.5.
|
|
15
|
-
"@vuu-ui/vuu-table-types": "3.5.
|
|
16
|
-
"@vuu-ui/vuu-filter-types": "3.5.
|
|
17
|
-
"@vuu-ui/vuu-protocol-types": "3.5.
|
|
14
|
+
"@vuu-ui/vuu-data-types": "3.5.5",
|
|
15
|
+
"@vuu-ui/vuu-table-types": "3.5.5",
|
|
16
|
+
"@vuu-ui/vuu-filter-types": "3.5.5",
|
|
17
|
+
"@vuu-ui/vuu-protocol-types": "3.5.5"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@vuu-ui/vuu-filter-parser": "3.5.
|
|
21
|
-
"@vuu-ui/vuu-utils": "3.5.
|
|
20
|
+
"@vuu-ui/vuu-filter-parser": "3.5.5",
|
|
21
|
+
"@vuu-ui/vuu-utils": "3.5.5"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"README.md",
|
package/src/VuuDataSource.js
CHANGED
|
@@ -476,6 +476,10 @@ class VuuDataSource extends BaseDataSource {
|
|
|
476
476
|
});
|
|
477
477
|
}
|
|
478
478
|
async endEditSession(saveChanges = false, force = false) {
|
|
479
|
+
if ("unsubscribed" === this.#status || !this.server || !this.viewport) {
|
|
480
|
+
if (!saveChanges) return;
|
|
481
|
+
throw Error("Cannot save changes: server or viewport are undefined");
|
|
482
|
+
}
|
|
479
483
|
const type = "RPC_REQUEST";
|
|
480
484
|
const rpcName = "endEditSession";
|
|
481
485
|
const rpcResponse = await this.rpcRequest(saveChanges ? {
|