From 1a0c32bb6e7ae28d96584cbd6e594bea762ab858 Mon Sep 17 00:00:00 2001 From: Huynh Van Tai Date: Tue, 27 Jul 2021 22:17:53 +0700 Subject: [PATCH] fix broken std dependency: hex encoding --- lib/scrypt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scrypt.ts b/lib/scrypt.ts index 354b337..de593f7 100644 --- a/lib/scrypt.ts +++ b/lib/scrypt.ts @@ -1,6 +1,6 @@ import init, { source, scrypt as scryptWASM } from "./_wasm/wasm.js"; import { encode as base64encode } from "https://deno.land/std/encoding/base64.ts"; -import { encodeToString as hexencode } from "https://deno.land/std/encoding/hex.ts"; +import { encode as hexencode } from "https://deno.land/std/encoding/hex.ts"; const encoder: TextEncoder = new TextEncoder(); const decoder: TextDecoder = new TextDecoder("utf-8"); await init(source);