New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@boundaryml/baml

Package Overview
Dependencies
Maintainers
0
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boundaryml/baml - npm Package Compare versions

Comparing version 0.49.0 to 0.50.0

2

index.d.ts

@@ -1,4 +0,4 @@

export { BamlRuntime, FunctionResult, FunctionResultStream, BamlImage as Image, BamlAudio as Audio, invoke_runtime_cli, } from './native';
export { BamlRuntime, FunctionResult, FunctionResultStream, BamlImage as Image, ClientBuilder, BamlAudio as Audio, invoke_runtime_cli, ClientRegistry, } 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.invoke_runtime_cli = exports.Audio = exports.Image = exports.FunctionResultStream = exports.FunctionResult = exports.BamlRuntime = void 0;
exports.BamlCtxManager = exports.BamlStream = 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");

@@ -9,4 +9,6 @@ Object.defineProperty(exports, "BamlRuntime", { enumerable: true, get: function () { return native_1.BamlRuntime; } });

Object.defineProperty(exports, "Image", { enumerable: true, get: function () { return native_1.BamlImage; } });
Object.defineProperty(exports, "ClientBuilder", { enumerable: true, get: function () { return native_1.ClientBuilder; } });
Object.defineProperty(exports, "Audio", { enumerable: true, get: function () { return native_1.BamlAudio; } });
Object.defineProperty(exports, "invoke_runtime_cli", { enumerable: true, get: function () { return native_1.invoke_runtime_cli; } });
Object.defineProperty(exports, "ClientRegistry", { enumerable: true, get: function () { return native_1.ClientRegistry; } });
var stream_1 = require("./stream");

@@ -13,0 +15,0 @@ Object.defineProperty(exports, "BamlStream", { enumerable: true, get: function () { return stream_1.BamlStream; } });

@@ -25,4 +25,4 @@ /* auto-generated by NAPI-RS */

createContextManager(): RuntimeContextManager
callFunction(functionName: string, args: { [string]: any }, ctx: RuntimeContextManager, tb?: TypeBuilder | undefined | null): Promise<FunctionResult>
streamFunction(functionName: string, args: { [string]: any }, cb: (err: any, param: FunctionResult) => void, ctx: RuntimeContextManager, tb?: TypeBuilder | undefined | null): FunctionResultStream
callFunction(functionName: string, args: { [string]: any }, ctx: RuntimeContextManager, tb?: TypeBuilder | undefined | null, cb?: ClientRegistry | undefined | null): Promise<FunctionResult>
streamFunction(functionName: string, args: { [string]: any }, cb: (err: any, param: FunctionResult) => void, ctx: RuntimeContextManager, tb?: TypeBuilder | undefined | null, clientRegistry?: ClientRegistry | undefined | null): FunctionResultStream
setLogEventCallback(func: (err: any, param: BamlLogEvent) => void): void

@@ -49,2 +49,8 @@ flush(): void

export class ClientRegistry {
constructor()
addLlmClient(name: string, provider: string, options: { [string]: any }, retryPolicy?: string | undefined | null): void
setPrimary(primary: string): void
}
export class EnumBuilder {

@@ -51,0 +57,0 @@ value(name: string): EnumValueBuilder

@@ -370,2 +370,3 @@ // prettier-ignore

module.exports.ClassPropertyBuilder = nativeBinding.ClassPropertyBuilder
module.exports.ClientRegistry = nativeBinding.ClientRegistry
module.exports.EnumBuilder = nativeBinding.EnumBuilder

@@ -372,0 +373,0 @@ module.exports.EnumValueBuilder = nativeBinding.EnumValueBuilder

{
"name": "@boundaryml/baml",
"version": "0.49.0",
"version": "0.50.0",
"description": "BAML typescript bindings (package.json)",

@@ -83,9 +83,9 @@ "repository": {

"optionalDependencies": {
"@boundaryml/baml-darwin-arm64": "0.49.0",
"@boundaryml/baml-win32-arm64-msvc": "0.49.0",
"@boundaryml/baml-linux-arm64-gnu": "0.49.0",
"@boundaryml/baml-darwin-x64": "0.49.0",
"@boundaryml/baml-win32-x64-msvc": "0.49.0",
"@boundaryml/baml-linux-x64-gnu": "0.49.0"
"@boundaryml/baml-darwin-arm64": "0.50.0",
"@boundaryml/baml-win32-arm64-msvc": "0.50.0",
"@boundaryml/baml-linux-arm64-gnu": "0.50.0",
"@boundaryml/baml-darwin-x64": "0.50.0",
"@boundaryml/baml-win32-x64-msvc": "0.50.0",
"@boundaryml/baml-linux-x64-gnu": "0.50.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc