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

rassets

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rassets - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

7

lib/index.js

@@ -149,2 +149,7 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
// Get CSRF
const xcsrf = yield RAssets.getCSRF(cookie);
if (!xcsrf) {
throw (new Error("Invalid cookie"));
}
// Config

@@ -167,2 +172,4 @@ const config = {

headers: {
Cookie: cookie,
"X-CSRF-Token": xcsrf,
"Content-Type": "application-json"

@@ -169,0 +176,0 @@ },

2

package.json
{
"name": "rassets",
"version": "1.1.0",
"version": "1.1.1",
"description": "A simple Typescript wrapper to upload assets.",

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

@@ -148,2 +148,8 @@ // Dependencies

export async function verifyAudio(cookie: string, data: IAudioVerifyRequest){
// Get CSRF
const xcsrf = await RAssets.getCSRF(cookie)
if (!xcsrf){
throw(new Error("Invalid cookie"))
}
// Config

@@ -163,2 +169,4 @@ const config = <IAudioVerifyRequest>{

headers: {
Cookie: cookie,
"X-CSRF-Token": xcsrf,
"Content-Type": "application-json"

@@ -165,0 +173,0 @@ },

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