@antfly/embedded 0.3.0-rc.5 → 0.3.0-rc.6

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.
@@ -38,6 +38,8 @@ function result(wire) {
38
38
  return {
39
39
  columns: wire.columns,
40
40
  commandTag: wire.command_tag,
41
+ mutationOutcome: wire.mutation_outcome,
42
+ ddlReceipt: wire.ddl_receipt,
41
43
  rowsAffected: BigInt(wire.rows_affected),
42
44
  rows: wire.rows.map(
43
45
  (row, rowIndex) => Object.fromEntries(
package/dist/index.cjs CHANGED
@@ -2317,6 +2317,8 @@ function result(wire) {
2317
2317
  return {
2318
2318
  columns: wire.columns,
2319
2319
  commandTag: wire.command_tag,
2320
+ mutationOutcome: wire.mutation_outcome,
2321
+ ddlReceipt: wire.ddl_receipt,
2320
2322
  rowsAffected: BigInt(wire.rows_affected),
2321
2323
  rows: wire.rows.map(
2322
2324
  (row, rowIndex) => Object.fromEntries(
package/dist/index.d.cts CHANGED
@@ -302,6 +302,9 @@ interface SqlResult<Row = Record<string, unknown>> {
302
302
  rows: Row[];
303
303
  rowsAffected: bigint;
304
304
  commandTag: string;
305
+ /** Native write disposition; callers must not retry an uncertain write. */
306
+ mutationOutcome?: string | null;
307
+ ddlReceipt?: Readonly<Record<string, unknown>> | null;
305
308
  }
306
309
 
307
310
  /** One SQL session. Use a separate Connection for concurrently active transactions. */
package/dist/index.d.ts CHANGED
@@ -302,6 +302,9 @@ interface SqlResult<Row = Record<string, unknown>> {
302
302
  rows: Row[];
303
303
  rowsAffected: bigint;
304
304
  commandTag: string;
305
+ /** Native write disposition; callers must not retry an uncertain write. */
306
+ mutationOutcome?: string | null;
307
+ ddlReceipt?: Readonly<Record<string, unknown>> | null;
305
308
  }
306
309
 
307
310
  /** One SQL session. Use a separate Connection for concurrently active transactions. */
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  Connection,
3
3
  SqlError,
4
4
  __filename
5
- } from "./chunk-ELM44XQ4.js";
5
+ } from "./chunk-6JXCRQ6H.js";
6
6
 
7
7
  // src/abi.ts
8
8
  import koffi2 from "koffi";
package/dist/kysely.cjs CHANGED
@@ -59,6 +59,8 @@ function result(wire) {
59
59
  return {
60
60
  columns: wire.columns,
61
61
  commandTag: wire.command_tag,
62
+ mutationOutcome: wire.mutation_outcome,
63
+ ddlReceipt: wire.ddl_receipt,
62
64
  rowsAffected: BigInt(wire.rows_affected),
63
65
  rows: wire.rows.map(
64
66
  (row, rowIndex) => Object.fromEntries(
package/dist/kysely.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Connection
3
- } from "./chunk-ELM44XQ4.js";
3
+ } from "./chunk-6JXCRQ6H.js";
4
4
 
5
5
  // src/kysely.ts
6
6
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antfly/embedded",
3
- "version": "0.3.0-rc.5",
3
+ "version": "0.3.0-rc.6",
4
4
  "description": "TypeScript/Node binding for local Antfly databases and inference (libantfly C ABI)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -75,9 +75,9 @@
75
75
  "win32"
76
76
  ],
77
77
  "optionalDependencies": {
78
- "@antfly/embedded-darwin-arm64": "0.3.0-rc.5",
79
- "@antfly/embedded-linux-arm64": "0.3.0-rc.5",
80
- "@antfly/embedded-linux-x64": "0.3.0-rc.5"
78
+ "@antfly/embedded-darwin-arm64": "0.3.0-rc.6",
79
+ "@antfly/embedded-linux-arm64": "0.3.0-rc.6",
80
+ "@antfly/embedded-linux-x64": "0.3.0-rc.6"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "kysely": "^0.29.6"