Skip to content

Commit

Permalink
rename to ENCRYPTED_BUNDLE_EXTRACTED
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivia Thet committed Feb 26, 2024
1 parent 325da3d commit 487de21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions import/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down
4 changes: 2 additions & 2 deletions import/standalone.html
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ <h2>Message log</h2>
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 }) => {
Expand Down

0 comments on commit 487de21

Please sign in to comment.