Skip to content

feat(listen-key): implement deleteListenKey endpoint and service method - #1

Open
ghzhost wants to merge 1 commit into
mainfrom
feat/delete-listen-key
Open

feat(listen-key): implement deleteListenKey endpoint and service method#1
ghzhost wants to merge 1 commit into
mainfrom
feat/delete-listen-key

Conversation

@ghzhost

@ghzhost ghzhost commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Implements the DELETE listen key endpoint and service method as per the bingx-api issue singlesly#25.

This includes:

  • BingxDeleteListenKeyEndpoint class
  • Delete listen key method in ListenKeyService
  • Unit tests for the new functionality

Fixes circular dependency issue by using relative imports for Endpoint and EndpointInterface.

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
ghzhost force-pushed the feat/delete-listen-key branch from 165d7f4 to 6b099a9 Compare August 24, 2026 09:46
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