interledger / open-payments

Protocol to setup payments between entities on the Web based on GNAP
https://openpayments.dev
Apache License 2.0
160 stars 27 forks source link

feat(open-payments): replace axios with ky #461

Closed mkurapov closed 2 months ago

mkurapov commented 2 months ago

Changes proposed in this pull request

First part of making the open payments SDK usable in the web extension manifest V3: Replace axios with a wrapper for native fetch (ky). This is due to the fact that in the web extension we cannot use XMLHttpRequest that axios uses, but native fetch is (of course) supported.

Context

Progress toward #454

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: 6eb6ade3d74b1efe4432b836f9463ece3417b4b2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------------------- | ----- | | @interledger/open-payments | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

netlify[bot] commented 2 months ago

Deploy Preview for openpayments-preview canceled.

Name Link
Latest commit 6eb6ade3d74b1efe4432b836f9463ece3417b4b2
Latest deploy log https://app.netlify.com/sites/openpayments-preview/deploys/662fc485e063900008a70b46
mkurapov commented 2 months ago

(Spoke in slack, but adding for visibility)

is how we can support this change of the open payments library in rafiki tests: https://github.com/interledger/rafiki/compare/main...mk/op-client-ky-tests