Skip to content

Guard query persistence from assuming window always exists#17

Closed
esitarz wants to merge 2 commits into
ordercloud-api:developmentfrom
esitarz:development
Closed

Guard query persistence from assuming window always exists#17
esitarz wants to merge 2 commits into
ordercloud-api:developmentfrom
esitarz:development

Conversation

@esitarz
Copy link
Copy Markdown
Collaborator

@esitarz esitarz commented May 11, 2026

The Accelerator Admin app consumes this SDK in a browser app, but the SDK’s query persistence path was not fully web-safe. It relied on storage setup that did not match the web runtime and assumed browser globals too early.

So this PR makes query persistence browser-safe by using web storage and guarding storage access so the SDK does not fail during import/build evaluation paths.

@esitarz esitarz deleted the branch ordercloud-api:development May 11, 2026 21:34
@esitarz esitarz closed this May 11, 2026
@esitarz esitarz deleted the development branch May 11, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant