From 1525fa30484321243d3bc17e29fbaff255d70405 Mon Sep 17 00:00:00 2001 From: Tom Mount Date: Mon, 22 Apr 2024 16:34:46 -0400 Subject: [PATCH] fix examples in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d9a768e..6493c23 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ const ec_token = new ECToken() ec_token.addValue('ec_country_allow', 'US') // Add additional directives in the same way. -const token = encrypt('my-secret-key', ec_token) -const plaintext = decrypt('my-secret-key', token) +const token = await encrypt('my-secret-key', ec_token) +const plaintext = await decrypt('my-secret-key', token) ``` ## Contribute