Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ytkimirti
Copy link
Collaborator

@ytkimirti ytkimirti commented May 30, 2025

NOTE: Since uncrypto uses web-crypto api, it's inherently async. One small backwards incompatible part in this PR is that the sha1 public property of the Script class will be initialized and will not get calculated until one async tick passes. So if the user is trying to access the property instantly after creating the script, they will get an empty string.

Added a deprecation warning for the property which we can move to private in a future major release.

Closes #1362

@linear
Copy link

linear bot commented May 30, 2025

@CahidArda
Copy link
Contributor

fixed two issues in the tests:

  • cf tests needed to use node 20 instead of 18 b/c of wrangler version update.
  • added await before flushdb so that it executes. The issue was: since we excluded flushdb from autopipeline in DX-1839: exclude some commands from auto pipeline #1373, the request would not be a part of the pipeline. Since pipelines aren't transactions, this flushdb would execute in between the commands in the pipeline and break the bar counter.

@ytkimirti
Copy link
Collaborator Author

Thanks!

@CahidArda CahidArda merged commit c21ca07 into main May 30, 2025
14 checks passed
@CahidArda CahidArda deleted the DX-1697 branch May 30, 2025 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Derely on "crypto-js"

3 participants