Skip to content

chore!: Remove public abortController option #310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jimmycallin
Copy link
Contributor

Resolves #114

  • I have added automatic tests where applicable
  • The PR title is suitable as a release note
  • The PR contains a description of what has been changed
  • The description contains manual test instructions

Changes

Test

@jimmycallin jimmycallin requested a review from a team as a code owner July 23, 2025 21:53
@jimmycallin jimmycallin changed the title remove abortcontroller option chore!: remove abortcontroller option Jul 23, 2025
@jimmycallin jimmycallin changed the title chore!: remove abortcontroller option chore!: Remove public abortController option Jul 23, 2025
@@ -553,7 +553,6 @@ export class Session<
* @typeParam T - Either an array of response types to get return type `Tuple<T[0], ..., T[n]>`, or a single response type to get return type T[]. Default is ActionResponse.
* @param {Array} operations - API operations.
* @param {Object} options
* @param {AbortController} options.abortController - Abort controller, deprecated in favor of options.signal
* @param {AbortSignal} options.signal - Abort signal
* @param {string} options.pushToken - push token to associate with the request
* @param {object} options.headers - Additional headers to send with the request
Copy link
Contributor

Choose a reason for hiding this comment

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

Not directly relevant to this PR, but options.headers should be

Suggested change
* @param {object} options.headers - Additional headers to send with the request
* @param {object} options.additionalHeaders - Additional headers to send with the request

and ensureSerializableResponse is missing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks, fixed!

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.

Remove abortController option from session.call
2 participants