From 28687c7a3d506851a6f72939a4541e6db9c969fa Mon Sep 17 00:00:00 2001 From: Tuan Anh Tran Date: Mon, 11 Dec 2023 11:59:22 +0700 Subject: [PATCH] update .d.ts and mjs --- index.d.ts | 1 + index.mjs | 1 + 2 files changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index d85d3a6..7384d0e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2,6 +2,7 @@ declare const camaro: { prettyPrint(xml: string, opts?: { indentSize: number }): Promise; toJson(xml: string): Promise; transform(xml: string, template: object): Promise; + destroy(): Promise; }; export = camaro; diff --git a/index.mjs b/index.mjs index afda2a5..4b426a9 100644 --- a/index.mjs +++ b/index.mjs @@ -4,3 +4,4 @@ export default mod; export const transform = mod.transform; export const toJson = mod.toJson; export const prettyPrint = mod.prettyPrint; +export const destroy = mod.destroy; \ No newline at end of file