Skip to content

Commit

Permalink
Fix type issue affecting nextjs users with missing parentheses (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronvg authored Jul 24, 2024
1 parent 061cda6 commit c12ca48
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 26 deletions.
28 changes: 14 additions & 14 deletions engine/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ internal-baml-core = { path = "baml-lib/baml-core" }
internal-baml-jinja = { path = "baml-lib/jinja" }

[workspace.package]
version = "0.51.2"
version = "0.51.3"
authors = ["Boundary <[email protected]>"]

description = "BAML Toolchain"
Expand Down
2 changes: 1 addition & 1 deletion engine/language_client_python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "baml-py"
version = "0.51.2"
version = "0.51.3"
description = "BAML python bindings (pyproject.toml)"
readme = "README.md"
authors = [["Boundary", "[email protected]"]]
Expand Down
2 changes: 1 addition & 1 deletion engine/language_client_ruby/baml.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "baml"
spec.version = "0.51.2"
spec.version = "0.51.3"
spec.authors = ["BoundaryML"]
spec.email = ["[email protected]"]

Expand Down
2 changes: 1 addition & 1 deletion engine/language_client_typescript/native.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class BamlRuntime {
callFunctionSync(functionName: string, args: { [string]: any }, ctx: RuntimeContextManager, tb?: TypeBuilder | undefined | null, cb?: ClientRegistry | undefined | null): FunctionResult
streamFunction(functionName: string, args: { [string]: any }, cb: (err: any, param: FunctionResult) => void, ctx: RuntimeContextManager, tb?: TypeBuilder | undefined | null, clientRegistry?: ClientRegistry | undefined | null): FunctionResultStream
streamFunctionSync(functionName: string, args: { [string]: any }, cb: (err: any, param: FunctionResult) => void, ctx: RuntimeContextManager, tb?: TypeBuilder | undefined | null, clientRegistry?: ClientRegistry | undefined | null): FunctionResultStream
setLogEventCallback(func?: undefined | (err: any, param: BamlLogEvent) => void): void
setLogEventCallback(func?: undefined | ((err: any, param: BamlLogEvent) => void)): void
flush(): void
drainStats(): TraceStats
}
Expand Down
2 changes: 1 addition & 1 deletion engine/language_client_typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@boundaryml/baml",
"version": "0.51.2",
"version": "0.51.3",
"description": "BAML typescript bindings (package.json)",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion engine/language_client_typescript/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ impl BamlRuntime {
pub fn set_log_event_callback(
&mut self,
env: Env,
#[napi(ts_arg_type = "undefined | (err: any, param: BamlLogEvent) => void")] func: Option<
#[napi(ts_arg_type = "undefined | ((err: any, param: BamlLogEvent) => void)")] func: Option<
JsFunction,
>,
) -> napi::Result<JsUndefined> {
Expand Down
2 changes: 1 addition & 1 deletion tools/versions/engine.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.51.2
current_version = 0.51.3
commit = False
tag = False
parse = ^(?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)$
Expand Down
2 changes: 1 addition & 1 deletion tools/versions/python.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.51.2
current_version = 0.51.3
commit = False
tag = False
parse = ^(?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)$
Expand Down
2 changes: 1 addition & 1 deletion tools/versions/ruby.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.51.2
current_version = 0.51.3
commit = False
tag = False
parse = ^(?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)$
Expand Down
2 changes: 1 addition & 1 deletion tools/versions/typescript.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.51.2
current_version = 0.51.3
commit = False
tag = False
parse = ^(?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)$
Expand Down
2 changes: 1 addition & 1 deletion tools/versions/vscode.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.51.2
current_version = 0.51.3
commit = False
tag = False
parse = ^(?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)$
Expand Down
2 changes: 1 addition & 1 deletion typescript/vscode-ext/packages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "baml-extension",
"displayName": "Baml",
"description": "BAML is a DSL for AI applications.",
"version": "0.51.2",
"version": "0.51.3",
"publisher": "Boundary",
"repository": "https://github.com/BoundaryML/baml",
"homepage": "https://www.boundaryml.com",
Expand Down

0 comments on commit c12ca48

Please sign in to comment.