Skip to content

fix(examples): Correct zk getCompressedTokenAccountsByOwner example filename#332

Open
v-hawk-bot wants to merge 1 commit into
helius-labs:mainfrom
v-hawk-bot:fix/zk-example-filename-parity
Open

fix(examples): Correct zk getCompressedTokenAccountsByOwner example filename#332
v-hawk-bot wants to merge 1 commit into
helius-labs:mainfrom
v-hawk-bot:fix/zk-example-filename-parity

Conversation

@v-hawk-bot

Copy link
Copy Markdown

What

Renames examples/zk/getCompressedTokenAccountByOwner.tsexamples/zk/getCompressedTokenAccountsByOwner.ts.

Why

The example file was named getCompressedTokenAccountByOwner.ts (singular "Account"), but its body calls helius.zk.getCompressedTokenAccountsByOwner(...) (plural "Accounts") — the actual exported SDK method (src/zk/methods/getCompressedTokenAccountsByOwner.ts).

Every other examples/zk/ file matches its method name 1:1 (e.g. getCompressedTokenAccountsByDelegate.ts). This was the only filename/method mismatch among the 26 zk examples, so the rename restores naming parity and makes the example discoverable by its method name.

Scope

  • Single-file rename, no logic change (the example body already calls the correct plural method).
  • No other references to the old filename exist anywhere in the repo (verified by grep across *.ts/*.md/*.json).

…ilename

The example file was named getCompressedTokenAccountByOwner.ts (singular
'Account'), but its body calls helius.zk.getCompressedTokenAccountsByOwner
(plural 'Accounts') — the actual exported SDK method. This was the only
filename/method mismatch among the 26 zk examples; rename restores 1:1
naming parity with the rest of examples/zk/.
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.

1 participant