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

nextcloud-axios

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nextcloud-axios - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

3

dist/client.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var axios_1 = require("axios");
var nextcloud_auth_1 = require("nextcloud-auth");
var client = axios_1.default.create({
headers: {
requesttoken: OC.requestToken
requesttoken: nextcloud_auth_1.getRequestToken()
}
});
exports.default = client;
import Axios, { AxiosInstance } from 'axios'
import {getRequestToken} from 'nextcloud-auth'
// TODO: properly abstract
declare var OC: any
const client: AxiosInstance = Axios.create({
headers: {
requesttoken: OC.requestToken
requesttoken: getRequestToken()
}

@@ -10,0 +8,0 @@ })

{
"name": "nextcloud-axios",
"version": "0.2.0",
"version": "0.3.0",
"description": "Axios client for Nextcloud",

@@ -28,3 +28,4 @@ "main": "./dist/client.js",

"dependencies": {
"axios": "^0.19.0"
"axios": "^0.19.0",
"nextcloud-auth": "0.0.3"
},

@@ -31,0 +32,0 @@ "devDependencies": {

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