blazen 0.1.118 → 0.1.119
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/index.d.ts +277 -10
- package/index.js +56 -52
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -21,6 +21,14 @@ export declare class ChatMessage {
|
|
|
21
21
|
static userImageUrl(text: string, url: string, mediaType?: string | undefined | null): ChatMessage
|
|
22
22
|
/** Create a user message containing text and a base64-encoded image. */
|
|
23
23
|
static userImageBase64(text: string, data: string, mediaType: string): ChatMessage
|
|
24
|
+
/** Create a user message containing text and an audio clip from a URL. */
|
|
25
|
+
static userAudio(text: string, url: string): ChatMessage
|
|
26
|
+
/** Create a user message containing text and base64-encoded audio data. */
|
|
27
|
+
static userAudioBase64(text: string, data: string, mediaType: string): ChatMessage
|
|
28
|
+
/** Create a user message containing text and a video clip from a URL. */
|
|
29
|
+
static userVideo(text: string, url: string): ChatMessage
|
|
30
|
+
/** Create a user message containing text and base64-encoded video data. */
|
|
31
|
+
static userVideoBase64(text: string, data: string, mediaType: string): ChatMessage
|
|
24
32
|
/** Create a user message from an explicit list of content parts. */
|
|
25
33
|
static userParts(parts: Array<JsContentPart>): ChatMessage
|
|
26
34
|
/** The role of the message author. */
|
|
@@ -54,10 +62,11 @@ export declare class CompletionModel {
|
|
|
54
62
|
/**
|
|
55
63
|
* Create a fal.ai completion model.
|
|
56
64
|
*
|
|
57
|
-
* `
|
|
58
|
-
*
|
|
65
|
+
* `options` optionally configures the LLM model, endpoint family,
|
|
66
|
+
* enterprise tier, and modality auto-routing. Defaults to the
|
|
67
|
+
* OpenAI-compatible chat-completions endpoint.
|
|
59
68
|
*/
|
|
60
|
-
static fal(apiKey: string,
|
|
69
|
+
static fal(apiKey: string, options?: JsFalOptions | undefined | null): CompletionModel
|
|
61
70
|
/** Create an `OpenRouter` completion model. */
|
|
62
71
|
static openrouter(apiKey: string, model?: string | undefined | null): CompletionModel
|
|
63
72
|
/** Create a Groq completion model. */
|
|
@@ -260,6 +269,34 @@ export declare class EmbeddingModel {
|
|
|
260
269
|
}
|
|
261
270
|
export type JsEmbeddingModel = EmbeddingModel
|
|
262
271
|
|
|
272
|
+
/**
|
|
273
|
+
* A fal.ai embedding model.
|
|
274
|
+
*
|
|
275
|
+
* Wraps [`FalEmbeddingModel`] and exposes the
|
|
276
|
+
* [`EmbeddingModel`](blazen_llm::EmbeddingModel) interface to JavaScript.
|
|
277
|
+
* Constructed via [`JsFalProvider::embedding_model`].
|
|
278
|
+
*
|
|
279
|
+
* ```typescript
|
|
280
|
+
* const fal = FalProvider.create("fal-key-...");
|
|
281
|
+
* const em = fal.embeddingModel();
|
|
282
|
+
* const vectors = await em.embed(["hello", "world"]);
|
|
283
|
+
* console.log(vectors.length); // 2
|
|
284
|
+
* ```
|
|
285
|
+
*/
|
|
286
|
+
export declare class FalEmbeddingModel {
|
|
287
|
+
/** Get the underlying embedding model id. */
|
|
288
|
+
get modelId(): string
|
|
289
|
+
/** Get the dimensionality of the produced embedding vectors. */
|
|
290
|
+
get dimensions(): number
|
|
291
|
+
/**
|
|
292
|
+
* Embed one or more texts.
|
|
293
|
+
*
|
|
294
|
+
* Returns a list of embedding vectors (one per input text).
|
|
295
|
+
*/
|
|
296
|
+
embed(texts: Array<string>): Promise<Array<Array<number>>>
|
|
297
|
+
}
|
|
298
|
+
export type JsFalEmbeddingModel = FalEmbeddingModel
|
|
299
|
+
|
|
263
300
|
/**
|
|
264
301
|
* A fal.ai compute platform provider with image, video, audio, transcription,
|
|
265
302
|
* and LLM capabilities.
|
|
@@ -274,19 +311,37 @@ export declare class FalProvider {
|
|
|
274
311
|
/**
|
|
275
312
|
* Create a new fal.ai provider.
|
|
276
313
|
*
|
|
277
|
-
* `
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
* `endpoint` optionally overrides the fal.ai endpoint path
|
|
281
|
-
* (default: `fal-ai/any-llm`).
|
|
314
|
+
* `options` optionally configures the LLM model, endpoint family,
|
|
315
|
+
* enterprise tier, and modality auto-routing. Defaults to the
|
|
316
|
+
* OpenAI-compatible chat-completions endpoint (`OpenAiChat`).
|
|
282
317
|
*/
|
|
283
|
-
static create(apiKey: string,
|
|
318
|
+
static create(apiKey: string, options?: JsFalOptions | undefined | null): FalProvider
|
|
284
319
|
/** Get the model ID. */
|
|
285
320
|
get modelId(): string
|
|
286
321
|
/** Generate images from a text prompt. */
|
|
287
322
|
generateImage(request: JsImageRequest): Promise<any>
|
|
288
323
|
/** Upscale an image. */
|
|
289
324
|
upscaleImage(request: JsUpscaleRequest): Promise<any>
|
|
325
|
+
/** Upscale an image via the aura-sr model. */
|
|
326
|
+
upscaleImageAura(request: JsUpscaleRequest): Promise<any>
|
|
327
|
+
/** Upscale an image via the clarity-upscaler model. */
|
|
328
|
+
upscaleImageClarity(request: JsUpscaleRequest): Promise<any>
|
|
329
|
+
/** Upscale an image via the creative-upscaler model. */
|
|
330
|
+
upscaleImageCreative(request: JsUpscaleRequest): Promise<any>
|
|
331
|
+
/**
|
|
332
|
+
* Remove the background from an image.
|
|
333
|
+
*
|
|
334
|
+
* `imageUrl` is the URL of the source image. `model` optionally
|
|
335
|
+
* overrides the model id.
|
|
336
|
+
*/
|
|
337
|
+
removeBackground(imageUrl: string, model?: string | undefined | null): Promise<any>
|
|
338
|
+
/** Generate a 3D model from a text prompt or source image. */
|
|
339
|
+
generate3d(request: JsThreeDRequest): Promise<any>
|
|
340
|
+
/**
|
|
341
|
+
* Build a [`JsFalEmbeddingModel`] sharing this provider's HTTP client
|
|
342
|
+
* and API key.
|
|
343
|
+
*/
|
|
344
|
+
embeddingModel(): JsFalEmbeddingModel
|
|
290
345
|
/** Generate a video from a text prompt. */
|
|
291
346
|
textToVideo(request: JsVideoRequest): Promise<any>
|
|
292
347
|
/** Generate a video from a source image and prompt. */
|
|
@@ -656,6 +711,29 @@ export declare function countMessageTokens(messages: Array<ChatMessage>, context
|
|
|
656
711
|
*/
|
|
657
712
|
export declare function estimateTokens(text: string, contextSize?: number | undefined | null): number
|
|
658
713
|
|
|
714
|
+
/**
|
|
715
|
+
* The fal.ai LLM endpoint family.
|
|
716
|
+
*
|
|
717
|
+
* Selects which fal LLM URL/body schema to use. Defaults to `OpenAiChat`
|
|
718
|
+
* (the OpenAI-compatible chat-completions surface on fal).
|
|
719
|
+
*/
|
|
720
|
+
export declare const enum FalLlmEndpoint {
|
|
721
|
+
/** OpenAI-compatible chat-completions endpoint (default). */
|
|
722
|
+
OpenAiChat = 'openai_chat',
|
|
723
|
+
/** OpenAI-compatible Responses endpoint. */
|
|
724
|
+
OpenAiResponses = 'openai_responses',
|
|
725
|
+
/** OpenAI-compatible embeddings endpoint. */
|
|
726
|
+
OpenAiEmbeddings = 'openai_embeddings',
|
|
727
|
+
/** `OpenRouter` proxy via fal. */
|
|
728
|
+
OpenRouter = 'openrouter',
|
|
729
|
+
/** `OpenRouter` proxy via fal (enterprise/SOC2 tier). */
|
|
730
|
+
OpenRouterEnterprise = 'openrouter_enterprise',
|
|
731
|
+
/** fal-ai/any-llm proxy. */
|
|
732
|
+
AnyLlm = 'any_llm',
|
|
733
|
+
/** fal-ai/any-llm proxy (enterprise/SOC2 tier). */
|
|
734
|
+
AnyLlmEnterprise = 'any_llm_enterprise'
|
|
735
|
+
}
|
|
736
|
+
|
|
659
737
|
/** An entry to add to the memory store (used by `addMany`). */
|
|
660
738
|
export interface JsAddEntry {
|
|
661
739
|
/** Unique identifier. If empty, one will be generated. */
|
|
@@ -698,6 +776,58 @@ export interface JsAgentRunOptions {
|
|
|
698
776
|
addFinishTool?: boolean
|
|
699
777
|
}
|
|
700
778
|
|
|
779
|
+
/**
|
|
780
|
+
* A typed artifact extracted from or returned by a model.
|
|
781
|
+
*
|
|
782
|
+
* SVG / code blocks / markdown / mermaid / html / latex / json / custom payloads
|
|
783
|
+
* can be returned inline as text by an LLM. Use the `kind` field to discriminate,
|
|
784
|
+
* then read the variant-specific fields. Fields not relevant to the variant are
|
|
785
|
+
* `null`.
|
|
786
|
+
*
|
|
787
|
+
* ## Example
|
|
788
|
+
* ```ts
|
|
789
|
+
* for (const art of response.artifacts) {
|
|
790
|
+
* if (art.kind === "svg") {
|
|
791
|
+
* renderSvg(art.content as string);
|
|
792
|
+
* } else if (art.kind === "code_block") {
|
|
793
|
+
* console.log(`${art.language}: ${art.content}`);
|
|
794
|
+
* }
|
|
795
|
+
* }
|
|
796
|
+
* ```
|
|
797
|
+
*/
|
|
798
|
+
export interface JsArtifact {
|
|
799
|
+
/**
|
|
800
|
+
* Discriminator. One of: `"svg"`, `"code_block"`, `"markdown"`, `"mermaid"`,
|
|
801
|
+
* `"html"`, `"latex"`, `"json"`, `"custom"`.
|
|
802
|
+
*/
|
|
803
|
+
kind: string
|
|
804
|
+
/**
|
|
805
|
+
* The artifact's primary payload. Typically a string; for the `json`
|
|
806
|
+
* variant it is a parsed JSON value (object/array/scalar).
|
|
807
|
+
*/
|
|
808
|
+
content: any
|
|
809
|
+
/** Optional title for `svg` artifacts. */
|
|
810
|
+
title?: string
|
|
811
|
+
/** Language hint for `code_block` artifacts. */
|
|
812
|
+
language?: string
|
|
813
|
+
/** Filename hint for `code_block` artifacts. */
|
|
814
|
+
filename?: string
|
|
815
|
+
/** Provider-specific metadata for `custom` artifacts. */
|
|
816
|
+
metadata?: any
|
|
817
|
+
/**
|
|
818
|
+
* Inner `kind` tag for `custom` artifacts. Distinct from the top-level
|
|
819
|
+
* `kind` field (which equals `"custom"` for this variant).
|
|
820
|
+
*/
|
|
821
|
+
customKind?: string
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/** Audio content for multimodal messages. */
|
|
825
|
+
export interface JsAudioContent {
|
|
826
|
+
source: JsImageSource
|
|
827
|
+
mediaType?: string
|
|
828
|
+
durationSeconds?: number
|
|
829
|
+
}
|
|
830
|
+
|
|
701
831
|
/** Result of an audio generation or TTS operation. */
|
|
702
832
|
export interface JsAudioResult {
|
|
703
833
|
/** The generated audio clips. */
|
|
@@ -718,6 +848,29 @@ export interface JsCacheConfig {
|
|
|
718
848
|
maxEntries?: number
|
|
719
849
|
}
|
|
720
850
|
|
|
851
|
+
/**
|
|
852
|
+
* A web/document citation backing a model statement.
|
|
853
|
+
*
|
|
854
|
+
* Populated by Perplexity (`citations` array), Gemini (`groundingMetadata`),
|
|
855
|
+
* and any provider that returns retrieval-augmented citations.
|
|
856
|
+
*/
|
|
857
|
+
export interface JsCitation {
|
|
858
|
+
/** The cited URL. */
|
|
859
|
+
url: string
|
|
860
|
+
/** Document or web-page title, if available. */
|
|
861
|
+
title?: string
|
|
862
|
+
/** Excerpt/snippet from the source. */
|
|
863
|
+
snippet?: string
|
|
864
|
+
/** Byte offset in the response text where this citation starts. */
|
|
865
|
+
start?: number
|
|
866
|
+
/** Byte offset in the response text where this citation ends. */
|
|
867
|
+
end?: number
|
|
868
|
+
/** Optional document id (for retrieval-augmented citations). */
|
|
869
|
+
documentId?: string
|
|
870
|
+
/** Provider-specific extra fields preserved as JSON. */
|
|
871
|
+
metadata: any
|
|
872
|
+
}
|
|
873
|
+
|
|
721
874
|
/** Options for a chat completion request. */
|
|
722
875
|
export interface JsCompletionOptions {
|
|
723
876
|
temperature?: number
|
|
@@ -741,6 +894,9 @@ export interface JsCompletionResponse {
|
|
|
741
894
|
images: Array<any>
|
|
742
895
|
audio: Array<any>
|
|
743
896
|
videos: Array<any>
|
|
897
|
+
reasoning?: JsReasoningTrace
|
|
898
|
+
citations: Array<JsCitation>
|
|
899
|
+
artifacts: Array<JsArtifact>
|
|
744
900
|
metadata: any
|
|
745
901
|
}
|
|
746
902
|
|
|
@@ -778,11 +934,18 @@ export interface JsComputeTiming {
|
|
|
778
934
|
totalMs?: number
|
|
779
935
|
}
|
|
780
936
|
|
|
781
|
-
/**
|
|
937
|
+
/**
|
|
938
|
+
* A single part in a multi-part message.
|
|
939
|
+
*
|
|
940
|
+
* `partType` is one of `"text"`, `"image"`, `"audio"`, `"video"`. Set the
|
|
941
|
+
* matching field (`text`, `image`, `audio`, `video`) accordingly.
|
|
942
|
+
*/
|
|
782
943
|
export interface JsContentPart {
|
|
783
944
|
partType: string
|
|
784
945
|
text?: string
|
|
785
946
|
image?: JsImageContent
|
|
947
|
+
audio?: JsAudioContent
|
|
948
|
+
video?: JsVideoContent
|
|
786
949
|
}
|
|
787
950
|
|
|
788
951
|
/** The result of an embedding operation. */
|
|
@@ -801,6 +964,56 @@ export interface JsEmbeddingResponse {
|
|
|
801
964
|
metadata: any
|
|
802
965
|
}
|
|
803
966
|
|
|
967
|
+
/**
|
|
968
|
+
* Configuration options for [`JsFalProvider`].
|
|
969
|
+
*
|
|
970
|
+
* ```typescript
|
|
971
|
+
* const fal = FalProvider.create("fal-key-...", {
|
|
972
|
+
* model: "anthropic/claude-sonnet-4.5",
|
|
973
|
+
* endpoint: "openai_chat",
|
|
974
|
+
* enterprise: false,
|
|
975
|
+
* autoRouteModality: true,
|
|
976
|
+
* });
|
|
977
|
+
* ```
|
|
978
|
+
*/
|
|
979
|
+
export interface JsFalOptions {
|
|
980
|
+
/** Underlying LLM model name (e.g. `"anthropic/claude-sonnet-4.5"`). */
|
|
981
|
+
model?: string
|
|
982
|
+
/** The fal endpoint family to target. Defaults to `OpenAiChat`. */
|
|
983
|
+
endpoint?: FalLlmEndpoint
|
|
984
|
+
/** Promote the endpoint to its enterprise / SOC2-eligible variant. */
|
|
985
|
+
enterprise?: boolean
|
|
986
|
+
/**
|
|
987
|
+
* Auto-route the request to the matching vision/audio/video variant
|
|
988
|
+
* when the message content contains media. Defaults to `true`.
|
|
989
|
+
*/
|
|
990
|
+
autoRouteModality?: boolean
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* Normalized finish reason across providers.
|
|
995
|
+
*
|
|
996
|
+
* Maps provider-specific finish-reason strings (`"stop"`, `"end_turn"`,
|
|
997
|
+
* `"STOP"`, `"length"`, `"tool_calls"`, `"max_tokens"`, etc.) into a canonical
|
|
998
|
+
* set. Unknown values fall through to `kind == "other"`.
|
|
999
|
+
*
|
|
1000
|
+
* Use `kind` for the canonical category and `value` for the original
|
|
1001
|
+
* provider string.
|
|
1002
|
+
*/
|
|
1003
|
+
export interface JsFinishReason {
|
|
1004
|
+
/**
|
|
1005
|
+
* Canonical category. One of: `"stop"`, `"length"`, `"tool_calls"`,
|
|
1006
|
+
* `"content_filter"`, `"safety"`, `"end_turn"`, `"stop_sequence"`,
|
|
1007
|
+
* `"max_tokens"`, `"error"`, or `"other"`.
|
|
1008
|
+
*/
|
|
1009
|
+
kind: string
|
|
1010
|
+
/**
|
|
1011
|
+
* Raw provider string. Equals `kind` for canonical variants; for `Other(s)`
|
|
1012
|
+
* it preserves the original string.
|
|
1013
|
+
*/
|
|
1014
|
+
value: string
|
|
1015
|
+
}
|
|
1016
|
+
|
|
804
1017
|
/** A single generated 3D model with optional mesh metadata. */
|
|
805
1018
|
export interface JsGenerated3DModel {
|
|
806
1019
|
/** The 3D model media output. */
|
|
@@ -1002,6 +1215,26 @@ export interface JsMusicRequest {
|
|
|
1002
1215
|
parameters?: any
|
|
1003
1216
|
}
|
|
1004
1217
|
|
|
1218
|
+
/**
|
|
1219
|
+
* Chain-of-thought / extended-thinking trace from a model that exposes one.
|
|
1220
|
+
*
|
|
1221
|
+
* Populated by Anthropic extended thinking, `DeepSeek` R1 `reasoning_content`,
|
|
1222
|
+
* `OpenAI` o-series, xAI Grok reasoning, and Gemini thoughts.
|
|
1223
|
+
*/
|
|
1224
|
+
export interface JsReasoningTrace {
|
|
1225
|
+
/** Plain-text rendering of the reasoning content. */
|
|
1226
|
+
text: string
|
|
1227
|
+
/** Provider-specific signature/redaction handle, if any (Anthropic). */
|
|
1228
|
+
signature?: string
|
|
1229
|
+
/** Whether the trace was redacted by the provider. */
|
|
1230
|
+
redacted: boolean
|
|
1231
|
+
/**
|
|
1232
|
+
* Reasoning effort level if the provider exposes one
|
|
1233
|
+
* (e.g. `"low"`, `"medium"`, `"high"`).
|
|
1234
|
+
*/
|
|
1235
|
+
effort?: string
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1005
1238
|
/** Timing metadata for a completion request. */
|
|
1006
1239
|
export interface JsRequestTiming {
|
|
1007
1240
|
queueMs?: number
|
|
@@ -1009,6 +1242,24 @@ export interface JsRequestTiming {
|
|
|
1009
1242
|
totalMs?: number
|
|
1010
1243
|
}
|
|
1011
1244
|
|
|
1245
|
+
/**
|
|
1246
|
+
* Typed response-format hint for structured output.
|
|
1247
|
+
*
|
|
1248
|
+
* Use one of the variants by setting `kind` to `"text"`, `"json_object"`, or
|
|
1249
|
+
* `"json_schema"`. For `"json_schema"`, populate `schemaName`, `schema`, and
|
|
1250
|
+
* optionally `strict`.
|
|
1251
|
+
*/
|
|
1252
|
+
export interface JsResponseFormat {
|
|
1253
|
+
/** Discriminator. One of `"text"`, `"json_object"`, `"json_schema"`. */
|
|
1254
|
+
kind: string
|
|
1255
|
+
/** Schema name for `json_schema` variants. */
|
|
1256
|
+
schemaName?: string
|
|
1257
|
+
/** Schema body for `json_schema` variants. */
|
|
1258
|
+
schema?: any
|
|
1259
|
+
/** Whether the schema is strict (`json_schema` variants only). */
|
|
1260
|
+
strict?: boolean
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1012
1263
|
/** Configuration for the `withRetry` decorator. */
|
|
1013
1264
|
export interface JsRetryConfig {
|
|
1014
1265
|
/** Maximum number of retry attempts (total calls = `maxRetries + 1`). */
|
|
@@ -1070,6 +1321,15 @@ export interface JsStreamChunk {
|
|
|
1070
1321
|
finishReason?: string
|
|
1071
1322
|
/** Tool invocations completed in this chunk. */
|
|
1072
1323
|
toolCalls: Array<JsToolCall>
|
|
1324
|
+
/**
|
|
1325
|
+
* Reasoning text delta from models that stream a chain-of-thought trace
|
|
1326
|
+
* (Anthropic extended thinking, `DeepSeek` R1, `OpenAI` o-series).
|
|
1327
|
+
*/
|
|
1328
|
+
reasoningDelta?: string
|
|
1329
|
+
/** Citations completed in this chunk. */
|
|
1330
|
+
citations: Array<JsCitation>
|
|
1331
|
+
/** Artifacts completed in this chunk. */
|
|
1332
|
+
artifacts: Array<JsArtifact>
|
|
1073
1333
|
}
|
|
1074
1334
|
|
|
1075
1335
|
/** Request to generate a 3D model. */
|
|
@@ -1183,6 +1443,13 @@ export interface JsUpscaleRequest {
|
|
|
1183
1443
|
parameters?: any
|
|
1184
1444
|
}
|
|
1185
1445
|
|
|
1446
|
+
/** Video content for multimodal messages. */
|
|
1447
|
+
export interface JsVideoContent {
|
|
1448
|
+
source: JsImageSource
|
|
1449
|
+
mediaType?: string
|
|
1450
|
+
durationSeconds?: number
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1186
1453
|
/** Request to generate a video. */
|
|
1187
1454
|
export interface JsVideoRequest {
|
|
1188
1455
|
/** Text prompt describing the desired video. */
|
package/index.js
CHANGED
|
@@ -77,8 +77,8 @@ function requireNative() {
|
|
|
77
77
|
try {
|
|
78
78
|
const binding = require('blazen-android-arm64')
|
|
79
79
|
const bindingPackageVersion = require('blazen-android-arm64/package.json').version
|
|
80
|
-
if (bindingPackageVersion !== '0.1.
|
|
81
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
80
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
81
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
82
82
|
}
|
|
83
83
|
return binding
|
|
84
84
|
} catch (e) {
|
|
@@ -93,8 +93,8 @@ function requireNative() {
|
|
|
93
93
|
try {
|
|
94
94
|
const binding = require('blazen-android-arm-eabi')
|
|
95
95
|
const bindingPackageVersion = require('blazen-android-arm-eabi/package.json').version
|
|
96
|
-
if (bindingPackageVersion !== '0.1.
|
|
97
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
96
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
97
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
98
98
|
}
|
|
99
99
|
return binding
|
|
100
100
|
} catch (e) {
|
|
@@ -114,8 +114,8 @@ function requireNative() {
|
|
|
114
114
|
try {
|
|
115
115
|
const binding = require('blazen-win32-x64-gnu')
|
|
116
116
|
const bindingPackageVersion = require('blazen-win32-x64-gnu/package.json').version
|
|
117
|
-
if (bindingPackageVersion !== '0.1.
|
|
118
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
117
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
118
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
119
119
|
}
|
|
120
120
|
return binding
|
|
121
121
|
} catch (e) {
|
|
@@ -130,8 +130,8 @@ function requireNative() {
|
|
|
130
130
|
try {
|
|
131
131
|
const binding = require('blazen-win32-x64-msvc')
|
|
132
132
|
const bindingPackageVersion = require('blazen-win32-x64-msvc/package.json').version
|
|
133
|
-
if (bindingPackageVersion !== '0.1.
|
|
134
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
133
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
134
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
135
135
|
}
|
|
136
136
|
return binding
|
|
137
137
|
} catch (e) {
|
|
@@ -147,8 +147,8 @@ function requireNative() {
|
|
|
147
147
|
try {
|
|
148
148
|
const binding = require('blazen-win32-ia32-msvc')
|
|
149
149
|
const bindingPackageVersion = require('blazen-win32-ia32-msvc/package.json').version
|
|
150
|
-
if (bindingPackageVersion !== '0.1.
|
|
151
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
150
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
151
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
152
152
|
}
|
|
153
153
|
return binding
|
|
154
154
|
} catch (e) {
|
|
@@ -163,8 +163,8 @@ function requireNative() {
|
|
|
163
163
|
try {
|
|
164
164
|
const binding = require('blazen-win32-arm64-msvc')
|
|
165
165
|
const bindingPackageVersion = require('blazen-win32-arm64-msvc/package.json').version
|
|
166
|
-
if (bindingPackageVersion !== '0.1.
|
|
167
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
166
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
167
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
168
168
|
}
|
|
169
169
|
return binding
|
|
170
170
|
} catch (e) {
|
|
@@ -182,8 +182,8 @@ function requireNative() {
|
|
|
182
182
|
try {
|
|
183
183
|
const binding = require('blazen-darwin-universal')
|
|
184
184
|
const bindingPackageVersion = require('blazen-darwin-universal/package.json').version
|
|
185
|
-
if (bindingPackageVersion !== '0.1.
|
|
186
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
185
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
186
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
187
187
|
}
|
|
188
188
|
return binding
|
|
189
189
|
} catch (e) {
|
|
@@ -198,8 +198,8 @@ function requireNative() {
|
|
|
198
198
|
try {
|
|
199
199
|
const binding = require('blazen-darwin-x64')
|
|
200
200
|
const bindingPackageVersion = require('blazen-darwin-x64/package.json').version
|
|
201
|
-
if (bindingPackageVersion !== '0.1.
|
|
202
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
201
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
202
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
203
203
|
}
|
|
204
204
|
return binding
|
|
205
205
|
} catch (e) {
|
|
@@ -214,8 +214,8 @@ function requireNative() {
|
|
|
214
214
|
try {
|
|
215
215
|
const binding = require('blazen-darwin-arm64')
|
|
216
216
|
const bindingPackageVersion = require('blazen-darwin-arm64/package.json').version
|
|
217
|
-
if (bindingPackageVersion !== '0.1.
|
|
218
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
217
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
218
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
219
219
|
}
|
|
220
220
|
return binding
|
|
221
221
|
} catch (e) {
|
|
@@ -234,8 +234,8 @@ function requireNative() {
|
|
|
234
234
|
try {
|
|
235
235
|
const binding = require('blazen-freebsd-x64')
|
|
236
236
|
const bindingPackageVersion = require('blazen-freebsd-x64/package.json').version
|
|
237
|
-
if (bindingPackageVersion !== '0.1.
|
|
238
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
237
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
238
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
239
239
|
}
|
|
240
240
|
return binding
|
|
241
241
|
} catch (e) {
|
|
@@ -250,8 +250,8 @@ function requireNative() {
|
|
|
250
250
|
try {
|
|
251
251
|
const binding = require('blazen-freebsd-arm64')
|
|
252
252
|
const bindingPackageVersion = require('blazen-freebsd-arm64/package.json').version
|
|
253
|
-
if (bindingPackageVersion !== '0.1.
|
|
254
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
253
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
254
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
255
255
|
}
|
|
256
256
|
return binding
|
|
257
257
|
} catch (e) {
|
|
@@ -271,8 +271,8 @@ function requireNative() {
|
|
|
271
271
|
try {
|
|
272
272
|
const binding = require('blazen-linux-x64-musl')
|
|
273
273
|
const bindingPackageVersion = require('blazen-linux-x64-musl/package.json').version
|
|
274
|
-
if (bindingPackageVersion !== '0.1.
|
|
275
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
274
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
275
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
276
276
|
}
|
|
277
277
|
return binding
|
|
278
278
|
} catch (e) {
|
|
@@ -287,8 +287,8 @@ function requireNative() {
|
|
|
287
287
|
try {
|
|
288
288
|
const binding = require('blazen-linux-x64-gnu')
|
|
289
289
|
const bindingPackageVersion = require('blazen-linux-x64-gnu/package.json').version
|
|
290
|
-
if (bindingPackageVersion !== '0.1.
|
|
291
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
290
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
291
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
292
292
|
}
|
|
293
293
|
return binding
|
|
294
294
|
} catch (e) {
|
|
@@ -305,8 +305,8 @@ function requireNative() {
|
|
|
305
305
|
try {
|
|
306
306
|
const binding = require('blazen-linux-arm64-musl')
|
|
307
307
|
const bindingPackageVersion = require('blazen-linux-arm64-musl/package.json').version
|
|
308
|
-
if (bindingPackageVersion !== '0.1.
|
|
309
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
308
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
309
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
310
310
|
}
|
|
311
311
|
return binding
|
|
312
312
|
} catch (e) {
|
|
@@ -321,8 +321,8 @@ function requireNative() {
|
|
|
321
321
|
try {
|
|
322
322
|
const binding = require('blazen-linux-arm64-gnu')
|
|
323
323
|
const bindingPackageVersion = require('blazen-linux-arm64-gnu/package.json').version
|
|
324
|
-
if (bindingPackageVersion !== '0.1.
|
|
325
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
324
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
325
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
326
326
|
}
|
|
327
327
|
return binding
|
|
328
328
|
} catch (e) {
|
|
@@ -339,8 +339,8 @@ function requireNative() {
|
|
|
339
339
|
try {
|
|
340
340
|
const binding = require('blazen-linux-arm-musleabihf')
|
|
341
341
|
const bindingPackageVersion = require('blazen-linux-arm-musleabihf/package.json').version
|
|
342
|
-
if (bindingPackageVersion !== '0.1.
|
|
343
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
342
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
343
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
344
344
|
}
|
|
345
345
|
return binding
|
|
346
346
|
} catch (e) {
|
|
@@ -355,8 +355,8 @@ function requireNative() {
|
|
|
355
355
|
try {
|
|
356
356
|
const binding = require('blazen-linux-arm-gnueabihf')
|
|
357
357
|
const bindingPackageVersion = require('blazen-linux-arm-gnueabihf/package.json').version
|
|
358
|
-
if (bindingPackageVersion !== '0.1.
|
|
359
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
358
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
359
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
360
360
|
}
|
|
361
361
|
return binding
|
|
362
362
|
} catch (e) {
|
|
@@ -373,8 +373,8 @@ function requireNative() {
|
|
|
373
373
|
try {
|
|
374
374
|
const binding = require('blazen-linux-loong64-musl')
|
|
375
375
|
const bindingPackageVersion = require('blazen-linux-loong64-musl/package.json').version
|
|
376
|
-
if (bindingPackageVersion !== '0.1.
|
|
377
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
376
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
377
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
378
378
|
}
|
|
379
379
|
return binding
|
|
380
380
|
} catch (e) {
|
|
@@ -389,8 +389,8 @@ function requireNative() {
|
|
|
389
389
|
try {
|
|
390
390
|
const binding = require('blazen-linux-loong64-gnu')
|
|
391
391
|
const bindingPackageVersion = require('blazen-linux-loong64-gnu/package.json').version
|
|
392
|
-
if (bindingPackageVersion !== '0.1.
|
|
393
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
392
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
393
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
394
394
|
}
|
|
395
395
|
return binding
|
|
396
396
|
} catch (e) {
|
|
@@ -407,8 +407,8 @@ function requireNative() {
|
|
|
407
407
|
try {
|
|
408
408
|
const binding = require('blazen-linux-riscv64-musl')
|
|
409
409
|
const bindingPackageVersion = require('blazen-linux-riscv64-musl/package.json').version
|
|
410
|
-
if (bindingPackageVersion !== '0.1.
|
|
411
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
410
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
411
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
412
412
|
}
|
|
413
413
|
return binding
|
|
414
414
|
} catch (e) {
|
|
@@ -423,8 +423,8 @@ function requireNative() {
|
|
|
423
423
|
try {
|
|
424
424
|
const binding = require('blazen-linux-riscv64-gnu')
|
|
425
425
|
const bindingPackageVersion = require('blazen-linux-riscv64-gnu/package.json').version
|
|
426
|
-
if (bindingPackageVersion !== '0.1.
|
|
427
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
426
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
427
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
428
428
|
}
|
|
429
429
|
return binding
|
|
430
430
|
} catch (e) {
|
|
@@ -440,8 +440,8 @@ function requireNative() {
|
|
|
440
440
|
try {
|
|
441
441
|
const binding = require('blazen-linux-ppc64-gnu')
|
|
442
442
|
const bindingPackageVersion = require('blazen-linux-ppc64-gnu/package.json').version
|
|
443
|
-
if (bindingPackageVersion !== '0.1.
|
|
444
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
443
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
444
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
445
445
|
}
|
|
446
446
|
return binding
|
|
447
447
|
} catch (e) {
|
|
@@ -456,8 +456,8 @@ function requireNative() {
|
|
|
456
456
|
try {
|
|
457
457
|
const binding = require('blazen-linux-s390x-gnu')
|
|
458
458
|
const bindingPackageVersion = require('blazen-linux-s390x-gnu/package.json').version
|
|
459
|
-
if (bindingPackageVersion !== '0.1.
|
|
460
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
459
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
460
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
461
461
|
}
|
|
462
462
|
return binding
|
|
463
463
|
} catch (e) {
|
|
@@ -476,8 +476,8 @@ function requireNative() {
|
|
|
476
476
|
try {
|
|
477
477
|
const binding = require('blazen-openharmony-arm64')
|
|
478
478
|
const bindingPackageVersion = require('blazen-openharmony-arm64/package.json').version
|
|
479
|
-
if (bindingPackageVersion !== '0.1.
|
|
480
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
479
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
480
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
481
481
|
}
|
|
482
482
|
return binding
|
|
483
483
|
} catch (e) {
|
|
@@ -492,8 +492,8 @@ function requireNative() {
|
|
|
492
492
|
try {
|
|
493
493
|
const binding = require('blazen-openharmony-x64')
|
|
494
494
|
const bindingPackageVersion = require('blazen-openharmony-x64/package.json').version
|
|
495
|
-
if (bindingPackageVersion !== '0.1.
|
|
496
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
495
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
496
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
497
497
|
}
|
|
498
498
|
return binding
|
|
499
499
|
} catch (e) {
|
|
@@ -508,8 +508,8 @@ function requireNative() {
|
|
|
508
508
|
try {
|
|
509
509
|
const binding = require('blazen-openharmony-arm')
|
|
510
510
|
const bindingPackageVersion = require('blazen-openharmony-arm/package.json').version
|
|
511
|
-
if (bindingPackageVersion !== '0.1.
|
|
512
|
-
throw new Error(`Native binding package version mismatch, expected 0.1.
|
|
511
|
+
if (bindingPackageVersion !== '0.1.119' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
512
|
+
throw new Error(`Native binding package version mismatch, expected 0.1.119 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
513
513
|
}
|
|
514
514
|
return binding
|
|
515
515
|
} catch (e) {
|
|
@@ -584,6 +584,8 @@ module.exports.Context = nativeBinding.Context
|
|
|
584
584
|
module.exports.JsContext = nativeBinding.JsContext
|
|
585
585
|
module.exports.EmbeddingModel = nativeBinding.EmbeddingModel
|
|
586
586
|
module.exports.JsEmbeddingModel = nativeBinding.JsEmbeddingModel
|
|
587
|
+
module.exports.FalEmbeddingModel = nativeBinding.FalEmbeddingModel
|
|
588
|
+
module.exports.JsFalEmbeddingModel = nativeBinding.JsFalEmbeddingModel
|
|
587
589
|
module.exports.FalProvider = nativeBinding.FalProvider
|
|
588
590
|
module.exports.JsFalProvider = nativeBinding.JsFalProvider
|
|
589
591
|
module.exports.InMemoryBackend = nativeBinding.InMemoryBackend
|
|
@@ -600,6 +602,8 @@ module.exports.WorkflowHandler = nativeBinding.WorkflowHandler
|
|
|
600
602
|
module.exports.JsWorkflowHandler = nativeBinding.JsWorkflowHandler
|
|
601
603
|
module.exports.countMessageTokens = nativeBinding.countMessageTokens
|
|
602
604
|
module.exports.estimateTokens = nativeBinding.estimateTokens
|
|
605
|
+
module.exports.FalLlmEndpoint = nativeBinding.FalLlmEndpoint
|
|
606
|
+
module.exports.JsFalLlmEndpoint = nativeBinding.JsFalLlmEndpoint
|
|
603
607
|
module.exports.JsJobStatus = nativeBinding.JsJobStatus
|
|
604
608
|
module.exports.JsRole = nativeBinding.JsRole
|
|
605
609
|
module.exports.mediaTypes = nativeBinding.mediaTypes
|