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

@bespoken-sdk/store

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bespoken-sdk/store - npm Package Compare versions

Comparing version 0.13.8 to 0.13.9

7

lib/client.js

@@ -83,8 +83,5 @@ const _ = require('lodash')

const jsonString = JSON.stringify(json)
// Create a stream from the JSON
const jsonStream = Readable.from(jsonString)
const gzipStream = jsonStream.pipe(zlib.createGzip())
const response = await axios.post(url, gzipStream, {
const response = await axios.post(url, jsonString, {
headers: {
'Content-Encoding': 'gzip'
'Content-Type': 'application/json',
},

@@ -91,0 +88,0 @@ maxContentLength: (200 * 1024 * 1024), // up to 200 mb - biggest file so far is 57 MB

@@ -20,4 +20,4 @@ {

},
"version": "0.13.8",
"gitHead": "4269b7e721dbbce4780e15bd892de14cad1f4998",
"version": "0.13.9",
"gitHead": "1d40be483664f2548c2a242dc7c3c0d00ba60acd",
"devDependencies": {

@@ -24,0 +24,0 @@ "@types/node": "^16.10.1"

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