Skip to content

WKS-2687 - Add PlatformCrypto to PlatformContext - #70

Merged
ehl-jf merged 1 commit into
mainfrom
feature/WKS-2687-worker-crypto-context
Aug 20, 2026
Merged

WKS-2687 - Add PlatformCrypto to PlatformContext#70
ehl-jf merged 1 commit into
mainfrom
feature/WKS-2687-worker-crypto-context

Conversation

@ehl-jf

@ehl-jf ehl-jf commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a PlatformCrypto interface (hash, hmac, randomBytes) to the worker-facing PlatformContext type.
  • Signatures match the runtime implementation already merged in platform-extension (worker sandbox's context.crypto).

Related tickets

  • WKS-2688 (crypto.hash)
  • WKS-2687 (crypto.hmac)
  • WKS-2689 (crypto.randomBytes)

Test plan

  • npm run build (tsc) compiles cleanly
  • dist/index.d.ts contains the PlatformCrypto interface and crypto: PlatformCrypto member
  • After merge, confirm CI auto-publishes the new minor version, then bump the jfrog-workers pin in platform-extension's service/package.json and frontend/package.json and regenerate Monaco typings

@ehl-jf
ehl-jf merged commit 3608f34 into main Aug 20, 2026
1 check passed
@ehl-jf
ehl-jf deleted the feature/WKS-2687-worker-crypto-context branch August 20, 2026 08:05
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.

2 participants