@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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @xata.io/client@0.23.0 add-version /home/runner/work/client-ts/client-ts/packages/client
2
+ > @xata.io/client@0.23.1 add-version /home/runner/work/client-ts/client-ts/packages/client
3
3
  > node ../../scripts/add-version-file.mjs
4
4
 
@@ -1,5 +1,5 @@
1
1
 
2
- > @xata.io/client@0.23.0 build /home/runner/work/client-ts/client-ts/packages/client
2
+ > @xata.io/client@0.23.1 build /home/runner/work/client-ts/client-ts/packages/client
3
3
  > rimraf dist && rollup -c
4
4
 
5
5
  
@@ -7,7 +7,7 @@
7
7
  created dist/index.cjs in 1.2s
8
8
  
9
9
  src/index.ts → dist/index.mjs...
10
- created dist/index.mjs in 1s
10
+ created dist/index.mjs in 865ms
11
11
  
12
12
  src/index.ts → dist/index.d.ts...
13
- created dist/index.d.ts in 5.8s
13
+ created dist/index.d.ts in 5.6s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @xata.io/client
2
2
 
3
+ ## 0.23.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#941](https://github.com/xataio/client-ts/pull/941) [`3026d708`](https://github.com/xataio/client-ts/commit/3026d70847830fd0f2024413d823380ff323806c) Thanks [@SferaDev](https://github.com/SferaDev)! - Expose records in ask SSE
8
+
3
9
  ## 0.23.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -461,7 +461,7 @@ function defaultOnOpen(response) {
461
461
  }
462
462
  }
463
463
 
464
- const VERSION = "0.23.0";
464
+ const VERSION = "0.23.1";
465
465
 
466
466
  class ErrorWithCause extends Error {
467
467
  constructor(message, options) {
@@ -3026,7 +3026,7 @@ class RestRepository extends Query {
3026
3026
  url: "/db/{dbBranchName}/tables/{tableName}/ask",
3027
3027
  method: "POST",
3028
3028
  onMessage: (message) => {
3029
- options.onMessage?.({ answer: message.text });
3029
+ options.onMessage?.({ answer: message.text, records: message.records });
3030
3030
  },
3031
3031
  ...params
3032
3032
  });