Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@boundaryml/baml

Package Overview
Dependencies
Maintainers
0
Versions
78
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.53.0 to 0.53.1

32

native.d.ts
/* auto-generated by NAPI-RS */
/* eslint-disable */
export class BamlAudio {
export declare class BamlAudio {
static fromUrl(url: string): BamlAudio

@@ -12,3 +12,3 @@ static fromBase64(mediaType: string, base64: string): BamlAudio

export class BamlImage {
export declare class BamlImage {
static fromUrl(url: string): BamlImage

@@ -22,3 +22,3 @@ static fromBase64(mediaType: string, base64: string): BamlImage

export class BamlRuntime {
export declare class BamlRuntime {
static fromDirectory(directory: string, envVars: Record<string, string>): BamlRuntime

@@ -36,3 +36,3 @@ static fromFiles(rootPath: string, files: Record<string, string>, envVars: Record<string, string>): BamlRuntime

export class BamlSpan {
export declare class BamlSpan {
static new(runtime: BamlRuntime, functionName: string, args: any, ctx: RuntimeContextManager): BamlSpan

@@ -42,3 +42,3 @@ finish(result: any, ctx: RuntimeContextManager): any

export class ClassBuilder {
export declare class ClassBuilder {
field(): FieldType

@@ -48,3 +48,3 @@ property(name: string): ClassPropertyBuilder

export class ClassPropertyBuilder {
export declare class ClassPropertyBuilder {
setType(fieldType: FieldType): ClassPropertyBuilder

@@ -55,3 +55,3 @@ alias(alias?: string | undefined | null): ClassPropertyBuilder

export class ClientRegistry {
export declare class ClientRegistry {
constructor()

@@ -62,3 +62,3 @@ addLlmClient(name: string, provider: string, options: { [string]: any }, retryPolicy?: string | undefined | null): void

export class EnumBuilder {
export declare class EnumBuilder {
value(name: string): EnumValueBuilder

@@ -69,3 +69,3 @@ alias(alias?: string | undefined | null): EnumBuilder

export class EnumValueBuilder {
export declare class EnumValueBuilder {
alias(alias?: string | undefined | null): EnumValueBuilder

@@ -76,3 +76,3 @@ skip(skip?: boolean | undefined | null): EnumValueBuilder

export class FieldType {
export declare class FieldType {
list(): FieldType

@@ -82,3 +82,3 @@ optional(): FieldType

export class FunctionResult {
export declare class FunctionResult {
isOk(): boolean

@@ -88,3 +88,3 @@ parsed(): any

export class FunctionResultStream {
export declare class FunctionResultStream {
onEvent(func: (err: any, param: FunctionResult) => void): void

@@ -94,3 +94,3 @@ done(rctx: RuntimeContextManager): Promise<FunctionResult>

export class RuntimeContextManager {
export declare class RuntimeContextManager {
upsertTags(tags: any): void

@@ -100,3 +100,3 @@ deepClone(): RuntimeContextManager

export class TraceStats {
export declare class TraceStats {
get failed(): number

@@ -111,3 +111,3 @@ get started(): number

export class TypeBuilder {
export declare class TypeBuilder {
constructor()

@@ -135,3 +135,3 @@ getEnum(name: string): EnumBuilder

export declare function invoke_runtime_cli(params: Array<string>): void
export declare export declare function invoke_runtime_cli(params: Array<string>): void

@@ -138,0 +138,0 @@ export interface LogEventMetadata {

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

@@ -70,3 +70,3 @@ "repository": {

"@biomejs/biome": "^1.7.3",
"@napi-rs/cli": "3.0.0-alpha.54",
"@napi-rs/cli": "3.0.0-alpha.56",
"@types/node": "^20.12.11",

@@ -84,9 +84,9 @@ "npm-run-all2": "^6.1.2",

"optionalDependencies": {
"@boundaryml/baml-darwin-arm64": "0.53.0",
"@boundaryml/baml-win32-arm64-msvc": "0.53.0",
"@boundaryml/baml-linux-arm64-gnu": "0.53.0",
"@boundaryml/baml-darwin-x64": "0.53.0",
"@boundaryml/baml-win32-x64-msvc": "0.53.0",
"@boundaryml/baml-linux-x64-gnu": "0.53.0"
"@boundaryml/baml-darwin-arm64": "0.53.1",
"@boundaryml/baml-win32-arm64-msvc": "0.53.1",
"@boundaryml/baml-linux-arm64-gnu": "0.53.1",
"@boundaryml/baml-darwin-x64": "0.53.1",
"@boundaryml/baml-win32-x64-msvc": "0.53.1",
"@boundaryml/baml-linux-x64-gnu": "0.53.1"
}
}
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