@blockrun/llm 3.14.0 → 3.14.1
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/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4600,7 +4600,7 @@ function getCostSummary() {
|
|
|
4600
4600
|
}
|
|
4601
4601
|
|
|
4602
4602
|
// src/version.ts
|
|
4603
|
-
var SDK_VERSION = "3.14.
|
|
4603
|
+
var SDK_VERSION = "3.14.1";
|
|
4604
4604
|
var USER_AGENT = `blockrun-ts/${SDK_VERSION}`;
|
|
4605
4605
|
|
|
4606
4606
|
// src/client.ts
|
|
@@ -4627,7 +4627,7 @@ function mapRawToImageModel(m) {
|
|
|
4627
4627
|
name: m.name || m.id,
|
|
4628
4628
|
provider: m.provider || m.owned_by || "",
|
|
4629
4629
|
description: m.description || "",
|
|
4630
|
-
pricePerImage: m.pricePerImage ?? m.price_per_image ?? m.pricing?.flat ?? m.flatPrice ?? m.flat_price ?? 0,
|
|
4630
|
+
pricePerImage: m.pricePerImage ?? m.price_per_image ?? m.pricing?.per_image ?? m.pricing?.perImage ?? m.pricing?.flat ?? m.flatPrice ?? m.flat_price ?? 0,
|
|
4631
4631
|
supportedSizes: m.supportedSizes ?? m.supported_sizes,
|
|
4632
4632
|
maxPromptLength: m.maxPromptLength ?? m.max_prompt_length,
|
|
4633
4633
|
available: true
|
|
@@ -6227,7 +6227,7 @@ var ImageClient = class {
|
|
|
6227
6227
|
name: m.name || m.id,
|
|
6228
6228
|
provider: m.provider || m.owned_by || "",
|
|
6229
6229
|
description: m.description || "",
|
|
6230
|
-
pricePerImage: m.pricePerImage ?? m.price_per_image ?? m.pricing?.flat ?? m.flatPrice ?? m.flat_price ?? 0,
|
|
6230
|
+
pricePerImage: m.pricePerImage ?? m.price_per_image ?? m.pricing?.per_image ?? m.pricing?.perImage ?? m.pricing?.flat ?? m.flatPrice ?? m.flat_price ?? 0,
|
|
6231
6231
|
supportedSizes: m.supportedSizes ?? m.supported_sizes,
|
|
6232
6232
|
maxPromptLength: m.maxPromptLength ?? m.max_prompt_length,
|
|
6233
6233
|
available: true
|
package/dist/index.js
CHANGED
|
@@ -4483,7 +4483,7 @@ function getCostSummary() {
|
|
|
4483
4483
|
}
|
|
4484
4484
|
|
|
4485
4485
|
// src/version.ts
|
|
4486
|
-
var SDK_VERSION = "3.14.
|
|
4486
|
+
var SDK_VERSION = "3.14.1";
|
|
4487
4487
|
var USER_AGENT = `blockrun-ts/${SDK_VERSION}`;
|
|
4488
4488
|
|
|
4489
4489
|
// src/client.ts
|
|
@@ -4510,7 +4510,7 @@ function mapRawToImageModel(m) {
|
|
|
4510
4510
|
name: m.name || m.id,
|
|
4511
4511
|
provider: m.provider || m.owned_by || "",
|
|
4512
4512
|
description: m.description || "",
|
|
4513
|
-
pricePerImage: m.pricePerImage ?? m.price_per_image ?? m.pricing?.flat ?? m.flatPrice ?? m.flat_price ?? 0,
|
|
4513
|
+
pricePerImage: m.pricePerImage ?? m.price_per_image ?? m.pricing?.per_image ?? m.pricing?.perImage ?? m.pricing?.flat ?? m.flatPrice ?? m.flat_price ?? 0,
|
|
4514
4514
|
supportedSizes: m.supportedSizes ?? m.supported_sizes,
|
|
4515
4515
|
maxPromptLength: m.maxPromptLength ?? m.max_prompt_length,
|
|
4516
4516
|
available: true
|
|
@@ -6110,7 +6110,7 @@ var ImageClient = class {
|
|
|
6110
6110
|
name: m.name || m.id,
|
|
6111
6111
|
provider: m.provider || m.owned_by || "",
|
|
6112
6112
|
description: m.description || "",
|
|
6113
|
-
pricePerImage: m.pricePerImage ?? m.price_per_image ?? m.pricing?.flat ?? m.flatPrice ?? m.flat_price ?? 0,
|
|
6113
|
+
pricePerImage: m.pricePerImage ?? m.price_per_image ?? m.pricing?.per_image ?? m.pricing?.perImage ?? m.pricing?.flat ?? m.flatPrice ?? m.flat_price ?? 0,
|
|
6114
6114
|
supportedSizes: m.supportedSizes ?? m.supported_sizes,
|
|
6115
6115
|
maxPromptLength: m.maxPromptLength ?? m.max_prompt_length,
|
|
6116
6116
|
available: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/llm",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "TypeScript SDK for BlockRun - every frontier model behind one OpenAI-compatible client. Pay with a BlockRun API key or per-call in USDC. Smart routing picks the cheapest capable model. No rate limits.",
|
|
6
6
|
"main": "dist/index.cjs",
|