Skip to content
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

feat: add --ky option #690

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

Commits on Mar 5, 2024

  1. feat: add --ky option

    Generate a client that uses this library: https://github.com/sindresorhus/ky
    aleclarson committed Mar 5, 2024
    Copy the full SHA
    7c8567e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    c0536b8 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    240b553 View commit details
    Browse the repository at this point in the history
  4. fix: use ky.create

    aleclarson committed Mar 5, 2024
    Copy the full SHA
    0128ad2 View commit details
    Browse the repository at this point in the history
  5. fix: remove securityWorker et al

    Since ky has a special ResponsePromise type, the `request` method cannot use async-await syntax and the returned promise must come from ky (so the expected methods are there). This means the securityWorker cannot be supported by the ky client.
    aleclarson committed Mar 5, 2024
    Copy the full SHA
    dc52cf3 View commit details
    Browse the repository at this point in the history
  6. fix: query option type

    aleclarson committed Mar 5, 2024
    Copy the full SHA
    1a15458 View commit details
    Browse the repository at this point in the history
  7. fix: ky instance usage

    aleclarson committed Mar 5, 2024
    Copy the full SHA
    84710b8 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    b3310ef View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    8ceddad View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    66c617d View commit details
    Browse the repository at this point in the history
  11. fix: ky headers option

    aleclarson committed Mar 5, 2024
    Copy the full SHA
    5ed1fe4 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    69a26ec View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. Copy the full SHA
    8c770b8 View commit details
    Browse the repository at this point in the history