feature: add secured message
- encrypt/decrypt every message (require ^0.0.2) Signed-off-by: pakintada@gmail.com <Pakin>
This commit is contained in:
parent
4ca8b3b270
commit
2a0841a798
14 changed files with 314 additions and 147 deletions
|
|
@ -37,7 +37,7 @@ export async function getRecipes() {
|
|||
recipeData.set([]);
|
||||
recipeOverviewData.set([]);
|
||||
|
||||
sendMessage({
|
||||
await sendMessage({
|
||||
type: 'recipe',
|
||||
payload: {
|
||||
auth: idToken ?? '',
|
||||
|
|
@ -82,7 +82,7 @@ export async function getRecipeWithVersion(version: string) {
|
|||
|
||||
// NOTE: although version is provided, actual version field is still need to be latest
|
||||
// Just in case version is not found
|
||||
sendMessage({
|
||||
await sendMessage({
|
||||
type: 'recipe',
|
||||
payload: {
|
||||
auth: idToken ?? '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue