@shopkit/data-layer 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -160,7 +160,7 @@ function createDomainLogger(domain, adapter, config = {}) {
160
160
  function isUpstreamUnavailable(error) {
161
161
  const status = error?.status;
162
162
  if (typeof status !== "number") return true;
163
- return status >= 500;
163
+ return status >= 500 || status === 429;
164
164
  }
165
165
  function formatResponse(params) {
166
166
  const { success, message, data = null, error = null, meta = {} } = params;