@botpress/runtime 1.15.2 → 1.15.3
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/definition.js +1 -1
- package/dist/definition.js.map +2 -2
- package/dist/internal.js +8 -1
- package/dist/internal.js.map +2 -2
- package/dist/library.js +8 -1
- package/dist/library.js.map +2 -2
- package/dist/primitives/table.d.ts.map +1 -1
- package/dist/runtime.js +1 -1
- package/dist/runtime.js.map +2 -2
- package/dist/telemetry/structured-logging.d.ts +0 -5
- package/dist/telemetry/structured-logging.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/library.js
CHANGED
|
@@ -48,7 +48,7 @@ var init_define_BUILD = __esm({
|
|
|
48
48
|
var define_PACKAGE_VERSIONS_default;
|
|
49
49
|
var init_define_PACKAGE_VERSIONS = __esm({
|
|
50
50
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
51
|
-
define_PACKAGE_VERSIONS_default = { runtime: "1.15.
|
|
51
|
+
define_PACKAGE_VERSIONS_default = { runtime: "1.15.3", adk: "not-installed", sdk: "5.4.3", llmz: "0.0.54", zai: "2.6.0", cognitive: "0.3.14" };
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -48179,6 +48179,13 @@ var init_table = __esm({
|
|
|
48179
48179
|
};
|
|
48180
48180
|
}
|
|
48181
48181
|
}
|
|
48182
|
+
const reservedColumns = ["id", "createdAt", "updatedAt"];
|
|
48183
|
+
const conflicting = Object.keys(this.columns).filter((col) => reservedColumns.includes(col));
|
|
48184
|
+
if (conflicting.length > 0) {
|
|
48185
|
+
throw new Errors.InvalidPrimitiveError(
|
|
48186
|
+
`Table '${props.name}' uses reserved column name(s): ${conflicting.join(", ")}. These columns are automatically managed by the system. Reserved names: ${reservedColumns.join(", ")}`
|
|
48187
|
+
);
|
|
48188
|
+
}
|
|
48182
48189
|
if (props.keyColumn) {
|
|
48183
48190
|
if (typeof props.keyColumn !== "string" || !(props.keyColumn in this.columns)) {
|
|
48184
48191
|
throw new Errors.InvalidPrimitiveError(
|