Comparing version 32.0.0 to 32.0.1
@@ -87,3 +87,3 @@ import { camelToSnake, camelKeys, snakeKeys, } from '@waiting/shared-core'; | ||
if (Array.isArray(result)) { | ||
const ret = result.map(row => postProcessResponseToCamel(row, _queryContext)); | ||
const ret = result.map(row => postProcessResponseToSnake(row, _queryContext)); | ||
return ret; | ||
@@ -90,0 +90,0 @@ } |
@@ -31,3 +31,2 @@ import type { DbDict } from 'kmore-types'; | ||
readonly queryUidSpanMap: Map<string, QuerySpanInfo>; | ||
protected listenEvent: boolean; | ||
readonly config: KnexConfig; | ||
@@ -34,0 +33,0 @@ readonly dict: DbDict<D>; |
@@ -37,4 +37,2 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
queryUidSpanMap = new Map(); | ||
listenEvent = true; | ||
// protected readonly subject: Subject<KmoreEvent> | ||
config; | ||
@@ -41,0 +39,0 @@ dict; |
{ | ||
"name": "kmore", | ||
"author": "waiting", | ||
"version": "32.0.0", | ||
"version": "32.0.1", | ||
"description": "A SQL query builder based on knex with powerful TypeScript type support", | ||
@@ -78,3 +78,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "8130edf1880674d78738818b9c4c3dde06d736ae" | ||
"gitHead": "8f2057568f401189d75eb1968a4e7727f9c456c0" | ||
} |
@@ -158,3 +158,3 @@ import { | ||
if (Array.isArray(result)) { | ||
const ret = result.map(row => postProcessResponseToCamel(row, _queryContext)) | ||
const ret = result.map(row => postProcessResponseToSnake(row, _queryContext)) | ||
return ret as PostProcessRespRet<T, CaseType.snake> | ||
@@ -161,0 +161,0 @@ } |
@@ -60,5 +60,2 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
protected listenEvent = true | ||
// protected readonly subject: Subject<KmoreEvent> | ||
public readonly config: KnexConfig | ||
@@ -65,0 +62,0 @@ public readonly dict: DbDict<D> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117030
1858