diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..bf8cec2 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,2 @@ +export = servAuth; +declare function servAuth(app: any, options?: {}): void; diff --git a/package.json b/package.json index cef60a1..f4af239 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "name": "microtunnel-server", - "version": "1.0.0", + "version": "1.0.1", "description": "NodeJS library for post-quantum communication between apps", "main": "index.js", + "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "cred-generate": "node microtunnel-client.js cred-generate" @@ -38,6 +39,6 @@ "express": "^4.18.2", "kyber-crystals": "^1.0.4", "supersphincs": "^8.0.2", - "symcryptor": "^1.0.1" + "symcryptor": "^1.0.2" } }