feat(listen-key): implement deleteListenKey endpoint and service method - #123
Open
ghzhost wants to merge 1 commit into
Open
feat(listen-key): implement deleteListenKey endpoint and service method#123ghzhost wants to merge 1 commit into
ghzhost wants to merge 1 commit into
Conversation
Closes singlesly#25 Implements the DELETE /openApi/user/auth/userDataStream endpoint following the pattern used by BingxExtendListenKeyEndpoint. Changes: - Add BingxDeleteListenKeyEndpoint class with method=delete, correct path, and listenKey param signed via DefaultSignatureParameters - Export new endpoint from src/bingx/endpoints/index.ts - Add deleteListenKey(listenKey, account) method to ListenKeyService - Unit tests: 3 tests for endpoint, 1 test for service method (4 passing)
ghzhost
force-pushed
the
feat/delete-listen-key
branch
from
August 24, 2026 09:46
165d7f4 to
6b099a9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #25
What
Implements the
deleteListenKeymethod as requested in the paid ticket.Changes
BingxDeleteListenKeyEndpoint— new endpoint class following the same pattern asBingxExtendListenKeyEndpoint, usingDELETEon/openApi/user/auth/userDataStreamwithlistenKeyas a parameter. Maps to the BingX Delete Listen Key API.ListenKeyService— addsdeleteListenKey(listenKey: string, account: AccountInterface): Promise<void>alongside the existinggenerateListenKeyandextendListenKeymethods (also addedextendListenKeywhich was missing from the service).endpoints/index.ts— exports the new endpoint class.listen-key.service.spec.ts— 6 unit tests covering all three service methods including endpoint type, HTTP method, path, and parameter assertions.Tests
TypeScript compiles with zero errors (
tsc --noEmit).