From 3e873a47b42d4d439182ff7f3d9a6df91243d217 Mon Sep 17 00:00:00 2001 From: Ophir LOJKINE Date: Mon, 24 May 2021 17:44:13 +0200 Subject: [PATCH 1/2] fix type declaration --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 6b579c2..a32316e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,4 +1,4 @@ -declare module 'base45' { +declare module 'base45-js' { export function b45encode(buffer: ArrayBuffer): string; export function b45decode(str: string): ArrayBuffer; } From ce931be72fd56d078ad7f8677f1493cbccff5979 Mon Sep 17 00:00:00 2001 From: Ophir LOJKINE Date: Mon, 24 May 2021 18:41:34 +0200 Subject: [PATCH 2/2] Update index.d.ts --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index a32316e..3dd7c0e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,4 +1,4 @@ declare module 'base45-js' { - export function b45encode(buffer: ArrayBuffer): string; - export function b45decode(str: string): ArrayBuffer; + export function encode(buffer: ArrayBuffer): string; + export function decode(str: string): ArrayBuffer; }