spree-api-v2-js-sdk icon indicating copy to clipboard operation
spree-api-v2-js-sdk copied to clipboard

Spree Storefront API JavaScript / TypeScript SDK

Results 28 spree-api-v2-js-sdk issues
Sort by recently updated
recently updated
newest added

PR with changes that will fix error parsing - separated from #341. now spree errors are actually parsed as fetch errors and the error is being thrown properly

Fixed the bug where error 404 was not parsed as spree error, extended sdk to have custom function that can be specified by user

Spree errors are not parsed properly - when getting any bad request(404 etc.) errors are parsed to Error type and not FetchError which should be then parsed once more to...

Bumps [terser](https://github.com/terser/terser) from 5.7.2 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...

dependencies

**Is your feature request related to a problem? Please describe.** Prior to v5 we could get the specific error message returned by Spree using `response.fail().serverResponse.data.error`. This no longer seems possible,...

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

In the checkout flow, retrieving cart for a non-guest user does not work as expected & returns an error. ## Context I create cart for the use user with the...

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8. Commits 3d81dc3 Release version 1.14.8 of the npm package. 62e546a Drop confidential headers across schemes. See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=follow-redirects&package-manager=npm_and_yarn&previous-version=1.14.7&new-version=1.14.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)...

dependencies

For `instanceof` to properly recognize errors in the `HTTP` class, fetchers need to reference errors from `@spree/storefront-api-v2-sdk` and not from sources.