Socket
Socket
Sign inDemoInstall

@fangxq/request

Package Overview
Dependencies
10
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.0.5

2

index.d.ts
export class REQUEST {
constructor(url: string)
constructor(appid: string, url: string)

@@ -4,0 +4,0 @@ reset(): void

@@ -27,4 +27,7 @@ const axios = require('axios')

constructor(url) {
appid
constructor(appid, url) {
this.hostUrl = url
this.appid = appid
const doc = global.document

@@ -55,3 +58,3 @@ if (!doc) {

method: 'post',
data: { body: { args, track } },
data: { body: { args, track: [...track, { appid: this.appid }] } },
headers: headers

@@ -58,0 +61,0 @@ })

{
"name": "@fangxq/request",
"version": "0.0.4",
"version": "0.0.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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