diff --git a/import/index.html b/import/index.html index ea3e4be..2d577ea 100644 --- a/import/index.html +++ b/import/index.html @@ -250,8 +250,8 @@ receiverPubJwk: targetPublicKeyJwk, }); - // Send up BUNDLE_ENCRYPTED message - TKHQ.sendMessageUp("BUNDLE_ENCRYPTED", encryptedBundle) + // Send up ENCRYPTED_BUNDLE_EXTRACTED message + TKHQ.sendMessageUp("ENCRYPTED_BUNDLE_EXTRACTED", encryptedBundle) } const HpkeEncrypt = async ({ plaintextBuf, receiverPubJwk }) => { diff --git a/import/standalone.html b/import/standalone.html index ce3be5f..5ed8728 100644 --- a/import/standalone.html +++ b/import/standalone.html @@ -325,8 +325,8 @@

Message log

receiverPubJwk: targetKeyJwk, }); - // Send up BUNDLE_ENCRYPTED message - TKHQ.sendMessageUp("BUNDLE_ENCRYPTED", encryptedBundle) + // Send up ENCRYPTED_BUNDLE_EXTRACTED message + TKHQ.sendMessageUp("ENCRYPTED_BUNDLE_EXTRACTED", encryptedBundle) } const HpkeEncrypt = async ({ plaintextBuf, receiverPubJwk }) => {