diff --git a/package-lock.json b/package-lock.json index 267e8712..8011dc35 100644 Binary files a/package-lock.json and b/package-lock.json differ diff --git a/package.json b/package.json index 049fdd2a..313e8de2 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "dependencies": { "jsonwebtoken": "^8.5.1", "lambert-db": "^1.1.4", - "missing-native-js-functions": "^1.2.1" + "missing-native-js-functions": "^1.2.2" }, "devDependencies": { "@types/jsonwebtoken": "^8.5.0", diff --git a/src/util/convertBigIntToString.ts b/src/util/convertBigIntToString.ts deleted file mode 100644 index 2c8d9a38..00000000 --- a/src/util/convertBigIntToString.ts +++ /dev/null @@ -1,13 +0,0 @@ -import "missing-native-js-functions"; - -export function convertBigIntToString(obj: any) { - if (typeof obj === "bigint") obj = obj.toString(); - - if (typeof obj === "object") { - obj.keys().forEach((key: string) => { - obj[key] = convertBigIntToString(obj[key]); - }); - } - - return obj; -}