@xata.io/client 0.23.0 → 0.23.1
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/.turbo/turbo-add-version.log +1 -1
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -459,7 +459,7 @@ function defaultOnOpen(response) {
|
|
459
459
|
}
|
460
460
|
}
|
461
461
|
|
462
|
-
const VERSION = "0.23.
|
462
|
+
const VERSION = "0.23.1";
|
463
463
|
|
464
464
|
class ErrorWithCause extends Error {
|
465
465
|
constructor(message, options) {
|
@@ -3024,7 +3024,7 @@ class RestRepository extends Query {
|
|
3024
3024
|
url: "/db/{dbBranchName}/tables/{tableName}/ask",
|
3025
3025
|
method: "POST",
|
3026
3026
|
onMessage: (message) => {
|
3027
|
-
options.onMessage?.({ answer: message.text });
|
3027
|
+
options.onMessage?.({ answer: message.text, records: message.records });
|
3028
3028
|
},
|
3029
3029
|
...params
|
3030
3030
|
});
|