@boundaryml/baml
Advanced tools
Comparing version 0.57.0 to 0.57.1
@@ -1,4 +0,4 @@ | ||
export { BamlRuntime, FunctionResult, FunctionResultStream, BamlImage as Image, ClientBuilder, BamlAudio as Audio, invoke_runtime_cli, ClientRegistry, } from './native'; | ||
export { BamlRuntime, FunctionResult, FunctionResultStream, BamlImage as Image, ClientBuilder, BamlAudio as Audio, invoke_runtime_cli, ClientRegistry, BamlLogEvent, } from './native'; | ||
export { BamlStream } from './stream'; | ||
export { BamlCtxManager } from './async_context_vars'; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BamlCtxManager = exports.BamlStream = exports.ClientRegistry = exports.invoke_runtime_cli = exports.Audio = exports.ClientBuilder = exports.Image = exports.FunctionResultStream = exports.FunctionResult = exports.BamlRuntime = void 0; | ||
exports.BamlCtxManager = exports.BamlStream = exports.BamlLogEvent = exports.ClientRegistry = exports.invoke_runtime_cli = exports.Audio = exports.ClientBuilder = exports.Image = exports.FunctionResultStream = exports.FunctionResult = exports.BamlRuntime = void 0; | ||
var native_1 = require("./native"); | ||
@@ -13,2 +13,3 @@ Object.defineProperty(exports, "BamlRuntime", { enumerable: true, get: function () { return native_1.BamlRuntime; } }); | ||
Object.defineProperty(exports, "ClientRegistry", { enumerable: true, get: function () { return native_1.ClientRegistry; } }); | ||
Object.defineProperty(exports, "BamlLogEvent", { enumerable: true, get: function () { return native_1.BamlLogEvent; } }); | ||
var stream_1 = require("./stream"); | ||
@@ -15,0 +16,0 @@ Object.defineProperty(exports, "BamlStream", { enumerable: true, get: function () { return stream_1.BamlStream; } }); |
@@ -28,4 +28,4 @@ /* auto-generated by NAPI-RS */ | ||
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 | ||
streamFunction(functionName: string, args: { [string]: any }, cb: ((err: any, param: FunctionResult) => void) | undefined, ctx: RuntimeContextManager, tb?: TypeBuilder | undefined | null, clientRegistry?: ClientRegistry | undefined | null): FunctionResultStream | ||
streamFunctionSync(functionName: string, args: { [string]: any }, cb: ((err: any, param: FunctionResult) => void) | undefined, ctx: RuntimeContextManager, tb?: TypeBuilder | undefined | null, clientRegistry?: ClientRegistry | undefined | null): FunctionResultStream | ||
setLogEventCallback(func?: undefined | ((err: any, param: BamlLogEvent) => void)): void | ||
@@ -32,0 +32,0 @@ flush(): void |
@@ -339,3 +339,3 @@ // prettier-ignore | ||
if (process.env.NAPI_RS_FORCE_WASI) { | ||
console.error(err) | ||
loadErrors.push(err) | ||
} | ||
@@ -348,3 +348,3 @@ } | ||
if (process.env.NAPI_RS_FORCE_WASI) { | ||
console.error(err) | ||
loadErrors.push(err) | ||
} | ||
@@ -351,0 +351,0 @@ } |
{ | ||
"name": "@boundaryml/baml", | ||
"version": "0.57.0", | ||
"version": "0.57.1", | ||
"description": "BAML typescript bindings (package.json)", | ||
@@ -70,3 +70,3 @@ "repository": { | ||
"@biomejs/biome": "^1.7.3", | ||
"@napi-rs/cli": "3.0.0-alpha.56", | ||
"@napi-rs/cli": "3.0.0-alpha.62", | ||
"@types/node": "^20.12.11", | ||
@@ -84,9 +84,9 @@ "npm-run-all2": "^6.1.2", | ||
"optionalDependencies": { | ||
"@boundaryml/baml-darwin-arm64": "0.57.0", | ||
"@boundaryml/baml-win32-arm64-msvc": "0.57.0", | ||
"@boundaryml/baml-linux-arm64-gnu": "0.57.0", | ||
"@boundaryml/baml-darwin-x64": "0.57.0", | ||
"@boundaryml/baml-win32-x64-msvc": "0.57.0", | ||
"@boundaryml/baml-linux-x64-gnu": "0.57.0" | ||
"@boundaryml/baml-darwin-arm64": "0.57.1", | ||
"@boundaryml/baml-win32-arm64-msvc": "0.57.1", | ||
"@boundaryml/baml-linux-arm64-gnu": "0.57.1", | ||
"@boundaryml/baml-darwin-x64": "0.57.1", | ||
"@boundaryml/baml-win32-x64-msvc": "0.57.1", | ||
"@boundaryml/baml-linux-x64-gnu": "0.57.1" | ||
} | ||
} |
32494
885