@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.
- package/dist/{chunk-ELM44XQ4.js → chunk-6JXCRQ6H.js} +2 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/kysely.cjs +2 -0
- package/dist/kysely.js +1 -1
- package/package.json +4 -4
|
@@ -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
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antfly/embedded",
|
|
3
|
-
"version": "0.3.0-rc.
|
|
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.
|
|
79
|
-
"@antfly/embedded-linux-arm64": "0.3.0-rc.
|
|
80
|
-
"@antfly/embedded-linux-x64": "0.3.0-rc.
|
|
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"
|