@twintag/twintag-core 0.2.277 → 0.2.278
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/cjs/twintag-offline-support.cjs.entry.js +7 -2
- package/dist/collection/components/twintag-offline-support/LocalArrowData.service.js +7 -2
- package/dist/collection/version.js +1 -1
- package/dist/components/twintag-offline-support.js +7 -2
- package/dist/esm/twintag-offline-support.entry.js +7 -2
- package/dist/stencil-web-components/{p-5c9af93d.entry.js → p-3911bb95.entry.js} +1 -1
- package/dist/stencil-web-components/stencil-web-components.esm.js +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -18408,8 +18408,13 @@ class LocalArrowDataService {
|
|
|
18408
18408
|
arrowTable = objData;
|
|
18409
18409
|
}
|
|
18410
18410
|
else {
|
|
18411
|
-
|
|
18412
|
-
|
|
18411
|
+
if (Array.isArray(objData)) {
|
|
18412
|
+
// convert the json response data to an arrow table
|
|
18413
|
+
arrowTable = Arrow_dom.tableFromJSON(objData);
|
|
18414
|
+
}
|
|
18415
|
+
else {
|
|
18416
|
+
arrowTable = Arrow_dom.tableFromJSON([objData]);
|
|
18417
|
+
}
|
|
18413
18418
|
}
|
|
18414
18419
|
// convert the arrow table to ipc format as we cannot save an arrow table object to indexeddb directly
|
|
18415
18420
|
const ipcData = Arrow_dom.tableToIPC(arrowTable);
|
|
@@ -116,8 +116,13 @@ export class LocalArrowDataService {
|
|
|
116
116
|
arrowTable = objData;
|
|
117
117
|
}
|
|
118
118
|
else {
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
if (Array.isArray(objData)) {
|
|
120
|
+
// convert the json response data to an arrow table
|
|
121
|
+
arrowTable = tableFromJSON(objData);
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
arrowTable = tableFromJSON([objData]);
|
|
125
|
+
}
|
|
121
126
|
}
|
|
122
127
|
// convert the arrow table to ipc format as we cannot save an arrow table object to indexeddb directly
|
|
123
128
|
const ipcData = tableToIPC(arrowTable);
|
|
@@ -18425,8 +18425,13 @@ class LocalArrowDataService {
|
|
|
18425
18425
|
arrowTable = objData;
|
|
18426
18426
|
}
|
|
18427
18427
|
else {
|
|
18428
|
-
|
|
18429
|
-
|
|
18428
|
+
if (Array.isArray(objData)) {
|
|
18429
|
+
// convert the json response data to an arrow table
|
|
18430
|
+
arrowTable = Arrow_dom.tableFromJSON(objData);
|
|
18431
|
+
}
|
|
18432
|
+
else {
|
|
18433
|
+
arrowTable = Arrow_dom.tableFromJSON([objData]);
|
|
18434
|
+
}
|
|
18430
18435
|
}
|
|
18431
18436
|
// convert the arrow table to ipc format as we cannot save an arrow table object to indexeddb directly
|
|
18432
18437
|
const ipcData = Arrow_dom.tableToIPC(arrowTable);
|
|
@@ -18404,8 +18404,13 @@ class LocalArrowDataService {
|
|
|
18404
18404
|
arrowTable = objData;
|
|
18405
18405
|
}
|
|
18406
18406
|
else {
|
|
18407
|
-
|
|
18408
|
-
|
|
18407
|
+
if (Array.isArray(objData)) {
|
|
18408
|
+
// convert the json response data to an arrow table
|
|
18409
|
+
arrowTable = Arrow_dom.tableFromJSON(objData);
|
|
18410
|
+
}
|
|
18411
|
+
else {
|
|
18412
|
+
arrowTable = Arrow_dom.tableFromJSON([objData]);
|
|
18413
|
+
}
|
|
18409
18414
|
}
|
|
18410
18415
|
// convert the arrow table to ipc format as we cannot save an arrow table object to indexeddb directly
|
|
18411
18416
|
const ipcData = Arrow_dom.tableToIPC(arrowTable);
|