@vechain/sdk-errors
Advanced tools
Comparing version 1.0.0-beta.7 to 1.0.0-beta.8
@@ -554,4 +554,4 @@ "use strict"; | ||
const seen = /* @__PURE__ */ new WeakSet(); | ||
return (key, value) => { | ||
if (typeof value === "object" && value !== null) { | ||
return (_key, value) => { | ||
if (typeof value === "object" && value !== null && _key !== "") { | ||
if (seen.has(value)) { | ||
@@ -558,0 +558,0 @@ return; |
{ | ||
"name": "@vechain/sdk-errors", | ||
"version": "1.0.0-beta.7", | ||
"version": "1.0.0-beta.8", | ||
"description": "This module is dedicated to managing and customizing errors within the SDK", | ||
@@ -5,0 +5,0 @@ "author": "vechain Foundation", |
@@ -20,4 +20,4 @@ import type { DataType, ErrorCode } from '../../types'; | ||
const seen = new WeakSet(); | ||
return (key: string, value: unknown) => { | ||
if (typeof value === 'object' && value !== null) { | ||
return (_key: string, value: unknown) => { | ||
if (typeof value === 'object' && value !== null && _key !== '') { | ||
if (seen.has(value)) { | ||
@@ -24,0 +24,0 @@ return; |
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
175498