Skip to content

Commit 35d45e3

Browse files
MajorTalclaude
andcommitted
fix(deps): bump @run402/functions ^2.4.0 → ^2.6.0 for cache export + db() ALS
The publish workflow's check-doc-snippets step compiles every code block in llms-sdk.txt against the installed @run402/functions. The lockfile pinned 2.4.0 (no cache export, db() required a Request arg), failing the new r.cache SDK doc snippets that just shipped. Also fix the snippet itself: QueryBuilder exposes insert/update/delete, not upsert. Mechanical typo. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5203aad commit 35d45e3

3 files changed

Lines changed: 8 additions & 144 deletions

File tree

package-lock.json

Lines changed: 6 additions & 142 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"zod": "^3.24.0"
7070
},
7171
"devDependencies": {
72-
"@run402/functions": "^2.4.0",
72+
"@run402/functions": "^2.6.0",
7373
"@types/node": "^22.0.0",
7474
"@x402/evm": "^2.6.0",
7575
"@x402/fetch": "^2.6.0",

sdk/llms-sdk.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ declare const slug: string;
12281228
declare const title: string;
12291229
declare const html: string;
12301230

1231-
await db().from("pages").upsert({ slug, title, html });
1231+
await db().from("pages").insert({ slug, title, html });
12321232
await cache.invalidate(`/${slug}`); // sub-second freshness
12331233
```
12341234

0 commit comments

Comments
 (0)