This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit tests for responseStream() related functionalities and updated error messages Add tests for requestStream and refactor tests for efficiency Update README to include requestStream info Add requestStream() to Storefront API Client Add tests for requestStream in Storefront Api Client Reorganize and split graphql-client tests Refactor unit tests and update api version validation Fix rebase issues Add requestStream info to SFAPI README Rebase to main and fix linting and test errors Update READMEs for correct header type Update ClientStreamResponse.data type Update client to support 2022 stream response format Fix Admin API client README Add changelog entry use .reduce instead of Object.fromEntries for browser support Update tests to test array style custom headers Refactor domain validation logic for clarity Address PR review comments and consolidated a few tests As per PR review comments, reorg the code to make it more readable Clean up chunked response data types Address PR review comments in utilities
- Loading branch information
1 parent
185dab6
commit 9df4bac
Showing
22 changed files
with
3,453 additions
and
1,237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@shopify/storefront-api-client": minor | ||
"@shopify/graphql-client": minor | ||
"@shopify/admin-api-client": patch | ||
--- | ||
|
||
Add new `requestStream()` function to support streamed responses from Storefront API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.