From 41822bc549afc53a582e72385c6e87f4a3ca8065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Camith-skyflow=E2=80=9D?= <“amit@skyflow.com”> Date: Thu, 24 Oct 2024 10:43:43 +0530 Subject: [PATCH] SK-1621: add npm ignore --- .npmignore | 12 +++++++++++- src/vault/controller/vault/index.ts | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.npmignore b/.npmignore index 28e3bb7..b12ba7f 100644 --- a/.npmignore +++ b/.npmignore @@ -3,4 +3,14 @@ src test coverage samples -scripts \ No newline at end of file +scripts +.github +babel.config.js +.babelrc +CHANGELOG.md +codecov.yml +jest.config.js +LICENSE +README.md +SECURITY.md +typedoc.json \ No newline at end of file diff --git a/src/vault/controller/vault/index.ts b/src/vault/controller/vault/index.ts index 3200e29..c2ab9fc 100644 --- a/src/vault/controller/vault/index.ts +++ b/src/vault/controller/vault/index.ts @@ -192,7 +192,7 @@ class VaultController { private parseBulkInsertResponse(records: any[]): InsertResponse { const insertedFields = records.map(record => ({ - skyflow_id: record.skyflow_id, + skyflowId: record.skyflow_id, ...record.tokens })); return new InsertResponse({ insertedFields, errors: [] });