diff --git a/package-lock.json b/package-lock.json index afd4b48..47f7b49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -168,6 +168,15 @@ "@types/node": "*" } }, + "@types/snowflake-sdk": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/@types/snowflake-sdk/-/snowflake-sdk-1.6.2.tgz", + "integrity": "sha512-68albQhKcrtz6G7IhXab8JE/96EN5COPo63+xUxvjwbYXe1BD8WTLVIXIxLdvC5oLmrK8Tf5W0mz+swaH/AfBQ==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, "agent-base": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-2.1.1.tgz", diff --git a/package.json b/package.json index 49a5405..d8f4a92 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ }, "devDependencies": { "@types/node": "^10.17.55", + "@types/snowflake-sdk": "^1.6.2", "del-cli": "^3.0.1", "np": "^6.5.0", "ts-node": "^9.1.1", diff --git a/src/types/LoggingOptions.ts b/src/types/LoggingOptions.ts index aec345a..14d0efd 100644 --- a/src/types/LoggingOptions.ts +++ b/src/types/LoggingOptions.ts @@ -2,5 +2,5 @@ export interface LoggingOptions { /** optional function to log SQL statements (e.g. console.log) */ logSql?: (sqlText: string) => void; /** turn on SDK-level logging */ - logLevel?: 'error' | 'warn' | 'debug' | 'info' | 'trace'; + logLevel?: "ERROR" | "WARN" | "DEBUG" | "INFO" | "TRACE"; }