diff --git a/index.d.ts b/index.d.ts index fa01684..aa5ee11 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,2 +1,5 @@ -export function analyzeSync(path: string): Uint8Array; -export function analyze(path: string): Promise; +const bliss: { + analyze(path: string): Promise; + analyzeSync(path: string): Uint8Array; +}; +export default bliss; diff --git a/package.json b/package.json index a532ae5..18cf9a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bliss-rs/bliss-rs", - "version": "0.0.2", + "version": "0.0.3", "description": "A fork of the bliss-rs library with Node.js bindings", "main": "index.js", "types": "index.d.ts",