You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use native fetch in production, normalize error payloads, lazy-load worker routes
- http.js: use native fetch for non-test envs to avoid axios adapter issues;
add normalizeJsonPayload helper for consistent response parsing
- retryer.js: normalize non-GraphQL message payloads (e.g. Bad credentials)
into GraphQL-like error shape in both success and catch paths
- repo.js: add missing imports and handle GraphQL errors from retryer response
- worker.js: lazy-load route handlers so process.env is populated before
module evaluation; replace switch with route-map lookup; guard
process.env from being undefined
- tests/pat-info.test.js: preserve NODE_ENV when resetting process.env in
beforeAll so http.js continues to use axios mock adapter in tests
0 commit comments