Skip to content

fix: Web encryption crashing on init.#537

Merged
Chriztiaan merged 1 commit intomainfrom
fix/encryption-pragma
Mar 20, 2025
Merged

fix: Web encryption crashing on init.#537
Chriztiaan merged 1 commit intomainfrom
fix/encryption-pragma

Conversation

@Chriztiaan
Copy link
Copy Markdown
Contributor

Got the following error when building an encryption demo:
image

It seems that executing the cache_size pragma before the encryption pragma causes this issue. Simply reordered, and verified this fix via unit tests.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 20, 2025

🦋 Changeset detected

Latest commit: 574d0df

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@powersync/web Patch
@powersync/diagnostics-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Chriztiaan Chriztiaan marked this pull request as ready for review March 20, 2025 08:15
@Chriztiaan Chriztiaan merged commit f0c49f9 into main Mar 20, 2025
6 checks passed
@Chriztiaan Chriztiaan deleted the fix/encryption-pragma branch March 20, 2025 09:06
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.

3 participants