diff --git a/node_modules/appwrite/dist/esm/sdk.js b/node_modules/appwrite/dist/esm/sdk.js
index b1fcf3b..4ba8d80 100644
--- a/node_modules/appwrite/dist/esm/sdk.js
+++ b/node_modules/appwrite/dist/esm/sdk.js
@@ -466,7 +466,7 @@ const JSONbigSerializer = JSONbigModule({ useNativeBigInt: true });
 const MAX_SAFE = BigInt(Number.MAX_SAFE_INTEGER);
 const MIN_SAFE = BigInt(Number.MIN_SAFE_INTEGER);
 function reviver(_key, value) {
-    if (BigNumber.isBigNumber(value)) {
+    if (value && value._isBigNumber === true) {
         if (value.isInteger()) {
             const str = value.toFixed();
             const bi = BigInt(str);
