Socket
Socket
Sign inDemoInstall

@biconomy/account

Package Overview
Dependencies
34
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.4.0 to 4.4.1

dist/_cjs/account/utils/Helpers.js

4

dist/_cjs/account/utils/HttpRequests.js

@@ -13,2 +13,4 @@ "use strict";

async function sendRequest({ url, method, body }, service) {
const stringifiedBody = JSON.stringify(body);
Logger_js_1.Logger.log(`${service} RPC Request`, { url, body: stringifiedBody });
const response = await fetch(url, {

@@ -20,3 +22,3 @@ method,

},
body: JSON.stringify(body)
body: stringifiedBody
});

@@ -23,0 +25,0 @@ let jsonResponse;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Logger = void 0;
const Helpers_1 = require("./Helpers.js");
class Logger {

@@ -32,8 +33,4 @@ static log(message, value = "") {

writable: true,
value: [
"BICONOMY_SDK_DEBUG",
"REACT_APP_BICONOMY_SDK_DEBUG",
"NEXT_PUBLIC_BICONOMY_SDK_DEBUG"
].some((key) => process?.env?.[key]?.toString() === "true")
value: (0, Helpers_1.isDebugging)()
});
//# sourceMappingURL=Logger.js.map

@@ -10,2 +10,4 @@ import { getAAError } from "../../bundler/utils/getAAError.js";

export async function sendRequest({ url, method, body }, service) {
const stringifiedBody = JSON.stringify(body);
Logger.log(`${service} RPC Request`, { url, body: stringifiedBody });
const response = await fetch(url, {

@@ -17,3 +19,3 @@ method,

},
body: JSON.stringify(body)
body: stringifiedBody
});

@@ -20,0 +22,0 @@ // biome-ignore lint/suspicious/noExplicitAny: <explanation>

@@ -7,2 +7,3 @@ /* eslint-disable no-console */

*/
import { isDebugging } from "./Helpers.js";
// biome-ignore lint/complexity/noStaticOnlyClass: <explanation>

@@ -47,9 +48,5 @@ class Logger {

writable: true,
value: [
"BICONOMY_SDK_DEBUG",
"REACT_APP_BICONOMY_SDK_DEBUG",
"NEXT_PUBLIC_BICONOMY_SDK_DEBUG"
].some((key) => process?.env?.[key]?.toString() === "true")
value: isDebugging()
});
export { Logger };
//# sourceMappingURL=Logger.js.map

@@ -11,3 +11,3 @@ {

"author": "Biconomy",
"version": "4.4.0",
"version": "4.4.1",
"description": "SDK for Biconomy integration with support for account abstraction, smart accounts, ERC-4337.",

@@ -14,0 +14,0 @@ "keywords": [

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc