From 77e9d2e7c39ecba235dc01faad909c9931470a61 Mon Sep 17 00:00:00 2001 From: subash Date: Thu, 6 Jul 2023 11:52:40 +1000 Subject: [PATCH] fix type generation --- cmd/export.go | 3 ++- npm/package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/export.go b/cmd/export.go index b4e9016..c9e9141 100644 --- a/cmd/export.go +++ b/cmd/export.go @@ -141,7 +141,8 @@ func exportAsTypesNode(params map[string]string, w io.Writer) error { w.Write([]byte(fmt.Sprintf(" }\n"))) w.Write([]byte(fmt.Sprintf(" }\n"))) - w.Write([]byte(fmt.Sprintf("}\n"))) + w.Write([]byte(fmt.Sprintf("}\n\n"))) + w.Write([]byte(fmt.Sprintf("export {};\n"))) return nil } diff --git a/npm/package.json b/npm/package.json index 08a3fa9..068fab5 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,6 +1,6 @@ { "name": "@adikari/safebox", - "version": "1.3.1", + "version": "1.3.2", "description": "A Fast and Flexible secret manager built with love by adikari in Go", "main": "index.js", "bin": "./run.js",