Socket
Socket
Sign inDemoInstall

@empathyco/x-adapter

Package Overview
Dependencies
Maintainers
5
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@empathyco/x-adapter - npm Package Compare versions

Comparing version 8.0.0-alpha.3 to 8.0.0-alpha.4

2

dist/cjs/http-clients/fetch.http-client.js

@@ -20,3 +20,3 @@ "use strict";

const url = sendParamsInBody ? endpoint : (0, utils_1.buildUrl)(endpoint, flatParameters);
const bodyParameters = sendParamsInBody ? { body: JSON.stringify(flatParameters) } : {};
const bodyParameters = sendParamsInBody ? { body: JSON.stringify(parameters) } : {};
return fetch(url, {

@@ -23,0 +23,0 @@ ...properties,

@@ -17,3 +17,3 @@ import { flatObject } from '@empathyco/x-utils';

const url = sendParamsInBody ? endpoint : buildUrl(endpoint, flatParameters);
const bodyParameters = sendParamsInBody ? { body: JSON.stringify(flatParameters) } : {};
const bodyParameters = sendParamsInBody ? { body: JSON.stringify(parameters) } : {};
return fetch(url, {

@@ -20,0 +20,0 @@ ...properties,

{
"name": "@empathyco/x-adapter",
"version": "8.0.0-alpha.3",
"version": "8.0.0-alpha.4",
"description": "A utils library to create a client for any API",

@@ -51,3 +51,3 @@ "author": "Empathy Systems Corporation S.L.",

},
"gitHead": "a94853e17793bab55cecf8dc9cd6ffedd1ac8812"
"gitHead": "235697df0082192a396a6a5e93611ef4701af147"
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc