Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lu-development/pi-xstate-fetch

Package Overview
Dependencies
Maintainers
13
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lu-development/pi-xstate-fetch - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

4

dist/services/fetch-service.js

@@ -57,7 +57,7 @@ "use strict";

case 0:
request = __assign(__assign(__assign({ method: context.requestMethod }, ((!!context.token || context.sendCsrfTokenWithHeaders) && {
request = __assign(__assign({ method: context.requestMethod }, ((!!context.token || context.sendCsrfTokenWithHeaders) && {
headers: __assign(__assign({}, !!context.token && { 'Authorization': "Bearer " + context.token,
'Accept': "application/json",
'Content-Type': 'application/json' }), context.sendCsrfTokenWithHeaders && { 'CSRF-TOKEN': (0, csrf_1.getCsrfDecodedToken)() }),
})), (!!context.requestBody && { body: context.requestBody })), (context.sendCsrfTokenWithHeaders && { credentials: 'include' }));
})), (!!context.requestBody && { body: context.requestBody }));
_a.label = 1;

@@ -64,0 +64,0 @@ case 1:

{
"name": "@lu-development/pi-xstate-fetch",
"version": "0.0.17",
"version": "0.0.18",
"description": "Fetch State Machine",

@@ -5,0 +5,0 @@ "files": [

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