Skip to content

Upgrade to quicknode-sdk 0.3#42

Merged
johnpmitsch merged 1 commit into
mainfrom
DX-5706
Jun 23, 2026
Merged

Upgrade to quicknode-sdk 0.3#42
johnpmitsch merged 1 commit into
mainfrom
DX-5706

Conversation

@johnpmitsch

Copy link
Copy Markdown
Collaborator

Bumps quicknode-sdk to 0.3 and adapts the CLI to its required-field and webhook-template changes.

Changes

  • JWT --kid required. CreateJwtRequest.kid is now non-optional, so qn endpoint security jwt add requires --kid.
  • Webhook --compression required. Required on create; on update/update-template it is required only when --url is supplied.
  • ByList templates. Added --wallets-list-name, --accounts-list-name, --contracts-list-name, --event-hashes-list-name. A list-name flag references a saved list (ByList) instead of inline values; supply the inline flag or the list-name flag, not both.
  • Fixed evm-contract-events event_hashes (now a required Vec).
  • Updated the embedded qn agent context guide.

Tests

All green. Added 4 webhook tests (ByList, evm-abi ByList, inline+list conflict, missing compression) and 2 JWT tests (add-with-kid, requires-kid).

…support ByList templates

SDK 0.3 made several request fields non-optional and reshaped webhook
template args:

- CreateJwtRequest.kid is now required, so `--kid` is required on
  `qn endpoint security jwt add`.
- WebhookDestinationAttributes.compression is now required, so
  `--compression` is required on `qn webhook create`; update/update-template
  require it only when `--url` is supplied.
- Each TemplateArgs variant now wraps an Inline/ByList input enum. Added
  `--*-list-name` flags so a template can reference a saved list instead of
  inline values; supply the inline flag or the list-name flag, not both.
- evm-contract-events event_hashes is now a required Vec.

Updates the embedded `agent context` guide. Adds 4 webhook tests (ByList,
evm-abi ByList, inline+list conflict, missing compression) and 2 JWT tests
(add-with-kid, requires-kid). Full suite green.
@johnpmitsch johnpmitsch changed the title Adapt to quicknode-sdk 0.3 Upgrade to quicknode-sdk 0.3 Jun 23, 2026

@alehlopeh alehlopeh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stamp

@johnpmitsch johnpmitsch merged commit f0bf8c8 into main Jun 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants