UNPKG

@apite/magento2-utility

Version:

Shopgate WebCheckout utility for Magento 2 extensions

56 lines (40 loc) 1.32 kB
# Changelog All notable changes to this project will be documented in this file. ## 0.4.1 - added CartNotFound error ## 0.4.0 - added url manager ## 0.3.1 - fixed url issue with grahpql endpoint ## 0.3.0 - added frontend url to configuration manager - removed login url handling from API manager ## 0.2.5 - added http basic auth to endpoint url ## 0.2.4 - added obfuscator for sensitive data in logs ## 0.2.3 - added Axios response data to `GraphQLError` for soft error handling - removed Auth header from being empty on guest calls ## 0.2.2 - added optional message params to CartError - added error class `ProductNotFoundErrorWithParams` - removed `safe-json-stringify` as it's not necessary anymore ## 0.2.1 - added `safe-json-stringify` to prevent errors with circular references ## 0.2.0 - added SKU to ID map endpoint - added ability to get an anonymous (no cart) login token - changed log decorator to record GQL variables ## 0.1.3 - fixed issue with `rawQuery.replace` not a function when logging GQL request queries ## 0.1.2 - fixed lodash get fallback not working when null ## 0.1.1 - fixed getEndpoint not using context ## 0.1.0 - added API & GraphQL endpoint logic - added Configuration getters/setters - added Common error list - added Common logger methods - added Common documentation entries