From 61414a14d2cc39d2aa0e737bf84cb94094d8af0b Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Thu, 10 Apr 2025 19:24:55 +0000 Subject: [PATCH] remove buffer polify --- src/patches.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/patches.js b/src/patches.js index d15598c..4b6db18 100644 --- a/src/patches.js +++ b/src/patches.js @@ -1,10 +1,6 @@ // Patch global prototypes -import { Buffer } from "buffer" - globalThis.IS_MOBILE_HOST = window.navigator.userAgent === "capacitor" -window.Buffer = Buffer - Array.prototype.findAndUpdateObject = function (discriminator, obj) { let index = this.findIndex( (item) => item[discriminator] === obj[discriminator],