Skip to content

Add listen key lifecycle methods#77

Open
jacog2 wants to merge 1 commit into
singlesly:mainfrom
jacog2:codex-listen-key-lifecycle
Open

Add listen key lifecycle methods#77
jacog2 wants to merge 1 commit into
singlesly:mainfrom
jacog2:codex-listen-key-lifecycle

Conversation

@jacog2
Copy link
Copy Markdown

@jacog2 jacog2 commented May 11, 2026

Summary

  • expose the existing extend listen key endpoint through package exports and ListenKeyService
  • add the delete listen key endpoint and service method for /openApi/user/auth/userDataStream
  • add unit coverage for generate, extend, and delete listen-key endpoints and service dispatch
  • mark extend/delete listen-key support in the README feature list

Closes #24
Closes #25

Validation

  • npm.cmd ci
  • npx.cmd jest bingx-listen-key-endpoints.spec.ts listen-key.service.spec.ts --runInBand
  • npx.cmd jest nest-bingx.module.spec.ts bingx-api.client.spec.ts bingx-listen-key-endpoints.spec.ts listen-key.service.spec.ts --runInBand
  • npm.cmd run build
  • npx.cmd eslint src\bingx\endpoints\bingx-delete-listen-key-endpoint.ts src\bingx\endpoints\bingx-extend-listen-key-endpoint.ts src\bingx\endpoints\bingx-listen-key-endpoints.spec.ts src\bingx-client\services\listen-key.service.ts src\bingx-client\services\listen-key.service.spec.ts src\bingx\endpoints\index.ts
  • git diff --check

Note: npm.cmd test -- --runInBand did not complete within 3 minutes in this checkout while running the existing full repo suite, which includes socket/playground specs. The targeted listen-key and local client/module specs above pass.

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.

Implement deletion listen key Implement listen key validity period

1 participant