Skip to content

Commit 1b9d4d9

Browse files
committed
chore(sdk): bump @roxyapi/sdk and drop the angel-numbers context cast, which was a stale dep not a spec gap
1 parent 9b695a9 commit 1b9d4d9

3 files changed

Lines changed: 7 additions & 13 deletions

File tree

bun.lock

Lines changed: 5 additions & 5 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
@@ -40,7 +40,7 @@
4040
"@hey-api/openapi-ts": "0.99.0",
4141
"@lit-labs/rollup-plugin-minify-html-literals": "^0.2.0",
4242
"@playwright/test": "^1.49.0",
43-
"@roxyapi/sdk": "^1.2.29",
43+
"@roxyapi/sdk": "^1.2.45",
4444
"@types/bun": "^1.2.0",
4545
"@types/node": "^24.0.0",
4646
"@types/react": "^19.0.0",

scripts/refresh-samples.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -550,15 +550,9 @@ async function main() {
550550
),
551551
// `context` must be supplied or the response carries no `contextNote`, and the
552552
// component branch that renders it would never be audited.
553-
// `context` is honoured by the live API (it is what produces `contextNote`) but
554-
// the OpenAPI spec does not declare it, so the generated query type rejects it.
555-
// Cast until the spec is fixed upstream; without it the component branch that
556-
// renders `contextNote` would never be audited.
557553
run('angel-lookup', () =>
558554
roxy.angelNumbers.analyzeNumberSequence({
559-
query: { number: '1212', context: 'clock' } as unknown as {
560-
number: string;
561-
},
555+
query: { number: '1212', context: 'clock' },
562556
}),
563557
),
564558
run('angel-lookup-unknown', () =>

0 commit comments

Comments
 (0)