@blockrun/llm 3.26.5 → 4.0.0
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/README.md +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -703,7 +703,7 @@ operator to sign vouchers against the channel, up to `maxDeposit`.
|
|
|
703
703
|
Batch mode needs three more optional peers on top of the Solana ones:
|
|
704
704
|
|
|
705
705
|
```bash
|
|
706
|
-
npm install @x402/core@~2.
|
|
706
|
+
npm install @x402/core@~2.30.0 @x402/svm@~2.30.0 @solana/kit@^8
|
|
707
707
|
```
|
|
708
708
|
|
|
709
709
|
```typescript
|
package/dist/index.cjs
CHANGED
|
@@ -5202,7 +5202,7 @@ function getCostSummary() {
|
|
|
5202
5202
|
}
|
|
5203
5203
|
|
|
5204
5204
|
// src/version.ts
|
|
5205
|
-
var SDK_VERSION = "
|
|
5205
|
+
var SDK_VERSION = "4.0.0";
|
|
5206
5206
|
var USER_AGENT = `blockrun-ts/${SDK_VERSION}`;
|
|
5207
5207
|
|
|
5208
5208
|
// src/client.ts
|
|
@@ -9837,7 +9837,7 @@ function sleep(ms) {
|
|
|
9837
9837
|
// src/wallet.ts
|
|
9838
9838
|
var import_accounts16 = require("viem/accounts");
|
|
9839
9839
|
|
|
9840
|
-
// node_modules/.pnpm/@blockrun+core@0.1.1_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@6.0.6_zod@
|
|
9840
|
+
// node_modules/.pnpm/@blockrun+core@0.1.1_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.6.7/node_modules/@blockrun/core/dist/config.js
|
|
9841
9841
|
var fs2 = __toESM(require("fs"), 1);
|
|
9842
9842
|
var os2 = __toESM(require("os"), 1);
|
|
9843
9843
|
var path2 = __toESM(require("path"), 1);
|
|
@@ -9859,7 +9859,7 @@ function paths() {
|
|
|
9859
9859
|
};
|
|
9860
9860
|
}
|
|
9861
9861
|
|
|
9862
|
-
// node_modules/.pnpm/@blockrun+core@0.1.1_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@6.0.6_zod@
|
|
9862
|
+
// node_modules/.pnpm/@blockrun+core@0.1.1_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.6.7/node_modules/@blockrun/core/dist/wallet.js
|
|
9863
9863
|
var fs3 = __toESM(require("fs"), 1);
|
|
9864
9864
|
var path3 = __toESM(require("path"), 1);
|
|
9865
9865
|
var import_accounts15 = require("viem/accounts");
|
|
@@ -10437,7 +10437,7 @@ var BatchChannelLockedError = class extends BlockrunError {
|
|
|
10437
10437
|
withDisposition(this, "unpaid");
|
|
10438
10438
|
}
|
|
10439
10439
|
};
|
|
10440
|
-
var INSTALL_HINT2 = "npm install @x402/core@~2.
|
|
10440
|
+
var INSTALL_HINT2 = "npm install @x402/core@~2.30.0 @x402/svm@~2.30.0 @solana/kit@^8";
|
|
10441
10441
|
async function load(pkg, importer) {
|
|
10442
10442
|
try {
|
|
10443
10443
|
return await importer();
|
package/dist/index.js
CHANGED
|
@@ -5069,7 +5069,7 @@ function getCostSummary() {
|
|
|
5069
5069
|
}
|
|
5070
5070
|
|
|
5071
5071
|
// src/version.ts
|
|
5072
|
-
var SDK_VERSION = "
|
|
5072
|
+
var SDK_VERSION = "4.0.0";
|
|
5073
5073
|
var USER_AGENT = `blockrun-ts/${SDK_VERSION}`;
|
|
5074
5074
|
|
|
5075
5075
|
// src/client.ts
|
|
@@ -9704,7 +9704,7 @@ function sleep(ms) {
|
|
|
9704
9704
|
// src/wallet.ts
|
|
9705
9705
|
import { privateKeyToAccount as privateKeyToAccount15, generatePrivateKey as generatePrivateKey2 } from "viem/accounts";
|
|
9706
9706
|
|
|
9707
|
-
// node_modules/.pnpm/@blockrun+core@0.1.1_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@6.0.6_zod@
|
|
9707
|
+
// node_modules/.pnpm/@blockrun+core@0.1.1_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.6.7/node_modules/@blockrun/core/dist/config.js
|
|
9708
9708
|
import * as fs2 from "fs";
|
|
9709
9709
|
import * as os2 from "os";
|
|
9710
9710
|
import * as path2 from "path";
|
|
@@ -9726,7 +9726,7 @@ function paths() {
|
|
|
9726
9726
|
};
|
|
9727
9727
|
}
|
|
9728
9728
|
|
|
9729
|
-
// node_modules/.pnpm/@blockrun+core@0.1.1_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@6.0.6_zod@
|
|
9729
|
+
// node_modules/.pnpm/@blockrun+core@0.1.1_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@6.0.6_zod@4.6.7/node_modules/@blockrun/core/dist/wallet.js
|
|
9730
9730
|
import * as fs3 from "fs";
|
|
9731
9731
|
import * as path3 from "path";
|
|
9732
9732
|
import { privateKeyToAccount as privateKeyToAccount14, generatePrivateKey } from "viem/accounts";
|
|
@@ -10304,7 +10304,7 @@ var BatchChannelLockedError = class extends BlockrunError {
|
|
|
10304
10304
|
withDisposition(this, "unpaid");
|
|
10305
10305
|
}
|
|
10306
10306
|
};
|
|
10307
|
-
var INSTALL_HINT2 = "npm install @x402/core@~2.
|
|
10307
|
+
var INSTALL_HINT2 = "npm install @x402/core@~2.30.0 @x402/svm@~2.30.0 @solana/kit@^8";
|
|
10308
10308
|
async function load(pkg, importer) {
|
|
10309
10309
|
try {
|
|
10310
10310
|
return await importer();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/llm",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
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",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"@blockrun/core": "^0.1.0",
|
|
61
61
|
"@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/273c2af0a9abe70212efbad7117b72eb3038cffc",
|
|
62
62
|
"@eslint/js": "^10.0.1",
|
|
63
|
-
"@solana/kit": "^
|
|
63
|
+
"@solana/kit": "^8.4.0",
|
|
64
64
|
"@types/node": "^26.4.1",
|
|
65
|
-
"@x402/core": "2.
|
|
66
|
-
"@x402/svm": "2.
|
|
65
|
+
"@x402/core": "2.30.0",
|
|
66
|
+
"@x402/svm": "2.30.0",
|
|
67
67
|
"eslint": "^10.9.1",
|
|
68
68
|
"tsup": "^8.5.1",
|
|
69
69
|
"typescript": "^6.0.3",
|
|
@@ -84,11 +84,11 @@
|
|
|
84
84
|
},
|
|
85
85
|
"packageManager": "pnpm@9.15.4",
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@solana/kit": ">=
|
|
87
|
+
"@solana/kit": ">=8.0.0",
|
|
88
88
|
"@solana/spl-token": "^0.4.15",
|
|
89
89
|
"@solana/web3.js": "^1.98.4",
|
|
90
|
-
"@x402/core": "~2.
|
|
91
|
-
"@x402/svm": "~2.
|
|
90
|
+
"@x402/core": "~2.30.0",
|
|
91
|
+
"@x402/svm": "~2.30.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependenciesMeta": {
|
|
94
94
|
"@solana/kit": {
|